Skip to content
WETNav
AppLockerApplication Control

Event ID 8002: EXE or DLL was allowed to run

Written in the EXE and DLL channel when AppLocker allows an executable or DLL to run under an allow rule. In an audit or allow-listed environment this doubles as an execution log.

Channel
Microsoft-Windows-AppLocker/EXE and DLL
Logged by default
No
Written on
Any host
Volume
Moderate
Provider
Microsoft-Windows-AppLocker
Needs a SACL
No

To have this event

  • An AppLocker policy with EXE/DLL rules and the Application Identity (AppIDSvc) service running

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

FilePathFull path of the executable or DLL that ran
FileHashHash of the file, for pivoting across hosts and matching known-bad binaries
FqbnFully qualified binary name (publisher, product, file, version) used for publisher rules; '-' for unsigned files
TargetUserSID of the user that ran the file
RuleNameName of the allow rule that permitted the file
Have one of these events? Paste it into the decoder

Analyst notes

  • 01Because 8002 logs every allowed binary, it is a lightweight execution record even without Sysmon; join FilePath and FileHash to process events for context.
  • 02Allowed does not mean benign: a signed but abusable LOLBin (for example rundll32 or mshta) will be allowed; review what was launched, not just that it was allowed.

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'Microsoft-Windows-AppLocker/EXE and DLL' -FilterXPath "*[System[(EventID=8002)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 8002 mean?
Written in the EXE and DLL channel when AppLocker allows an executable or DLL to run under an allow rule. In an audit or allow-listed environment this doubles as an execution log. It is written to the AppLocker log (Microsoft-Windows-AppLocker/EXE and DLL).
Is event 8002 logged by default?
No. It must be enabled before it is recorded.
Where is event 8002 recorded?
In the Microsoft-Windows-AppLocker/EXE and DLL channel on the any host.

Written in the EXE and DLL channel when AppLocker allows an executable or DLL to run under an allow rule. In an audit or allow-listed environment this doubles as an execution log. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.