-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from rathbuna/master
Create Security_Microsoft-Windows-Security-Auditing_4656.map
- Loading branch information
Showing
1 changed file
with
112 additions
and
0 deletions.
There are no files selected for viewing
112 changes: 112 additions & 0 deletions
112
evtx/Maps/Security_Microsoft-Windows-Security-Auditing_4656.map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
Author: Andrew Rathbun | ||
Description: A handle to an object was requested | ||
EventId: 4656 | ||
Channel: Security | ||
Provider: Microsoft-Windows-Security-Auditing | ||
Maps: | ||
- | ||
Property: UserName | ||
PropertyValue: "%domain%\\%user%" | ||
Values: | ||
- | ||
Name: domain | ||
Value: "/Event/EventData/Data[@Name=\"SubjectDomainName\"]" | ||
- | ||
Name: user | ||
Value: "/Event/EventData/Data[@Name=\"SubjectUserName\"]" | ||
- | ||
Property: ExecutableInfo | ||
PropertyValue: "%Process% (PID: %ProcessId%)" | ||
Values: | ||
- | ||
Name: Process | ||
Value: "/Event/EventData/Data[@Name=\"ProcessName\"]" | ||
- | ||
Name: ProcessId | ||
Value: "/Event/EventData/Data[@Name=\"ProcessId\"]" | ||
- | ||
Property: PayloadData1 | ||
PropertyValue: "ObjectType: %ObjectType%" | ||
Values: | ||
- | ||
Name: ObjectType | ||
Value: "/Event/EventData/Data[@Name=\"ObjectType\"]" | ||
- | ||
Property: PayloadData2 | ||
PropertyValue: "Registry Key: %ObjectName%" | ||
Values: | ||
- | ||
Name: ObjectName | ||
Value: "/Event/EventData/Data[@Name=\"ObjectName\"]" | ||
- | ||
Property: PayloadData3 | ||
PropertyValue: "HandleId: %HandleId%" | ||
Values: | ||
- | ||
Name: HandleId | ||
Value: "/Event/EventData/Data[@Name=\"HandleId\"]" | ||
- | ||
Property: PayloadData4 | ||
PropertyValue: "TransactionId: %TransactionId%" | ||
Values: | ||
- | ||
Name: TransactionId | ||
Value: "/Event/EventData/Data[@Name=\"TransactionId\"]" | ||
- | ||
Property: PayloadData5 | ||
PropertyValue: "AccessList: %AccessList%" | ||
Values: | ||
- | ||
Name: AccessList | ||
Value: "/Event/EventData/Data[@Name=\"AccessList\"]" | ||
- | ||
Property: PayloadData6 | ||
PropertyValue: "PrivilegeList: %PrivilegeList%" | ||
Values: | ||
- | ||
Name: PrivilegeList | ||
Value: "/Event/EventData/Data[@Name=\"PrivilegeList\"]" | ||
|
||
# Documentation: | ||
# https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4656 | ||
# https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4656 | ||
# https://jpcertcc.github.io/ToolAnalysisResultSheet/ | ||
# | ||
# Example Event Data: | ||
# <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"> | ||
# <System> | ||
# <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" /> | ||
# <EventID>4656</EventID> | ||
# <Version>1</Version> | ||
# <Level>0</Level> | ||
# <Task>12800</Task> | ||
# <Opcode>0</Opcode> | ||
# <Keywords>0x8010000000000000</Keywords> | ||
# <TimeCreated SystemTime="2015-09-18T22:15:19.346776600Z" /> | ||
# <EventRecordID>274057</EventRecordID> | ||
# <Correlation /> | ||
# <Execution ProcessID="516" ThreadID="524" /> | ||
# <Channel>Security</Channel> | ||
# <Computer>DC01.contoso.local</Computer> | ||
# <Security /> | ||
# </System> | ||
# <EventData> | ||
# <Data Name="SubjectUserSid">S-1-5-21-3457937927-2839227994-823803824-1104</Data> | ||
# <Data Name="SubjectUserName">dadmin</Data> | ||
# <Data Name="SubjectDomainName">CONTOSO</Data> | ||
# <Data Name="SubjectLogonId">0x4367b</Data> | ||
# <Data Name="ObjectServer">Security</Data> | ||
# <Data Name="ObjectType">File</Data> | ||
# <Data Name="ObjectName">C:\\Documents\\HBI Data.txt</Data> | ||
# <Data Name="HandleId">0x0</Data> | ||
# <Data Name="TransactionId">{00000000-0000-0000-0000-000000000000}</Data> | ||
# <Data Name="AccessList">%%1538 %%1541 %%4416 %%4417 %%4418 %%4419 %%4420 %%4423 %%4424</Data> | ||
# <Data Name="AccessReason">%%1538: %%1804 %%1541: %%1809 %%4416: %%1809 %%4417: %%1809 %%4418: %%1802 D:(D;;LC;;;S-1-5-21-3457937927-2839227994-823803824-1104) %%4419: %%1809 %%4420: %%1809 %%4423: %%1811 D:(A;OICI;FA;;;S-1-5-21-3457937927-2839227994-823803824-1104) %%4424: %%1809</Data> | ||
# <Data Name="AccessMask">0x12019f</Data> | ||
# <Data Name="PrivilegeList">-</Data> | ||
# <Data Name="RestrictedSidCount">0</Data> | ||
# <Data Name="ProcessId">0x1074</Data> | ||
# <Data Name="ProcessName">C:\\Windows\\System32\\notepad.exe</Data> | ||
# <Data Name="ResourceAttributes">S:AI(RA;ID;;;;WD;("Impact\_MS",TI,0x10020,3000))</Data> | ||
# </EventData> | ||
# </Event> |