
Read-only Windows forensic scanner for software traces — persistence, execution artifacts (Prefetch, Shimcache, BAM), user activity and Ghost Tasks correlation. 20+ modules mapped to MITRE ATT&CK.
Find what software left behind on Windows, before it finds its way back.
GhostTrace is a local Windows forensic trace hunter for incident responders, system administrators, and security-minded power users. It maps persistence, execution, activity, and leftover artifacts into a reviewable record, then offers tightly constrained cleanup only when you explicitly choose it.
Download | Quick start | Capabilities | Safety model | Roadmap | Portuguese (Brazil)
Uninstalling an application does not always remove its operational footprint. Startup entries, scheduled tasks, cached execution evidence, registry values, services, and folders can remain long after the installer reports success.
GhostTrace turns that broad question into a focused, local investigation:

Download the latest x64 MSI from Releases:
GhostTrace-<version>-x64.msi
The package is self-contained, so the target machine does not need a pre-installed .NET runtime. Run GhostTrace as Administrator to access protected Windows artifacts.
GhostTrace.CLI scan --name nvidia
The interactive flow shows progress, groups findings by technique, and can export a record of the investigation. If safe cleanup candidates exist, you must select them and type a confirmation phrase before any removal occurs.
GhostTrace.CLI scan --name nvidia --quiet --output C:\Cases\Host1
--quiet creates a non-interactive TXT record. A report write failure returns a non-zero exit code, so automation does not silently succeed without an artifact.
Choose the interface language with --lang:
GhostTrace.CLI scan --name nvidia --lang en
GhostTrace.CLI --lang pt-BR
GhostTrace is a read-only collector by default. Its cleanup workflow targets software leftovers, not automatic malware remediation.
FilesystemTraceHint: reportable, never removable.Ctrl+C cooperatively cancels scheduled-task correlation and Prefetch file reading.A finding is evidence, not a verdict. Interpret it with the host timeline, your environment, and your incident-response process.
| Output | Best for |
|---|---|
| Interactive table | Fast analyst review |
| TXT report |
PartialSuccess means a module produced findings but also encountered a limitation. Read that module's errors before treating an absent result as a clean source.
GhostTrace.sln before building the MSI.src/GhostTrace.Tests and tests/GhostTrace.Tests.Unit are included in the solution and CI.v<major>.<minor>.<patch> tags.Track the project's public star history on Star History.
Contributions are welcome. Keep collectors read-only, propagate CancellationToken, surface coverage gaps as result errors, and include tests with behavior changes. The roadmap highlights the next high-impact areas.
GhostTrace supports investigation. Validate every artifact in the context of the host, its timeline, and your operating procedures.
| Goal | Command |
|---|
| Open the interactive menu | GhostTrace.CLI |
| Run a full triage | GhostTrace.CLI scan |
| Hunt a named application | GhostTrace.CLI scan --name <name> |
| Write a script-friendly scan record | GhostTrace.CLI scan --name <name> --quiet --output <directory> |
| Correlate Task Scheduler COM and TaskCache | GhostTrace.CLI scan-tasks-correlate-json --output <report.json> |
| Inspect a directory, Registry key, or Event Log | scan-fs-json, scan-reg-json, scan-evt-json |
| Area |
|---|
| Evidence sources |
|---|
| Persistence | Run/RunOnce, Startup, services, Winlogon, IFEO, AppInit, LSA, Active Setup, WMI, and scheduled tasks |
| Execution | Prefetch, Shimcache, BAM/DAM, UserAssist, and MUICache |
| User activity | PowerShell history, outbound RDP history, RecentDocs, USB, and network artifacts |
| Installed software and leftovers | Uninstall entries, StartupApproved, Program Files, ProgramData, and AppData traces |
| Scheduled task correlation | COM and TaskCache discrepancies used to investigate Ghost Tasks (T1053.005) |
| Module | Source |
|---|
PersistenceScanModule | Run/RunOnce and Startup folders |
ServicesScanModule | Service and driver ImagePath values |
AsepScanModule | Winlogon, IFEO, AppInit, LSA, and Active Setup |
ScheduledTasksScanModule | Task Scheduler COM, including hidden tasks |
TaskCacheScanModule | TaskCache\Tree anomalies |
WmiPersistenceScanModule | __EventFilter, __EventConsumer, and bindings |
| Module | Source |
|---|
PrefetchScanModule | Windows 10/11 .pf files, including XPRESS-Huffman compression |
ShimcacheScanModule | AppCompatCache |
BamScanModule | BAM/DAM records by SID |
UserAssistScanModule | GUI launches and usage counts |
MuiCacheScanModule | Shell MUICache |
PowerShellHistoryScanModule | PSReadLine history and suspicious command signals |
RdpConnectionScanModule | Outbound RDP connection history |
RecentDocsScanModule | Explorer RecentDocs |
UsbDeviceScanModule | USBSTOR history |
NetworkArtifactsScanModule | Hosts file and known network profiles |
Local record from scan, including --quiet automation |
| JSON report | Directed collectors and scheduled-task correlation |
| Cleanup log | Auditing removed, skipped, and failed cleanup actions |