PE file dropped in Color Profile Folder
| Id | f68a5046-b7eb-4f69-9519-1e99708bb9e0 |
| Rulename | PE file dropped in Color Profile Folder |
| Description | This query looks for writes of PE files to C:\Windows\System32\spool\drivers\color\. This is a common directory used by malware, as well as some legitimate programs, and writes of PE files to the folder should be monitored. Ref: https://www.microsoft.com/security/blog/2022/07/27/untangling-knotweed-european-private-sector-offensive-actor-using-0-day-exploits/ |
| Severity | Medium |
| Tactics | Execution |
| Techniques | T1203 |
| Required data connectors | MicrosoftThreatProtection |
| Kind | Scheduled |
| Query frequency | 1d |
| Query period | 1d |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Detections/DeviceFileEvents/PEfiledroppedinColorDriversFolder.yaml |
| Version | 1.0.1 |
| Arm template | f68a5046-b7eb-4f69-9519-1e99708bb9e0.json |
DeviceFileEvents
| where ActionType =~ "FileCreated"
| where FolderPath has "C:\\Windows\\System32\\spool\\drivers\\color\\"
| where FileName endswith ".exe" or FileName endswith ".dll"
queryPeriod: 1d
query: |
DeviceFileEvents
| where ActionType =~ "FileCreated"
| where FolderPath has "C:\\Windows\\System32\\spool\\drivers\\color\\"
| where FileName endswith ".exe" or FileName endswith ".dll"
name: PE file dropped in Color Profile Folder
entityMappings:
- fieldMappings:
- columnName: FileName
identifier: Name
entityType: File
- fieldMappings:
- columnName: DeviceName
identifier: HostName
entityType: Host
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Detections/DeviceFileEvents/PEfiledroppedinColorDriversFolder.yaml
tags:
- KNOTWEED
requiredDataConnectors:
- connectorId: MicrosoftThreatProtection
dataTypes:
- DeviceFileEvents
description: |
'This query looks for writes of PE files to C:\Windows\System32\spool\drivers\color\.
This is a common directory used by malware, as well as some legitimate programs, and writes of PE files to the folder should be monitored.
Ref: https://www.microsoft.com/security/blog/2022/07/27/untangling-knotweed-european-private-sector-offensive-actor-using-0-day-exploits/'
kind: Scheduled
version: 1.0.1
metadata:
author:
name: Pete Bryan
categories:
domains:
- Security - Others
support:
tier: Community
source:
kind: Community
queryFrequency: 1d
severity: Medium
relevantTechniques:
- T1203
triggerOperator: gt
triggerThreshold: 0
tactics:
- Execution
id: f68a5046-b7eb-4f69-9519-1e99708bb9e0