id: dcrat-server-c2

info:
  name: DcRat Server C2 - Detect
  author: pussycat0x
  severity: info
  description: |
    DCRat uses a modular framework that deploys separate executables for each module, most of which are compiled . net binaries programmed in C#.
  reference:
    - https://github.com/thehappydinoa/awesome-censys-queries#dcrat--
  metadata:
    verified: "true"
    max-request: 1
    censys-query: 'services.tls.certificates.leaf_data.subject.common_name: "DcRat Server"'
  tags: c2,ssl,tls,ir,osint,malware,dcrat,discovery
ssl:
  - address: "{{Host}}:{{Port}}"
    matchers:
      - type: word
        part: issuer_cn
        words:
          - "DcRat Server"

    extractors:
      - type: json
        json:
          - ".issuer_cn"
# digest: 4a0a004730450220588e54c94541fab19c83f2efdf53b1039ec636d3fd23b9ebacd1e88e5179d36e022100ed10dc80735d3611c79384c0d8af3ccc372a90111df35005f05d82475fc23482:922c64590222798bb761d5b6d8e72950