id: gafgyt-generic-malware

info:
  name: Gafgyt Malware - Detect
  author: daffainfo
  severity: info
  reference:
    - https://github.com/Yara-Rules/rules/blob/master/malware/MALW_Gafgyt.yar
  tags: malware,file
file:
  - extensions:
      - all
    matchers:
      - type: word
        part: raw
        words:
          - "/bin/busybox;echo -e 'gayfgt'"
          - '/proc/net/route'
          - 'admin'
          - 'root'
        condition: and
# digest: 4b0a00483046022100df253ae97d5494d3912ce0cef5f7d5edf870726c1fb840ee270ae1170be0f187022100d994079126defa5b75af1cadfcc1898b8402aac8f9bbc825a641bdd5ac2a6e2b:922c64590222798bb761d5b6d8e72950