Huntbook by Predefender

part-5

Sysmon Hunting

Author: Roger C.B. Johnsen

Sysmon produces telemetry, not detections. Event presence depends on version and configuration, and high-volume event types are often filtered. First confirm collection health and the active configuration.

Log channel: Microsoft-Windows-Sysmon/Operational.

Event reference

IDEventHunt focus
1ProcessCreateParent-child anomalies, command line, signer, hashes, integrity, logon session.
2FileCreateTimeTimestomping; compare other timestamps and file origin.
3NetworkConnectProcess-owned connection, destination rarity, port/protocol mismatch.
4Sysmon service stateUnexpected stop/start and collection gaps.
5ProcessTerminateTimeline closure and short-lived processes.
6DriverLoadUnsigned, revoked, vulnerable, or unusual driver paths.
7ImageLoadDLL search-order hijacking and unusual unsigned modules; high volume.
8CreateRemoteThreadCross-process execution; validate source, target, and start module.
9RawAccessReadDirect disk access by non-backup/non-security tools.
10ProcessAccessCredential access and injection; inspect access mask and target.
11FileCreatePayloads, staging, startup folders, and suspicious extensions.
12-14RegistryEventPersistence and security-setting changes; correlate process GUID.
15FileCreateStreamHashAlternate data streams and downloaded content.
16Sysmon config changeUnplanned configuration changes; cannot be filtered.
17-18PipeEventRare named pipes, remote tooling, and process context.
19-21WmiEventPermanent WMI subscription filter, consumer, and binding.
22DnsQueryProcess-attributed queries, rare domains, and pre-connection context.
23FileDeleteDeleted file archived; monitor archive capacity and access.
24ClipboardChangeClipboard content hash/context; privacy and volume matter.
25ProcessTamperingImage manipulation such as process hollowing.
26FileDeleteDetectedDeletion recorded without archiving the file.
27FileBlockExecutableExecutable creation blocked by configured rules.
28FileBlockShreddingFile shredding blocked by configured rules.
29FileExecutableDetectedNew PE file detected; availability depends on supported Windows version.
255ErrorData loss, load, configuration, or integrity problem requiring triage.

Correlation fields

  • ProcessGuid and ParentProcessGuid are preferable to reused PIDs.
  • LogonGuid links activity to a logon session.
  • RuleName can carry configuration-defined context such as ATT&CK tags.
  • Image, User, hashes, signature fields, and command line explain the event.
  • UTC timestamps simplify cross-source correlation.

Fast triage

  1. Verify the event type was enabled and forwarded during the period.
  2. Build the process ancestry using GUIDs.
  3. Correlate file, registry, DNS, and network events around the same process.
  4. Validate signer and hash, but do not equate signed with safe.
  5. Compare the behaviour with the host role and fleet prevalence.
  6. Check Events 4, 16, and 255 when telemetry disappears.

Do not map each event ID permanently to one ATT&CK technique. The same event can support many behaviours, and the mapping depends on fields and context.

References

Revision

Revised DateComment
2025-03-21Article added
2026-07-22Corrected event semantics and added hunting and coverage guidance