Process hollowing.
What gives it awayA legitimate process created suspended, its memory replaced with different code, then resumed. The name and path look trustworthy; the code is not.
ATT&CK T1055.012Nothing matches that yet. Tell us what you were looking for and it goes on the list.
Sysmon · Event 25
A process's image in memory no longer matches the file it was launched from. That is what process hollowing and herpaderping look like, and there is very little legitimate reason for it — which makes this one of the highest-signal, lowest-volume events Sysmon produces.
Also written as Sysmon 25Sysmon Event ID 25ProcessTamperingprocess image change sysmon
Only present if you installed Sysmon. It reports a program whose running code was replaced after it started.
Added in Sysmon 13. Detects the mismatch between an image on disk and the image mapped in memory, which is the mechanism behind hollowing and herpaderping. It does not catch every injection technique — reflective loading into an already-running process is a different signal — but what it does report is rarely benign. Expect a small baseline from packers, some installers, and a few security products.
Sanitised. Addresses come from the RFC 5737 documentation ranges.
Process Tampering:
RuleName: -
UtcTime: 2026-08-28 09:15:02.114
ProcessGuid: {a1b2c3d4-0000-0000-0000-00000000abcd}
ProcessId: 7412
Image: C:\Windows\System32\svchost.exe
Type: Image is replaced
User: CORP\jbrooks Everything else in the log line is context.
Image is replacedThe mapped image differs from the file it came from. Classic hollowing. Image is locked for accessThe file was locked to frustrate inspection, which is the herpaderping pattern. Most of the time it is one of these.
What gives it awayA legitimate process created suspended, its memory replaced with different code, then resumed. The name and path look trustworthy; the code is not.
ATT&CK T1055.012What gives it awayThe file on disk is modified after the image is mapped, so anything inspecting the file sees something different from what is running.
ATT&CK T1055What gives it awayTampering reported against a signed system binary, which is exactly the target an attacker wants to be running as.
ATT&CK T1036.005What gives it awayTampering on a process whose on-disk file scans clean, because the malicious code only ever exists in memory.
ATT&CK T1055Event | where Source == 'Microsoft-Windows-Sysmon' and EventID == 25 | project TimeGenerated, Computer, Image, User, RenderedDescription | order by TimeGenerated desc Event | where Source == 'Microsoft-Windows-Sysmon' and EventID == 25 | where Image startswith 'C:\\Windows' | project TimeGenerated, Computer, Image, User detection:
selection:
EventID: 25
condition: selection An attacker starts a legitimate program in a suspended state, replaces the code in its memory with their own, and lets it run. Everything about the process looks trustworthy — the name, the path, the signature on the file — but the code executing is not what was on disk. Sysmon Event 25 detects the mismatch.
Sysmon 13 or later. Earlier versions have no process tampering detection at all, so if you are not seeing these, check the version before assuming your configuration is wrong.
No. It detects tampering with a process image — hollowing and herpaderping specifically. Injecting code into an already-running process without altering its image does not produce this event; that is what Events 8 and 10 are for. Use them together.
There is a small legitimate baseline — some packers, a few installers, and certain security products modify process images as part of normal operation. But the volume is low enough that alerting on the event and tuning out the specific programs your estate genuinely runs is a reasonable strategy, which is unusual for a Sysmon event.
Last reviewed 28 August 2026