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.2.0.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

yara_mail-3.2.0-py3-none-any.whl (15.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: yara_mail-3.2.0.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for yara_mail-3.2.0.tar.gz
Algorithm Hash digest
SHA256 d5d36fedaa641c311b7e96d3b86499a42a01467fff8fd2968070af712423f305
MD5 b996672f78213474b2fc7fa227688f47
BLAKE2b-256 5c4a0fd1dc35a711b6fca9c299168f67725ebabe211d17d8564a86272ef9095d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: yara_mail-3.2.0-py3-none-any.whl
  • Upload date:
  • Size: 15.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.23.3

File hashes

Hashes for yara_mail-3.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5d887d599dc426249c929e1da843a471ad0694bd2324dc043aad4f68f262516e
MD5 1de1a6cadc19e40257236fb7bc26b0cb
BLAKE2b-256 68545c1dc90a813c0b9ca682303e3be74a11b39778a64c57dd4460188f0521b8

See more details on using hashes here.

Supported by

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