Skip to content
WETNav
AppLockerApplication Control

Event ID 8003: EXE or DLL was allowed but would have been blocked (audit)

Written in audit mode when an executable or DLL ran but would have been blocked if the policy were enforced. The main AppLocker hunting signal.

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 in audit mode and the AppIDSvc service running

Key fields

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

FilePathFull path of the file that ran and would be blocked under enforcement. User-writable paths (Downloads, AppData, Temp, ProgramData) are high-signal
FileHashHash of the file, for correlation and threat-intel matching
FqbnFully qualified binary name; '-' indicates an unsigned file
TargetUserSID of the user that ran the file
Have one of these events? Paste it into the decoder

Analyst notes

  • 018003 means the file executed but falls outside policy; it is an excellent feed for untrusted binaries running from user-writable locations.
  • 02Run AppLocker in audit mode first to collect 8003 before enforcing; a spike of 8003 from one user or path is worth investigating.

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=8003)]]" -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.

Also relevant, depending on field values

Common questions

What does Windows event ID 8003 mean?
Written in audit mode when an executable or DLL ran but would have been blocked if the policy were enforced. The main AppLocker hunting signal. It is written to the AppLocker log (Microsoft-Windows-AppLocker/EXE and DLL).
Is event 8003 logged by default?
No. It must be enabled before it is recorded.
Where is event 8003 recorded?
In the Microsoft-Windows-AppLocker/EXE and DLL channel on the any host.

Written in audit mode when an executable or DLL ran but would have been blocked if the policy were enforced. The main AppLocker hunting signal. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.