id: miner-malware

info:
  name: Miner Malware - Detect
  author: daffainfo
  severity: info
  reference:
    - https://github.com/Yara-Rules/rules/blob/master/malware/MALW_XMRIG_Miner.yar
  tags: malware,file
file:
  - extensions:
      - all
    matchers:
      - type: word
        part: raw
        words:
          - "stratum+tcp"
          - "stratum+udp"
# digest: 490a004630440220195fef5a2e15f07db30d3a57c3be09fadec573e2c6cb328b877ce3ce9a075dfe022043021c5c4920a9ae1b24dbd939bdca5094fb41c0279e27242254553f190a4107:922c64590222798bb761d5b6d8e72950