mirror of
https://github.com/splunk/security_content
synced 2026-06-08 17:32:49 +00:00
67 lines
2.4 KiB
YAML
67 lines
2.4 KiB
YAML
name: Spoolsv Writing a DLL
|
|
id: d5bf5cf2-da71-11eb-92c2-acde48001122
|
|
version: 1
|
|
date: '2021-07-01'
|
|
author: Mauricio Velazco, Michael Haag, Splunk
|
|
status: production
|
|
type: TTP
|
|
description: The following analytic identifies a `.dll` being written by `spoolsv.exe`.
|
|
This was identified during our testing of CVE-2021-34527 previously (CVE-2021-1675)
|
|
or PrintNightmare. Typically, this is not normal behavior for `spoolsv.exe` to write
|
|
a `.dll`. Current POC code used will write the suspicious DLL to disk within a path
|
|
of `\spool\drivers\x64\`. During triage, isolate the endpoint and review for source
|
|
of exploitation. Capture any additional file modification events.
|
|
data_source:
|
|
- Sysmon Event ID 1
|
|
search:
|
|
selection1:
|
|
Image|endswith: spoolsv.exe
|
|
condition: selection1
|
|
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` node and `Filesystem`
|
|
node.
|
|
known_false_positives: Unknown.
|
|
references:
|
|
- https://www.truesec.com/hub/blog/fix-for-printnightmare-cve-2021-1675-exploit-to-keep-your-print-servers-running-while-a-patch-is-not-available
|
|
- https://www.truesec.com/hub/blog/exploitable-critical-rce-vulnerability-allows-regular-users-to-fully-compromise-active-directory-printnightmare-cve-2021-1675
|
|
- https://www.reddit.com/r/msp/comments/ob6y02/critical_vulnerability_printnightmare_exposes
|
|
tags:
|
|
analytic_story:
|
|
- PrintNightmare CVE-2021-34527
|
|
asset_type: Endpoint
|
|
confidence: 90
|
|
cve:
|
|
- CVE-2021-34527
|
|
impact: 80
|
|
message: $process_name$ has been identified writing dll's to $file_path$ on endpoint
|
|
$dest$. This behavior is suspicious and related to PrintNightmare.
|
|
mitre_attack_id:
|
|
- T1547.012
|
|
- T1547
|
|
observable:
|
|
- name: dest
|
|
type: Endpoint
|
|
role:
|
|
- Victim
|
|
- name: process_id
|
|
type: Process
|
|
role:
|
|
- Child Process
|
|
- name: file_path
|
|
type: File
|
|
role:
|
|
- Other
|
|
product:
|
|
- Splunk Enterprise
|
|
- Splunk Enterprise Security
|
|
- Splunk Cloud
|
|
risk_score: 72
|
|
security_domain: endpoint
|
|
tests:
|
|
- name: True Positive Test
|
|
attack_data:
|
|
- data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1547.012/printnightmare/windows-sysmon.log
|
|
source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational
|
|
sourcetype: xmlwineventlog
|