Files
splunk-security_content/docs/_posts/2020-11-03-setting_credentials_via_powersploit_modules.md
2021-12-02 18:50:01 +00:00

3.8 KiB

title, excerpt, categories, last_modified_at, toc, toc_label, tags
title excerpt categories last_modified_at toc toc_label tags
Setting Credentials via PowerSploit modules Exploitation for Privilege Escalation, Valid Accounts, Account Manipulation
Endpoint
2020-11-03 true
Exploitation for Privilege Escalation
Privilege Escalation
Valid Accounts
Defense Evasion
Persistence
Privilege Escalation
Initial Access
Account Manipulation
Persistence
Splunk Behavioral Analytics
Endpoint_Processes

Try in Splunk Security Cloud{: .btn .btn--success}

Description

This detection identifies illegal setting of credentials via PowerSploit modules.

  • Type: TTP
  • Product: Splunk Behavioral Analytics
  • Datamodel: Endpoint_Processes
  • Last Updated: 2020-11-03
  • Author: Stanislav Miskovic, Splunk
  • ID: 07b2a501-f967-4ddc-9f56-2dce46dfce44

ATT&CK

ID Technique Tactic
T1068 Exploitation for Privilege Escalation Privilege Escalation

| T1078 | Valid Accounts | Defense Evasion, Persistence, Privilege Escalation, Initial Access |

| T1098 | Account Manipulation | Persistence |


| from read_ssa_enriched_events()

| eval timestamp=parse_long(ucast(map_get(input_event, "_time"), "string", null)), cmd_line=ucast(map_get(input_event, "process"), "string", null), event_id=ucast(map_get(input_event, "event_id"), "string", null) 
| where cmd_line != null AND ( match_regex(cmd_line, /(?i)Set-DomainUserPassword/)=true )

| eval start_time = timestamp, end_time = timestamp, entities = mvappend( ucast(map_get(input_event, "dest_user_id"), "string", null), ucast(map_get(input_event, "dest_device_id"), "string", null)), body=create_map(["event_id", event_id,  "cmd_line", cmd_line]) 
| into write_ssa_detected_events();

Associated Analytic Story

How To Implement

You must be ingesting Windows Security logs from devices of interest, including the event ID 4688 with enabled command line logging.

Required field

  • dest_device_id
  • dest_user_id
  • process
  • _time

Kill Chain Phase

  • Actions on Objectives

Known False Positives

None identified.

RBA

Risk Score Impact Confidence Message
90.0 90 100 PowerSploit malware is setting passwords on Active Directory accounts. Operation is performed at the device dest_device_id, by the account dest_user_id via command cmd_line

Reference

Test Dataset

Replay any dataset to Splunk Enterprise by using our replay.py tool or the UI. Alternatively you can replay a dataset into a Splunk Attack Range

source | version: 1