id: petya-malware-variant-1

info:
  name: Petya Malware (Variant 1) - Detect
  author: daffainfo
  severity: info
  reference: https://github.com/airbnb/binaryalert/blob/master/rules/public/ransomware/windows/ransomware_windows_petya_variant_1.yara
  tags: malware,file,petya
file:
  - extensions:
      - all
    matchers:
      - type: word
        part: raw
        words:
          - "Ooops, your important files are encrypted."
          - "Send your Bitcoin wallet ID and personal installation key to e-mail"
          - "wowsmith123456@posteo.net. Your personal installation key:"
          - "Send $300 worth of Bitcoin to following address:"
          - "have been encrypted.  Perhaps you are busy looking for a way to recover your"
          - "need to do is submit the payment and purchase the decryption key."
        condition: or

# digest: 4b0a0048304602210084c742f95c8f61e60f9d2a9beb267e5daaec072b3fd36ccc733a70e01f2d1c9b02210086b0e7826a6055cca4010e7d175a1d1796e92e78392461f81c8ad5ce12d4d40e:922c64590222798bb761d5b6d8e72950
