Query: rule covering Detects any deletion of entries in ".*\shell\open\command" registry keys. These registry keys might have been used for C
Matching passage: Sigma rule: Detects any deletion of entries in ".*\shell\open\command" registry keys. These registry keys might have been used for C. Logsource: windows / registry_delete. Rule: title: Removal of Potential COM Hijacking Registry Keys id: 96f697b0-b499-4e5d-9908-a67bec11cdb6 status: test description: 'Detects any deletion of entries in ".*\shell\open\command" registry keys. These registry keys might have been used for COM hijacking activities by a threat actor or an attacker and the deletion could indicate steps to remove its tracks. ' references: - https://github.com/OTRF/detection-hackathon-apt29/issues/7 - https://github.com/OTRF/ThreatHunter-Playbook/blob/2d4257f630f4c9770f78d0c1df059f891ffc3fec/docs/evals/apt29/detections/3.C.1_22A46621-7A92-48C1-81BF-B3937EB4FDC3.md - https://learn.microsoft.com/en-us/windows/win32/shell/launch - https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/nn-shobjidl_core-iexecutecommand - https://learn.microsoft.com/en-us/windows/win32/shell/shell-and-managed-code author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research) date: 2020-05-02 modified: 2025-10-07 tags: - attack.persistence - attack.defense-impairment - attack.t1112 logsource: product: windows category: registry_delete detection: selection: TargetObject|endswith: \shell\open\command filter_main_explorer: Image|endswith: C:\Windows\explorer.exe filter_main_svchost: Image: C:\Windows\system32\svchost.exe filter_main_msiexec: Image: - C:\Windows\System32\msiexec.exe - C:\Windows\SysWOW64\msiexec.exe filter_main_generic_prorams: Image|startswith: - C:\Program Files\ - C:\Program Files (x86)\ filter_main_openwith: Image: C:\Windows\System32\OpenWith.exe filter_optional_dropbox: Image|endswith: \Dropbox.exe TargetObject|contains: \Dropbox. filter_optional_wireshark: Image|endswith: \AppData\Local\Temp\Wireshark_uninstaller.exe TargetObject|contains: \wireshark-capture-file\ filter_optional_peazip: Image|contains: peazip TargetObject|contains: \PeaZip. filter_optional_everything: Image|endswith: \Everything.exe TargetObject|contains: \Everything. filter_optional_uninstallers: Image|startswith: C:\Windows\Installer\MSI filter_optional_java: Image|startswith: C:\Program Files (x86)\Java\ Image|endswith: \installer.exe TargetObject|contains: \Classes\WOW6432Node\CLSID\{4299124F-F2C3-41b4-9C73-9236B2AD0E8F} filter_optional_edgeupdate: Image|contains: \Microsoft\EdgeUpdate\Install filter_optional_avira: Image: - C:\Program Files (x86)\Avira\Antivirus\ - C:\Program Files\Avira\Antivirus\ TargetObject|endswith: - \CLSID\{305CA226-D286-468e-B848-2B2E8E697B74}\Shell\Open\Command - \AntiVir.Keyfile\shell\open\command filter_optiona
Near-miss passage: Sigma rule: Detects registry value settings that would replace the user's desktop background. This is a common technique used by mal. Logsource: windows / registry_set. Rule: title: Potentially Suspicious Desktop Background Change Via Registry id: 85b88e05-dadc-430b-8a9e-53ff1cd30aae related: - id: 8cbc9475-8d05-4e27-9c32-df960716c701 type: similar status: test description: 'Detects registry value settings that would replace the user''s desktop background. This is a common technique used by malware to change the desktop background to a ransom note or other image. ' references: - https://www.attackiq.com/2023/09/20/emulating-rhysida/ - https://research.checkpoint.com/2023/the-rhysida-ransomware-activity-analysis-and-ties-to-vice-society/ - https://www.trendmicro.com/en_us/research/23/h/an-overview-of-the-new-rhysida-ransomware.html - https://www.virustotal.com/gui/file/a864282fea5a536510ae86c77ce46f7827687783628e4f2ceb5bf2c41b8cd3c6/behavior - https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsDesktop::Wallpaper - https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.ControlPanelDisplay::CPL_Personalization_NoDesktopBackgroundUI author: Nasreddine Bencherchali (Nextron Systems), Stephen Lincoln @slincoln-aiq (AttackIQ) date: 2023-12-21 modified: 2025-10-17 tags: - attack.persistence - attack.impact - attack.defense-impairment - attack.t1112 - attack.t1491.001 logsource: product: windows category: registry_set detection: selection_keys: TargetObject|contains: - Control Panel\Desktop - CurrentVersion\Policies\ActiveDesktop - CurrentVersion\Policies\System selection_values_1: TargetObject|endswith: NoChangingWallpaper Details: DWORD (0x00000001) selection_values_2: TargetObject|endswith: \Wallpaper selection_values_3: TargetObject|endswith: \WallpaperStyle Details: '2' filter_main_svchost: Image|endswith: \svchost.exe filter_main_empty: TargetObject|endswith: \Control Panel\Desktop\Wallpaper Details: (Empty) filter_main_explorer: Image|endswith: C:\Windows\Explorer.EXE filter_optional_ec2launch: Image: - C:\Program Files\Amazon\EC2Launch\EC2Launch.exe - C:\Program Files (x86)\Amazon\EC2Launch\EC2Launch.exe TargetObject|endswith: \Control Panel\Desktop\Wallpaper condition: selection_keys and 1 of selection_values_* and not 1 of filter_main_* and not 1 of filter_optional_* falsepositives: - Administrative scripts that change the desktop background to a company logo or other image. level: medium