id: grat-c2-jarm

info:
  name: Grat2 C2 JARM - Detect
  author: pussycat0x
  severity: info
  description: |
    GRAT2 is a Command and Control (C2) tool written in python3 and the client in .NET 4.5. The main idea came from Georgios Koumettou who initiated the project.
  reference:
    - https://github.com/cedowens/C2-JARM
    - https://github.com/r3nhat/GRAT2
  metadata:
    max-request: 1
  tags: c2,jarm,network,ir,osint,cti,shad0w,tcp,vuln
tcp:
  - inputs:
      - data: 2E
        type: hex
    host:
      - "{{Hostname}}"
    matchers:
      - type: dsl
        dsl:
          - "jarm(Hostname) == '2ad2ad0002ad2ad00042d42d000000ad9bf51cc3f5a1e29eecb81d0c7b06eb'"
# digest: 4a0a00473045022100e5523bf6970759bc9eb60a38eac417bcb499417fece5071dac3636f5c9a6cc3802205445ce82b049f7cf23f24d281f4138600449749ca1968b9cba4cb4d0aa22127e:922c64590222798bb761d5b6d8e72950