id: gozi-malware-c2

info:
  name: Gozi Malware C2 - Detect
  author: pussycat0x
  severity: info
  description: |
    Gozi is a banking Trojan that has been modified to include new obfuscation techniques, to evade detection. Previous breaches involving Gozi in the healthcare sector led to the compromise of data associated with 3.7 million patients costing $5.55 million.
  reference:
    - https://github.com/thehappydinoa/awesome-censys-queries#gozi-malware--
  metadata:
    verified: "true"
    max-request: 1
    censys-query: 'services.tls.certificates.leaf_data.issuer_dn: "C=XX, ST=1, L=1, O=1, OU=1, CN=\*"'
  tags: ssl,tls,c2,ir,osint,malware,gozi,discovery
ssl:
  - address: "{{Host}}:{{Port}}"
    matchers:
      - type: word
        part: issuer_dn
        words:
          - "CN=*, OU=1, O=1, L=1, ST=1, C=XX"

    extractors:
      - type: json
        json:
          - ".issuer_dn"
# digest: 4a0a0047304502207a84a89ec75938828cca49b1027ae16d0b45731797384e1da6ce47bf6d98e1b4022100da46d1e03b20ed0e52adbbbae0138da165c4c7ad4b57a2ef23caf6a998f074e2:922c64590222798bb761d5b6d8e72950