Skip to main content
← Selected work

Case study

Morpheus IOC Scanner

Research2024–2025

Defensive security research

>_ morpheus / evidence[ + ]
Morpheus project wordmark with a red dragon emblem.
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.

Morpheus V2 scan modes

Default scan, offline

  1. Input file
  2. File informationPE details and file properties.
  3. YARA scanSynced rule sets plus the custom KRYPT0S rule.
  4. Match results
  5. Verdict and PDF reportFindings summarised and exported.

VirusTotal scan, online

  1. File or hashSubmitted with the user's own API key.
  2. VirusTotal lookupMulti-engine results and community context.
  3. 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.

Read the research summary

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
CHOSE / OVER / BECAUSE

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

  • Unravelling WannaCry: an in-depth analysis of the largest ransomware attack in history (BSc)
  • Python
  • YARA
  • VirusTotal
View on GitHub ↗

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

All selected work · Research summaries