
title: Suspicious PrinterPorts Creation (CVE-2020-1048)
author: EagleEye Team, Florian Roth
date: 2020/05/13
description: Detects new commands that add new printer port which point to suspicious
  file
detection:
  SELECTION_1:
    EventID: 1
  SELECTION_2:
    EventID: 1
  SELECTION_3:
    CommandLine:
    - '*Add-PrinterPort -Name*'
  SELECTION_4:
    CommandLine:
    - '*.exe*'
    - '*.dll*'
    - '*.bat*'
  SELECTION_5:
    CommandLine:
    - '*Generic / Text Only*'
  condition: (SELECTION_1 and ((SELECTION_2 and SELECTION_3 and SELECTION_4) or SELECTION_5))
falsepositives:
- New printer port install on host
id: cc08d590-8b90-413a-aff6-31d1a99678d7
level: high
logsource:
  category: process_creation
  product: windows
modified: 2020/05/23
references:
- https://windows-internals.com/printdemon-cve-2020-1048/
status: experimental
tags:
- attack.persistence
- attack.execution
- attack.t1059.001
- attack.t1086
ruletype: SIGMA
