id: pypi-malware

info:
  name: Fake PyPI Malware - Detect
  author: daffainfo
  severity: info
  reference:
    - http://www.nbu.gov.sk/skcsirt-sa-20170909-pypi/
    - https://github.com/Yara-Rules/rules/blob/master/malware/MALW_PyPI.yar
  tags: malware,file
file:
  - extensions:
      - all
    matchers:
      - type: word
        part: raw
        words:
          - "# Welcome Here! :)"
          - "# just toy, no harm :)"
          - "[0x76,0x21,0xfe,0xcc,0xee]"
        condition: and

# digest: 490a0046304402206b82fc613c832c971dacca4ebef281e7665c9f1f006f44a24c48296dae1a9b8c02206f9aea9c19d940aac173806aa1726900fb0fd68078dc61ab6496191f35d52fa5:922c64590222798bb761d5b6d8e72950
