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: 4b0a00483046022100fb77c62f651a795a77b50975234cb26769c9b0711fa610f5fcdc55acb16322d0022100ba29f891c1e3acb5face8f2eac5db07655aed21fc8e606f7af64eaac42aa4f4a:922c64590222798bb761d5b6d8e72950