mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
76 lines
2.7 KiB
YAML
76 lines
2.7 KiB
YAML
name: Windows Password Managers Discovery
|
|
id: a3b3bc96-1c4f-4eba-8218-027cac739a48
|
|
version: 1
|
|
date: '2022-11-30'
|
|
author: Teoderick Contreras, Splunk
|
|
status: production
|
|
type: Hunting
|
|
description: The following analytic identifies a process command line that retrieves
|
|
information related to password manager software. This technique was seen in several
|
|
post exploitation tools like winpeas that are being used by Ransomware Prestige
|
|
to gather this type of information. Password Managers applications are designed
|
|
to store user credentials, normally in an encrypted database. Credentials are typically
|
|
accessible after a user provides a master password that unlocks the database. After
|
|
the database is unlocked, these credentials may be copied to memory. These databases
|
|
can be stored as files on disk. Due to this password manager software designed adversaries
|
|
may find or look for keywords related to the Password Manager databases that can
|
|
be stolen or extracted for further attacks.
|
|
data_source:
|
|
- Sysmon Event ID 1
|
|
search:
|
|
selection1:
|
|
CommandLine: '*dir *'
|
|
selection2:
|
|
CommandLine:
|
|
- '*.kdbx*'
|
|
- '*credential*'
|
|
- '*key3.db*'
|
|
- '*pass*'
|
|
- '*cred*'
|
|
- '*key4.db*'
|
|
- '*accessTokens*'
|
|
- '*access_tokens*'
|
|
- '*.htpasswd*'
|
|
- '*Ntds.dit*'
|
|
selection3:
|
|
CommandLine: '*findstr*'
|
|
condition: selection1 or selection2 or selection3
|
|
how_to_implement: To successfully implement this search, you need to be ingesting
|
|
logs with the process name, parent process, and command-line executions from your
|
|
endpoints. If you are using Sysmon, you must have at least version 6.0.4 of the
|
|
Sysmon TA. Tune and filter known instances of wermgr.exe may be used.
|
|
known_false_positives: unknown
|
|
references:
|
|
- https://attack.mitre.org/techniques/T1555/005/
|
|
- https://github.com/carlospolop/PEASS-ng/tree/master/winPEAS
|
|
- https://www.microsoft.com/en-us/security/blog/2022/10/14/new-prestige-ransomware-impacts-organizations-in-ukraine-and-poland/
|
|
tags:
|
|
analytic_story:
|
|
- Windows Post-Exploitation
|
|
- Prestige Ransomware
|
|
asset_type: Endpoint
|
|
confidence: 50
|
|
impact: 50
|
|
message: a process with commandline $process$ that can retrieve information related
|
|
to password manager databases in $dest$
|
|
mitre_attack_id:
|
|
- T1555.005
|
|
observable:
|
|
- name: dest
|
|
type: Hostname
|
|
role:
|
|
- Victim
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
risk_score: 25
|
|
security_domain: endpoint
|
|
tests:
|
|
- name: True Positive Test
|
|
attack_data:
|
|
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/malware/winpeas/winpeas_search_pwd_db/dir-db-sysmon.log
|
|
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
|
|
sourcetype: xmlwineventlog
|
|
update_timestamp: true
|