Query: Sigma rule for Detects suspicious registry modifications made by suspicious processes such as script engine processes such as WScript,
Matching passage: Sigma rule: Detects suspicious registry modifications made by suspicious processes such as script engine processes such as WScript,. Logsource: windows / registry_event. Rule: title: Registry Tampering by Potentially Suspicious Processes id: 7f4c43f9-b1a5-4c7d-b24a-b41bf3a3ebf2 related: - id: 2a0a169d-cc66-43ce-9ae2-6e678e54e46a type: similar - id: 921aa10f-2e74-4cca-9498-98f9ca4d6fdf type: similar status: experimental description: 'Detects suspicious registry modifications made by suspicious processes such as script engine processes such as WScript, or CScript etc. These processes are rarely used for legitimate registry modifications, and their activity may indicate an attempt to modify the registry without using standard tools like regedit.exe or reg.exe, potentially for evasion and persistence. ' references: - https://www.nextron-systems.com/2025/07/29/detecting-the-most-popular-mitre-persistence-method-registry-run-keys-startup-folder/ - https://www.linkedin.com/posts/mauricefielenbach_livingofftheland-redteam-persistence-activity-7344801774182051843-TE00/ author: Swachchhanda Shrawan Poudel (Nextron Systems) date: 2025-08-13 modified: 2026-04-14 tags: - attack.persistence - attack.execution - attack.defense-impairment - attack.t1112 - attack.t1059.005 logsource: category: registry_event product: windows detection: selection: Image|endswith: - \mshta.exe - \wscript.exe - \cscript.exe filter_main_binary_data: Details: Binary Data filter_main_null: Details: null filter_main_wscript_legit_1: Image|endswith: \wscript.exe TargetObject|contains: - SOFTWARE\Microsoft\Windows NT\CurrentVersion\Notifications\Data\ - \Services\bam\State\UserSettings\S-1- - Software\Microsoft\Windows Script\Settings\Telemetry\wscript.exe\ - Software\Microsoft\Windows\CurrentVersion\Internet Settings\ filter_main_wscript_legit_2: Image|endswith: \wscript.exe TargetObject|contains: \wscript.exe condition: selection and not 1 of filter_main_* falsepositives: - Some legitimate admin or install scripts may use these processes for registry modifications. level: medium
Near-miss passage: Sigma rule: Detects modifications to the registry key "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\Us. Logsource: windows / registry_set. Rule: title: Hiding User Account Via SpecialAccounts Registry Key id: f8aebc67-a56d-4ec9-9fbe-7b0e8b7b4efd related: - id: 8a58209c-7ae6-4027-afb0-307a78e4589a type: obsolete - id: 9ec9fb1b-e059-4489-9642-f270c207923d type: similar status: test description: Detects modifications to the registry key "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\Userlist" where the value is set to "0" in order to hide user account from being listed on the logon screen. references: - https://thedfirreport.com/2022/07/11/select-xmrig-from-sqlserver/ - https://github.com/redcanaryco/atomic-red-team/blob/40b77d63808dd4f4eafb83949805636735a1fd15/atomics/T1564.002/T1564.002.md#atomic-test-3---create-hidden-user-in-registry author: Nasreddine Bencherchali (Nextron Systems), frack113 date: 2022-07-12 modified: 2023-01-26 tags: - attack.stealth - attack.t1564.002 logsource: category: registry_set product: windows detection: selection: TargetObject|contains: \SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList Details: DWORD (0x00000000) condition: selection falsepositives: - Unknown level: high regression_tests_path: regression_data/rules/windows/registry/registry_set/registry_set_special_accounts/info.yml simulation: - type: atomic-red-team name: Create Hidden User in Registry technique: T1564.002 atomic_guid: 173126b7-afe4-45eb-8680-fa9f6400431c