A lightweight Windows program execution forensics & activity timeline extraction tool.
In Windows incident response and digital forensics (DFIR), investigating whether a suspect or malware executed unauthorized software (e.g., credential dumpers, keyloggers, or malicious payloads) is critical. Even if an attacker deletes an executable from the filesystem, Windows maintains silent execution artifacts in the Registry.
ShadowTrace extracts and parses two critical Windows execution artifacts:
HKCU\...\UserAssist):
FILETIME), run count, and active focus duration (how many seconds the user actively had the app in the foreground).HKCU\...\RunMRU):
Win + R Run dialog, along with execution ordering (MRUList).ShadowTrace decodes the ROT13 strings, unpacks the 72-byte binary structures, and correlates them into a unified chronological execution timeline.
winreg, struct, codecs, datetime, json).FILETIME and microsecond focus times into human-readable timelines.forensic_execution_timeline.json) ready for timeline analysis and ingestion into SIEM tools.# Clone the repository
git clone https://github.com/prox0959/ShadowTrace.git
cd ShadowTrace
# Run in English (Default)
python shadowtrace.py
# Run with Turkish output
python shadowtrace.py --lang tr
| Argument | Description |
|---|---|
python shadowtrace.py | Runs with default English DFIR headers and reporting |
python shadowtrace.py --lang en | Explicitly sets language to English |
python shadowtrace.py --lang tr | Sets language to Turkish (Türkçe) |
===============================================================================================
[SHADOWTRACE] - WINDOWS PROGRAM EXECUTION & FORENSIC ARTIFACTS
===============================================================================================
[*] Decoded a total of 193 program execution forensic artifacts:
# | Application / Command | Runs | Focus(s) | Last Execution (Local)
-----------------------------------------------------------------------------------------------
1 | Run Command: cmd | 1+ | N/A | Recent Session
2 | Run Command: appdata | 1+ | N/A | Recent Session
3 | Microsoft.VisualStudioCode | 4 | 141.4 | 2026-09-24 00:58:48
4 | SpotifyAB.SpotifyMusic_zpdnekdrzrea0!Spotify | 2 | 800.1 | 2026-09-24 00:11:21
5 | electron.app.Antigravity | 3 | 5433.5 | 2026-09-24 00:04:04
6 | Microsoft.WindowsCalculator_8wekyb3d8bbwe!App | 1 | 30.9 | 2026-09-23 23:22:52
7 | OperaSoftware.OperaGXWebBrowser.1783096419 | 2 | 4600.7 | 2026-09-23 21:20:53
8 | C:\Users\prox\Desktop\npcap-installer.exe | 0 | 0.0 | 2026-09-21 23:17:31
... and 158 older records exported to JSON.
===============================================================================================
[+] Forensic timeline successfully saved to: forensic_execution_timeline.json
MIT License. Built for educational and digital forensics / incident response (DFIR) research.
3 commits
Python
100.0%
A lightweight Windows program execution forensics & activity timeline extraction tool.
In Windows incident response and digital forensics (DFIR), investigating whether a suspect or malware executed unauthorized software (e.g., credential dumpers, keyloggers, or malicious payloads) is critical. Even if an attacker deletes an executable from the filesystem, Windows maintains silent execution artifacts in the Registry.
ShadowTrace extracts and parses two critical Windows execution artifacts:
HKCU\...\UserAssist):
FILETIME), run count, and active focus duration (how many seconds the user actively had the app in the foreground).HKCU\...\RunMRU):
Win + R Run dialog, along with execution ordering (MRUList).ShadowTrace decodes the ROT13 strings, unpacks the 72-byte binary structures, and correlates them into a unified chronological execution timeline.
winreg, struct, codecs, datetime, json).FILETIME and microsecond focus times into human-readable timelines.forensic_execution_timeline.json) ready for timeline analysis and ingestion into SIEM tools.# Clone the repository
git clone https://github.com/prox0959/ShadowTrace.git
cd ShadowTrace
# Run in English (Default)
python shadowtrace.py
# Run with Turkish output
python shadowtrace.py --lang tr
| Argument | Description |
|---|---|
python shadowtrace.py | Runs with default English DFIR headers and reporting |
python shadowtrace.py --lang en | Explicitly sets language to English |
python shadowtrace.py --lang tr | Sets language to Turkish (Türkçe) |
===============================================================================================
[SHADOWTRACE] - WINDOWS PROGRAM EXECUTION & FORENSIC ARTIFACTS
===============================================================================================
[*] Decoded a total of 193 program execution forensic artifacts:
# | Application / Command | Runs | Focus(s) | Last Execution (Local)
-----------------------------------------------------------------------------------------------
1 | Run Command: cmd | 1+ | N/A | Recent Session
2 | Run Command: appdata | 1+ | N/A | Recent Session
3 | Microsoft.VisualStudioCode | 4 | 141.4 | 2026-09-24 00:58:48
4 | SpotifyAB.SpotifyMusic_zpdnekdrzrea0!Spotify | 2 | 800.1 | 2026-09-24 00:11:21
5 | electron.app.Antigravity | 3 | 5433.5 | 2026-09-24 00:04:04
6 | Microsoft.WindowsCalculator_8wekyb3d8bbwe!App | 1 | 30.9 | 2026-09-23 23:22:52
7 | OperaSoftware.OperaGXWebBrowser.1783096419 | 2 | 4600.7 | 2026-09-23 21:20:53
8 | C:\Users\prox\Desktop\npcap-installer.exe | 0 | 0.0 | 2026-09-21 23:17:31
... and 158 older records exported to JSON.
===============================================================================================
[+] Forensic timeline successfully saved to: forensic_execution_timeline.json
MIT License. Built for educational and digital forensics / incident response (DFIR) research.
3 commits
Python
100.0%