Case study
Morpheus IOC Scanner
Defensive security research

- Stack
- Python, YARA, VirusTotal
Executive summary
One of my biggest projects and a portfolio highlight: a research-oriented IOC scanner using YARA rules and VirusTotal integration to examine indicators of compromise across the cyber kill chain.
Defensive analysis benefits from a repeatable way to combine local rule matching with external indicator context.
Two ways to scan
The default scan works offline. It runs a file through YARA rules and extracts file details, including PE information through pefile. The online scan sends a file or hash to VirusTotal with your own API key and returns multi-engine results and community context.
Default scan, offline
- Input file
- File informationPE details and file properties.
- YARA scanSynced rule sets plus the custom KRYPT0S rule.
- Match results
- Verdict and PDF reportFindings summarised and exported.
VirusTotal scan, online
- File or hashSubmitted with the user's own API key.
- VirusTotal lookupMulti-engine results and community context.
- Vendor detections
The offline mode needs no network after setup. The online mode only helps for files VirusTotal has already seen.
What a scan includes
- A custom detection rule for my KRYPT0S ransomware proof of concept.
- Rule updates from GitHub-hosted rule sets, fetched with an updater script, and a lighter or fuller rule set chosen at setup.
- Multithreaded scanning, and support for Windows and Linux.
- A compiled PDF report and an AI-generated verdict on the findings.
What it was tested against
The project README shows Morpheus V2 scanning a real WannaCry sample, with the YARA analysis, the VirusTotal lookup and a snippet of the generated PDF. The tool was built for my BSc research on WannaCry and detection methods, where it also flagged KRYPT0S using the custom rule.
Limits to know
- VirusTotal only returns results for files it has already analysed, and its API is rate limited.
- The offline mode relies on heavy dependencies and a setup step, so results and stability can vary between systems.
- Rule matching can miss a modified or obfuscated sample. The project is research code for authorised lab and defensive analysis, with no claim of complete coverage.
Scope
Public research code for authorized lab and defensive-analysis use; it makes no claim of production deployment, complete detection coverage, or operational service availability.
Methodology
Developed Morpheus V2 with local YARA scanning, file-information extraction, rule updates, optional VirusTotal analysis, and PDF reporting. Custom KRYPT0S detection connects my malware research with defensive analysis.
Engineering decisions
Original decision record. Alternatives and rationale appear only where stated.
Combined local YARA matching with external reputation context.
Kept the project framed as research rather than a production detection service.
Evidence
- Public scanner implementation
- YARA rule workflow
- VirusTotal integration
Related research
- Python
- YARA
- VirusTotal
More projects
- Hephestus Agent: supervised local llm security-research agent, 2026
- PenTest Vault: offensive-security research collection, 2023–2024
- Oberon Framework: controlled malware-research proof of concept, 2025