Sysmon Event ID 11: file created
What Sysmon Event ID 11 (file created) means, the fields to check, what is normal and what is suspicious, with PowerShell and KQL queries to find it.
Sysmon event ID 11 records a file being created or overwritten, with the process that did it. It is the best way to see payloads land: the script dropped into Temp, the executable written to a startup folder, the archive created before data leaves.
The fields that matter
| Field | What it tells you |
|---|---|
| Image | The process that created the file. |
| TargetFilename | The full path of the new file. |
| CreationUtcTime | The file's creation time; a time far in the past on a new file can mean timestomping. |
| User | The account the process ran as. |
What is normal
Installers, browsers saving downloads and Office writing temporary files.
When Sysmon Event ID 11 is suspicious
- Executables, scripts or DLLs written to
AppData,Temp,Users\Public,ProgramDataor startup folders. - Office applications or browsers writing
.exe,.dll,.js,.htaor.lnkfiles. - A process writing thousands of files with a new extension: ransomware.
Common false positive: Software updaters write executables to AppData all the time. Pair 11 with the file hash (Sysmon 15 or your EDR) before judging.
Find Sysmon Event ID 11 with PowerShell
Get-WinEvent -FilterHashtable @{LogName='Microsoft-Windows-Sysmon/Operational'; Id=11; StartTime=(Get-Date).AddDays(-7)} -MaxEvents 50 |
ForEach-Object {
$d = [ordered]@{ Time = $_.TimeCreated; Computer = $_.MachineName }
([xml]$_.ToXml()).Event.EventData.Data | ForEach-Object { $d[$_.Name] = $_.'#text' }
[pscustomobject]$d
} | Format-List
Microsoft Sentinel (KQL)
Event
| where TimeGenerated > ago(7d) and Source == "Microsoft-Windows-Sysmon" and EventID == 11
| project TimeGenerated, Computer, RenderedDescription, EventData
| order by TimeGenerated desc
Related events
- Sysmon Event ID 1: process creation
- Sysmon Event ID 13: registry value set
- Event ID 4663: Attempt to access an object
FAQ
Does Sysmon log every file created?
Only what the configuration includes. Popular configurations focus on executable and script extensions in risky folders.
Windows Event Triage reads a CSV, EVTX-to-JSON or XML export in your browser and flags brute force, new admins, suspicious services and log clearing.
IOC Triage, our free browser extension: right-click it for a verdict from 15 threat-intel sources, then copy a ready ticket note.