Detection rules › Sigma
Disabled guest or builtin account activated
Detects scenarios where an attacker enables a disabled builtin account.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Persistence | T1098 Account Manipulation |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Security-Auditing | Event ID 4722 | A user account was enabled. |
Rule body yaml
title: Disabled guest or builtin account activated
description: Detects scenarios where an attacker enables a disabled builtin account.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0003-Persistence/T1136-Create%20account
- https://www.stigviewer.com/stig/windows_xp/2013-03-14/finding/V-3369
tags:
- attack.persistence
- attack.t1098
author: mdecrevoisier
status: experimental
logsource:
product: windows
service: security
detection:
selection_event:
EventID: 4722
selection_username:
TargetUserName:
- Guest
- DefaultAccount
- support_388945a0 # Remote assistance
- HelpAssistant # Managed by Remote Desktop Help Session Manager service
- WDAGUtilityAccount # Defender Application Guard
selection_user_sid:
TargetUserSid|endswith:
- '-501' # Guest account
- '-503' # DefaultAccount (DSMA) starting Windows 10.1607
- '1001' # support_388945a0
condition: selection_event and (selection_username or selection_user_sid)
falsepositives:
- SYSPREP deployement
- Usage of Remote assistance
level: medium
Stages and Predicates
Stage 0: condition
selection_event and (selection_username or selection_user_sid)Stage 1: selection_event
selection_event:
EventID: 4722
Stage 2: selection_username
selection_username:
TargetUserName:
- Guest
- DefaultAccount
- support_388945a0
- HelpAssistant
- WDAGUtilityAccount
Stage 3: selection_user_sid
selection_user_sid:
TargetUserSid|endswith:
- '-501'
- '-503'
- '1001'
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
TargetUserName | eq |
|
TargetUserSid | ends_with |
|