SecurityObject Access
Event ID 4666: An application attempted an operation
An application attempted an operation.
- Channel
- Security
- Logged by default
- No
- Written on
- Any host
- Volume
- Low
- Audit subcategory
- Application Generated
- Needs a SACL
- No
To have this event
- Enable Application Generated:
auditpol /set /subcategory:"Application Generated" /success:enable /failure:enable
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 'Security' -FilterXPath "*[System[(EventID=4666)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
Common questions
- What does Windows event ID 4666 mean?
- An application attempted an operation. It is written to the Windows Security log (Security).
- Is event 4666 logged by default?
- No. It must be enabled before it is recorded. It is controlled by the "Application Generated" Advanced Audit Policy subcategory (Object Access).
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderAn application attempted an operation. Needs the "Application Generated" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.