id: finger-detect

info:
  name: Finger Daemon Detection
  author: DhiyaneshDK
  severity: info
  description: |
    The finger daemon runs on TCP port 79. The client will (in the case of remote hosts) open a connection to port 79.
  metadata:
    max-request: 1
    shodan-query: port:"79" action
    verified: true
  tags: network,finger,detect

tcp:
  - inputs:
      - data: "\n"

    host:
      - "{{Hostname}}"
    port: 79

    matchers:
      - type: word
        part: body
        words:
          - "User"
          - "Action"
          - "Node"
        condition: and
# digest: 4a0a00473045022049355597b5ad971c6f7724854402525640dce71eeff1843d202f4b44eb7d4c51022100e70e69ecce72669039ae38e457640a2203485a81daa48efed8baf018aa57447d:922c64590222798bb761d5b6d8e72950