Skip to main content

A Python package and command line utility for scanning emails with YARA rules

Project description

yaramail logo

yaramail

Python tests PyPI PyPI - Downloads

yaramail is a Python package and command line utility for scanning emails with YARA rules. It is ideal for automated triage of phishing reports.

CLI Demo

asciicast

Features

  • Scans all parts of an email via API or CLI
    • Headers
      • Removes header indents by default for consistent scanning
    • Plain text and HTML body content
      • Converts body content to Markdown by default for consistent scanning
    • Attachments
      • Raw file content
      • Emails attached to emails
      • PDF document text
      • ZIP file contents, including nested ZIP files
        • Uses message body content as a list of possible ZIP passwords
        • Customizable list of passwords to use when attempting to scan encrypted ZIP files
  • Provides a built-in methodology for categorizing emails
  • Parses Authentication-Results headers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yara_mail-3.4.1.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yara_mail-3.4.1-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file yara_mail-3.4.1.tar.gz.

File metadata

  • Download URL: yara_mail-3.4.1.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.13.9 HTTPX/0.28.1

File hashes

Hashes for yara_mail-3.4.1.tar.gz
Algorithm Hash digest
SHA256 7b5eb3b97600e0df3efeed731b5b7ac1a26c4aafe9bb40e9f4689ffa404c7df7
MD5 3514ea6021e46ffea694ab507407d69a
BLAKE2b-256 1fbb604a8eaa8eea0f26cd77ca53722ea5061a46e4da7a660083faaf4a371b8b

See more details on using hashes here.

File details

Details for the file yara_mail-3.4.1-py3-none-any.whl.

File metadata

  • Download URL: yara_mail-3.4.1-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.13.9 HTTPX/0.28.1

File hashes

Hashes for yara_mail-3.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 08097963e52cff2bae42f4be26bdfcf58b3d7d36dc243ac0088980aaa1eea321
MD5 7182ac6126a88e83226ddc136e132440
BLAKE2b-256 277afec8cf9f5c827b156139a2ed0f12229885d1ccdc691bbe7aadb8f763ddc2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page