Techniques › T1112
T1112 Modify Registry
defense impairment · persistence — Windows · attack.mitre.org · JSON
1
MITRE detection strategy
1
analytics
96
Sigma rules tagged attack.t1112
4
KEV CVEs mapped here
<p>Adversaries may interact with the Windows Registry as part of a variety of other techniques to aid in defense evasion, persistence, and execution.</p><p>Access to specific areas of the Registry depends on account permissions, with some keys requiring administrator-level access. The built-in Windows command-line utility Reg may be used for local or remote Registry modification. Other tools, such as remote access tools, may also contain functionality to interact with the Registry through the Windows API.</p><p>The Registry may be modified in order to hide configuration information or malicious payloads via Obfuscated Files or Information. The Registry may also be modified to impair defenses, such as by enabling macros for all Microsoft Office products, allowing privilege escalation without alerting the user, increasing the maximum number of allowed outbound requests, and/or modifying systems to store plaintext credentials in memory.</p><p>The Registry of a remote system may be modified to aid in execution of files as part of lateral movement. It requires the remote Registry service to be running on the target system. Often Valid Accounts are required, along with access to the remote system's SMB/Windows Admin Shares for RPC communication.</p><p>Finally, Registry modifications may also include actions to hide keys, such as prepending key names with a null character, which will cause an error and/or be ignored when read via Reg or other utilities using the Win32 API. Adversaries may abuse these pseudo-hidden keys to conceal payloads/commands used to maintain persistence.</p>
KEV CVEs mapped to this technique · CTID Mappings Explorer
| CVE | Vendor / product | Mapping type | State | Added |
|---|---|---|---|---|
| CVE-2025-30400 | Microsoft Windows | primary impact | Mapped | 2025-05-13 |
| CVE-2024-26169 | Microsoft Windows | exploitation technique | Mapped | 2024-06-13 |
| CVE-2024-4577 | PHP Group PHP | secondary impact | Mapped | 2024-06-12 |
| CVE-2023-38831 | RARLAB WinRAR | secondary impact | Mapped | 2023-08-24 |
Detection strategy · ATT&CK Enterprise v19.2
- DET0280 Behavior-Based Registry Modification Detection on Windows v1.0
AN0781 WindowsBehavior chain involving abnormal registry modifications via CLI, PowerShell, WMI, or direct API calls, especially targeting persistence, privilege escalation, or defense evasion keys, potentially followed by service restart or process execution. Such as editing Notify/Userinit/Startup keys, or disabling SafeDllSearchMode.Tunable:
RegistryKeyPathPatternsParentProcessAllowListTimeWindowSignatureCheck
Sigma rules · SigmaHQ da9bb07d64, tag attack.t1112
Author: Austin Songer
· 2021-07-22 (modified 2023-08-17) · logsource: product=windows category=registry_set · 04b45a8a-d11d-49e4-9acc-4a1b524407a5
Detects when a user enables DNS-over-HTTPS.
This can be used to hide internet activity or be used to hide the process of exfiltrating data.
With this enabled organization will lose visibility into data such as query type, response and originating IP that are used to determine bad actors.
Author: Christian Burkard (Nextron Systems)
· 2021-10-19 (modified 2023-02-08) · logsource: product=windows category=registry_delete · 07bdd2f5-9c58-4f38-aec8-e101bb79ef8d
Detects the deletion of registry keys containing the MSTSC connection history
Author: Oddvar Moe, Sander Wiebing, oscd.community
· 2020-10-12 (modified 2024-03-13) · logsource: product=windows category=process_creation · 0b80ade5-6997-4b1d-99a1-71701778ea61
Detects the import of a alternate datastream to the registry with regedit.exe.
Author: frack113
· 2022-08-19 (modified 2023-08-17) · logsource: product=windows category=registry_set · 0c93308a-3f1b-40a9-b649-57ea1a1c1d63
Detect set Notification_Suppress to 1 to disable the Windows security center notification
Author: pH-T (Nextron Systems), @Kostastsale, TheDFIRReport
· 2022-02-12 (modified 2025-11-22) · logsource: product=windows category=process_creation · 0d5675be-bc88-4172-86d3-1e96a4476536
Detects the execution of "reg.exe" for enabling/disabling the RDP service on the host by tampering with the 'CurrentControlSet\Control\Terminal Server' values
Author: Swachchhanda Shrawan Poudel
· 2024-07-31 · logsource: product=windows category=registry_set · 16a4c7b3-4681-49d0-8d58-3e9b796dcb43
Detects registry modifications related to the proxy configuration of the system, potentially associated with the Raspberry Robin malware, as seen in campaigns running in Q1 2024.
Raspberry Robin may alter proxy settings to circumvent security measures, ensuring unhindered connection with Command and Control servers for maintaining control over compromised systems if there are any proxy settings that are blocking connections.
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
· 2020-07-14 (modified 2025-10-22) · logsource: product=windows service=security · 18beca67-ab3e-4ee3-ba7a-a46ca8d7d0cc
Potential threat actor tampering with Sysmon manifest and eventually disabling it
Author: Avneet Singh @v3t0_, oscd.community, Christopher Peacock @SecurePeacock (updated)
· 2020-10-18 (modified 2022-12-13) · logsource: product=windows category=process_creation · 198effb6-6c98-4d0c-9ea3-451fa143c45c
This rule detects the execution of Run Once task as configured in the registry
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
· 2019-08-25 (modified 2021-11-27) · logsource: product=windows category=registry_event · 1a2d6c47-75b0-45bd-b133-2c0be75349fd
Detects potential malicious modification of the property value of IsCredGuardEnabled from
HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\WDigest to disable Cred Guard on a system.
This is usually used with UseLogonCredential to manipulate the caching credentials.
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
· 2025-04-09 · logsource: product=windows category=process_creation · 1a4bd6af-99ac-4466-b5b2-7b72b4a05462
Detects attempts to disable security event logging by adding the `MiniNt` registry key.
This key is used to disable the Windows Event Log service, which collects and stores event logs from the operating system and applications.
Adversaries may want to disable this service to prevent logging of security events that could be used to detect their activities.
Author: Trent Liffick (@tliffick), Nasreddine Bencherchali (Nextron Systems)
· 2020-05-22 (modified 2023-08-17) · logsource: product=windows category=registry_set · 1a5c46e9-f32f-42f7-b2bc-6e9084db7fbf
Detects registry changes to Microsoft Office "AccessVBOM" to a value of "1" which disables trust access for VBA on the victim machine and lets attackers execute malicious macros without any Microsoft Office warnings.
Author: frack113
· 2022-03-18 (modified 2023-08-17) · logsource: product=windows category=registry_set · 1c3121ed-041b-4d97-a075-07f54f20fb4a
Detects registry modifications that disable internal tools or functions in explorer (malware like Agent Tesla uses this technique)
Author: Hieu Tran
· 2023-03-13 · logsource: product=windows category=registry_event · 1c8e96cd-2bed-487d-9de0-b46c90cade56
Detects a registry key used by IceID in a campaign that distributes malicious OneNote files
Author: Christopher Peacock
· 2021-10-07 (modified 2025-11-03) · logsource: product=windows category=registry_add · 1d218616-71b0-4c40-855b-9dbe75510f7f
Detects registry keys related to NetWire RAT
Author: megan201296
· 2019-02-13 (modified 2025-10-22) · logsource: product=windows category=registry_add · 21f17060-b282-4249-ade0-589ea3591558
Detects registry keys related to Ursnif malware.
Author: frack113
· 2022-08-19 (modified 2023-08-17) · logsource: product=windows category=registry_set · 275641a5-a492-45e2-a817-7c81e9d9d3e9
Detect set DisallowRun to 1 to prevent user running specific computer program
Author: Nasreddine Bencherchali (Nextron Systems), Florian Roth (Nextron Systems)
· 2022-05-02 (modified 2024-03-25) · logsource: product=windows category=registry_set · 277dc340-0540-42e7-8efb-5ff460045e07
Detects the setting of the "ImagePath" value of a service registry key to a path controlled by a non-administrator user such as "\AppData\" or "\ProgramData\".
Attackers often use such directories for staging purposes.
This rule might also trigger on badly written software, where if an attacker controls an auto starting service, they might achieve persistence or privilege escalation.
Note that while ProgramData is a user controlled folder, software might apply strict ACLs which makes them only accessible to admin users. Remove such folders via filters if you experience a lot of noise.
Author: frack113
· 2022-11-18 (modified 2023-08-17) · logsource: product=windows category=registry_set · 28036918-04d3-423d-91c0-55ecf99fb892
Detects changes to the NGenAssemblyUsageLog registry key.
.NET Usage Log output location can be controlled by setting the NGenAssemblyUsageLog CLR configuration knob in the Registry or by configuring an environment variable (as described in the next section).
By simplify specifying an arbitrary value (e.g. fake output location or junk data) for the expected value, a Usage Log file for the .NET execution context will not be created.
Author: frack113
· 2023-01-13 (modified 2025-08-28) · logsource: product=windows category=process_creation · 28ac00d6-22d9-4a3c-927f-bbd770104573
Detects changes to the "DisableRestrictedAdmin" registry value in order to disable or enable RestrictedAdmin mode.
RestrictedAdmin mode prevents the transmission of reusable credentials to the remote system to which you connect using Remote Desktop.
This prevents your credentials from being harvested during the initial connection process if the remote server has been compromise
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
· 2025-08-13 · logsource: product=windows category=ps_script · 2a0a169d-cc66-43ce-9ae2-6e678e54e46a
Detects attempts to modify the registry using VBScript's CreateObject("Wscript.shell") and RegWrite methods embedded within PowerShell scripts or commands.
Threat actors commonly embed VBScript code within PowerShell to perform registry modifications, attempting to evade detection that monitors for direct registry access through traditional tools.
This technique can be used for persistence, defense evasion, and privilege escalation by modifying registry keys without using regedit.exe, reg.exe, or PowerShell's native registry cmdlets.
Author: Tobias Michalski (Nextron Systems)
· 2022-02-24 (modified 2023-08-17) · logsource: product=windows category=registry_set · 2ff692c2-4594-41ec-8fcb-46587de769e0
Detects disabling the CrashDump per registry (as used by HermeticWiper)
Author: frack113
· 2023-09-15 (modified 2024-07-29) · logsource: product=windows category=file_access · 337a31c6-46c4-46be-886a-260d7aa78cac
Detects file access requests to files ending with either the ".hive"/".reg" extension, usually associated with Windows Registry backups.
Author: Sagie Dulce, Dekel Paz
· 2022-01-01 · logsource: product=rpc_firewall category=application · 35c55673-84ca-4e99-8d09-e334f3c29539
Detects remote RPC calls to modify the registry and possible execute code
Author: frack113
· 2022-08-19 (modified 2023-08-17) · logsource: product=windows category=registry_set · 37b437cf-3fc5-4c8e-9c94-1d7c9aff842b
Detect enable rdp feature to allow specific user to rdp connect on the targeted machine
Author: frack113
· 2022-08-19 (modified 2023-08-17) · logsource: product=windows category=registry_set · 3ae1a046-f7db-439d-b7ce-b8b366b81fa6
Detect set UseActionCenterExperience to 0 to disable the Windows security center notification
Author: Samir Bousseaden, David ANDRE, Roberto Rodriguez @Cyb3rWard0g, Nasreddine Bencherchali
· 2022-08-06 (modified 2025-11-22) · logsource: product=windows category=registry_set · 3f6b7b62-61aa-45db-96bd-9c31b36b653c
Detects tampering of RDP Terminal Service/Server sensitive settings.
Such as allowing unauthorized users access to a system via the 'fAllowUnsolicited' or enabling RDP via 'fDenyTSConnections', etc.
Below is a list of registry keys/values that are monitored by this rule:
- Shadow: Used to enable Remote Desktop shadowing, which allows an administrator to view or control a user's session.
- DisableRemoteDesktopAntiAlias: Disables anti-aliasing for remote desktop sessions.
- DisableSecuritySettings: Disables certain security settings for Remote Desktop connections.
- fAllowUnsolicited: Allows unsolicited remote assistance offers.
- fAllowUnsolicitedFullControl: Allows unsolicited remote assistance offers with full control.
- InitialProgram: Specifies a program to run automatically when a user logs on to a remote computer.
- ServiceDll: Used in RDP hijacking techniques to specify a custom DLL to be loaded by the Terminal Services service.
- SecurityLayer: Specifies the security layer used for RDP connections.
Author: Tobias Michalski (Nextron Systems), David Bertho (@dbertho) & Eirik Sveen (@0xSV1), Storebrand
· 2021-06-10 (modified 2024-08-07) · logsource: product=windows category=registry_set · 487bb375-12ef-41f6-baae-c6a1572b4dd1
Detects potential persistence activity via outlook today page.
An attacker can set a custom page to execute arbitrary code and link to it via the registry values "URL" and "UserDefinedUrl".
Author: megan201296, Jonhnathan Ribeiro
· 2019-04-14 (modified 2023-09-28) · logsource: product=windows category=registry_event · 4ac5fc44-a601-4c06-955b-309df8c4e9d4
Detects registry keys created in OceanLotus (also known as APT32) attacks
Author: Nasreddine Bencherchali (Nextron Systems)
· 2022-12-09 (modified 2023-08-17) · logsource: product=windows category=registry_set · 4f281b83-0200-4b34-bf35-d24687ea57c2
Detects changes to the "TracingDisabled" key in order to disable ETW logging for services.exe (SCM)
Author: NVISO
· 2020-06-09 (modified 2024-03-20) · logsource: product=windows category=registry_event · 5118765f-6657-4ddb-a487-d7bd673abbf1
Detects FlowCloud malware registry markers from threat group TA410.
The malware stores its configuration in the registry alongside drivers utilized by the malware's keylogger components.
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-08-16 · logsource: product=windows category=registry_set · 53330955-dc52-487f-a3a2-da24dcff99b5
Detects setting of a new registry database value related to BgInfo configuration. Attackers can for example set this value to save the results of the commands executed by BgInfo in order to exfiltrate information.
Author: Florian Roth (Nextron Systems), Markus Neis, Jonhnathan Ribeiro, Daniil Yugoslavskiy, oscd.community
· 2018-03-23 (modified 2023-03-08) · logsource: product=windows service=system · 53ba33fd-3a50-4468-a5ef-c583635cfa92
Detects OilRig schedule task persistence as reported by Nyotron in their March 2018 report
Author: frack113
· 2022-03-18 (modified 2023-08-17) · logsource: product=windows category=registry_set · 5a93eb65-dffa-4543-b761-94aa60098fb6
Detects registry modifications that hide internal tools or functions from the user (malware like Agent Tesla, Hermetic Wiper uses this technique)
Author: Alexander Rausch
· 2020-06-24 (modified 2021-11-27) · logsource: product=windows category=registry_event · 5b175490-b652-4b02-b1de-5b5b4083c5f8
Detects actions caused by the RedMimicry Winnti playbook
Author: Eli Salem, Sander Wiebing, oscd.community
· 2020-10-08 (modified 2023-02-08) · logsource: product=windows category=process_creation · 5f60740a-f57b-4e76-82a1-15b6ff2cb134
Detects the execution of regini.exe which can be used to modify registry keys, the changes are imported from one or more text files.
Author: frack113, Nasreddine Bencherchali
· 2022-08-01 (modified 2023-02-05) · logsource: product=windows category=process_creation · 62e0298b-e994-4189-bc87-bc699aa62d97
Detects the import of '.reg' files from suspicious paths using the 'reg.exe' utility
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-02-08 (modified 2023-08-17) · logsource: product=windows category=registry_set · 6763c6c8-bd01-4687-bc8d-4fa52cf8ba08
Detects an attacker trying to enable the outlook security setting "EnableUnsafeClientMailRules" which allows outlook to run applications or execute macros
Author: Teymur Kheirkhabarov, oscd.community
· 2019-10-22 (modified 2023-12-15) · logsource: product=windows service=security · 68fcba0d-73a5-475e-a915-e8b4c576827e
Remote registry management using REG utility from non-admin workstation
Author: Oddvar Moe, Sander Wiebing, oscd.community
· 2020-10-07 (modified 2024-03-13) · logsource: product=windows category=process_creation · 73bba97f-a82d-42ce-b315-9182e76c57b1
Detects the import of the specified file to the registry with regedit.exe.
Author: Eli Salem, Sander Wiebing, oscd.community
· 2020-10-12 (modified 2023-02-08) · logsource: product=windows category=process_creation · 77946e79-97f1-45a2-84b4-f37b5c0d8682
Detects the import of an alternate data stream with regini.exe, regini.exe can be used to modify registry keys.
Author: Florian Roth (Nextron Systems), Markus Neis, Jonhnathan Ribeiro, Daniil Yugoslavskiy, oscd.community
· 2018-03-23 (modified 2023-03-08) · logsource: product=windows category=registry_event · 7bdf2a7c-3acc-4091-9581-0a77dad1c5b5
Detects OilRig registry persistence as reported by Nyotron in their March 2018 report
Author: EagleEye Team, Florian Roth (Nextron Systems), NVISO
· 2020-05-13 (modified 2024-03-25) · logsource: product=windows category=registry_set · 7ec912f2-5175-4868-b811-ec13ad0f8567
Detects changes to the "Ports" registry key with data that includes a Windows path or a file with a suspicious extension.
This could be an attempt to exploit CVE-2020-1048 - a Windows Print Spooler elevation of privilege vulnerability.
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
· 2025-08-13 (modified 2026-04-14) · logsource: product=windows category=registry_event · 7f4c43f9-b1a5-4c7d-b24a-b41bf3a3ebf2
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.
Author: frack113
· 2022-01-24 (modified 2025-10-21) · logsource: product=windows category=registry_set · 83314318-052a-4c90-a1ad-660ece38d276
Detects specific windows registry modifications made by BlackByte ransomware variants.
BlackByte set three different registry values to escalate privileges and begin setting the stage for lateral movement and encryption.
This rule triggers when any of the following registry keys are set to DWORD 1, however all three should be investigated as part of a larger BlackByte ransomware detection and response effort.
Author: Nasreddine Bencherchali (Nextron Systems), Stephen Lincoln @slincoln-aiq (AttackIQ)
· 2023-12-21 (modified 2025-10-17) · logsource: product=windows category=registry_set · 85b88e05-dadc-430b-8a9e-53ff1cd30aae
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.
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
· 2025-04-09 · logsource: product=windows category=registry_set · 8839e550-52d7-4958-9f2f-e13c1e736838
Detects the addition of the 'MiniNt' key to the registry. Upon a reboot, Windows Event Log service will stop writing events.
Windows Event Log is a service that collects and stores event logs from the operating system and applications. It is an important component of Windows security and auditing.
Adversary may want to disable this service to disable logging of security events which could be used to detect their activities.
Author: Stephen Lincoln @slincoln-aiq (AttackIQ)
· 2023-12-21 · logsource: product=windows category=process_creation · 8cbc9475-8d05-4e27-9c32-df960716c701
Detects the execution of "reg.exe" to alter registry keys 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.
Author: Teymur Kheirkhabarov (idea), Ryan Plas (rule), oscd.community
· 2020-10-05 (modified 2024-12-01) · logsource: product=windows category=process_creation · 8f02c935-effe-45b3-8fc9-ef8696a9e41d
Search for usage of reg or Powershell by non-privileged users to modify service configuration in registry
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
· 2026-01-05 · logsource: product=windows category=process_creation · 8f3ab69a-aa22-4943-aa58-e0a52fdf6818
Detects modifications to User Shell Folders registry values via reg.exe or PowerShell, which could indicate persistence attempts.
Attackers may modify User Shell Folders registry values to point to malicious executables or scripts that will be executed during startup.
This technique is often used to maintain persistence on a compromised system by ensuring that malicious payloads are executed automatically.
Author: Nasreddine Bencherchali (Nextron Systems)
· 2022-12-09 (modified 2023-08-17) · logsource: product=windows category=registry_set · 90f342e1-1aaa-4e43-b092-39fda57ed11e
Detects changes to the "ExtErrorInformation" key in order to disable ETW logging for rpcrt4.dll
Author: Trent Liffick (@tliffick), Nasreddine Bencherchali (Nextron Systems)
· 2020-05-22 (modified 2024-03-19) · logsource: product=windows category=registry_set · 91239011-fe3c-4b54-9f24-15c86bb65913
Detects registry changes to Microsoft Office "VBAWarning" to a value of "1" which enables the execution of all macros, whether signed or unsigned.
Author: Ilyas Ochkov, oscd.community
· 2019-10-25 (modified 2021-11-27) · logsource: product=windows category=registry_event · 919f2ef0-be2d-4a7a-b635-eb2b41fde044
Detects the addition of a key 'MiniNt' to the registry. Upon a reboot, Windows Event Log service will stop writing events.
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
· 2025-08-13 · logsource: product=windows category=process_creation · 921aa10f-2e74-4cca-9498-98f9ca4d6fdf
Detects attempts to modify the registry using VBScript's CreateObject("Wscript.shell") and RegWrite methods via common LOLBINs.
It could be an attempt to modify the registry for persistence without using straightforward methods like regedit.exe, reg.exe, or PowerShell.
Threat Actors may use this technique to evade detection by security solutions that monitor for direct registry modifications through traditional tools.
Author: Trent Liffick (@tliffick)
· 2020-05-14 (modified 2023-08-17) · logsource: product=windows category=registry_set · 92b0b372-a939-44ed-a11b-5136cf680e27
Attempts to detect system changes made by Blue Mockingbird
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
· 2020-05-02 (modified 2025-10-07) · logsource: product=windows category=registry_delete · 96f697b0-b499-4e5d-9908-a67bec11cdb6
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.
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-12-15 (modified 2023-12-22) · logsource: product=windows category=process_creation · 98dedfdd-8333-49d4-9f23-d7018cccae53
Detects changes to the "NoLMHash" registry value in order to allow Windows to store LM Hashes.
By setting this registry value to "0" (DWORD), Windows will be allowed to store a LAN manager hash of your password in Active Directory and local SAM databases.
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-08-16 · logsource: product=windows category=registry_set · 992dd79f-dde8-4bb0-9085-6350ba97cfb3
Detects setting of a new registry value related to BgInfo configuration, which can be abused to execute custom VBScript via "BgInfo.exe"
Author: Dimitrios Slamaris
· 2017-05-15 (modified 2023-08-17) · logsource: product=windows category=registry_set · 9d3436ef-9476-4c43-acca-90ce06bdf33a
Detects the installation of a Callout DLL via CalloutDlls and CalloutEnabled parameter in Registry, which can be used to execute code in context of the DHCP server (restart required)
Author: frack113
· 2022-07-17 (modified 2022-12-30) · logsource: product=windows category=registry_set · 9e3357ba-09d4-4fbd-a7c5-ad6386314513
Detect possible persistence using Fax DLL load when service restart
Author: Florian Roth (Nextron Systems), frack113
· 2022-05-02 (modified 2025-10-07) · logsource: product=windows category=registry_set · a07f0359-4c90-4dc4-a681-8ffea40b4f47
Detect the creation of a service with a service binary located in a suspicious directory
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-06-21 (modified 2023-08-17) · logsource: product=windows category=registry_set · a0bed973-45fa-4625-adb5-6ecdf9be70ac
Detects changes to the registry keys related to "Trusted Location" of Microsoft Office. Attackers might add additional trusted locations to avoid macro security restrictions.
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-06-21 (modified 2023-08-17) · logsource: product=windows category=registry_set · a166f74e-bf44-409d-b9ba-ea4b2dd8b3cd
Detects registry changes to Office trust records where the path is located in a potentially suspicious location
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-02-17 (modified 2023-03-05) · logsource: product=windows category=registry_set · a1e11042-a74a-46e6-b07c-c4ce8ecc239b
Detects potential registry persistence technique using the Event Viewer "Events.asp" technique
Author: Samir Bousseaden, David ANDRE, Roberto Rodriguez @Cyb3rWard0g, Nasreddine Bencherchali
· 2022-09-29 (modified 2022-11-26) · logsource: product=windows category=registry_set · a2863fbc-d5cb-48d5-83fb-d976d4b1743b
Detects tampering of RDP Terminal Service/Server sensitive settings.
Such as allowing unauthorized users access to a system via the 'fAllowUnsolicited' or enabling RDP via 'fDenyTSConnections', etc.
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
· 2020-06-05 (modified 2022-12-20) · logsource: product=windows service=security · a4c90ea1-2634-4ca0-adbb-35eae169b6fc
Potential adversaries stopping ETW providers recording loaded .NET assemblies.
Author: @SerkinValery, Nasreddine Bencherchali (Nextron Systems)
· 2023-06-12 (modified 2023-08-17) · logsource: product=windows category=registry_set · ac9159cc-c364-4304-8f0a-d63fc1a0aabb
Detects changes to the ClickOnce trust prompt registry key in order to enable an installation from different locations such as the Internet.
Author: Florian Roth (Nextron Systems)
· 2021-02-01 · logsource: product=windows category=process_creation · b0524451-19af-4efa-a46f-562a977f792e
Detects actions that clear the local ShimCache and remove forensic evidence
Author: Konstantin Grishchenko, oscd.community
· 2020-10-06 (modified 2021-11-27) · logsource: product=windows category=process_creation · b7b19cb6-9b32-4fc4-a108-73f19acfe262
Detect VBoxDrvInst.exe run with parameters allowing processing INF file.
This allows to create values in the registry and install drivers.
For example one could use this technique to obtain persistence via modifying one of Run or RunOnce registry keys
Author: frack113, Nasreddine Bencherchali (Nextron Systems)
· 2022-08-19 (modified 2022-10-10) · logsource: product=windows category=process_creation · b7e2a8d4-74bb-4b78-adc9-3f92af2d4829
Detects when an adversary uses the reg.exe utility to add or modify new keys or subkeys
Author: X__Junior
· 2025-01-16 (modified 2025-08-16) · logsource: product=windows category=registry_set · ba226dcf-d390-4642-b9af-b534872f1156
Detects changes to the Windows EventLog channel permission values. It focuses on changes to the Security Descriptor Definition Language (SDDL) string, as modifications to these values can restrict access to specific users or groups, potentially aiding in defense evasion by controlling who can view or modify a event log channel. Upon execution, the user shouldn't be able to access the event log channel via the event viewer or via utilities such as "Get-EventLog" or "wevtutil".
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
· 2020-06-05 (modified 2023-08-17) · logsource: product=windows category=registry_set · bf4fc428-dcc3-4bbd-99fe-2422aeee2544
Potential adversaries stopping ETW providers recording loaded .NET assemblies.
Author: Florian Roth (Nextron Systems), Markus Neis, Jonhnathan Ribeiro, Daniil Yugoslavskiy, oscd.community
· 2018-03-23 (modified 2023-03-08) · logsource: product=windows service=security · c0580559-a6bd-4ef6-b9b7-83703d98b561
Detects OilRig schedule task persistence as reported by Nyotron in their March 2018 report
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
· 2026-01-24 · logsource: product=windows category=registry_set · c0e0bdec-3e3d-47aa-9974-05539c999c89
Detects registry modifications related to 'OracleOciLib' and 'OracleOciLibPath' under 'MSDTC' settings.
Threat actors may modify these registry keys to redirect the loading of 'oci.dll' to a malicious DLL, facilitating phantom DLL hijacking via the MSDTC service.
Author: Trent Liffick (@tliffick)
· 2020-05-14 (modified 2022-10-09) · logsource: product=windows category=process_creation · c3198a27-23a0-4c2c-af19-e5328d49680e
Attempts to detect system changes made by Blue Mockingbird
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-12-15 · logsource: product=windows category=registry_set · c420410f-c2d8-4010-856b-dffe21866437
Detects changes to the "NoLMHash" registry value in order to allow Windows to store LM Hashes.
By setting this registry value to "0" (DWORD), Windows will be allowed to store a LAN manager hash of your password in Active Directory and local SAM databases.
Author: Daniel Koifman (KoifSec)
· 2025-07-30 (modified 2026-06-19) · logsource: product=windows category=process_creation · c453ab7a-1f5c-4716-a3b4-dea8135fb43a
Detects the usage of wmic.exe to modify Windows registry via the WMI StdRegProv class write methods (CreateKey, DeleteKey, SetStringValue, etc.).
This behaviour could be potentially suspicious because it uses an alternative method to modify registry keys instead of legitimate registry tools like reg.exe or regedit.exe.
Attackers specifically choose this technique to evade detection and bypass security monitoring focused on traditional registry modification commands.
Author: Avneet Singh @v3t0_, oscd.community
· 2020-11-15 (modified 2024-03-25) · logsource: product=windows category=registry_event · c74d7efc-8826-45d9-b8bb-f04fac9e4eff
Rule to detect the configuration of Run Once registry key. Configured payload can be run by runonce.exe /AlternateShellStartup
Author: Swachchhanda Shrawan Poudel (Nextron Systems)
· 2026-07-23 · logsource: product=windows category=image_load · c9e5f013-4a6f-4d8c-9b0e-f7a4c3d26e95
Detects potentially suspicious loading of the Offline Registry Library (offreg.dll).
Offreg.dll enables direct read/write access to offline registry hives without invoking the Windows Registry API,
bypassing its associated audit logging and telemetry. Attackers may abuse this to stealthily modify registry hives
while evading detection mechanisms that rely on standard registry event logs.
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-08-16 · logsource: product=windows category=registry_set · cd277474-5c52-4423-a52b-ac2d7969902f
Detects setting of a new registry value related to BgInfo configuration, which can be abused to execute custom WMI query via "BgInfo.exe"
Author: Florian Roth (Nextron Systems), Markus Neis, Jonhnathan Ribeiro, Daniil Yugoslavskiy, oscd.community
· 2018-03-23 (modified 2023-03-08) · logsource: product=windows category=process_creation · ce6e34ca-966d-41c9-8d93-5b06c8b97a06
Detects OilRig activity as reported by Nyotron in their March 2018 report
Author: Florian Roth (Nextron Systems), wagga
· 2018-03-20 (modified 2022-10-09) · logsource: product=windows service=security · d3abac66-f11c-4ed0-8acb-50cc29c97eed
Detects NetNTLM downgrade attack
Author: Florian Roth (Nextron Systems), wagga, Nasreddine Bencherchali (Splunk STRT)
· 2018-03-20 (modified 2024-12-03) · logsource: product=windows category=registry_event · d67572a0-e2ec-45d6-b8db-c100d14b8ef2
Detects NetNTLM downgrade attack
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research)
· 2019-09-12 (modified 2023-08-17) · logsource: product=windows category=registry_set · d6a9b252-c666-4de6-8806-5561bbbd3bdc
Detects potential malicious modification of the property value of UseLogonCredential from HKLM:\SYSTEM\CurrentControlSet\Control\SecurityProviders\WDigest to enable clear-text credentials
Author: frack113
· 2023-01-13 (modified 2024-08-23) · logsource: product=windows category=registry_set · d6ce7ebd-260b-4323-9768-a9631c8d4db2
Detects changes to the "DisableRestrictedAdmin" registry value in order to disable or enable RestrictedAdmin mode.
RestrictedAdmin mode prevents the transmission of reusable credentials to the remote system to which you connect using Remote Desktop.
This prevents your credentials from being harvested during the initial connection process if the remote server has been compromise
Author: frack113
· 2022-01-22 (modified 2025-10-22) · logsource: product=windows category=registry_set · d88d0ab2-e696-4d40-a2ed-9790064e66b3
Detects modification of the registry settings used for Internet Explorer and other Windows components that use these settings. An attacker can abuse this registry key to add a domain to the trusted sites Zone or insert JavaScript for persistence
Author: frack113, Swachchhanda Shrawan Poudel (Nextron Systems)
· 2021-12-20 (modified 2026-01-24) · logsource: product=windows category=process_creation · dd3ee8cc-f751-41c9-ba53-5a32ed47e563
Detects registry modifications to the 'ms-settings' protocol handler, which is frequently targeted for UAC bypass or persistence.
Attackers can modify this registry to execute malicious code with elevated privileges by hijacking the command execution path.
Author: Tobias Michalski (Nextron Systems), David Bertho (@dbertho) & Eirik Sveen (@0xSV1), Storebrand
· 2021-06-09 (modified 2024-08-07) · logsource: product=windows category=registry_set · ddd171b5-2cc6-4975-9e78-f0eccd08cc76
Detects potential persistence activity via outlook home page.
An attacker can set a home page to achieve code execution and persistence by editing the WebView registry keys.
Author: frack113, Nasreddine Bencherchali (Nextron Systems), CrimpSec
· 2022-03-18 (modified 2025-06-04) · logsource: product=windows category=registry_set · e2482f8d-3443-4237-b906-cc145d87a076
Detects registry modifications that change features of internal Windows tools (malware like Agent Tesla uses this technique)
Author: frack113
· 2022-07-17 (modified 2022-12-30) · logsource: product=windows category=registry_set · e3fdf743-f05b-4051-990a-b66919be1743
Detect change of the user account associated with the FAX service to avoid the escalation problem.
Author: Florian Roth (Nextron Systems)
· 2017-05-08 (modified 2023-08-17) · logsource: product=windows category=registry_set · e61e8a88-59a9-451c-874e-70fcc9740d67
Detects the installation of a DNS plugin DLL via ServerLevelPluginDll parameter in registry, which can be used to execute code in context of the DNS server (restart required)
Author: Florian Roth (Nextron Systems)
· 2017-05-08 (modified 2023-02-05) · logsource: product=windows category=process_creation · f63b56ee-3f79-4b8a-97fb-5c48007e8573
Detects the installation of a DNS plugin DLL via ServerLevelPluginDll parameter in registry, which can be used to execute code in context of the DNS server (restart required)
Author: Nasreddine Bencherchali (Nextron Systems)
· 2023-06-21 (modified 2023-09-29) · logsource: product=windows category=registry_set · f742bde7-9528-42e5-bd82-84f51a8387d2
Detects changes to registry keys related to "Trusted Location" of Microsoft Office where the path is set to something uncommon. Attackers might add additional trusted locations to avoid macro security restrictions.
Author: Nasreddine Bencherchali (Nextron Systems)
· 2022-09-09 (modified 2023-08-17) · logsource: product=windows category=registry_set · f7997770-92c3-4ec9-b112-774c4ef96f96
Detects when the 'AllowMultipleTSSessions' value is enabled.
Which allows for multiple Remote Desktop connection sessions to be opened at once.
This is often used by attacker as a way to connect to an RDP session without disconnecting the other users
Author: Trent Liffick
· 2020-05-08 (modified 2021-11-27) · logsource: product=windows category=registry_event · f7f9ab88-7557-4a69-b30e-0a8f91b3a0e7
Detects the presence of a registry key created during Azorult execution
Author: Nasreddine Bencherchali (Nextron Systems)
· 2022-05-30 (modified 2023-05-12) · logsource: product=windows category=registry_set · fdbf0b9d-0182-4c43-893b-a1eaab92d085
Detects potential persistence activity via the registering of a new custom protocole handlers. While legitimate applications register protocole handlers often times during installation. And attacker can abuse this by setting a custom handler to be used as a persistence mechanism.
Author: frack113
· 2022-04-02 (modified 2023-08-17) · logsource: product=windows category=registry_set · fecfd1a1-cc78-4313-a1ea-2ee2e8ec27a7
Detects changes to the registry for the currently logged-in user. In order to disable PowerShell module logging, script block logging or transcription and script execution logging