id: rpcbind-portmapper-detect

info:
  name: Rpcbind Portmapper - Detect
  author: geeknik
  severity: info
  description: Rpcbind portmapper was detected.
  reference: https://book.hacktricks.xyz/pentesting/pentesting-rpcbind
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
    cwe-id: CWE-200
  metadata:
    verified: true
    max-request: 1
    shodan-query: port:"111"
  tags: network,rpcbind,portmap,detect,detection,tcp
tcp:
  - inputs:
      - data: 8000002836ed646d0000000000000002000186a0000000040000000400000000000000000000000000000000
        type: hex

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

    matchers:
      - type: word
        words:
          - "/run/rpcbind.sock"
# digest: 4b0a00483046022100a9a5c52da3afe992b27f10c0c97a3b6b885b98c30b7e530a6670b1c67d6f5e12022100e0860dddb9d9da171ea4bee02ca5299841eb69f090f9a8a7ae912e60b0b8f94d:922c64590222798bb761d5b6d8e72950