id: smallnet-malware

info:
  name: SmallNet 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:
      - type: word
        part: raw
        words:
          - "!!<3SAFIA<3!!"
          - "!!ElMattadorDz!!"
        condition: or

      - type: word
        part: raw
        words:
          - "stub_2.Properties"
          - "stub.exe"
          - "get_CurrentDomain"
        condition: and
# digest: 4b0a004830460221008e28079808690ef74a77c6927bc2cac8dae4c915fa5af0c9fcf3dfdd1cf39704022100d0a3eddf148a103028fddbe76786a7d7226c6e68b3261a47a9816df33f9ff522:922c64590222798bb761d5b6d8e72950