· ~3 min read

A Windows 11 forensics case, and an AI agent for triage

A course forensics case on an encrypted Windows 11 VM: handling the evidence, mapping the findings to MITRE ATT&CK, and what an LLM agent can and cannot do for triage.

Goal

The case for the Digital Forensics course of my MSc was a Windows 11 Enterprise virtual machine and a memory capture, on which an intrusion had been simulated for the course. The task was to reach the evidence without damaging it, reconstruct a timeline, map the findings to MITRE ATT&CK, and recommend remediation. Alongside the manual analysis, I built an AI agent to see how much of the correlation work a language model can take off an analyst.

This post stays at a high level: the method, the tooling and the lessons, not a replay of the intrusion.

Method

The AI triage agent

PartRole
FastAPI backendReceives the timeline JSON, validates it, and exposes endpoints to upload, classify, analyse and report
Gemini Flash model (google-genai SDK)Correlates the events, suggests ATT&CK IDs, severity and indicators, in structured output
Streamlit dashboardRisk gauge, filtering by attack stage, and the generated hardening suggestions

The model's large context window meant the whole timeline (105 shell commands and 377 collected files) fit in one request, so it could correlate across sources without the data being cut.

Recommendations

The hardening advice was the standard set for this class of incident: remove every persistence mechanism found and verify it is gone, protect credentials in memory (LSA protection and Credential Guard), require Network Level Authentication and keep RDP behind a VPN or jump host, restrict PowerShell through application control, and keep script block and command-line process logging enabled so the next investigation has evidence to work with.

What I learned

A course forensics case for the MSc in Cybersecurity & Data Science at the University of Piraeus; the intrusion was simulated in a lab VM.

Want the configs or code from this lab, or have a question? Email me at kostaspapas1023@gmail.com

← all posts