id: posh-c2-jarm

info:
  name: Posh C2 JARM - Detect
  author: pussycat0x
  severity: info
  description: |
    PoshC2 is a proxy aware C2 framework used to aid penetration testers with red teaming, post-exploitation and lateral movement.
  reference:
    - https://github.com/cedowens/C2-JARM
    - https://twitter.com/MichalKoczwara/status/1551639708949692416
    - https://poshc2.readthedocs.io/en/latest/
  metadata:
    max-request: 1
  tags: jarm,network,c2,ir,osint,cti,posh,tcp,vuln
tcp:
  - inputs:
      - data: 2E
        type: hex
    host:
      - "{{Hostname}}"
    matchers:
      - type: dsl
        dsl:
          - "jarm(Hostname) == '2ad2ad0002ad2ad22c42d42d000000faabb8fd156aa8b4d8a37853e1063261'"
# digest: 4a0a00473045022100a88ee7fc229a781caad2536e556dbf6d770e76ecfc04f45da225ee6459f40902022000dc0a995ebd0888a5aa22e6502bac410e2e58fd40930d016190d0174863f02a:922c64590222798bb761d5b6d8e72950