Get Cyfirx free

Windows evidence cheat sheet

Where the evidence is on Windows 10 and 11, grouped by the question you are trying to answer: file paths, registry keys and event log IDs. Free, no sign-up, and it prints on a few pages. <user> is the user's folder name; HKLM\SYSTEM is the SYSTEM hive, NTUSER the user's NTUSER.DAT.

Registry hives: collect these first

Copy each hive together with its .LOG1 and .LOG2 transaction logs, or recent changes may be missing.

WhatWhereNote
SAM, SECURITY, SOFTWARE, SYSTEMC:\Windows\System32\config\Locked while Windows runs: use an image or a forensic copy tool.
NTUSER.DATC:\Users\<user>\NTUSER.DATOne per user. Hidden system file.
UsrClass.datC:\Users\<user>\AppData\Local\Microsoft\Windows\UsrClass.datHolds most ShellBags.
Amcache.hveC:\Windows\AppCompat\Programs\Amcache.hvePrograms and drivers seen, with SHA-1 hashes.
BackupsC:\Windows\System32\config\RegBack\Often empty on Windows 10 1803 and later.

Was a program run?

ArtifactWhereWhat it tells you
PrefetchC:\Windows\Prefetch\*.pfProgram name, run count, up to 8 last run times, files it loaded. Can be off on some systems.
AmcacheAmcache.hve → Root\InventoryApplicationFilePath, SHA-1 and first-seen time of executables. Presence, not always proof of running.
ShimCache (AppCompatCache)HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatCacheFiles Windows checked for compatibility. On Windows 10 and 11 it shows presence, not execution. Written at shutdown.
UserAssistNTUSER\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist\{GUID}\CountPrograms started from the desktop, with run count and last run. Names are ROT13 encoded.
BAMHKLM\SYSTEM\CurrentControlSet\Services\bam\State\UserSettings\<SID>Last run time per program, per user (Windows 10 1709 and later).
SRUMC:\Windows\System32\sru\SRUDB.datAbout 30 to 60 days of app use and network bytes sent and received, per app and user.
Scheduled runssee Persistence

Which files and folders were opened?

ArtifactWhereWhat it tells you
LNK (shortcut) filesC:\Users\<user>\AppData\Roaming\Microsoft\Windows\Recent\Files opened, with the target's path, size, times and the volume serial number, even after the file is gone.
Jump Lists...\Recent\AutomaticDestinations\ and ...\Recent\CustomDestinations\Recent files per application (the file name starts with the app's ID).
ShellBagsUsrClass.dat\Local Settings\Software\Microsoft\Windows\Shell\BagMRU, NTUSER\Software\Microsoft\Windows\Shell\BagMRUFolders browsed in Explorer, including on USB drives and network shares that are gone.
RecentDocsNTUSER\Software\Microsoft\Windows\CurrentVersion\Explorer\RecentDocsRecently opened files, by extension.
Open and Save dialogsNTUSER\...\Explorer\ComDlg32\OpenSavePidlMRU, LastVisitedPidlMRUFiles picked in Open and Save As windows, and the programs that used them.
Typed paths and searchesNTUSER\...\Explorer\TypedPaths, NTUSER\...\Explorer\WordWheelQueryWhat the user typed into the Explorer address bar and search box.
Office recent filesNTUSER\Software\Microsoft\Office\<version>\<app>\User MRU\<id>\File MRUWord, Excel and PowerPoint documents, with last opened times.

Which USB devices were connected?

ArtifactWhereWhat it tells you
USBSTORHKLM\SYSTEM\CurrentControlSet\Enum\USBSTORMake, model and serial number of USB storage. Times are in the Properties subkeys (0064 first install, 0066 last connected, 0067 last removed).
USBHKLM\SYSTEM\CurrentControlSet\Enum\USBVendor and product IDs of all USB devices.
Drive letters and volumesHKLM\SYSTEM\MountedDevices, HKLM\SOFTWARE\Microsoft\Windows Portable Devices\DevicesWhich device got which letter, and the volume name.
Which userNTUSER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2Volumes this user's account saw, by GUID.
First connectionC:\Windows\INF\setupapi.dev.logDriver install time for each device serial number.
Event logMicrosoft-Windows-Partition/Diagnostic 1006Each connect, with disk details. Also Kernel-PnP/Configuration 400 and 410.

Who logged on, and how?

EventLog and IDWhat it tells you
LogonSecurity 4624Logon type: 2 at the keyboard, 3 over the network, 7 unlock, 10 Remote Desktop, 11 cached credentials.
Failed logonSecurity 4625Wrong password, unknown user, locked account (see the status code).
LogoffSecurity 4634, 4647Match to the 4624 by Logon ID.
Other credentials usedSecurity 4648Run as, or a connection with typed credentials.
Admin rightsSecurity 4672Special privileges given at logon.
Accounts changedSecurity 4720, 4722, 4724, 4726, 4732Created, enabled, password reset, deleted, added to a local group.
Remote DesktopTerminalServices-RemoteConnectionManager/Operational 1149; TerminalServices-LocalSessionManager/Operational 21, 24, 25Who connected from which address; session logon, disconnect, reconnect.
Local accountsSAM\Domains\Account\UsersAccounts, last logon, password last set, logon count.

What starts by itself? (persistence)

ArtifactWhereNote
Run keysNTUSER and HKLM\SOFTWARE → Microsoft\Windows\CurrentVersion\Run, RunOnceAlso check WOW6432Node under SOFTWARE.
Startup foldersC:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp\, C:\Users\<user>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\
ServicesHKLM\SYSTEM\CurrentControlSet\Services; System 70457045 = a new service was installed.
Scheduled tasksC:\Windows\System32\Tasks\; TaskScheduler/Operational 106, 140, 200, 201; Security 4698Task created, updated, run, finished.
WMI subscriptionsC:\Windows\System32\wbem\Repository\OBJECTS.DATAEvent consumers that run code; a favourite of attackers.

Was something deleted?

ArtifactWhereWhat it tells you
Recycle BinC:\$Recycle.Bin\<SID>\$I files hold the original path, size and deletion time; $R files hold the content.
Master File TableC:\$MFTEvery file record, with timestamps; deleted records until reused.
Change journalC:\$Extend\$UsnJrnl:$JCreates, renames and deletes, with times. Often weeks of history.
Volume Shadow Copiesvssadmin list shadowsOlder copies of the whole volume, including old hives and deleted files.

What was browsed or downloaded?

BrowserWhereNote
ChromeC:\Users\<user>\AppData\Local\Google\Chrome\User Data\<profile>\HistorySQLite: urls, visits, downloads. Profile is Default or Profile 1, 2...
EdgeC:\Users\<user>\AppData\Local\Microsoft\Edge\User Data\<profile>\HistorySame format as Chrome.
FirefoxC:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile>\places.sqliteHistory and bookmarks; downloads are in the same file.
Mark of the Webthe Zone.Identifier stream on a downloaded fileZoneId=3 means from the internet; often holds the download URL (HostUrl).

About the computer

WhatWhereNote
Which control setHKLM\SYSTEM\SelectIn an offline hive, CurrentControlSet is ControlSet00x; Current says which.
Windows version, install date, ownerHKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersionInstallDate is reset by big feature updates.
Computer nameHKLM\SYSTEM\CurrentControlSet\Control\ComputerName\ComputerName
Time zoneHKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformationWrite it down first: it changes how you read every local time.
Networks joinedHKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\ProfilesWi-Fi and wired network names, first and last connected.
IP settingsHKLM\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\InterfacesLast addresses, DHCP server, lease times.

Event logs worth knowing

WhatLog and IDNote
Where the logs areC:\Windows\System32\winevt\Logs\*.evtx
Logs clearedSecurity 1102; System 104A cleared log is itself evidence.
PowerShellPowerShell/Operational 4103, 41044104 is script block logging: the script's text.
PowerShell historyC:\Users\<user>\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txtCommands typed in the console, in order.
DefenderWindows Defender/Operational 1116, 1117; C:\ProgramData\Microsoft\Windows Defender\Support\MPLog-*.logMalware found, action taken.
Power and bootSystem 6005, 6006, 6008; Kernel-Power 41Log started, clean shutdown, unexpected shutdown.

Memory on disk

WhatWhereNote
Hibernation fileC:\hiberfil.sysA compressed copy of memory from the last hibernate or Fast Startup.
Page and swap filesC:\pagefile.sys, C:\swapfile.sysPieces of memory: strings, URLs, fragments.
Crash dumpsC:\Windows\MEMORY.DMP, C:\Windows\Minidump\

Before you start

Work on an image or a verified copy, never the original. Hash what you collect and write down who handled it: our free evidence hash checker and chain of custody form does both in your browser. Note the time zone and the clock offset before reading any time.

The other cheat sheets: macOS, Linux.

Get Cyfirx free   What Cyfirx does

Paths and IDs are for Windows 10 and 11 and can differ by version, edition and settings; some logs are off by default. Always confirm an artifact on a test system before relying on it. This sheet is a reference, not legal advice. © Cyfirx.