id: dionaea-smb-honeypot-detect

info:
  name: Dionaea SMB Honeypot - Detect
  author: UnaPibaGeek
  severity: info
  description: |
    A Dionaea SMB honeypot has been identified.
    The response to an SMB connection packet differs from real installations, signaling a possible deceptive setup.
  metadata:
    max-request: 1
    vendor: dionaea
    product: dionaea
    shodan-query: port:445
  tags: dionaea,smb,honeypot,ir,cti,network,tcp,discovery
tcp:
  - inputs:
      - data: "00000045ff534d4272000000000801c8000000000000000000000000ffff0100ffff0000002200024e54204c4d20302e31320002534d4220322e3030320002534d4220322e3f3f3f00"
        type: hex

    host:
      - "{{Hostname}}"
    port: 445
    read-size: 1024

    matchers:
      - type: binary
        binary:
          - "6538547e6c42"
# digest: 490a00463044022008b06198ef925c774b5cbf3a023bc3ea5fb3dfa05d94e0fa5f2b689eaca9b75f022014e30feddce24a74dfba61f85467e467d76becf11e2548a140f7311dedadcbdb:922c64590222798bb761d5b6d8e72950