id: pupyc2

info:
  name: PupyC2 - Detect
  author: pussycat0x
  severity: info
  description: |
    Pupy is a cross-platform, multi function RAT and post-exploitation tool mainly written in python. It features an all-in-memory execution guideline and leaves a very low footprint. Pupy can communicate using multiple transports, migrate into processes using reflective injection, and load remote python code, python packages and python C-extensions from memory.
  reference:
    - https://twitter.com/TLP_R3D/status/1654038602282565632
    - https://github.com/n1nj4sec/pupy
  metadata:
    verified: true
    max-request: 1
    shodan-query: aa3939fc357723135870d5036b12a67097b03309
  tags: c2,ir,osint,pupyc2,panel,vuln

http:
  - method: GET
    path:
      - '{{BaseURL}}'

    matchers-condition: and
    matchers:
      - type: word
        part: header
        words:
          - 'Etag: "aa3939fc357723135870d5036b12a67097b03309"'

      - type: status
        status:
          - 200
# digest: 490a00463044022061517751d0454b1d52dd85d37086c0d65fde44775d3460020eeca0f61d6b5ea502200099442547a41c92ac2a4d3c1bb29908fe713ccf0c537a47fccb55eddb638088:922c64590222798bb761d5b6d8e72950