Sysmon · Malware
Sysmon 11 · FileCreate
Sysmon Event ID 11 records when a file is created or overwritten, together with the process that wrote it. It is how you find payloads dropped into Temp, ProgramData or Startup, LSASS .dmp files, and ransomware writing thousands of encrypted files or ransom notes.
Where it is logged
Microsoft-Windows-Sysmon/Operational on endpoints and servers. The config must include FileCreate; most configs log only interesting paths and extensions (Startup folders, .exe/.dll/.ps1/.hta, Downloads, Temp) because logging every file write is too noisy.Key fields to read
| Field | What it tells you |
|---|---|
| Image | Process that created the file. |
| TargetFilename | Full path of the created file. |
| CreationUtcTime | File creation timestamp; a value far older than the event time can indicate timestomping. |
| User | Account context of the writing process (newer Sysmon versions). |
| ProcessGuid | Pivot to Sysmon 1 for the writer process and its parent. |
Sample event
Log Name: Microsoft-Windows-Sysmon/Operational
EventID: 11
UtcTime: 2026-11-19 10:27:58.230
Computer: NW-FIN-WS07.northwind.local
ProcessGuid: {4f1c2b7e-a2b1-6740-3c05-000000002200}
ProcessId: 6604
Image: C:\Users\l.brandt\AppData\Local\Temp\update.exe
TargetFilename: C:\Users\l.brandt\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\OneDriveSync.lnk
CreationUtcTime: 2026-11-19 10:27:58.230
User: NORTHWIND\l.brandtHow to triage it
- 1Check
TargetFilenamelocation and extension: Startup folders,C:\ProgramData,C:\Users\Public,%TEMP%, and executable/script extensions are high interest. - 2Assess
Image: does that process normally write files there (installer vspowershell.exe,mshta.exe, Office macro)? - 3Hash and analyze the dropped file (via EDR or Sysmon 15/29 if enabled) and check prevalence.
- 4Look for execution of the file afterwards (Sysmon 1 with matching
Image) or persistence pointing to it (Sysmon 13). - 5For ransomware suspicions, count files created per process per minute and look for ransom note names across directories.
Benign vs suspicious
Usually benign
- Installers and updaters writing binaries to
Program Files,AppDataandTemp. - Browsers saving downloads and caches.
- Office and Teams creating temp and cache files constantly.
Red flags
- Scripts,
.lnkor executables written toStartupfolders by non-installer processes. - Office apps or
mshta.exewriting.exe,.dll,.hta,.jsor.ps1files. .dmpfiles appearing inTemporProgramDatashortly after lsass access (Sysmon 10).- One process creating hundreds of files with a new extension or
README-style ransom notes in many folders. - Files written to
C:\Windows\System32orADMIN$by remote-execution services.
Hunt for it: Splunk & KQL
index=sysmon EventCode=11
(TargetFilename="*\\Start Menu\\Programs\\Startup\\*" OR TargetFilename="C:\\ProgramData\\*.exe" OR TargetFilename="*.dmp")
NOT Image="*\\msiexec.exe"
| table _time, host, User, Image, TargetFilename// Defender for Endpoint DeviceFileEvents: payloads dropped in Startup or ProgramData by scripting engines and Office
DeviceFileEvents
| where Timestamp > ago(7d)
| where ActionType == "FileCreated"
| where FolderPath has @"\Start Menu\Programs\Startup\" or FolderPath startswith @"C:\ProgramData\"
| where InitiatingProcessFileName in~ ("powershell.exe", "mshta.exe", "wscript.exe", "cscript.exe", "winword.exe", "excel.exe", "rundll32.exe")
| project Timestamp, DeviceName, InitiatingProcessFileName, InitiatingProcessCommandLine, FolderPath, SHA256Field names depend on your add-on and table. More translations in the Splunk vs KQL cheat sheet.
Interview question
“How could Sysmon Event 11 help you detect ransomware early?”
✓ Strong answer sketch
Ransomware creates or overwrites huge numbers of files in a short time, often with a new extension, and drops ransom notes in each folder. With Sysmon 11 I can count TargetFilename events per Image per minute and alert on spikes, or alert on known ransom note name patterns appearing across directories. Because the event includes the writing process, I can identify and kill the responsible binary and pivot to its parent and origin via ProcessGuid. In practice, config filtering may limit coverage, so EDR file telemetry and canary files complement it.
See it in a real investigation
Frequently asked questions
Does Sysmon Event 11 log file modifications?
It logs file creation and overwrite (when a file is created or replaced). It does not log every write to an existing file; Sysmon 2 covers file creation-time changes and Sysmon 23/26 cover deletions.
Why am I not seeing all files in Sysmon Event 11?
Most Sysmon configs only include specific paths and extensions for FileCreate to keep volume low. Check the FileCreate rules in your config.