2020-05-15 10:08:31 +00:00
|
|
|
action: global
|
2020-05-15 11:25:05 +00:00
|
|
|
title: Suspicious PrinterPorts Created (CVE-2020-1048)
|
2020-05-15 10:08:31 +00:00
|
|
|
id: 7ec912f2-5175-4868-b811-ec13ad0f8567
|
|
|
|
status: experimental
|
|
|
|
description: Detects new registry printer port was created or powershell command add new printer port which point to suspicious file
|
|
|
|
author: EagleEye Team, Florian Roth
|
|
|
|
date: 2020/05/13
|
|
|
|
modified: 2020/05/15
|
|
|
|
references:
|
|
|
|
- https://windows-internals.com/printdemon-cve-2020-1048/
|
|
|
|
tags:
|
|
|
|
- attack.persistence
|
|
|
|
- attack.execution
|
|
|
|
falsepositives:
|
|
|
|
- New printer port install on host
|
|
|
|
level: high
|
|
|
|
---
|
|
|
|
logsource:
|
|
|
|
service: sysmon
|
|
|
|
product: windows
|
|
|
|
detection:
|
|
|
|
selection:
|
|
|
|
EventID:
|
|
|
|
- 12
|
|
|
|
- 13
|
|
|
|
TargetObject|startswith: 'HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Ports'
|
2020-05-15 11:25:05 +00:00
|
|
|
EventType:
|
|
|
|
- SetValue
|
|
|
|
- DeleteValue
|
|
|
|
- CreateValue
|
2020-05-15 10:08:31 +00:00
|
|
|
TargetObject|contains:
|
|
|
|
- '.dll'
|
|
|
|
- '.exe'
|
|
|
|
- 'C:'
|
2020-05-16 06:59:05 +00:00
|
|
|
condition: selection
|
2020-05-15 10:08:31 +00:00
|
|
|
---
|
|
|
|
logsource:
|
|
|
|
category: process_creation
|
|
|
|
product: windows
|
|
|
|
detection:
|
|
|
|
selection1:
|
|
|
|
CommandLine|contains: 'Add-PrinterPort -Name'
|
|
|
|
selection2:
|
|
|
|
CommandLine|contains:
|
|
|
|
- '.dll'
|
|
|
|
- '.exe'
|
2020-05-16 06:59:05 +00:00
|
|
|
condition: selection1 and selection2
|
2020-05-15 10:08:31 +00:00
|
|
|
|