|
| 1 | +name: Windows Admin Password Changed by Non-Admin |
| 2 | +id: 6d4c4d88-cd60-43a1-8c70-c74a9614f724 |
| 3 | +version: 1 |
| 4 | +creation_date: '2026-04-27' |
| 5 | +modification_date: '2026-04-27' |
| 6 | +author: Raven Tait, Splunk |
| 7 | +status: production |
| 8 | +type: TTP |
| 9 | +description: |- |
| 10 | + The following analytic detects when a unprivileged user changes an Admin accounts password. This is a common artifact of successful exploitation of the BlueHammer Windows Defender privilege escalation. The attacker's process momentarily changes the passwords of high-value local accounts including the built-in Administrator to spawn an authenticated shell session, then immediately reverts the passwords to avoid detection. This uses EventID 4723 to log this activity. |
| 11 | +data_source: |
| 12 | + - Windows Event Log Security 4723 |
| 13 | +search: |- |
| 14 | + `wineventlog_security` |
| 15 | + EventCode=4723 |
| 16 | + | rex field=object_id "-(?<target_rid>\d+)$" |
| 17 | + | rex field=SubjectUserSid "-(?<subject_rid>\d+)$" |
| 18 | + | where target_rid="500" OR tonumber(target_rid) IN (512,513,518,519,520) |
| 19 | + | where tonumber(subject_rid) >= 1000 |
| 20 | + | where SubjectUserSid != object_id |
| 21 | + | stats count min(_time) as firstTime |
| 22 | + max(_time) as lastTime |
| 23 | + by dest user object_id EventCode src_user |
| 24 | + SubjectUserSid SubjectLogonId PrivilegeList |
| 25 | + | `security_content_ctime(firstTime)` |
| 26 | + | `security_content_ctime(lastTime)` |
| 27 | + | `windows_admin_password_changed_by_non_admin_filter` |
| 28 | +how_to_implement: |- |
| 29 | + The detection is based on data that originates from Endpoint Detection and Response (EDR) agents. These agents are designed to provide security-related telemetry from the endpoints where the agent is installed. To implement this search, you must ingest logs that contain the process GUID, process name, and parent process. Additionally, you must ingest complete command-line executions. These logs must be processed using the appropriate Splunk Technology Add-ons that are specific to the EDR product. The logs must also be mapped to the `Processes` node of the `Endpoint` data model. Use the Splunk Common Information Model (CIM) to normalize the field names and speed up the data modeling process. |
| 30 | +known_false_positives: |- |
| 31 | + Some IT support tools or automated scripts may change administrator passwords during maintenance. Verify changes against authorized administrative activities to reduce false alerts. |
| 32 | +references: |
| 33 | + - https://github.com/Nightmare-Eclipse/BlueHammer |
| 34 | +drilldown_searches: |
| 35 | + - earliest_offset: $info_min_time$ |
| 36 | + latest_offset: $info_max_time$ |
| 37 | + name: View the detection results for - "$dest$" |
| 38 | + search: '%original_detection_search% | search dest = "$dest$"' |
| 39 | + - earliest_offset: $info_min_time$ |
| 40 | + latest_offset: $info_max_time$ |
| 41 | + name: View risk events for the last 7 days for - "$dest$" |
| 42 | + search: '| from datamodel Risk.All_Risk | search normalized_risk_object IN ("$dest$") starthoursago=168 | stats count min(_time) as firstTime max(_time) as lastTime values(search_name) as "Search Name" values(risk_message) as "Risk Message" values(analyticstories) as "Analytic Stories" values(annotations._all) as "Annotations" values(annotations.mitre_attack.mitre_tactic) as "ATT&CK Tactics" by normalized_risk_object | `security_content_ctime(firstTime)` | `security_content_ctime(lastTime)`' |
| 43 | +finding: |
| 44 | + title: Non-Administrator account $src_user$ changed password of Admin account $user$ on $dest$. |
| 45 | + entity: |
| 46 | + field: dest |
| 47 | + type: system |
| 48 | + score: 50 |
| 49 | +analytic_story: |
| 50 | + - Windows Privilege Escalation |
| 51 | + - BlueHammer |
| 52 | +asset_type: Endpoint |
| 53 | +mitre_attack_id: |
| 54 | + - T1068 |
| 55 | + - T1543.003 |
| 56 | +product: |
| 57 | + - Splunk Enterprise |
| 58 | + - Splunk Enterprise Security |
| 59 | + - Splunk Cloud |
| 60 | +category: endpoint |
| 61 | +security_domain: endpoint |
| 62 | +cve: |
| 63 | + - CVE-2026-33825 |
| 64 | +tests: |
| 65 | + - name: True Positive Test |
| 66 | + attack_data: |
| 67 | + - data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1068/bluehammer/windows-security.log |
| 68 | + source: XmlWinEventLog:Security |
| 69 | + sourcetype: XmlWinEventLog |
| 70 | + test_type: unit |
0 commit comments