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.
| Field | What it tells you |
|---|---|
| FilePath | Full path of the executable or DLL that ran |
| FileHash | Hash of the file, for pivoting across hosts and matching known-bad binaries |
| Fqbn | Fully qualified binary name (publisher, product, file, version) used for publisher rules; '-' for unsigned files |
| TargetUser | SID of the user that ran the file |
| RuleName | Name of the allow rule that permitted the file |
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.
Related events
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.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten 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.