Skip to content

Meioc 2.2.0

Latest

Choose a tag to compare

@drego85 drego85 released this 08 Nov 17:24
· 1 commit to master since this release

Meioc 2.2.0 consolidates the development since 1.4 into a new stable release for SOC and threat-intelligence email analysis.

Highlights

  • Native Outlook MSG support alongside EML, using a shared analysis pipeline.
  • Compact JSON output by default; --verbose provides the full diagnostic report.
  • Independent SPF, DKIM, and DMARC evaluation with live DNS, kept separate from receiver-reported results.
  • RFC 9989 DMARC policy evaluation: bounded DNS tree walks, per-analysis caching, identifier alignment, inherited subdomain policies, PSD boundaries, and test-mode policy handling.
  • SPF reports identify whether MAIL FROM or HELO was checked and show the checked domain.
  • Improved SMTP session reconstruction, including MXFilter SPF comments, ambiguous-envelope checks, and authenticated submission detection.
  • Authenticated submission followed only by local delivery is marked not_available for SPF instead of evaluating the submission client as the outbound relay.
  • DKIM verification preserves original EML bytes. Reconstructed MSG signatures are marked not_verifiable when original MIME bytes are unavailable.
  • Improved Received parsing, IPv4/IPv6 extraction, DNS response validation, input-size bounds, URL handling, and attachment hashing.
  • Installable Python package and meioc command.
  • Use dnspython rather than Py3DNS to avoid DNS module collisions on case-insensitive filesystems.

Migration from 1.4

  • Python 3.10 or newer is required.
  • JSON schema version 2 is not backward compatible with 1.4. Authentication results use explicit status strings rather than a single boolean; recipient and indicator collections use arrays.
  • DNS verification is enabled by default. Use --offline-auth for header-only evidence and signature-presence analysis. The former opt-in --spf and --dkim switches are replaced by this model.
  • Use --verbose when full relay clauses, authentication identities, DNS diagnostics, and receiver-reported results are needed.
  • Upgrade in a fresh virtual environment if the previous installation used Py3DNS.

Installation

Download the wheel attached to this release and install it in a virtual environment:

python3 -m venv venv
source venv/bin/activate
python3 -m pip install meioc-2.2.0-py3-none-any.whl
meioc suspicious.eml
meioc suspicious.msg --verbose

Alternatively, check out tag 2.2.0 and run python3 -m pip install ..

Validation and interpretation

  • 85 automated tests passed, including optional local EML/MSG corpus checks.
  • The suite passed on Python 3.11 and on a fresh Python 3.10 wheel installation.
  • Wheel and source archive contents are checked to exclude real email samples.
  • DNS results reflect current records; historical receiver results may legitimately differ.
  • SPF/DMARC reconstruction is scoped to the available SMTP session evidence. Incomplete or ambiguous evidence remains unavailable.
  • Authentication success is not a spam or phishing verdict. Meioc does not deliver mail, generate DMARC reports, open extracted links, or execute attachments.

Thanks to @marco-acorte for the packaging contribution in #17 and to contributors who helped test email formats and edge cases.

Full comparison: 1.4...2.2.0