Detection rules › Splunk
Account set to active via Net.exe (Windows Event Log)
Adversaries may obtain and abuse credentials of a default or disabled account as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion. Default accounts are those that are built-into an OS, such as the Guest or Administrator accounts on Windows systems
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Initial Access | |
| Persistence | |
| Privilege Escalation | |
| Stealth |
References
Telemetry coverage
| Provider | Record / event type |
|---|---|
| Security-Auditing | Event ID 4688: A new process has been created. |
Rule body
id: '8622.11071'
title: Account set to active via Net.exe
description: 'Adversaries may obtain and abuse credentials of a default or disabled
account as a means of gaining Initial Access, Persistence, Privilege Escalation,
or Defense Evasion. Default accounts are those that are built-into an OS, such as
the Guest or Administrator accounts on Windows systems. -- Threat Actor Association:
Unfading Sea Haze - Software Association: RansomHub -- Atomics T1078.001 Test#1
Atomics T1078.001 Test#2 Atomics T1564 Test#2'
logic_format: Splunk
logic: '`get_endpoint_data` `get_endpoint_data_winevent` (TERM(EventCode=4688) OR
"EventID>4688<") ("/active:yes" OR "/active:y") | table _time, host, user, signature_id,
process, process_*, parent_process_*, src_ip, dest_ip, dest_port `group_events("host",
1)` '
techniques:
- privilege-escalation:valid accounts:default accounts
- persistence:account manipulation
- defense-evasion:valid accounts:default accounts
- persistence:valid accounts:default accounts
technique_id:
- T1078.001
- T1098
data_category:
- Windows event logs
- Process command-line parameters
references:
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1078.001/T1078.001.md
Stages and Predicates
Stage 1: search
search EventCode=4688 source="*" source IN ("WinEventLog:Security", "XmlWinEventLog:Security")
Stage 2: table
table _time, dest_ip, dest_port, host, parent_process_*, process, process_*, signature_id, src_ip, user
Stage 3: bucket
bucket _time
Stage 4: stats
stats BY host, _time
Indicators
These rows show field, operator, and value matches.
| Field | Kind | Values | Search |
|---|---|---|---|
EventCode | eq |
| field:"EventID" kind:eq value:"4688" |
Search terms
These SPL tokens match against raw event text.
| Stage | Term |
|---|---|
| 1 | "EventID>4688<" |
| 1 | "/active:yes" |
| 1 | "/active:y" |