id: aix-websm-detect

info:
  name: AIX WebSM - Detect
  author: righettod
  severity: info
  description: |
    Detects IBM AIX Web-based System Manager services.
  reference:
    - https://en.wikipedia.org/wiki/IBM_Web-based_System_Manager
    - https://www.filibeto.org/unix/aix/lib/rel/5.2/wsmadmn.pdf
  metadata:
    verified: true
    max-request: 1
    shodan-query: "/websm/"
  tags: network,aix,detect,detection,tcp,discovery
tcp:
  - inputs:
      - data: "en_US\r\n"
        read: 1024

    host:
      - "{{Hostname}}"
    port: 9090
    read-size: 4096

    matchers:
      - type: word
        part: data
        words:
          - "/var/websm/"
          - "startNewWServer"
        condition: and
# digest: 490a00463044022031743fd8669764931651ab41b2165fe5a7290c18bfaa4b5d748361c014b87dd302200661a77607029cb8bb5487d89133159dbc1b87b5c1603156c5db5b00c0027420:922c64590222798bb761d5b6d8e72950