id: zrypt-malware

info:
  name: Zcrypt Malware - Detect
  author: daffainfo
  severity: info
  reference:
    - https://github.com/airbnb/binaryalert/blob/master/rules/public/ransomware/windows/ransomware_windows_zcrypt.yara
  tags: malware,file,zrypt
file:
  - extensions:
      - all

    matchers-condition: or
    matchers:
      - type: word
        part: raw
        words:
          - "How to Buy Bitcoins"
          - "ALL YOUR PERSONAL FILES ARE ENCRYPTED"
          - "Click Here to Show Bitcoin Address"
          - "MyEncrypter2.pdb"
        condition: or

      - type: word
        part: raw
        words:
          - ".p7b"
          - ".p7c"
          - ".pdd"
          - ".pef"
          - ".pem"
          - "How to decrypt files.html"
        condition: and
# digest: 4a0a00473045022100c9efb615a6baa68c08b518f0088e5968da40dfbf8f2974e9a3f76972f50ae6a7022060c7e47b01351f691d548acc72668df489806f1c98ae583d8a9ec53073557759:922c64590222798bb761d5b6d8e72950