Query: detect Detects potential tampering with Windows Defender settings such as adding exclusion using wmic in logs
Matching passage: Sigma rule: Detects potential tampering with Windows Defender settings such as adding exclusion using wmic. Logsource: windows / process_creation. Rule: title: Potential Windows Defender Tampering Via Wmic.EXE id: 51cbac1e-eee3-4a90-b1b7-358efb81fa0a status: test description: Detects potential tampering with Windows Defender settings such as adding exclusion using wmic references: - https://github.com/redcanaryco/atomic-red-team/blob/5c1e6f1b4fafd01c8d1ece85f510160fc1275fbf/atomics/T1562.001/T1562.001.md - https://www.bleepingcomputer.com/news/security/gootkit-malware-bypasses-windows-defender-by-setting-path-exclusions/ - https://www.bleepingcomputer.com/news/security/iobit-forums-hacked-to-spread-ransomware-to-its-members/ author: frack113 date: 2022-12-11 modified: 2023-02-14 tags: - attack.execution - attack.defense-impairment - attack.t1047 - attack.t1685 logsource: product: windows category: process_creation detection: selection_img: - OriginalFileName: wmic.exe - Image|endswith: \WMIC.exe selection_cli: CommandLine|contains: /Namespace:\\\\root\\Microsoft\\Windows\\Defender condition: all of selection_* falsepositives: - Unknown level: high simulation: - type: atomic-red-team name: WMIC Tamper with Windows Defender Evade Scanning Folder technique: T1562.001 atomic_guid: 59d386fc-3a4b-41b8-850d-9e3eee24dfe4 regression_tests_path: regression_data/rules/windows/process_creation/proc_creation_win_wmic_namespace_defender/info.yml
Near-miss passage: Sigma rule: Detects direct modification of autostart extensibility point (ASEP) in registry using reg.exe.. Logsource: windows / process_creation. Rule: title: Direct Autorun Keys Modification id: 24357373-078f-44ed-9ac4-6d334a668a11 status: test description: Detects direct modification of autostart extensibility point (ASEP) in registry using reg.exe. references: - https://github.com/redcanaryco/atomic-red-team/blob/f339e7da7d05f6057fdfcdd3742bfcf365fee2a9/atomics/T1547.001/T1547.001.md - https://github.com/HackTricks-wiki/hacktricks/blob/e4c7b21b8f36c97c35b7c622732b38a189ce18f7/src/windows-hardening/windows-local-privilege-escalation/privilege-escalation-with-autorun-binaries.md author: Victor Sergeev, Daniil Yugoslavskiy, oscd.community, Swachchhanda Shrawan Poudel (Nextron Systems) date: 2019-10-25 modified: 2026-01-05 tags: - attack.privilege-escalation - attack.persistence - attack.t1547.001 logsource: category: process_creation product: windows detection: selection_img: - Image|endswith: \reg.exe - OriginalFileName: reg.exe selection_cli_add: CommandLine|contains: add selection_cli_keys: CommandLine|contains: - \software\Microsoft\Windows\CurrentVersion\Run - \software\WOW6432Node\Microsoft\Windows\CurrentVersion\Run - \software\Microsoft\Windows\CurrentVersion\Policies\Explorer\Run - \software\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit - \software\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell - \software\Microsoft\Windows NT\CurrentVersion\Windows - \system\CurrentControlSet\Control\SafeBoot\AlternateShell condition: all of selection_* falsepositives: - Legitimate software automatically (mostly, during installation) sets up autorun keys for legitimate reasons. - Legitimate administrator sets up autorun keys for legitimate reasons. - Discord level: medium