Query: write Sigma for Detects UAC Bypass Attempt Using Microsoft Connection Manager Profile Installer Autoelevate-capable COM Objects (e.g. UA
Matching passage: Sigma rule: Detects UAC Bypass Attempt Using Microsoft Connection Manager Profile Installer Autoelevate-capable COM Objects (e.g. UA. Logsource: windows / process_creation. Rule: title: CMSTP UAC Bypass via COM Object Access id: 4b60e6f2-bf39-47b4-b4ea-398e33cfe253 status: stable description: Detects UAC Bypass Attempt Using Microsoft Connection Manager Profile Installer Autoelevate-capable COM Objects (e.g. UACMe ID of 41, 43, 58 or 65) references: - https://web.archive.org/web/20190720093911/http://www.endurant.io/cmstp/detecting-cmstp-enabled-code-execution-and-uac-bypass-with-sysmon/ - https://twitter.com/hFireF0X/status/897640081053364225 - https://medium.com/falconforce/falconfriday-detecting-uac-bypasses-0xff16-86c2a9107abf - https://github.com/hfiref0x/UACME author: Nik Seetharaman, Christian Burkard (Nextron Systems) date: 2019-07-31 modified: 2024-12-01 tags: - attack.execution - attack.privilege-escalation - attack.stealth - attack.t1548.002 - attack.t1218.003 - attack.g0069 - car.2019-04-001 logsource: category: process_creation product: windows detection: selection: ParentImage|endswith: \DllHost.exe ParentCommandLine|contains: - ' /Processid:{3E5FC7F9-9A51-4367-9063-A120244FBEC7}' - ' /Processid:{3E000D72-A845-4CD9-BD83-80C07C3B881F}' - ' /Processid:{BD54C901-076B-434E-B6C7-17C531F4AB41}' - ' /Processid:{D2E7041B-2927-42FB-8E9F-7CE93B6DC937}' - ' /Processid:{E9495B87-D950-4AB5-87A5-FF6D70BF3E90}' IntegrityLevel: - High - System - S-1-16-16384 - S-1-16-12288 condition: selection falsepositives: - Legitimate CMSTP use (unlikely in modern enterprise environments) level: high
Near-miss passage: Sigma rule: Detects the modification of the registry to allow a driver or service to persist in Safe Mode.. Logsource: windows / registry_set. Rule: title: Registry Persistence via Service in Safe Mode id: 1547e27c-3974-43e2-a7d7-7f484fb928ec status: test description: Detects the modification of the registry to allow a driver or service to persist in Safe Mode. references: - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md#atomic-test-33---windows-add-registry-value-to-load-service-in-safe-mode-without-network - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1112/T1112.md#atomic-test-34---windows-add-registry-value-to-load-service-in-safe-mode-with-network author: frack113 date: 2022-04-04 modified: 2025-10-22 tags: - attack.stealth - attack.t1564.001 logsource: category: registry_set product: windows detection: selection: TargetObject|contains: - \Control\SafeBoot\Minimal\ - \Control\SafeBoot\Network\ TargetObject|endswith: \(Default) Details: Service filter_optional_sophos: Image: C:\WINDOWS\system32\msiexec.exe TargetObject|endswith: - \Control\SafeBoot\Minimal\SAVService\(Default) - \Control\SafeBoot\Network\SAVService\(Default) filter_optional_mbamservice: Image|endswith: \MBAMInstallerService.exe TargetObject|endswith: \MBAMService\(Default) Details: Service filter_optional_hexnode: Image: C:\Hexnode\Hexnode Agent\Current\HexnodeAgent.exe TargetObject|endswith: - \Control\SafeBoot\Minimal\Hexnode Updater\(Default) - \Control\SafeBoot\Network\Hexnode Updater\(Default) - \Control\SafeBoot\Minimal\Hexnode Agent\(Default) - \Control\SafeBoot\Network\Hexnode Agent\(Default) Details: Service condition: selection and not 1 of filter_optional_* falsepositives: - Unknown level: high regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_add_load_service_in_safe_mode/info.yml simulation: - type: atomic-red-team name: Windows Add Registry Value to Load Service in Safe Mode without Network technique: T1112 atomic_guid: 1dd59fb3-1cb3-4828-805d-cf80b4c3bbb5 - type: atomic-red-team name: Windows Add Registry Value to Load Service in Safe Mode with Network technique: T1112 atomic_guid: c173c948-65e5-499c-afbe-433722ed5bd4