Windows Security log
4663 An attempt was made to access an object.
A file, folder, registry key or other object with an audit rule (a SACL) was accessed. Without a SACL on the object, nothing is logged.
- SecurityLog
- Microsoft-Windows-Security-AuditingSource
- Audit File System (and the other object access subcategories)Audit policy
- 1Cases and alerts that use it
Fields to read
| Field | What it tells you |
|---|---|
ObjectName | The file or object. |
AccessMask | What was done: 0x1 read data, 0x2 write data, 0x10000 delete. |
ProcessName | The program that did it. |
SubjectUserName | The account. |
Normal
- People opening and saving files in the folders that are audited, through the programs they always use.
Suspicious
- A web server process (w3wp.exe) writing script files into the web root.
- One account reading large numbers of sensitive files in a short time.
Find it
Microsoft Sentinel (KQL)
SecurityEvent
| where EventID == 4663Splunk (SPL)
index=wineventlog source="XmlWinEventLog:Security" EventCode=4663Table, index and source names as CyberSim uses them; your workspace may name them differently.
Where you meet it in CyberSim
Cases
- Web shell on the public web server, pivot to SQL Advanced · Network
The L3 war room
- Contractor VPN to data theft
- Edge VPN exploit to hypervisor ransomware
- Web shell to domain ransomware
Other Security events
- 4624 An account was successfully logged on.
- 4625 An account failed to log on.
- 4634 An account was logged off.
- 4661 A handle to an object was requested.
- 4662 An operation was performed on an object.
- 4672 Special privileges assigned to new logon.
- 4688 A new process has been created.
- 4698 A scheduled task was created.
- 4720 A user account was created.
- 4728 A member was added to a security-enabled global group.
- 4768 A Kerberos authentication ticket (TGT) was requested.
- 4769 A Kerberos service ticket was requested.
- 4886 Certificate Services received a certificate request.
- 4887 Certificate Services approved a certificate request and issued a certificate.
- 5136 A directory service object was modified.
- 5145 A network share object was checked to see whether client can be granted desired access.
- 6416 A new external device was recognized by the System.
Source: Microsoft Learn: event 4663