forked from elastic/beats
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pe fields to Sysmon module (elastic#22217)
- ProcessCreate event - LoadImage event Closes elastic#17335
- Loading branch information
Showing
7 changed files
with
257 additions
and
0 deletions.
There are no files selected for viewing
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
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
Binary file not shown.
94 changes: 94 additions & 0 deletions
94
x-pack/winlogbeat/module/sysmon/test/testdata/sysmon-12-loadimage.evtx.golden.json
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,94 @@ | ||
[ | ||
{ | ||
"@timestamp": "2020-10-28T02:39:26.374Z", | ||
"event": { | ||
"category": [ | ||
"process" | ||
], | ||
"code": 7, | ||
"kind": "event", | ||
"module": "sysmon", | ||
"provider": "Microsoft-Windows-Sysmon", | ||
"type": [ | ||
"change" | ||
] | ||
}, | ||
"file": { | ||
"code_signature": { | ||
"signed": true, | ||
"status": "Valid", | ||
"subject_name": "Microsoft Windows", | ||
"valid": true | ||
}, | ||
"directory": "C:\\Windows\\System32", | ||
"extension": "dll", | ||
"hash": { | ||
"md5": "c7c45610f644906e6f7d664ef2e45b08", | ||
"sha1": "9955a1c071c44a7ceecc0d928a9cfb7f64cc3f93", | ||
"sha256": "4808f1101f4e42387d8ddb7a355668bae3bf6f781c42d3bcd82e23446b1deb3e" | ||
}, | ||
"name": "IDStore.dll", | ||
"path": "C:\\Windows\\System32\\IDStore.dll", | ||
"pe": { | ||
"company": "Microsoft Corporation", | ||
"description": "Identity Store", | ||
"file_version": "10.0.17763.1 (WinBuild.160101.0800)", | ||
"imphash": "194f3797b52231028c718b6d776c6853", | ||
"original_file_name": "IdStore.dll", | ||
"product": "Microsoft® Windows® Operating System" | ||
} | ||
}, | ||
"host": { | ||
"name": "vagrant" | ||
}, | ||
"log": { | ||
"level": "information" | ||
}, | ||
"process": { | ||
"entity_id": "{9f32b55f-d9de-5f98-f006-000000000600}", | ||
"executable": "C:\\Windows\\System32\\dllhost.exe", | ||
"name": "dllhost.exe", | ||
"pid": 5184 | ||
}, | ||
"related": { | ||
"hash": [ | ||
"9955a1c071c44a7ceecc0d928a9cfb7f64cc3f93", | ||
"c7c45610f644906e6f7d664ef2e45b08", | ||
"4808f1101f4e42387d8ddb7a355668bae3bf6f781c42d3bcd82e23446b1deb3e", | ||
"194f3797b52231028c718b6d776c6853" | ||
] | ||
}, | ||
"winlog": { | ||
"api": "wineventlog", | ||
"channel": "Microsoft-Windows-Sysmon/Operational", | ||
"computer_name": "vagrant", | ||
"event_data": { | ||
"Company": "Microsoft Corporation", | ||
"Description": "Identity Store", | ||
"FileVersion": "10.0.17763.1 (WinBuild.160101.0800)", | ||
"Product": "Microsoft® Windows® Operating System", | ||
"RuleName": "-", | ||
"Signature": "Microsoft Windows", | ||
"SignatureStatus": "Valid", | ||
"Signed": "true" | ||
}, | ||
"event_id": 7, | ||
"process": { | ||
"pid": 1676, | ||
"thread": { | ||
"id": 4796 | ||
} | ||
}, | ||
"provider_guid": "{5770385f-c22a-43e0-bf4c-06f5698ffbd9}", | ||
"provider_name": "Microsoft-Windows-Sysmon", | ||
"record_id": 10685, | ||
"user": { | ||
"domain": "NT AUTHORITY", | ||
"identifier": "S-1-5-18", | ||
"name": "SYSTEM", | ||
"type": "Well Known Group" | ||
}, | ||
"version": 3 | ||
} | ||
} | ||
] |
Binary file added
BIN
+68 KB
x-pack/winlogbeat/module/sysmon/test/testdata/sysmon-12-processcreate.evtx
Binary file not shown.
96 changes: 96 additions & 0 deletions
96
x-pack/winlogbeat/module/sysmon/test/testdata/sysmon-12-processcreate.evtx.golden.json
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,96 @@ | ||
[ | ||
{ | ||
"@timestamp": "2020-10-27T20:00:14.32Z", | ||
"event": { | ||
"category": [ | ||
"process" | ||
], | ||
"code": 1, | ||
"kind": "event", | ||
"module": "sysmon", | ||
"provider": "Microsoft-Windows-Sysmon", | ||
"type": [ | ||
"start", | ||
"process_start" | ||
] | ||
}, | ||
"host": { | ||
"name": "vagrant" | ||
}, | ||
"log": { | ||
"level": "information" | ||
}, | ||
"process": { | ||
"args": [ | ||
"C:\\Windows\\system32\\notepad.exe" | ||
], | ||
"command_line": "\"C:\\Windows\\system32\\notepad.exe\" ", | ||
"entity_id": "{9f32b55f-7c4e-5f98-5803-000000000500}", | ||
"executable": "C:\\Windows\\System32\\notepad.exe", | ||
"hash": { | ||
"sha1": "b6d237154f2e528f0b503b58b025862d66b02b73" | ||
}, | ||
"name": "notepad.exe", | ||
"parent": { | ||
"args": [ | ||
"C:\\Windows\\Explorer.EXE" | ||
], | ||
"command_line": "C:\\Windows\\Explorer.EXE", | ||
"entity_id": "{9f32b55f-6fdf-5f98-7000-000000000500}", | ||
"executable": "C:\\Windows\\explorer.exe", | ||
"name": "explorer.exe", | ||
"pid": 4212 | ||
}, | ||
"pe": { | ||
"company": "Microsoft Corporation", | ||
"description": "Notepad", | ||
"file_version": "10.0.17763.475 (WinBuild.160101.0800)", | ||
"original_file_name": "NOTEPAD.EXE", | ||
"product": "Microsoft® Windows® Operating System" | ||
}, | ||
"pid": 3616, | ||
"working_directory": "C:\\Users\\vagrant\\" | ||
}, | ||
"related": { | ||
"hash": "b6d237154f2e528f0b503b58b025862d66b02b73", | ||
"user": "vagrant" | ||
}, | ||
"user": { | ||
"domain": "VAGRANT", | ||
"name": "vagrant" | ||
}, | ||
"winlog": { | ||
"api": "wineventlog", | ||
"channel": "Microsoft-Windows-Sysmon/Operational", | ||
"computer_name": "vagrant", | ||
"event_data": { | ||
"Company": "Microsoft Corporation", | ||
"Description": "Notepad", | ||
"FileVersion": "10.0.17763.475 (WinBuild.160101.0800)", | ||
"IntegrityLevel": "Medium", | ||
"LogonGuid": "{9f32b55f-6fdd-5f98-e7c9-020000000000}", | ||
"LogonId": "0x2c9e7", | ||
"Product": "Microsoft® Windows® Operating System", | ||
"RuleName": "-", | ||
"TerminalSessionId": "1" | ||
}, | ||
"event_id": 1, | ||
"process": { | ||
"pid": 7144, | ||
"thread": { | ||
"id": 6876 | ||
} | ||
}, | ||
"provider_guid": "{5770385f-c22a-43e0-bf4c-06f5698ffbd9}", | ||
"provider_name": "Microsoft-Windows-Sysmon", | ||
"record_id": 20, | ||
"user": { | ||
"domain": "NT AUTHORITY", | ||
"identifier": "S-1-5-18", | ||
"name": "SYSTEM", | ||
"type": "Well Known Group" | ||
}, | ||
"version": 5 | ||
} | ||
} | ||
] |
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