Free Tool

Windows Forensic Artifacts Reference

Where the evidence lives on a Windows host, what it shows, and what it does not prove.

89 artifacts across system information, persistence, execution, file activity, browsers, network and remote access, accounts, USB devices, event logs, memory and acquisition, and anti-forensics. Each gives its location, the tools that read it, what to look for, the limits of what it can establish, and, where a parser exists, the command. Search by artifact, path, event ID or tool.

System Information

Windows Version and Install Date

Which Windows is this, and when was it installed?

  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion: ProductName, DisplayVersion, CurrentBuild, InstallDate
  • InstallDate is seconds since 1 January 1970 UTC

Tools: Registry Explorer, RECmd, Get-ComputerInfo (live)

What to look for: The build first, because it decides which artifacts exist (BAM from 1709, PCA from Windows 11 22H2). A build of 22000 or higher is Windows 11 even where ProductName still reads Windows 10.

What it does not prove: An in-place upgrade to a new release reinstalls Windows and can reset InstallDate, so read it as the last installation or upgrade, not the day the device arrived.

Parse it: RECmd.exe -f "E:\Collect\C\Windows\System32\config\SOFTWARE" --bn BatchExamples\DFIRBatch.reb --csv "E:\Out"

Computer Name

What is this host called?

  • HKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName: ComputerName
  • HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters: Hostname, Domain

Tools: Registry Explorer, RECmd

What to look for: The name that appears as the workstation in other hosts' logon events (4624, 4776) and in shortcut files' machine field, so evidence elsewhere can be tied to this disk.

What it does not prove: The name is the current one; a rename leaves the old name only in older event records and other hosts' logs.

Time Zone

Which time zone does the host keep local time in?

  • HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation: TimeZoneKeyName, Bias, ActiveTimeBias (minutes from UTC)
  • On an image, read the ControlSet00x that the Select key marks as current

Tools: Registry Explorer, RECmd, Get-TimeZone (live)

What to look for: The offset to apply to any artifact written in local time before it goes on a UTC timeline. Most registry, event log and NTFS times are already UTC.

What it does not prove: The setting is the current one. If it changed during the period you are examining, local-time records either side of the change need different offsets; the key's last write time dates the latest change.

Last Shutdown

When was the host last shut down cleanly?

  • HKLM\SYSTEM\CurrentControlSet\Control\Windows: ShutdownTime (FILETIME)
  • System log: 1074 (shutdown or restart requested, with the process and user), 6006 (clean shutdown), 6008 (previous shutdown was unexpected), Kernel-Power 41 (rebooted without a clean shutdown)

Tools: Registry Explorer, RECmd, EvtxECmd

What to look for: Restarts inside the incident window, a 1074 naming an unexpected process or account, and a ShutdownTime that tells you whether the SYSTEM hive (and ShimCache) was written at a clean shutdown.

What it does not prove: ShutdownTime records only the last clean shutdown. A crash or power loss leaves 6008 and 41, not a new time.

Network Interfaces

What addresses has this host used?

  • HKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{GUID}: IPAddress or DhcpIPAddress, DhcpServer, DhcpDomain, lease times
  • HKLM\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\Interfaces\{GUID}

Tools: Registry Explorer, RECmd

What to look for: The address the host held in the window, so firewall, proxy and other hosts' logs can be searched for it, and interfaces for VPN or virtual adapters that should not be there.

What it does not prove: DHCP values are the latest lease. An address from weeks ago is in DHCP server logs, not here.

Installed Software

What software is installed, and when?

  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode}
  • HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\
  • HKCU\Software\Microsoft\Windows\CurrentVersion\Uninstall\ (per-user installs)
  • DisplayName, Publisher, DisplayVersion, InstallDate, InstallLocation, UninstallString

Tools: RECmd, Registry Explorer, Get-ItemProperty (live)

What to look for: Remote access tools, archivers and file transfer clients installed in the window, per-user installs that need no administrator, and install locations in user-writable folders.

What it does not prove: Microsoft documents InstallDate as the last time the product was serviced, so a patch or repair moves it. Software copied into a folder, as most attacker tools are, never appears here.

Defender Settings and Exclusions

Was Defender configured to look away?

  • HKLM\SOFTWARE\Microsoft\Windows Defender\Exclusions\Paths, \Extensions, \Processes
  • HKLM\SOFTWARE\Policies\Microsoft\Windows Defender (settings applied by policy)
  • Microsoft-Windows-Windows Defender/Operational 5007: each configuration change, with old and new values

Tools: RECmd, Registry Explorer, Get-MpPreference (live), EvtxECmd

What to look for: Exclusions for a user-writable folder, a script extension or a tool's process name, added in the window. Set the key's last write time beside the 5007 events.

What it does not prove: The keys show the exclusions in force now. One added and removed again survives only in 5007 events.

Persistence

Run / RunOnce Keys

What programs start at boot or at user logon?

  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce
  • HKCU\Software\Microsoft\Windows\CurrentVersion\Run
  • HKCU\Software\Microsoft\Windows\CurrentVersion\RunOnce
  • HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Run

Tools: RECmd, Registry Explorer, Autoruns, reg query

What to look for: Values pointing into user-writable folders (AppData, Temp, ProgramData, Public), script hosts with long or encoded arguments, and binaries that are unsigned or renamed. The key's last write time narrows when a value was added.

What it does not prove: A value shows what is set to start, not that it ran. RunOnce values are deleted once they run, so an attacker's RunOnce entry may already be gone.

Parse it: RECmd.exe -d "E:\Collect\C" --bn BatchExamples\DFIRBatch.reb --csv "E:\Out"

Services

What services were installed or changed?

  • HKLM\SYSTEM\CurrentControlSet\Services\{ServiceName}
  • ImagePath: the binary or command line
  • Start: 2 automatic, 3 manual, 4 disabled

Tools: RECmd, Registry Explorer, Get-Service, sc.exe qc

What to look for: ImagePath in a user-writable folder or running cmd.exe or powershell.exe, service names that imitate Windows ones, and keys last written during the incident window. Pair with System 7045 (installed) for the time and account.

What it does not prove: The key shows the service exists now; one installed, run and deleted leaves only its events (7045, 7036) and any execution artifacts of its binary.

Scheduled Tasks

What tasks were created or changed?

  • C:\Windows\System32\Tasks\{TaskPath} (task XML)
  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\{TaskPath}
  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks\{GUID}

Tools: Get-ScheduledTask, schtasks /query, RECmd, EvtxECmd

What to look for: Actions running script hosts or binaries from user-writable folders, triggers at logon or on a short repeat, and tasks running as SYSTEM. A Tree key without a security descriptor (SD) value hides the task from the console and schtasks, so read the registry as well as the tools.

What it does not prove: The XML and registry show the task as it is now. Its creation is in Security 4698 only when Audit Other Object Access Events is on, and in TaskScheduler/Operational 106 only when task history is on (it is off by default).

WMI Event Subscriptions

Was WMI used to run code on an event?

  • C:\Windows\System32\wbem\Repository\OBJECTS.DATA
  • root\subscription: __EventFilter + an event consumer + __FilterToConsumerBinding

Tools: Get-CimInstance (PowerShell 7), Autoruns, Velociraptor

What to look for: CommandLineEventConsumer or ActiveScriptEventConsumer instances bound to a filter, especially filters on logon, process start or a timer. Legitimate management agents create some; compare against a clean build. Get-WmiObject is not in PowerShell 7, and WMIC is removed from Windows 11 24H2 and later.

What it does not prove: A subscription found is persistence configured, not proof it fired. A removed one may survive only as fragments in OBJECTS.DATA.

Startup Folders

Was anything dropped into a Startup folder?

  • C:\Users\{User}\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
  • C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\

Tools: Get-ChildItem, LECmd (for shortcuts), MFTECmd

What to look for: Shortcuts whose target is a script host or a binary in a user-writable folder, and .bat, .vbs, .js or .ps1 files. The file's $MFT record gives when it arrived.

What it does not prove: An item in the folder runs at that user's next logon; its presence does not show that it ran.

Parse it: LECmd.exe -d "E:\Collect\C\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup" --csv "E:\Out"

COM Object Hijacking

Was a COM registration redirected to attacker code?

  • HKCU\Software\Classes\CLSID\{GUID}\InprocServer32
  • HKLM\SOFTWARE\Classes\CLSID\{GUID}\InprocServer32
  • A per-user (HKCU) registration is used ahead of the machine one

Tools: RECmd, Registry Explorer, Autoruns

What to look for: CLSIDs registered under HKCU that also exist under HKLM, and InprocServer32 defaults pointing at DLLs in user-writable folders.

What it does not prove: The registration shows the redirect is in place; whether the hijacked object was loaded needs image-load telemetry (Sysmon 7) or the DLL in execution artifacts.

Winlogon Userinit and Shell

Was the logon sequence changed to start something else?

  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon: Userinit (userinit.exe), Shell (explorer.exe), Notify
  • HKCU\Software\Microsoft\Windows NT\CurrentVersion\Winlogon: the same values per user
  • Wow6432Node equivalents on 64-bit systems

Tools: RECmd, Registry Explorer, Autoruns

What to look for: Anything after userinit.exe in Userinit (it takes a comma-separated list), a Shell that is not explorer.exe, and Shell set under HKCU where none is expected.

What it does not prove: The value shows what starts at each logon; whether it ran needs execution artifacts for the added program.

Image File Execution Options and SilentProcessExit

Does launching or closing a program start something else?

  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\{program.exe}: Debugger
  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SilentProcessExit\{program.exe}: a monitor process run when that program exits
  • Wow6432Node equivalents

Tools: RECmd, Registry Explorer, Autoruns

What to look for: A Debugger value on anything other than a developer's machine, especially on accessibility binaries (sethc.exe, utilman.exe) or security tools, and any SilentProcessExit entry.

What it does not prove: The value shows the redirect is configured; whether it was used shows in process creation, as the debugger program starting where the original should have.

AppInit_DLLs

Is a DLL loaded into every program that loads user32.dll?

  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Windows: AppInit_DLLs, LoadAppInit_DLLs
  • HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion\Windows

Tools: RECmd, Registry Explorer, Autoruns

What to look for: Any value in AppInit_DLLs with LoadAppInit_DLLs set to 1, and the DLL's path and signature.

What it does not prove: MITRE ATT&CK notes the mechanism is disabled on Windows 8 and later when Secure Boot is on, so a value on such a host may never have loaded.

LSA Packages

Was a DLL added to the Local Security Authority?

  • HKLM\SYSTEM\CurrentControlSet\Control\Lsa: Security Packages, Authentication Packages, Notification Packages
  • HKLM\SYSTEM\CurrentControlSet\Control\Lsa\OSConfig: Security Packages

Tools: RECmd, Registry Explorer, Autoruns

What to look for: Package names that are not Microsoft's, and their DLLs in System32. A notification package (password filter) receives every new password in plain text when it is set or changed.

What it does not prove: LSA loads these packages at boot, so a newly added name may not have loaded until the next restart.

Active Setup

Does a command run once for each user at logon?

  • HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\{GUID}: StubPath

Tools: RECmd, Registry Explorer, Autoruns

What to look for: StubPath values running script hosts or binaries from user-writable folders, and components whose key was written in the window. The command runs in the logging-on user's context.

What it does not prove: A component runs once per user, so evidence of it running is per profile; the key alone does not show who logged on since.

Accessibility Binary Replacement

Can someone get a SYSTEM shell from the logon screen?

  • C:\Windows\System32\sethc.exe, utilman.exe, osk.exe, Magnify.exe, Narrator.exe, DisplaySwitch.exe, AtBroker.exe
  • Or a Debugger value for any of them under Image File Execution Options

Tools: Get-AuthenticodeSignature (live), sigcheck, MFTECmd

What to look for: A binary whose hash, size or signature does not match Microsoft's (a copy of cmd.exe is the classic), and a $MFT record changed outside an update.

What it does not prove: A replaced file shows the backdoor exists; use of it shows in process creation as a shell running as SYSTEM under winlogon.exe or the accessibility program.

Netsh Helper DLLs

Does netsh.exe load an extra DLL?

  • HKLM\SOFTWARE\Microsoft\Netsh: one value per helper DLL

Tools: RECmd, Registry Explorer, Autoruns

What to look for: Helper DLLs that are not Microsoft's or that sit outside System32.

What it does not prove: The helper loads only when netsh runs, so it persists through anything that calls netsh, not at every boot.

Print Port Monitors

Does the spooler load an unknown DLL at boot?

  • HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors\{Name}: Driver

Tools: RECmd, Registry Explorer, Autoruns

What to look for: A monitor whose Driver is not a Microsoft or printer vendor DLL, or that gives a full path outside System32. spoolsv.exe loads it as SYSTEM at boot.

What it does not prove: The registration shows the DLL is set to load; image-load telemetry for spoolsv.exe shows that it did.

Office Templates, Add-ins and Office Test

Does opening Office run attacker code?

  • C:\Users\{User}\AppData\Roaming\Microsoft\Templates\Normal.dotm
  • C:\Users\{User}\AppData\Roaming\Microsoft\Excel\XLSTART\PERSONAL.XLSB
  • HKCU\Software\Microsoft\Office test\Special\Perf and the HKLM equivalent

Tools: olevba, oledump, RECmd

What to look for: A Normal.dotm or XLSTART workbook with macros, changed in the window, and any Office test\Special\Perf key, which Office does not create itself.

What it does not prove: A macro in a template runs when Office opens a document, so it shows persistence, not which document triggered it.

Execution

Prefetch

What ran, how often, and when last?

  • C:\Windows\Prefetch\{EXENAME}-{HASH}.pf
  • Run count, the last eight run times (Windows 8 and later), files and folders loaded in the first seconds
  • HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\EnablePrefetcher: 0 off, 1 or 3 application launches

Tools: PECmd

What to look for: Tools by name (and renamed ones by the files they load), execution from Temp, Downloads, Public or a share, and run times in the incident window. The hash in the name changes with the path, so two files for one name means two locations.

What it does not prove: Prefetch may be off, and is often missing on servers. A file shows the program started; it does not show what it did or under which account.

Parse it: PECmd.exe -d "E:\Collect\C\Windows\Prefetch" --csv "E:\Out" -q

Amcache.hve

What programs were present, with their SHA1?

  • C:\Windows\AppCompat\Programs\Amcache.hve
  • Root\InventoryApplicationFile: path, SHA1, size, publisher, link date
  • Windows 11 26H1 and later: Inventory*.db SQLite databases in the same folder

Tools: AmcacheParser, Registry Explorer

What to look for: SHA1s to look up, binaries with no publisher, and paths in user-writable folders. The entry survives deletion of the file, so it can name a tool that is gone.

What it does not prove: Amcache is written when the compatibility appraiser scans, so an entry proves the file was present, not that it ran. The key time is the scan, not the launch.

Parse it: AmcacheParser.exe -f "E:\Collect\C\Windows\AppCompat\Programs\Amcache.hve" -i --csv "E:\Out"

ShimCache (AppCompatCache)

What executables did Windows see?

  • HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatCache\AppCompatCache
  • Path and the file's last modified time, newest entry first

Tools: AppCompatCacheParser

What to look for: Tool paths near the top of the cache, and files that no longer exist on disk. Cross-check every entry with Prefetch, Amcache and BAM before calling it execution.

What it does not prove: On Windows 10 and 11 an entry means Windows saw the file, not that it ran. The cache is written to the SYSTEM hive at a proper shutdown or restart, so a live or crashed system's hive lacks the latest entries.

Parse it: AppCompatCacheParser.exe -f "E:\Collect\C\Windows\System32\config\SYSTEM" --csv "E:\Out"

UserAssist

What did the user launch from the shell?

  • HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{GUID}\Count
  • {CEBFF5CD-ACE2-4F4F-9178-9926F41749EA}: executables; {F4E57C4B-2036-45F0-A9AB-443BCFE33D9F}: shortcuts
  • Value names are ROT13-encoded paths; data holds run count, focus time and last run

Tools: Registry Explorer (decodes), RECmd

What to look for: Programs a user started by double-click, Start menu or shortcut, from unusual folders, and their last run times.

What it does not prove: Only launches through the Explorer shell are recorded: a program started from a command line, a script or a service does not appear.

Parse it: RECmd.exe -f "E:\Collect\C\Users\{User}\NTUSER.DAT" --bn BatchExamples\DFIRBatch.reb --csv "E:\Out"

BAM / DAM (Background Activity Moderator)

What ran recently, per user, with a time?

  • HKLM\SYSTEM\CurrentControlSet\Services\bam\State\UserSettings\{SID}
  • HKLM\SYSTEM\CurrentControlSet\Services\dam\State\UserSettings\{SID}
  • Value name: full path; data: last execution time

Tools: Registry Explorer, RECmd

What to look for: Executables run by each user, with a last-run time, from unusual paths. Present from Windows 10 1709.

What it does not prove: Entries older than seven days are removed at startup, and programs run from removable media or network shares are not recorded.

SRUM (System Resource Usage Monitor)

Which programs used the network, processor and disk, per hour?

  • C:\Windows\System32\sru\SRUDB.dat
  • Per application and user: bytes sent and received, processor and disk use, foreground time
  • Written hourly and at shutdown; retention up to 30 days

Tools: SrumECmd

What to look for: Programs with outbound bytes far above their normal, programs that should not talk to the network, and use by an account at an hour it is not normally active.

What it does not prove: Totals per hour, not connections: SRUM cannot name the destination. The last hour may still be in the registry rather than the database.

Parse it: SrumECmd.exe -f "E:\Collect\C\Windows\System32\sru\SRUDB.dat" -r "E:\Collect\C\Windows\System32\config\SOFTWARE" --csv "E:\Out"

Program Compatibility Assistant (Windows 11)

What did a user launch from the desktop on Windows 11?

  • C:\Windows\appcompat\pca\PcaAppLaunchDic.txt (path | last launch, UTC)
  • C:\Windows\appcompat\pca\PcaGeneralDb0.txt, PcaGeneralDb1.txt (installer failures, abnormal exits)
  • Windows 11 22H2 and later

Tools: A text editor, Velociraptor (Windows.System.AppCompatPCA)

What to look for: Programs launched through the shell with a last launch time, including from Downloads and archives opened in a GUI. Abnormal-exit records can show a tool that crashed.

What it does not prove: Only GUI launches are registered: command-line, scheduled task, remote and PsExec execution are not. Paths are lowercased with the drive letter removed, and the files rotate at about 2 MB.

PowerShell Console History (PSReadLine)

What did someone type at a PowerShell prompt?

  • C:\Users\{User}\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt
  • One file per host: other hosts write {HostName}_history.txt in the same folder

Tools: A text editor, Get-Content

What to look for: Download cradles, encoded commands, discovery and credential commands, typed in order. The file's $MFT times bracket the session.

What it does not prove: Only interactive PSReadLine sessions are recorded: scripts, remote shells and implants are not. PSReadLine also leaves out lines containing words such as password, token, apikey and secret.

MUICache

Which programs did the shell resolve a display name for?

  • UsrClass.dat: Local Settings\Software\Microsoft\Windows\Shell\MuiCache
  • Value names are executable paths, with the program's friendly name

Tools: Registry Explorer, RECmd

What to look for: Executables in user-writable folders and on removable or network volumes, per user, including ones no longer on disk.

What it does not prove: There is no time per entry, only the key's last write time, and an entry is not proof of execution on its own: pair it with Prefetch, BAM or Amcache.

Parse it: RECmd.exe -f "E:\Collect\C\Users\{User}\AppData\Local\Microsoft\Windows\UsrClass.dat" --bn BatchExamples\DFIRBatch.reb --csv "E:\Out"

Windows Error Reporting

Did a program crash, and which one?

  • C:\ProgramData\Microsoft\Windows\WER\ (pending and archived reports)
  • Each report folder: Report.wer with times, the executable and the faulting module

Tools: A text editor

What to look for: Crashes of attacker tools, of exploited services, or of lsass.exe and other processes an attacker tampered with, at times in the window.

What it does not prove: A report exists only when a program faulted and reporting kept it; it does not record normal runs.

Defender Protection Log and Detection History

What did Defender see, beyond the event log?

  • C:\ProgramData\Microsoft\Windows Defender\Support\MPLog-*.log
  • C:\ProgramData\Microsoft\Windows Defender\Scans\History\Service\DetectionHistory\
  • C:\ProgramData\Microsoft\Windows Defender\Quarantine\ (encrypted)

Tools: A text editor, Defender's own tools for quarantine

What to look for: MPLog detection lines (DETECTION_ADD) and estimated-impact entries naming processes and files, which can show execution and file access, and SHA1 and SHA2 hashes in its cloud lookups. DetectionHistory keeps the file path, time and hash.

What it does not prove: MPLog is a troubleshooting log whose format has changed between versions. An entry shows Defender looked at a file or process, not what it did.

Camera and Microphone Use (CapabilityAccessManager)

Which program last used the camera or microphone, and for how long?

  • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\{capability}\NonPackaged\{path}
  • NTUSER.DAT: Software\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\ (the same per user)
  • LastUsedTimeStart, LastUsedTimeStop (FILETIME); # stands for \ in the path

Tools: Registry Explorer, RECmd, Velociraptor (Windows.Registry.CapabilityAccessManager)

What to look for: Programs outside Program Files under NonPackaged that used webcam or microphone, and session lengths at odd hours. The executable path itself is evidence the program existed and ran.

What it does not prove: Each entry holds the latest session only; an earlier use is overwritten by the next.

File Activity

Recent Files (RecentDocs)

What files did the user open?

  • HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocs (and a subkey per extension)
  • C:\Users\{User}\AppData\Roaming\Microsoft\Windows\Recent\ (shortcut per file opened)

Tools: Registry Explorer, RECmd, LECmd

What to look for: Documents opened in the window, archives (.zip, .7z, .rar) that suggest staging, and files on removable or network paths. The MRUListEx order gives the sequence within each key.

What it does not prove: The list records that a file was opened through the shell, not what was read or copied from it.

ShellBags

What folders did the user browse, including deleted and network ones?

  • UsrClass.dat: Local Settings\Software\Microsoft\Windows\Shell\BagMRU and Bags
  • NTUSER.DAT: Software\Microsoft\Windows\Shell\BagMRU and Bags

Tools: SBECmd, ShellBags Explorer

What to look for: Folders on USB devices and shares, folders that no longer exist, and browsing of sensitive locations in the window.

What it does not prove: ShellBags record folder views through Explorer; command-line access to a folder leaves none.

Jump Lists

What files did each application open?

  • C:\Users\{User}\AppData\Roaming\Microsoft\Windows\Recent\AutomaticDestinations\{AppID}.automaticDestinations-ms
  • C:\Users\{User}\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\{AppID}.customDestinations-ms
  • The AppID in the file name identifies the application

Tools: JLECmd

What to look for: Files opened by Office, RDP client (mstsc) targets, and paths on removable or network volumes.

What it does not prove: A jump list entry shows the application opened the item; it does not show what was done with it.

Parse it: JLECmd.exe -d "E:\Collect\C\Users\{User}\AppData\Roaming\Microsoft\Windows\Recent" --csv "E:\Out" -q

$MFT (Master File Table)

What files exist or existed, and when did they change?

  • Root of each NTFS volume: $MFT
  • Each record: $STANDARD_INFORMATION and $FILE_NAME times (created, modified, accessed, record changed)
  • Deleted records stay until reused

Tools: MFTECmd

What to look for: Files created in the window in user-writable folders, and timestomping: $STANDARD_INFORMATION earlier than $FILE_NAME, or times with zero fractions.

What it does not prove: Times record changes to the file, not who made them. Last-access updates can be turned off and NTFS can defer them by up to an hour, so do not read them as access.

Parse it: MFTECmd.exe -f "E:\Collect\C\$MFT" --csv "E:\Out" --csvf mft.csv

$UsnJrnl:$J (change journal)

What file system changes happened, in order?

  • $Extend\$UsnJrnl:$J on each NTFS volume
  • Each record: file name, reason (create, delete, rename, data change), time, file and parent reference

Tools: MFTECmd

What to look for: Create, rename and delete sequences that show a tool arriving and being cleaned up, and renames of executables.

What it does not prove: The journal is a fixed size and overwrites its oldest records, so on a busy volume it may cover only days.

Parse it: MFTECmd.exe -f "E:\Collect\C\$Extend\$J" -m "E:\Collect\C\$MFT" --csv "E:\Out" --csvf j.csv

Recycle Bin

What was deleted through the shell?

  • C:\$Recycle.Bin\{SID}\
  • $I file: original path, size, deletion time (version 2 on Windows 10 and later)
  • $R file: the deleted content

Tools: RBCmd

What to look for: Deleted tools, scripts and archives, their original paths, and deletion times during cleanup. A folder for a SID with no profile on the host is a question in itself.

What it does not prove: Only deletions through Explorer go here: del, Remove-Item and shift-delete bypass it.

Parse it: RBCmd.exe -d "E:\Collect\C\$Recycle.Bin" --csv "E:\Out"

Shortcut (LNK) Files

What file did a shortcut point to, and on which volume?

  • C:\Users\{User}\AppData\Roaming\Microsoft\Windows\Recent\*.lnk
  • Desktop and Startup folders
  • Inside: target path, target times and size, volume serial and type, machine name

Tools: LECmd

What to look for: Targets on removable or network volumes, the volume serial to match a USB device, and target files that no longer exist.

What it does not prove: A shortcut records the target as it was when the shortcut was written or updated, not every later use.

Parse it: LECmd.exe -d "E:\Collect\C\Users\{User}\AppData\Roaming\Microsoft\Windows\Recent" --csv "E:\Out" -q

Mark of the Web (Zone.Identifier)

Where did a file come from?

  • {file}:Zone.Identifier (an NTFS alternate data stream)
  • [ZoneTransfer] ZoneId=3 (Internet), HostUrl, ReferrerUrl, HostIpAddress
  • Get-Content -Path {file} -Stream Zone.Identifier

Tools: Get-Content, MFTECmd

What to look for: The URL a tool or document was downloaded from, and, for files extracted from an archive with Explorer, a ReferrerUrl pointing back to the archive. Browsers based on Chromium and Firefox write it, as Edge does.

What it does not prove: The stream can be removed (Unblock-File removes it) and exists only on NTFS, so its absence does not show a file was made locally.

Open and Save Dialog History (ComDlg32)

Which files did a user open or save through a dialog?

  • HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\OpenSavePidlMRU\{extension} (files opened or saved, per extension)
  • HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\LastVisitedPidlMRU (the program and the folder it last used)

Tools: Registry Explorer, RECmd

What to look for: Files saved into staging folders, uploads picked through a browser's file dialog, and the program that used each folder last.

What it does not prove: Order comes from MRUListEx and only the newest entry per key has a time (the key's last write).

Typed Paths, Searches and Run Box

What did a user type into Explorer or Run?

  • HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\TypedPaths (paths typed in the Explorer address bar)
  • HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\WordWheelQuery (searches in Explorer)
  • HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU (commands typed in Win+R)

Tools: Registry Explorer, RECmd

What to look for: UNC paths to other hosts, searches for terms such as password or confidential, and commands run from the Run box (cmd, powershell, mstsc with a host).

What it does not prove: Each records what was typed, not whether it succeeded, and the times are key last-write times.

Thumbnail Cache

Which images or documents were previewed, even if deleted?

  • C:\Users\{User}\AppData\Local\Microsoft\Windows\Explorer\thumbcache_*.db
  • One database per size (32, 96, 256, 1024 and more) and an index

Tools: Thumbcache Viewer

What to look for: Thumbnails of images and documents that no longer exist on disk, in insider and data theft cases.

What it does not prove: A thumbnail exists only for what Explorer actually previewed, and the cache does not reliably record when, so match entries to files and times from other artifacts.

Windows Search Index

What did the indexer record about files, mail and history?

  • C:\ProgramData\Microsoft\Search\Data\Applications\Windows\

Tools: Windows Search database parsers

What to look for: File names, paths and metadata of indexed files, including some that were deleted afterward, and snippets of indexed content.

What it does not prove: Only indexed locations are covered, and the index is a catalog, not a history: it does not say when a user opened anything.

Volume Shadow Copies

Is there an earlier copy of the volume?

  • vssadmin list shadows (live)
  • Each shadow copy is a read-only earlier state of the volume, with its own $MFT, $J and hives

Tools: vssadmin, MFTECmd (--vss), KAPE

What to look for: Shadow copies from before the incident: earlier hives, deleted files, and the $MFT and $J as they were, set against the current ones.

What it does not prove: Their absence is common (they are often off, or cleaned by an attacker): see Shadow Copy Deletion.

Parse it: MFTECmd.exe -f "C:\$MFT" --vss --dedupe --csv "E:\Out"

$LogFile (NTFS transaction log)

What NTFS metadata changed most recently?

  • $LogFile at the root of each NTFS volume

Tools: MFTECmd

What to look for: Recent creations, renames and deletions, including ones the $J has already lost, around the last minutes or hours before collection.

What it does not prove: It is a fixed-size circular log, so it covers only the most recent changes on the volume.

Parse it: MFTECmd.exe -f "E:\Collect\C\$LogFile" -m "E:\Collect\C\$MFT" --csv "E:\Out"

$I30 Directory Indexes

Which file names did a directory list?

  • The $I30 index attribute of each NTFS directory

Tools: MFTECmd

What to look for: Names and times of files a folder listed, including entries left behind after files were deleted from it.

What it does not prove: Leftover entries are partial and can be overwritten as the folder changes; treat them as leads to confirm.

Parse it: MFTECmd.exe -f "E:\Collect\C\Users\{User}\Downloads\$I30" --csv "E:\Out"

Office File MRU and Trust Records

Which documents did Office open, and were macros enabled?

  • HKCU\Software\Microsoft\Office\{version}\{App}\File MRU and User MRU\{id}\File MRU
  • HKCU\Software\Microsoft\Office\{version}\{App}\Security\Trusted Documents\TrustRecords

Tools: Registry Explorer, RECmd

What to look for: Documents opened from Downloads, mail attachments or removable media. In TrustRecords, a value ending in FF FF FF 7F means the user allowed macros to run in that document.

What it does not prove: A trust record shows the user enabled editing or macros; whether a macro did anything needs process creation from the Office application.

Browser

Chrome and Edge History and Downloads

What did the user browse and download in Chromium browsers?

  • C:\Users\{User}\AppData\Local\Google\Chrome\User Data\{Profile}\History
  • C:\Users\{User}\AppData\Local\Microsoft\Edge\User Data\{Profile}\History
  • SQLite tables: urls, visits, downloads; profiles are Default, Profile 1 and so on

Tools: SQLECmd, Hindsight, a SQLite browser

What to look for: Downloads of tools and documents with their source URL and save path, visits to file-sharing and webmail sites, and searches. Set download times beside the file's Zone.Identifier and $MFT record.

What it does not prove: Private windows write no history, users can clear it, and Chromium stores times as microseconds since 1601, which a careless conversion gets wrong.

Parse it: SQLECmd.exe -d "E:\Collect\C\Users\{User}\AppData\Local" --csv "E:\Out"

Firefox History and Downloads

What did the user browse and download in Firefox?

  • C:\Users\{User}\AppData\Roaming\Mozilla\Firefox\Profiles\{profile}\places.sqlite
  • History, bookmarks and downloads in one SQLite database

Tools: SQLECmd, a SQLite browser

What to look for: The same questions as for Chromium: downloads, upload and webmail sites, and the times of visits in the window.

What it does not prove: Private browsing writes no history and a user can clear it.

Parse it: SQLECmd.exe -d "E:\Collect\C\Users\{User}\AppData\Roaming\Mozilla" --csv "E:\Out"

Network

Network Profiles

What networks has the device joined?

  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles\{GUID}
  • Profile name, category, first and last connection times
  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Signatures\ (gateway MAC per profile)

Tools: Registry Explorer, RECmd

What to look for: Networks joined in the window that do not fit the user's locations, and new profiles for VPN or hotspot adapters.

What it does not prove: A profile shows the device joined a network; it does not show what traffic crossed it.

BITS Transfer Jobs

Was BITS used to download or upload?

  • C:\ProgramData\Microsoft\Network\Downloader\ (the BITS job queue)
  • Microsoft-Windows-Bits-Client/Operational

Tools: BitsParser, EvtxECmd

What to look for: Jobs fetching from or sending to unfamiliar hosts, jobs created by script hosts, and jobs whose local file sits in a user-writable folder.

What it does not prove: Completed jobs are removed from the queue; the event log may be the only record left.

DNS Resolution

What names did the host resolve?

  • DNS client cache: in memory only, lost at reboot (Get-DnsClientCache)
  • Sysmon Event ID 22 (DNSEvent): the process that made each query, Windows 8.1 and later
  • Firewall, proxy and DNS server logs off the host

Tools: Get-DnsClientCache, Sysmon, network logs

What to look for: Names of known infrastructure, high-entropy or newly registered domains, and, with Sysmon 22, the process behind each one.

What it does not prove: The cache holds only unexpired entries; a name resolved hours ago may be gone. Without Sysmon or network logs there is no history.

Mapped Drives and Shares Browsed

Which shares did a user connect to?

  • HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Map Network Drive MRU
  • HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 (entries such as ##server#share)
  • ShellBags and LNK files for paths on those shares

Tools: Registry Explorer, RECmd

What to look for: Shares on servers the user has no reason to reach, administrative shares (C$, ADMIN$), and the times beside file access on the share.

What it does not prove: These keys show a connection from this user's side. What was read or copied is in the file server's 5140 and 5145 events, where auditing is on.

Outbound RDP (client side)

Where did someone connect to over RDP from this host?

  • HKCU\Software\Microsoft\Terminal Server Client\Default (MRU0, MRU1 ...)
  • HKCU\Software\Microsoft\Terminal Server Client\Servers\{host}: UsernameHint
  • Microsoft-Windows-TerminalServices-RDPClient/Operational 1024
  • C:\Users\{User}\AppData\Local\Microsoft\Terminal Server Client\Cache\ (bitmap cache)

Tools: Registry Explorer, RECmd, EvtxECmd, bmc-tools

What to look for: Hosts an intruder moved to next, the account name used for each, and bitmap cache tiles that show what was on the remote screen.

What it does not prove: These show the connection was attempted from this account; whether it succeeded is on the target (see Remote Desktop).

Windows Firewall Log

What connections did the firewall allow or drop?

  • C:\Windows\System32\LogFiles\Firewall\pfirewall.log (default; often one file per profile)
  • Microsoft-Windows-Windows Firewall With Advanced Security/Firewall (rule changes)

Tools: A text editor, Log Parser, a SIEM

What to look for: Outbound connections to unexpected addresses with times and ports, inbound attempts on RDP or SMB, and rules added in the window.

What it does not prove: Logging is not on by default and the file is small (Microsoft recommends raising it toward the 32 MB maximum), so it often holds nothing, or only the last hours.

Wi-Fi Profiles and Connections

Which wireless networks has the device used?

  • C:\ProgramData\Microsoft\Wlansvc\Profiles\Interfaces\{GUID}\*.xml (one per network: SSID, security)
  • Microsoft-Windows-WLAN-AutoConfig/Operational (connections and disconnections)
  • netsh wlan show wlanreport (live: an HTML report of recent Wi-Fi events)

Tools: A text editor, EvtxECmd, netsh

What to look for: Networks joined in the window that do not fit the user's locations, such as a phone hotspot used to bypass monitored networks for exfiltration.

What it does not prove: A profile shows the network was configured, not when it was used: take times from the event log and network profiles (NetworkList).

WinRM and PowerShell Remoting

Was PowerShell remoting used to move between hosts?

  • Microsoft-Windows-WinRM/Operational: 6 on the host that started the session, 91 on the host that received it
  • Target: Security 4624 type 3, and wsmprovhost.exe as the parent of the commands run
  • Target: PowerShell 4103 and 4104 for what ran, where logging is on

Tools: EvtxECmd, Get-WinEvent

What to look for: Sessions from hosts that do not administer the target, wsmprovhost.exe starting shells or tools, and the script blocks logged on the target in the same minute.

What it does not prove: The WinRM events show the session; what was done in it is only in PowerShell logging or process creation on the target.

SMB Share Access (server side)

Who accessed shares on this server, and which files?

  • Security 5140: a share was accessed (Audit File Share), once per session at first access
  • Security 5145: each file or folder checked through a share, with its relative path (Audit Detailed File Share)

Tools: EvtxECmd, Get-WinEvent

What to look for: Access to C$ and ADMIN$ from workstations, and 5145 paths showing which files were reached, for staging and exfiltration.

What it does not prove: Neither event exists unless its audit subcategory was on, and 5145 is high volume, so it is often off or rolled over.

Account Usage

SAM Hive

What local accounts exist and when were they used?

  • C:\Windows\System32\config\SAM
  • SAM\Domains\Account\Users\{RID} and Users\Names
  • Last logon, password set, logon count, failed count, account flags

Tools: Registry Explorer, RECmd

What to look for: Local accounts created in the window, dormant accounts with recent logons, and accounts added to Administrators (check Security 4720 and 4732 too).

What it does not prove: The SAM covers local accounts only; domain account activity is on the domain controller.

Logon Events (Security)

Who logged on, from where, and how?

  • C:\Windows\System32\winevt\Logs\Security.evtx
  • 4624 logon (type, source address, process), 4625 failure, 4634 and 4647 logoff, 4648 explicit credentials, 4672 special privileges

Tools: EvtxECmd, Get-WinEvent, Event Viewer

What to look for: Type 3 (network) and 10 (RemoteInteractive) from unexpected sources, failures followed by a success from the same source, and type 9 (NewCredentials): a caller cloned its token with different credentials for outbound connections, so read the process that made it.

What it does not prove: The log rolls over at its size limit, often within days on a busy host. Logon type and source are what the authenticating component reported.

Parse it: EvtxECmd.exe -f "E:\Collect\C\Windows\System32\winevt\Logs\Security.evtx" --inc 4624,4625,4634,4647,4648,4672 --csv "E:\Out"

Remote Desktop

Who connected over RDP, and to where?

  • Target: TerminalServices-RemoteConnectionManager/Operational 1149 (authentication); Security 4624 type 10; TerminalServices-LocalSessionManager/Operational 21, 22, 24, 25 (logon, shell, disconnect, reconnect)
  • Target, with Other Logon/Logoff auditing: Security 4778 and 4779 (reconnect, disconnect)
  • Client: Microsoft-Windows-TerminalServices-RDPClient/Operational 1024 (connecting to)
  • Client: HKCU\Software\Microsoft\Terminal Server Client\Servers\ and the bitmap cache under AppData\Local\Microsoft\Terminal Server Client\Cache\

Tools: EvtxECmd, RECmd, bmc-tools

What to look for: Source addresses that are not administrators' machines, sessions out of hours, and the client-side records on a host that show where an intruder moved next.

What it does not prove: Each end holds different records; one host alone gives half the session.

Account and Group Changes

Were accounts created, changed or added to groups?

  • Security 4720 user created, 4738 user changed (Audit User Account Management)
  • Security 4732 added to a local group, 4728 to a global group, 4756 to a universal group (Audit Security Group Management)
  • Local accounts on the host, domain accounts on domain controllers

Tools: EvtxECmd, Get-WinEvent

What to look for: Accounts created in the window, members added to Administrators or Domain Admins, and the subject account that made each change.

What it does not prove: Each needs its audit subcategory, and domain changes are logged on the domain controller that made them.

Privileged and Explicit-Credential Logons

Who used admin rights or someone else's credentials?

  • Security 4672: special privileges assigned to a new logon (Audit Special Logon)
  • Security 4648: a logon attempted with explicit credentials, with the target server (Audit Logon)

Tools: EvtxECmd, Get-WinEvent

What to look for: User accounts (not SYSTEM or services) receiving sensitive privileges, and 4648 on a workstation naming an administrator account against another server: credential reuse from the source side.

What it does not prove: Both are noisy: SYSTEM, services, RUNAS and scheduled tasks produce them constantly. Filter before reading.

Kerberos and NTLM Authentication

Which accounts authenticated, from where, and how?

  • Domain controller: 4768 TGT requested, 4769 service ticket requested, 4771 Kerberos pre-authentication failed
  • 4776: credentials validated with NTLM, on the domain controller for domain accounts and on the host for local ones
  • 4740: account locked out, with the caller computer

Tools: EvtxECmd, Get-WinEvent

What to look for: Service tickets with encryption type 0x17 (RC4) for service accounts, one source requesting many tickets, 4776 failures with 0xC0000064 (no such user) or 0xC000006A (bad password) from one machine, and lockouts naming the same caller.

What it does not prove: 4768, 4769 and 4771 are written only on domain controllers, so a workstation image alone holds none of them.

User Profiles (ProfileList)

Which accounts have logged on to this host, by SID?

  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\{SID}: ProfileImagePath
  • C:\Users\{User}\ (created at the account's first logon)

Tools: Registry Explorer, RECmd

What to look for: Profiles for accounts that should never log on here, such as service or domain admin accounts on a workstation, and profile folders created in the window. It also maps SIDs in SRUM and other artifacts to names.

What it does not prove: A profile shows a first interactive logon at some point, not when or how often; network logons do not create one.

Credential Manager

What credentials has Windows saved for this user?

  • C:\Users\{User}\AppData\Local\Microsoft\Credentials\ and \Roaming\Microsoft\Credentials\
  • C:\Users\{User}\AppData\Local\Microsoft\Vault\ (Policy.vpol, *.vcrd)
  • vaultcmd /list (live)

Tools: vaultcmd, DPAPI tools with the user's key

What to look for: Saved credentials for RDP targets and file servers (TERMSRV/...), which show where the account authenticates, and credential files changed in the window.

What it does not prove: The files are DPAPI-encrypted: names and times are readable, contents need the user's master key. Access to them shows only in file auditing or EDR.

USB Devices

USB Device History

What storage devices were connected, and when?

  • HKLM\SYSTEM\CurrentControlSet\Enum\USBSTOR\{Disk&Ven&Prod}\{Serial}
  • Under the instance's Properties\{83da6326-97a6-4088-9453-a1923f573b29}: 0064 installed, 0065 first installed, 0066 last connected, 0067 last removed
  • HKLM\SYSTEM\CurrentControlSet\Enum\USB\{VID&PID}\{Serial}
  • HKLM\SOFTWARE\Microsoft\Windows Portable Devices\Devices\ (friendly name)
  • C:\Windows\INF\setupapi.dev.log (first install)

Tools: Registry Explorer, RECmd

What to look for: Devices first seen in the window, serial numbers to match on other hosts, and last-connected times beside file access from removable volumes. Equal 0064, 0065 and 0066 times mean a first connection to that host.

What it does not prove: The keys show a device was connected, not what was copied: pair with shortcuts, jump lists and ShellBags on its volume.

Volume Serial and Drive Letter

Which volume and drive letter did a device present?

  • HKLM\SYSTEM\MountedDevices (drive letter to device)
  • NTUSER.DAT: Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2 (user who saw the volume)
  • Microsoft-Windows-Partition/Diagnostic 1006: the device's partition table and boot sector (volume serial)
  • HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\EMDMgmt (volume serial and label, where present)

Tools: Registry Explorer, EvtxECmd

What to look for: The volume serial that ties a USB device to the volume serial in shortcut and jump list targets, and the user whose MountPoints2 shows the volume.

What it does not prove: A drive letter is reused by every device that gets it; tie letters to devices by time, not by letter alone.

Event Logs

PowerShell Logging

What PowerShell ran?

  • Microsoft-Windows-PowerShell/Operational: 4104 script block, 4103 module (Windows PowerShell 5.1)
  • PowerShellCore/Operational: the same events for PowerShell 7
  • Windows PowerShell log: 400 and 403 (engine start and stop), 800 (pipeline)
  • Transcripts: the configured output folder

Tools: EvtxECmd, Get-WinEvent

What to look for: Script blocks with download cradles, Invoke-Expression, encoded or compressed payloads, credential access, and Defender or logging changes. 4104 records the decoded script, which is the point of reading it.

What it does not prove: Script block logging records suspicious-looking blocks by default and everything only when enabled; 5.1 and 7 log to different channels, so read both.

Process Creation

What processes started, with what command lines and parents?

  • Security 4688: needs Audit Process Creation, and the command line needs its own policy
  • Sysmon 1 (process create, with hashes and parent), Sysmon 5 (process terminated)

Tools: EvtxECmd, Get-WinEvent

What to look for: Office or browser processes starting shells, script hosts and built-in tools (certutil, mshta, rundll32, regsvr32) with network or encoded arguments, and execution from user-writable folders.

What it does not prove: Without the audit policy or Sysmon there is no process history in the logs at all.

Service Events

Were services installed or changed?

  • System 7045 (service installed), 7036 (started or stopped), 7040 (start type changed), 7034 (ended unexpectedly)
  • Security 4697 (service installed): needs Audit Security System Extension

Tools: EvtxECmd, Get-WinEvent

What to look for: Services installed in the window with binaries in user-writable folders or command lines in the path, short random names, and PSEXESVC.

What it does not prove: 7045 is written when the service is installed, which is not the same as it running: look for its 7036 start.

Scheduled Task Events

Were tasks created, changed, run or deleted?

  • Security 4698 created, 4702 updated, 4699 deleted: need Audit Other Object Access Events (4698 carries the task XML)
  • Microsoft-Windows-TaskScheduler/Operational: 106 registered, 140 updated, 141 deleted (history is off by default)

Tools: EvtxECmd, Get-WinEvent

What to look for: Tasks registered in the window, actions running script hosts, tasks run once and deleted (106 then 141), and the account in 4698's SubjectUserName.

What it does not prove: With neither the audit policy nor task history on, the only record of a task is its file and registry keys.

Microsoft Defender Antivirus Events

Did Defender detect anything, and was it tampered with?

  • Microsoft-Windows-Windows Defender/Operational
  • 1116 detected, 1117 action taken, 1118 action failed, 1119 action critically failed
  • 5001 real-time protection disabled, 5007 configuration changed (exclusions appear here), 5013 tamper protection blocked a change
  • 1121 attack surface reduction rule fired in block mode

Tools: EvtxECmd, Get-WinEvent, Get-MpThreatDetection

What to look for: Detections that were not remediated (1118, 1119), real-time protection turned off (5001), and exclusions added in 5007 around the time of an intrusion.

What it does not prove: A detection shows Defender saw a file or behavior; it does not show the threat was stopped unless 1117 follows.

Event Log Clearing

Were logs cleared?

  • Security 1102: the Security log was cleared, with the account that cleared it
  • System 104: another log was cleared, with the log name
  • Gaps in EventRecordID within a log

Tools: EvtxECmd, Get-WinEvent

What to look for: A clear during the incident window, by an account that does not administer logs, and record ID gaps in logs that were not cleared whole.

What it does not prove: A clear erases the earlier records; recovering them needs carving from unallocated space or copies held off the host.

Startup and Shutdown Events

When was the host running?

  • System 6005 (event log service started), 6006 (stopped: clean shutdown), 6008 (previous shutdown unexpected), 1074 (shutdown or restart requested, with process and user), Kernel-Power 41

Tools: EvtxECmd, Get-WinEvent

What to look for: The windows when the host was up, restarts that line up with persistence being tested or with updates, and who asked for each restart (1074).

What it does not prove: Startup and shutdown bound the activity but say nothing about it; a gap in these events can also be a log cleared or rolled over.

WMI Activity

Was a permanent WMI subscription created?

  • Microsoft-Windows-WMI-Activity/Operational 5861: a filter bound to a consumer, with the query and the consumer
  • Sysmon 19, 20, 21: filter, consumer and binding (root\subscription only)

Tools: EvtxECmd, Get-WinEvent

What to look for: Consumers that run commands or scripts (CommandLineEventConsumer, ActiveScriptEventConsumer) and filters on logon, process start or timers. 5861 also catches subscriptions in namespaces Sysmon does not watch.

What it does not prove: Management software creates legitimate subscriptions, so baseline them; the event shows the subscription was made, not that it fired.

Audit Policy Changes

Was auditing turned down?

  • Security 4719: system audit policy was changed (always logged)
  • auditpol /get /category:* (live: the policy in force)

Tools: EvtxECmd, auditpol

What to look for: Subcategories switched from Success and Failure to No Auditing in the window, just before activity that those subcategories would have recorded.

What it does not prove: A change applied by Group Policy is often logged under SYSTEM, so check the policy itself to find who made it.

AppLocker Events

Did application control allow or block something?

  • Microsoft-Windows-AppLocker/EXE and DLL: 8002 allowed, 8003 would have been blocked (audit), 8004 blocked
  • Microsoft-Windows-AppLocker/MSI and Script: 8005, 8006, 8007, the same for scripts and installers

Tools: EvtxECmd, Get-WinEvent

What to look for: Blocked attempts (8004, 8007) naming tools and paths, and in audit mode 8003 and 8006, which record programs that ran and would have been stopped: an execution record in its own right.

What it does not prove: There are events only where AppLocker policies are deployed, and the logs are verbose enough to roll over quickly.

Memory and Acquisition

Memory Capture

What is running now that the disk will not show?

  • Physical memory, captured live before shutdown or containment
  • winpmem_mini_x64.exe E:\Collect\physmem.raw (RAW image)

Tools: WinPmem, Magnet RAM Capture, FTK Imager, Velociraptor

What to look for: Processes, network connections, injected code and command lines that leave no file, analyzed offline with Volatility. Capture first, and record the UTC time you started.

What it does not prove: Memory changes while it is captured, so an image is a smeared snapshot. Anything that exited before capture is gone.

Hibernation File

Is there a memory image already on disk?

  • C:\hiberfil.sys
  • Written when the system hibernates; a hybrid (Fast Startup) shutdown writes the kernel only

Tools: Volatility, Hibr2Bin

What to look for: Processes and kernel structures from the last hibernation, on a laptop seized powered off.

What it does not prove: On Windows 8 and later the memory data is wiped on resume (only the header remains), so the file is useful only if the machine was seized hibernated or the image was taken before it next started.

Page and Swap Files

What memory was paged to disk?

  • C:\pagefile.sys, C:\swapfile.sys
  • HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management (paging settings)

Tools: strings, bulk_extractor, YARA

What to look for: Fragments of commands, URLs, credentials and malware that were paged out, found by searching and carving.

What it does not prove: There is no structure to rebuild processes from: results are fragments without times.

Triage Collection (KAPE)

How do you collect the artifacts on this page quickly?

  • kape.exe --tsource C: --target !SANS_Triage --tdest E:\Collect
  • The target copies hives, event logs, $MFT, $J, Prefetch, Amcache, browser and user artifacts, including locked files

Tools: KAPE, Velociraptor

What to look for: A consistent triage set in minutes, collected to external storage, which the parse commands on this page then read.

What it does not prove: A triage collection is files only: it does not include memory, and anything the target does not list is left behind.

Parse it: kape.exe --tsource C: --target !SANS_Triage --tdest E:\Collect

Anti-forensics

Timestomping

Were file times changed to hide when a file arrived?

  • $MFT: $STANDARD_INFORMATION (0x10) against $FILE_NAME (0x30) times
  • MFTECmd --at prints the 0x30 times for every record

Tools: MFTECmd, Timeline Explorer

What to look for: 0x10 created earlier than 0x30 created, 0x10 times with zero fractions of a second, and a file whose $J create record falls years after its 0x10 created time.

What it does not prove: Copies and archive extraction also produce odd combinations. A mismatch is a lead to set against $J, Prefetch and logs, not proof by itself.

Parse it: MFTECmd.exe -f "E:\Collect\C\$MFT" --at --csv "E:\Out" --csvf mft.csv

USN Journal Deletion

Was the change journal deleted?

  • fsutil usn deletejournal /d C: (deletes or disables the journal)
  • fsutil usn queryjournal C: (live: the current journal ID and first USN)

Tools: fsutil, MFTECmd, EvtxECmd

What to look for: A $J that starts in the incident window, a new journal ID, and fsutil in process creation, Prefetch or PowerShell logs.

What it does not prove: A short $J can also be a busy volume wrapping; look for the command before calling it deletion.

Shadow Copy Deletion

Were the volume's earlier copies destroyed?

  • vssadmin delete shadows /for=C: /all /quiet
  • Also wbadmin, PowerShell and WMI methods; WMIC is removed from Windows 11 24H2 and later

Tools: EvtxECmd, PECmd

What to look for: The deletion command in process creation, PowerShell logs or Prefetch for vssadmin.exe, often shortly before ransomware starts encrypting.

What it does not prove: Microsoft notes deletion is permanent. The command's absence from the logs proves nothing where process creation is not audited.

Logging and Prefetch Disabled

Were the host's own records switched off?

  • EnablePrefetcher set to 0 (see Prefetch)
  • Audit policy lowered (4719), Defender real-time protection off (5001) or exclusions added (5007)
  • Event log channels disabled or their maximum size cut

Tools: RECmd, EvtxECmd, auditpol

What to look for: Settings changed in the window, especially where the last write time of the key sits just before a quiet period in the logs.

What it does not prove: Some hosts run with these settings legitimately (servers often have Prefetch off), so compare against a clean build before calling it tampering.

For collection and parsing switches, see the KAPE and EZ Tools cheatsheet; for live-response commands, the Windows forensic commands reference; for event IDs in depth, the Event ID reference.

To work these artifacts into a timeline and a defensible finding on a real case, Practical Windows Forensics with KAPE and EZ Tools teaches the collection and parsing, and Windows Endpoint Investigation the investigation.

Weekly security engineering insights

Detection techniques, architecture patterns, and operational judgment, every Tuesday.

No spam. Unsubscribe anytime.