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: 490a0046304402200f87a550a140b2ed239756c342a29f3e9fca429a17eb1a6562900e91ba17d463022055810ca671a676ecb56bf71e68775d0b1af191508442f012c2ba6dd9f2456688:922c64590222798bb761d5b6d8e72950