CyberKit

Event IDs

Sysmon event 25

ProcessTampering (Process image change)

Channel: Microsoft-Windows-Sysmon/Operational. Category: Process Tampering.

What it records

Detects process-hiding techniques (such as process hollowing or herpaderping) where the in-memory executable image no longer matches what was originally mapped from disk.

Why it matters

These techniques are specifically designed to defeat traditional process/file scanning by making a malicious process masquerade as a legitimate one; this event is one of the few telemetry sources built to catch that specific mismatch.

What triggers it

Rare in legitimate software; predominantly associated with malware using process hollowing or similar image-tampering techniques to hide inside a trusted process.

Fields that carry the answer

Key fields
FieldWhat it tells you
ImageThe process whose memory image was found tampered, which identifies exactly which process was hollowed or herpaderped.
TypeThe specific tampering technique detected. Image locked for access vs. image replaced, which narrows down which flavor of process hollowing to expect in follow-up investigation.

In practice

Sysmon Event 1 shows svchost.exe starting normally, but seconds later an Event 25 fires for that same process with Image svchost.exe and Type 'Image is replaced', meaning the on-disk-mapped memory section was swapped out from under the process after launch. That mismatch is the signature left by process hollowing or herpaderping, used to run injected code under a trusted process name.

Sample record

Process image change:
RuleName: technique_id=T1055.012,technique_name=Process Hollowing
UtcTime: 2024-02-11 09:46:37.021
ProcessGuid: {a1b2c3d4-1234-65a1-0000-001122334499}
ProcessId: 5288
Image: C:\Windows\System32\svchost.exe
Type: Image is replaced
User: CORP\jdoe

ATT&CK techniques

Sources

Paste a record into Event XML or open a log in EVTX Reader.