Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Aegiseye Forensics

FreeNot checked

๐Ÿ›ก๏ธ AegisEye Forensics โ€” Advanced Python OSINT & Digital Forensics Toolkit with ELA pixel-tamper checks, EXIF/GPS extraction, DoD 5220.22-M file shredder, and M

GitHubEmbed

About

๐Ÿ›ก๏ธ AegisEye Forensics โ€” Advanced Python OSINT & Digital Forensics Toolkit with ELA pixel-tamper checks, EXIF/GPS extraction, DoD 5220.22-M file shredder, and MCP server.

README

Python Version License: MIT Cybersecurity Tool Platform Support

AegisEye is a comprehensive, multi-functional tool designed for digital forensics, open-source intelligence (OSINT), and file analysis. It now includes a read-only email-threat triage path for the SIH 2026 email-forensics use case: it preserves an evidence hash, parses RFC 5322 headers, evaluates authentication results, reconstructs visible relay hops, extracts links and attachments, and produces explainable risk findings plus an HTML forensic report. The existing image, OSINT, network, crypto, and secure-shredding modules remain available.


๐Ÿ“ธ Forensic Audit Dashboard Preview

AegisEye Forensic Dashboard


๐Ÿš€ Toolkit Modules & Features

  • ๐Ÿ” Image Analysis (image command): Audits EXIF data, extracts GPS coordinates, performs Error Level Analysis (ELA) to locate pixel manipulations, and checks for spoofed formats or hidden malware payloads.
  • ๐Ÿ“ž Phone & Email OSINT (osint command): Checks phone number carriers and email MX records.
  • ๐Ÿ›ก๏ธ Email Threat Triage (email command): Performs read-only email-header forensics, authentication checks, URL and attachment indicators, relay-path reconstruction, origin candidates, explainable risk scoring, SHA-256 evidence hashing, and HTML reporting.
  • ๐Ÿ—‘๏ธ Forensic File Shredder (shred command): Overwrites targets using DoD 5220.22-M military standards to prevent any forensic lab recovery.
  • ๐ŸŒ Network Recon (domain command): WHOIS socket queries, active DNS record audits, and SSL certificate health checks.
  • ๐Ÿ”‘ Cryptography (crypto command): Classifies hash formats and audits password strength entropy.

๐Ÿš€ Step-by-Step Installation & Setup

Step 1: Clone the Repository

Open your terminal and clone the repository:

git clone https://github.com/sudonishant/aegiseye-forensics.git
cd aegiseye-forensics

Step 2: Setup Virtual Environment

Setting up a Python virtual environment prevents the externally-managed-environment error:

python3 -m venv venv
source venv/bin/activate

Step 3: Install Dependencies

Install all required Python packages:

pip install -r requirements.txt

Step 4: Run Audits

๐ŸŽฎ Interactive TUI Menu Mode

Run the script without any options to launch the interactive TUI menu. You can perform image forensics, email triage, OSINT, secure shredding, and crypto audits from the displayed options:

python aegiseye.py

๐Ÿ’ป Direct Command-Line Mode

You can also run specific modules directly using subcommand arguments:

# General help menu
python aegiseye.py --help

# Scan local image ELA/EXIF
python aegiseye.py image photo.jpg

# Analyze a raw RFC 5322 email and generate an HTML forensic report
python aegiseye.py email evidence/suspicious_email.eml

# Print the complete structured result as JSON
python aegiseye.py email evidence/suspicious_email.eml --json

# Securely wipe a file (5 passes)
python aegiseye.py shred secret.txt --passes 5

The email analyzer is intentionally read-only and local. It reports origin IP candidates and enrichment targets, but it does not claim geolocation or attribution from a single IP; connect an approved intelligence provider before making a location or actor assessment.


๐Ÿ”Œ Model Context Protocol (MCP) Server Integration

AegisEye is integrated as a Custom MCP Server. This allows autonomous incident-response agents such as Claude Code, OpenClaw, or Cursor to call AegisEye tools natively over stdio.

Exposed MCP Tools

  1. analyze_image(image_path): Scans an image for EXIF/GPS, runs ELA pixel-tamper checks, splits RGB channels, and returns a compiled HTML report path.
  2. analyze_email_threat(email_path|raw_email, source_name, report_path): Performs read-only email threat triage, returns structured authentication, identity, URL, attachment, relay, origin-candidate, risk, and evidence-hash data, and can write an HTML report.
  3. check_email_osint(email): OSINT validator checking domain syntax and active mail server MX records.
  4. check_phone_osint(phone): OSINT auditor for carrier information, timezone, and geolocation country mapping.
  5. audit_domain_network(domain, check_whois): Network engine checking active DNS, WHOIS registration, and SSL/TLS certificate health status.
  6. crypto_hash_analysis(hash_string, password): Identifies cryptographic hash algorithm types or evaluates password entropy.

Running AegisEye as an MCP Server

To configure and run AegisEye as an MCP server with an agentic client:

{
  "mcpServers": {
    "aegiseye-forensics": {
      "command": "python3",
      "args": ["/absolute/path/to/aegiseye-forensics/aegiseye_mcp.py"]
    }
  }
}

Verification Against Evidence

The evidence/ directory includes:

  • evidence/clean_evidence.jpg: Clean system configuration screenshot.
  • evidence/tampered_evidence.jpg: Manipulated system configuration screenshot.
  • evidence/suspicious_email.eml: A safe, synthetic raw email fixture containing failed authentication, a mismatched reply domain, a shortened link, a Punycode lookalike, suspicious urgency language, and a macro-enabled attachment name.

You can verify the synthetic email workflow:

python aegiseye.py email evidence/suspicious_email.eml
python aegiseye.py email evidence/suspicious_email.eml --json

For an MCP client, call analyze_email_threat with email_path for a local .eml file or raw_email for controlled raw content. The returned JSON is designed for downstream dashboards and case-management workflows.


โš–๏ธ Forensic Data Integrity & Triage Warning

AegisEye is designed to audit and triage systems during security incidents. To preserve evidence integrity:

  1. Strictly Read-Only Analysis: The email parser, email-header triage, image ELA, EXIF parser, and certificate audits do not write to or alter the target evidence.
  2. Evidence Hashing: Email analysis records a SHA-256 hash of the raw input so downstream workflows can verify which evidence was analyzed.
  3. No Single-Signal Attribution: A relay IP is reported as an origin candidate, not as proof of the senderโ€™s location or identity. Add approved IP/domain intelligence before making a location or attribution assessment.
  4. DoD-Standard Shredding: The file shredder uses multiple overwrite passes to erase files permanently. Wiped files cannot be recovered by standard forensic tools; use shredding only when permanent disposal is explicitly intended.
  5. Execution Sandbox: When integrating with agentic incident-response frameworks, configure local execution block policies to verify destructive actions.

๐Ÿ“– Complete Setup & Troubleshooting Guide

For advanced debugging, read the SETUP_GUIDE.md.


๐Ÿ“„ License

Distributed under the MIT License.

from github.com/sudonishant/aegiseye-forensics

Installing Aegiseye Forensics

This server has no published package โ€” it is built from source. Open the repository and follow its README.

โ–ธ github.com/sudonishant/aegiseye-forensics

FAQ

Is Aegiseye Forensics MCP free?

Yes, Aegiseye Forensics MCP is free โ€” one-click install via Unyly at no cost.

Does Aegiseye Forensics need an API key?

No, Aegiseye Forensics runs without API keys or environment variables.

Is Aegiseye Forensics hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Aegiseye Forensics in Claude Desktop, Claude Code or Cursor?

Open Aegiseye Forensics on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install โ€” the config is generated automatically, no JSON editing.

Related MCPs

Compare Aegiseye Forensics with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All media MCPs