Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / DFI / ARTEFACT / WINDOWS

Windows Matrix

ArtifactData StoredExecCreateDeletePersistUserNetTimestompMITREToolsLocation
MFT ($MFT)File records, MACB timestamps, attributesT1070 / T1564MFTECmd.exe -f C:\$MFT --csv out\NTFS metadata file
USN JournalFile change recordsT1070MFTECmd.exe -f C:\$Extend\$UsnJrnl:$J --csv out\NTFS change journal
$LogFileFile system transactionsT1070LogFileParser.exe -f C:\$LogFile --csv out\NTFS transaction log
PrefetchExecution metadata, run count, DLLsT1059PECmd.exe -d C:\Windows\Prefetch --csv out\C:\Windows\Prefetch
AmcacheFile metadata, hashes, signaturesT1204AmcacheParser.exe -f Amcache.hve --csv out\C:\Windows\AppCompat\Programs
ShimCacheProgram paths, execution flagsT1204AppCompatCacheParser.exe -f SYSTEM --csv out\HKLM\SYSTEM\AppCompatCache
UserAssistGUI execution historyT1204RECmd.exe -f NTUSER.DAT --bn UserAssist\HKCU...\UserAssist
RunMRURun dialog commandsT1059RECmd.exe -f NTUSER.DAT --bn RunMRU\HKCU...\RunMRU
Jump ListsRecent file interactionsT1083JLECmd.exe -d %AppData%\Recent --csv out\%AppData%\Microsoft\Windows\Recent
LNK FilesTarget path, timestampsT1204LECmd.exe -d C:\Users\ --csv out\Desktop / Recent
ShellBagsFolder access metadataT1083SBECmd.exe -d C:\Users\ --csv out\NTUSER.DAT / UsrClass.dat
Recycle BinDeleted file metadataT1070RBCmd.exe -d C:\$Recycle.Bin --csv out\C:$Recycle.Bin
Run KeysAutorun entriesT1547.001reg query HKCU\Software\Microsoft\Windows\CurrentVersion\RunRegistry Run keys
Scheduled TasksTask definitions, triggersT1053.005schtasks /query /fo LIST /vC:\Windows\System32\Tasks
ServicesService configs, ImagePathT1543.003sc query type= service state= allHKLM\SYSTEM\Services
WMI SubscriptionsPersistent event consumersT1546.003wmic /namespace:\\root\subscription PATH __EventFilterroot\subscription
Security 4688Process creation logsT1059EvtxECmd.exe -f Security.evtx --csv out\C:\Windows\System32\winevt\Logs
Sysmon ID 1Process creation + hashT1059EvtxECmd.exe -f Sysmon.evtx --csv out\Sysmon Operational log
Sysmon ID 3Network connectionsT1105EvtxECmd.exe -f Sysmon.evtx --csv out\Sysmon Operational log
PowerShell 4104Script block contentT1059.001Get-WinEvent -LogName Microsoft-Windows-PowerShell/OperationalPowerShell log
RDP 1149RDP logon eventsT1021.001EvtxECmd.exe -f TerminalServices.evtx --csv out\TerminalServices log
Kerberos 4768/4769TGT/TGS activityT1558EvtxECmd.exe -f Security.evtx --csv out\Security log (DC)
SRUMApp resource + network usageT1105SrumECmd.exe -f SRUDB.dat --csv out\C:\Windows\System32\sru
BITSBackground transfersT1197bitsadmin /list /allusers /verboseqmgr.db
Firewall LogsAllowed/blocked connectionsT1046Get-Content C:\Windows\System32\LogFiles\Firewall\pfirewall.logFirewall log
DNS CacheRecently resolved domainsT1071ipconfig /displaydnsVolatile memory
LSASS MemoryCredentials, ticketsT1003vol.py -f memdump.raw windows.lsadumpRAM
NTDS.ditAD databaseT1003.003ntdsutil "activate instance ntds"C:\Windows\NTDS

General Rules for Timestamps in the Windows NTFS File System

The table below delineates the general rules governing how various file operations influence the timestamps within the Windows NTFS (New Technology File System).

OperationModifiedAccessedBirth (Created)
File CreateYesYesYes
File ModifyYesNoNo
File CopyNo (Inherited)YesYes
File AccessNoNo*No
  1. File Create:

    • Modified Timestamp (M): The Modified timestamp is updated to reflect the time of file creation.
    • Accessed Timestamp (A): The Accessed timestamp is updated to reflect that the file was accessed at the time of creation.
    • Birth (Created) Timestamp (b): The Birth timestamp is set to the time of file creation.
  2. File Modify:

    • Modified Timestamp (M): The Modified timestamp is updated to reflect the time when the file's content or attributes were last modified.
    • Accessed Timestamp (A): The Accessed timestamp is not updated when the file is modified.
    • Birth (Created) Timestamp (b): The Birth timestamp is not updated when the file is modified.
  3. File Copy:

    • Modified Timestamp (M): The Modified timestamp is typically not updated when a file is copied. It usually inherits the timestamp from the source file.
    • Accessed Timestamp (A): The Accessed timestamp is updated to reflect that the file was accessed at the time of copying.
    • Birth (Created) Timestamp (b): The Birth timestamp is updated to the time of copying, indicating when the copy was created.
  4. File Access:

    • Modified Timestamp (M): The Modified timestamp is not updated when the file is accessed.
    • Accessed Timestamp (A): The Accessed timestamp is updated to reflect the time of access.
    • Birth (Created) Timestamp (b): The Birth timestamp is not updated when the file is accessed.