Microsoft-Antimalware-AMFilter

11 events across 1 channel

EventTitleChannelSample
1AMFilter_CacheFlushApplicationN
2AMFilter_CacheRemoveApplicationN
3AMFilter_CacheHitApplicationY
4AMFilter_CacheMissApplicationN
5AMFilter_CacheAddApplicationN
6AMFilter_SeqReadFlagApplicationY
7AMFilter_TrustedProcessApplicationY
8AMFilter_ProcessContextApplicationY
9AMFilter_FileScanApplicationY
10AMFilter_DeleteStreamContextApplicationY
11AMFilter_FileScanResultApplicationY

Event ID 1: AMFilter_CacheFlush

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Task
AMFilter_CacheFlush

Event ID 2: AMFilter_CacheRemove

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Task
AMFilter_CacheRemove

Fields #

NameDescription
File_ID UInt64

Event ID 3: AMFilter_CacheHit

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Also via
realtime ETW trace
Level
Verbose
Task
AMFilter_CacheHit
Opcode
win:Info

Fields #

NameDescription
File_ID UInt64

Example Event #

{
  "system": {
    "provider": "Microsoft-Antimalware-AMFilter",
    "guid": "{CFEB0608-330E-4410-B00D-56D8DA9986E6}",
    "event_source_name": "",
    "event_id": 3,
    "version": 0,
    "level": 5,
    "task": 3,
    "opcode": 0,
    "keywords": "0x0000000000000004",
    "time_created": "2026-06-02T05:20:52.804+00:00",
    "event_record_id": 0,
    "correlation": {},
    "execution": {
      "process_id": 11608,
      "thread_id": 14528
    },
    "channel": "ETW Trace",
    "computer": "DESKTOP-FF3N5XK",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "File_ID": 63791
  },
  "message": "AMFilter_CacheHit"
}

Event ID 4: AMFilter_CacheMiss

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Task
AMFilter_CacheMiss

Fields #

NameDescription
File_ID UInt64

Event ID 5: AMFilter_CacheAdd

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Task
AMFilter_CacheAdd

Fields #

NameDescription
File_ID UInt64

Event ID 6: AMFilter_SeqReadFlag

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Level
Informational
Task
AMFilter_SeqReadFlag
Opcode
win:Info

Example Event #

{
  "system": {
    "provider": "Microsoft-Antimalware-AMFilter",
    "guid": "{CFEB0608-330E-4410-B00D-56D8DA9986E6}",
    "event_source_name": "",
    "event_id": 6,
    "version": 0,
    "level": 4,
    "task": 6,
    "opcode": 0,
    "keywords": "0x0000000000000010",
    "time_created": "2026-06-02T04:10:22.090+00:00",
    "event_record_id": 0,
    "correlation": {},
    "execution": {
      "process_id": 5396,
      "thread_id": 6876
    },
    "channel": "ETW Trace",
    "computer": "DESKTOP-FF3N5XK",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {},
  "message": "AMFilter_SeqReadFlag"
}

Event ID 7: AMFilter_TrustedProcess

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Also via
realtime ETW trace
Level
Informational
Task
AMFilter_TrustedProcess
Opcode
win:Info

Fields #

NameDescription
Pid UInt32
Reason UnicodeString
Trusted UInt32
TotalTrusted UInt32
TotalUntrusted UInt32
Path UnicodeString

Example Event #

{
  "system": {
    "provider": "Microsoft-Antimalware-AMFilter",
    "guid": "{CFEB0608-330E-4410-B00D-56D8DA9986E6}",
    "event_source_name": "",
    "event_id": 7,
    "version": 0,
    "level": 4,
    "task": 7,
    "opcode": 0,
    "keywords": "0x0000000000000008",
    "time_created": "2026-06-02T05:18:28.325+00:00",
    "event_record_id": 0,
    "correlation": {},
    "execution": {
      "process_id": 10432,
      "thread_id": 20476
    },
    "channel": "ETW Trace",
    "computer": "JD-DC01-2022",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "Path": "NULL",
    "Pid": 18116,
    "Reason": "create",
    "TotalTrusted": 97,
    "TotalUntrusted": 179,
    "Trusted": 0
  },
  "message": "AMFilter_TrustedProcess"
}

Event ID 8: AMFilter_ProcessContext

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Also via
realtime ETW trace
Level
Informational
Task
AMFilter_ProcessContext
Opcode
win:Info

Fields #

NameDescription
Pid UInt32
Reason UnicodeString
Flags UInt32
ProcessFilterFlags UInt32
ProcessName UnicodeString
VmHardenType UInt64
ExemptVmHardenedTypes UInt64

Example Event #

{
  "system": {
    "provider": "Microsoft-Antimalware-AMFilter",
    "guid": "{CFEB0608-330E-4410-B00D-56D8DA9986E6}",
    "event_source_name": "",
    "event_id": 8,
    "version": 0,
    "level": 4,
    "task": 8,
    "opcode": 0,
    "keywords": "0x0000000000000002",
    "time_created": "2026-06-02T05:18:28.325+00:00",
    "event_record_id": 0,
    "correlation": {},
    "execution": {
      "process_id": 10432,
      "thread_id": 20476
    },
    "channel": "ETW Trace",
    "computer": "JD-DC01-2022",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "ExemptVmHardenedTypes": 18446744073709551615,
    "Flags": 0,
    "Pid": 18116,
    "ProcessFilterFlags": 0,
    "ProcessName": "NULL",
    "Reason": "create",
    "VmHardenType": 0
  },
  "message": "AMFilter_ProcessContext"
}

Event ID 9: AMFilter_FileScan

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Also via
realtime ETW trace
Level
Informational
Task
AMFilter_FileScan
Opcode
win:Info

Fields #

NameDescription
FileName UnicodeString
Reason UnicodeString
IoStatusBlockForNewFile UInt64

Example Event #

{
  "system": {
    "provider": "Microsoft-Antimalware-AMFilter",
    "guid": "{CFEB0608-330E-4410-B00D-56D8DA9986E6}",
    "event_source_name": "",
    "event_id": 9,
    "version": 0,
    "level": 4,
    "task": 9,
    "opcode": 0,
    "keywords": "0x0000000000000001",
    "time_created": "2026-06-02T05:20:52.826+00:00",
    "event_record_id": 0,
    "correlation": {},
    "execution": {
      "process_id": 13192,
      "thread_id": 2864
    },
    "channel": "ETW Trace",
    "computer": "DESKTOP-FF3N5XK",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "FileName": "\\Device\\HarddiskVolume4\\Users\\localuser\\AppData\\Local\\Temp\\__PSScriptPolicyTest_5xpcu4jq.upi.ps1",
    "IoStatusBlockForNewFile": 4294967295,
    "Reason": "OnOpen"
  },
  "message": "AMFilter_FileScan"
}

Event ID 10: AMFilter_DeleteStreamContext

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Also via
realtime ETW trace
Level
Verbose
Task
AMFilter_DeleteStreamContext
Opcode
win:Info

Fields #

NameDescription
File_ID UInt64

Example Event #

{
  "system": {
    "provider": "Microsoft-Antimalware-AMFilter",
    "guid": "{CFEB0608-330E-4410-B00D-56D8DA9986E6}",
    "event_source_name": "",
    "event_id": 10,
    "version": 0,
    "level": 5,
    "task": 10,
    "opcode": 0,
    "keywords": "0x0000000000000020",
    "time_created": "2026-06-02T05:18:28.782+00:00",
    "event_record_id": 0,
    "correlation": {},
    "execution": {
      "process_id": 4,
      "thread_id": 5412
    },
    "channel": "ETW Trace",
    "computer": "JD-DC01-2022",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "File_ID": 474663
  },
  "message": "AMFilter_DeleteStreamContext"
}

Event ID 11: AMFilter_FileScanResult

#
Provider
Microsoft-Antimalware-AMFilter
Channel
Application
Also via
realtime ETW trace
Level
Informational
Task
AMFilter_FileScanResult
Opcode
win:Info

Fields #

NameDescription
FileName UnicodeString
Reason UInt32
ScanStatus UInt32
State UInt32
ScanAttributes UInt32
FileId UInt64
USN UInt64

Example Event #

{
  "system": {
    "provider": "Microsoft-Antimalware-AMFilter",
    "guid": "{CFEB0608-330E-4410-B00D-56D8DA9986E6}",
    "event_source_name": "",
    "event_id": 11,
    "version": 0,
    "level": 4,
    "task": 11,
    "opcode": 0,
    "keywords": "0x0000000000000001",
    "time_created": "2026-06-02T05:20:52.830+00:00",
    "event_record_id": 0,
    "correlation": {},
    "execution": {
      "process_id": 13192,
      "thread_id": 2864
    },
    "channel": "ETW Trace",
    "computer": "DESKTOP-FF3N5XK",
    "security": {
      "user_id": ""
    }
  },
  "event_data": {
    "FileId": 2814749767281372,
    "FileName": "\\Device\\HarddiskVolume4\\Users\\localuser\\AppData\\Local\\Temp\\__PSScriptPolicyTest_5xpcu4jq.upi.ps1",
    "Reason": 3,
    "ScanAttributes": 0,
    "ScanStatus": 0,
    "State": 3,
    "USN": 153463912
  },
  "message": "AMFilter_FileScanResult"
}

Provenance

Where this provider's schema came from, and which Windows build it was observed on. Windows can change a provider's event schema between builds, so use this to judge whether it matches the build you collect from.

ETW provider GUID {CFEB0608-330E-4410-B00D-56D8DA9986E6}

Defined in WdFilter.sys, the binary that emits these events.

Observed on:

  • WS2022-20348.4893, sample captured from a live trace, binary version 4.18.26040.7, captured 2026-06-02
  • Win11-26200.6584, sample captured from a live trace, binary version 4.18.26040.7, captured 2026-06-02
  • WS2022-20348.4893, schema read from the registered manifest, binary version 4.18.26040.7, captured 2026-06-02
  • Win11-26200.6584, schema read from the registered manifest, binary version 4.18.26040.7, captured 2026-06-02

Downloads