id: pubsab-malware

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

    matchers-condition: or
    matchers:
      - type: word
        part: raw
        words:
          - "_deamon_init"
          - "com.apple.PubSabAgent"
          - "/tmp/screen.jpeg"
        condition: or

      - type: binary
        binary:
          - "6B45E43789CA29C28955E4"

# digest: 4b0a00483046022100e35038a4704449057d8c527208921acaf54a002d1f882572781ee2d32875aa29022100bbafab64c56d8a6a650628069a2ca792f78859923ff371f0ad3f0c18fd3d1215:922c64590222798bb761d5b6d8e72950
