id: punisher-malware

info:
  name: Punisher Malware - Detect
  author: daffainfo
  severity: info
  reference: https://github.com/Yara-Rules/rules/blob/master/malware/RAT_Ratdecoders.yar
  tags: malware,file
file:
  - extensions:
      - all

    matchers-condition: and
    matchers:
      - type: word
        part: raw
        words:
          - "abccba"
          - "SpyTheSpy"
          - "wireshark"
          - "apateDNS"
          - "abccbaDanabccb"
        condition: and

      - type: binary
        binary:
          - "5C006800660068002E007600620073"
          - "5C00730063002E007600620073"
        condition: and
# digest: 4a0a004730450220689d2647d4938320bfabe61fc00778656ffcc56755ce131bfbb52e6559bb5f41022100fd6f00cc903d895363b4664d19d6a3f05f142c6cde3fffd16ada3e2a7407df08:922c64590222798bb761d5b6d8e72950