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