Skip to content
New

DeepSeek V4.1 Flash free for 7 days: 10M tokens a day after a top-up of $10 or more. Until Nov 30.

How it works
noorqureshi/network-email-securityNetwork, wireless and telecom

network-email-security

⁨Email security review: dissect phishing samples (headers, URLs, attachments), assess a domain's spoofability via SPF/DKIM/DMARC alignment, recognize BEC patterns, and audit tenant anti-phishing controls incl. OAuth consent abuse. Load on phishing email analysis, .eml header review, "can this domain ⁩

v2026.10.14-ee0e0c53 installs+3 in 7 days27 StarsMITsynced 22 hours ago

Install

No NotHoly CLI yet? Install it first.

$ curl -fsSL https://notholy.com/install.sh | sh
$ notholy skills install noorqureshi/network-email-security

Writes to ⁦~/.notholy/skills⁩ after checking the signature and the SHA-256.

SignatureSigned, ed25519
IwY94biEKx…7pKmsWCA==The CLI checks the SHA-256 and the signature before it writes a file.
Package2212da32…00246641
2212da3220d9…9ac7002466411 file · ⁦2.5 KB⁩
ScanLow1 finding
  • Links to outside domains
See the full scan
Sourcegithub.com/NoorQureshi/security-skills/tree/main/skills/network/network-email-security@ee0e0c5

When it applies

Two authorized jobs (tradecraft-scope-roe): (a) defensive — dissect a reported phishing email or BEC attempt, extract IOCs, and recommend tenant controls (defense-* context); (b) offensive — assess whether an in-scope domain can be spoofed (SPF/DKIM/DMARC posture) as findings for a report. Sending simulated phishing is a separate, pentest-only track — load social-eng-methodology first and never run it against a bug-bounty target. Never re-deliver malicious samples to real users, and never mass-test third-party domains.

Why it works

Spoofing succeeds when a domain's authentication records are missing, weak (~all, p=none), or misaligned — the receiving server then has no cryptographic reason to reject a forged From. And even with perfect auth, the display name and Reply-To are unauthenticated, which is what BEC abuses. Reading full original headers exposes the truth the mail client hides.

Method

  1. Full original headers ("show original" / view source). Read the Received chain bottom-up — only the hops added by your infrastructure are trustworthy; early hops are sender-supplied. Check From vs Return-Path vs Reply-To consistency and the Authentication-Results header added by the receiving server.
  2. Auth records of the sender domain:
    text
    dig TXT example.com                 # SPF — note -all (hard fail) vs ~all (soft) vs missing;
                                        # >10 DNS lookups voids the record entirely
    dig TXT _dmarc.example.com          # DMARC — p=none only monitors; also check sp= (subdomains)
                                        # and rua (reporting); note relaxed vs strict alignment
    dig TXT <selector>._domainkey.example.com   # DKIM — selectors come from the DKIM-Signature header
  3. Content & URLs. Defang and detonate links in a sandbox (urlscan.io), not in a browser. Compare link text vs href; check lookalike/punycode domains against the real brand.
  4. Attachments. Static analysis / sandbox only — never open on a live host; route through defense-malware-triage.
  5. BEC pattern check. Display-name impersonation of an exec, urgency + payment/wire/gift-card framing, Reply-To redirected to a free-mail or lookalike domain, thread hijacking.
  6. Tenant control review (defensive engagements): anti-phishing policy, external-sender tagging, MFA coverage, and OAuth app consent grants — consent phishing rides legitimate identity providers, so audit authorized third-party apps (ties into web-account-takeover).
  7. Weaponize the IOCs — sender addresses, reply-to, URLs/domains, attachment hashes feed defense-detection-engineering / defense-threat-hunting so the finding becomes a detection.

Gotchas

  • p=none is not protection — it only reports; likewise ~all lets spoofed mail through as "soft fail". Only -all + p=reject (or quarantine) actually blocks.
  • Subdomains are separate — without sp= in the DMARC record, mail.example.com may be spoofable when example.com isn't.
  • Display-name spoofing passes every check — auth validates the domain, not the human name. The real signal is the From address domain and Reply-To.
  • Missing DKIM selector — you can't query DKIM without the selector; pull it from the DKIM-Signature header's s= tag, or try common ones (google, selector1, default).
  • Forwarded mailing lists break SPF legitimately — don't flag a false positive; alignment and DKIM survival matter more there.
  • Never click or detonate outside a sandbox, and never send test phishing to third parties without explicit written authorization.

Verify success

A written verdict per domain (SPF policy, DKIM validity, DMARC enforcement + alignment, spoofable yes/no with the exact gap), plus — for sample analysis — a complete IOC list and concrete tenant recommendations, each traceable to a header line or DNS record.

References

RFC 7208 (SPF) / 6376 (DKIM) / 7489 (DMARC); urlscan.io; M365/Google anti-phishing policy docs.


Portions adapted from reverse-skill by zhaoxuya520, MIT License.

Files in this version

Permissions

PermissionDeclaredFound by the scan
Reads filesNoNo
Writes filesYesYes
Runs shell commandsNoNo
Uses the networkYesYes
Uses connectorsNoNo
Drives a browserNoNo

Scan findings

Reviewed on Nov 13, 2026

  1. InfoLink · Links to outside domains

A clean scan lowers the risk but does not prove a package is safe. Read what you install.

VersionPublishedCommitSHA-256SignaturePermission change
v2026.10.14-ee0e0c5Nov 13, 2026ee0e0c52212da32Signed–

Ask anything your scope allows.

Create an account, add credits and ask the first question in the chat or the terminal.

  1. 1/3

    Create the account

    Individual or company. You can switch to a company later without losing balance or keys.

    IndividualCompany
  2. 2/3

    Add credits

    By card. Pay per token, no subscription.

    $5.00minimum deposit
  3. 3/3

    Ask

    In the chat, or install the CLI and run notholy login in your terminal.

    $ notholy login