Files
splunk-security_content/dev/endpoint/system_info_gathering_using_dxdiag_application.yml
2023-01-20 13:24:15 +01:00

65 lines
2.4 KiB
YAML

name: System Info Gathering Using Dxdiag Application
id: f92d74f2-4921-11ec-b685-acde48001122
version: 1
date: '2021-11-19'
author: Teoderick Contreras, Splunk
status: production
type: Hunting
description: This analytic is to detect a suspicious dxdiag.exe process command-line
execution. Dxdiag is used to collect the system info of the target host. This technique
has been used by Remcos RATS, various actors, and other malware to collect information
as part of the recon or collection phase of an attack. This behavior should rarely
be seen in a corporate network, but this command line can be used by a network administrator
to audit host machine specifications. Thus in some rare cases, this detection will
contain false positives in its results. To triage further, analyze what commands
were passed after it pipes out the result to a file for further processing.
data_source:
- Sysmon Event ID 1
search:
selection1:
OriginalFileName: dxdiag.exe
selection2:
Image|endswith: dxdiag.exe
selection3:
CommandLine: '* /t *'
condition: (selection1 or selection2) and selection3
how_to_implement: To successfully implement this search you need to be ingesting information
on process that include the name of the process responsible for the changes from
your endpoints into the `Endpoint` datamodel in the `Processes` and `Filesystem`
node. In addition, confirm the latest CIM App 4.20 or higher is installed and the
latest TA for the endpoint product.
known_false_positives: This commandline can be used by a network administrator to
audit host machine specifications. Thus, a filter is needed.
references:
- https://app.any.run/tasks/df0baf9f-8baf-4c32-a452-16562ecb19be/
tags:
analytic_story:
- Remcos
asset_type: Endpoint
confidence: 50
impact: 50
message: dxdiag.exe process with commandline $process$ on $dest$
mitre_attack_id:
- T1592
observable:
- name: dest
type: Hostname
role:
- Victim
- name: user
type: User
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/attack_techniques/t1592/host_info_dxdiag/sysmon.log
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
sourcetype: xmlwineventlog