Join our Newsletter — 33% off our NHI Course
Home› Guides› D3-SCP System Configuration Permissions: Locking Down Who Can…
Guide Endpoint Security

D3-SCP System Configuration Permissions: Locking Down Who Can Change the Registry

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 12 November 2026 13 min read
On this page

Most Windows persistence and many privilege escalation tricks need one thing: write access to a configuration store that the operating system trusts, and on a typical estate far too many accounts and processes have it. MITRE D3FEND names the countermeasure System Configuration Permissions (D3-SCP) and defines it as "Restricting system configuration modifications to a specific user or group of users." It sits under the Harden tactic as a child of Platform Hardening (D3-PH), and its single artefact relation is that it restricts the System Configuration Database, whose only sub-artefact in D3FEND is the Windows Registry. This card explains what D3-SCP covers, which ATT&CK techniques D3FEND relates to it, how to set and audit registry permissions, how to prove the restrictions hold, and where they stop helping. It is written for endpoint engineers, Windows administrators and detection teams; the ATT&CK mitigation view is in M1024 Restrict Registry Permissions, which this page links rather than repeats.

Key takeaways

  • It is an access control on configuration, not a detection. D3-SCP limits who can change the system configuration database. Monitoring is a separate companion step that tells you whether the limits are being tested.
  • The registry is the practical target. D3FEND's only named sub-artefact is the Windows Registry, and its single reference is a Microsoft article on changing registry values and permissions from a script.
  • Write rights are the risk. KEY_SET_VALUE, KEY_CREATE_SUB_KEY, WRITE_DAC and WRITE_OWNER on service, autostart, COM and debugger keys are what persistence techniques need; read rights matter mainly where secrets are stored.
  • Administrators bypass it. Registry ACLs stop standard users and low-privilege services, not an attacker who already holds local administrator or SYSTEM, so D3-SCP only works alongside privileged account management.
  • Verify with ACL baselines and audit events. A scheduled ACL diff on critical keys, plus events 4657 and 4670 from the Audit Registry subcategory, shows whether permissions drifted or were changed.

D3-SCP at a glance

AttributeValue
D3FEND IDD3-SCP (d3f:SystemConfigurationPermissions)
TacticHarden
Parent techniquePlatform Hardening (D3-PH), synonyms "Endpoint Hardening" and "System Hardening"
Siblings under Platform HardeningBootloader Authentication, Disk Encryption, Driver Load Integrity Checking, File Encryption, Hardware-based Write Protection, Physical Enclosure Hardening, Radiation Hardening, Software Update, TPM Boot Integrity
Digital artefactSystem Configuration Database, "A database used to hold system configuration data" (D3FEND relation: restricts). Sub-artefact: Windows Registry
D3FEND referenceMicrosoft: How to change registry values or permissions from a command line or a script (KB 264584)
Knowledge base articleNone yet: D3FEND 1.6.0 marks the entry "write kb-article" (checked November 2026)
Main limitationDoes not constrain administrators or SYSTEM, who can take ownership of any key

How it works

D3FEND gives only the one-line definition, so the mechanics come from the platform. Every registry key carries a security descriptor with an owner, a discretionary ACL (DACL) and an optional system ACL (SACL). Microsoft's registry access rights documentation lists the rights that matter for hardening:

RightWhat it allowsWhy it matters for D3-SCP
KEY_SET_VALUECreate, delete or set a registry valueChanging a service ImagePath, an IFEO Debugger value or a COM server path
KEY_CREATE_SUB_KEYCreate a subkeyAdding a new service, a new IFEO entry or a per-user COM registration
WRITE_DACModify the key's DACLGranting yourself write access, which defeats the control
WRITE_OWNERChange the key's ownerTaking ownership, then rewriting the DACL
DELETEDelete the keyRemoving security configuration
KEY_QUERY_VALUE, KEY_READRead valuesRelevant where credentials or keys are stored in the registry
ACCESS_SYSTEM_SECURITYRead or write the SACLTurning off auditing on a key

Microsoft notes that a key created without an explicit security descriptor inherits its ACLs from its direct parent. That inheritance is the usual source of weak permissions: a vendor installer creates a service or software key under a parent that grants broad write access, and the child inherits it. D3-SCP in practice means finding those keys, removing write, DACL and owner rights for anyone who does not need them, and keeping the result from drifting.

The reference D3FEND cites describes Regini.exe, a Resource Kit tool whose permission changes replace the existing ACL rather than edit it. Microsoft states the Windows 2000 version is no longer supported. Current estates set the same permissions through Group Policy security settings, configuration management or PowerShell ACL cmdlets, as the M1024 Restrict Registry Permissions guidance also describes.

ATT&CK techniques D3FEND relates to D3-SCP

Relationship type: inferred only. D3FEND has no hand-made ATT&CK mapping for D3-SCP. The site lists these techniques because they act on the same artefact the countermeasure restricts, the System Configuration Database, and labels them "inferred and experimental" (D3FEND 1.6.0, checked November 2026). Each ID was checked against ATT&CK v20. The last column is NHI Mgmt Group's view of how much a permission change actually helps.

ATT&CK IDTechniqueD3FEND relation (inferred via artefact)Practical effect of D3-SCP (our view)
T1543.003Windows ServiceModifies System Configuration DatabaseHigh where a service key is writable by non-administrators; locking service keys blocks ImagePath and failure command changes
T1546.012Image File Execution Options InjectionModifies System Configuration DatabaseHigh: IFEO keys under HKLM should be writable only by administrators
T1546.015Component Object Model HijackingModifies System Configuration DatabasePartial: HKLM COM registrations can be locked, but per-user registrations under HKCU are writable by the user by design
T1137.006Add-insMay modify System Configuration DatabasePartial: machine-wide add-in keys can be restricted; per-user add-in settings remain user-writable
T1218.014MMCMay modify System Configuration DatabaseLow: restricts snap-in registration, not execution of .msc files
T1564.003Hidden WindowMay modify System Configuration DatabaseLow: only where the hiding relies on a registry setting
T1564.005Hidden File SystemMay modify System Configuration DatabaseLow: only where configuration of the hidden store is written to the registry
T1548.004Elevated Execution with PromptCreates System Configuration DatabaseLow on Windows: ATT&CK lists this technique for macOS only, where the configuration store is not the registry
T1207Rogue Domain ControllerModifies System Configuration DatabaseIndirect: the relevant permissions are on Active Directory configuration objects, governed by directory ACLs and privileged group membership
T1552.002Credentials in RegistryAccesses System Configuration DatabaseMedium: read restrictions help, but the better fix is not storing credentials in the registry at all
T1012Query RegistryAccesses System Configuration DatabaseLow: most configuration must stay readable for software to work
T1614.001System Language DiscoveryQueries System Configuration DatabaseVery low: language settings are read by every application
T1112Modify RegistrySub-artefact: modifies Windows RegistryHigh for the keys that are locked; the umbrella technique for all registry tampering
T1553.006Code Signing Policy ModificationSub-artefact: may modify Windows RegistryMedium: restricts registry-based policy changes; boot configuration changes are covered by other controls

D3FEND also relates the ICS technique T0894 System Binary Proxy Execution through the same artefact. Treat the table as a list of where configuration write access matters, not as a coverage claim. Technique detail is in MITRE ATT&CK T1112 Modify Registry, the T1543 Create or Modify System Process Defensive Guide, the T1546 Event Triggered Execution Defensive Guide and the MITRE ATT&CK T1552 Unsecured Credentials Guide.

Where it is implemented

Implementation classWhat it providesFits when
Group Policy registry security settingsDACLs on named keys pushed to domain-joined machines from Computer Configuration security settingsActive Directory joined Windows estates; see the Group Policy Security Guide
Security baselinesVendor and CIS baseline settings that include registry permissions and the policy values written to the registryYou want a maintained starting set; see the CIS Benchmarks Guide
Configuration management and scriptsPowerShell ACL cmdlets or desired-state tooling that sets and re-asserts key ACLsCloud-managed or non-domain fleets, and for drift correction
Endpoint management platformsConfiguration profiles that set registry-backed policy values and report complianceModern-managed Windows devices
Endpoint protection tamper featuresProtection of the security product's own registry keys from local changeAlways on for the security stack itself
Non-Windows equivalentsRoot ownership and restrictive modes on system configuration files, with privilege elevation controlled through sudo policyLinux and macOS hosts, where the configuration store is files, not a registry

Where identity fits

The accounts that can change system configuration are privileged identities, and many are non-human: service accounts that run installers, deployment agents, management tools and backup software. A service running as LocalSystem can take ownership of any key and rewrite its ACL, and a deployment account in the local Administrators group on every host makes D3-SCP irrelevant for anyone who steals its credentials. Review which service and automation accounts hold local administrator rights as part of the same work; the M1026 Privileged Account Management page covers that side.

Implementation steps

  1. Pick the critical keys. Start with the keys the related techniques write to: HKLM\SYSTEM\CurrentControlSet\Services, the Image File Execution Options key, the Run and RunOnce keys under HKLM, machine-wide COM CLSID registrations, Office add-in keys, and the configuration keys of security tools.
  2. Baseline the current ACLs. Export the security descriptor (SDDL) of each key from a reference build and from a sample of production hosts. Any grant of KEY_SET_VALUE, KEY_CREATE_SUB_KEY, WRITE_DAC or WRITE_OWNER to Users, Authenticated Users, Everyone or a non-administrative service group is a finding.
  3. Fix inherited weaknesses at the source. Correct the parent key's DACL where installers keep creating weak children, and raise packaging defects with the software vendor.
  4. Turn on auditing before enforcing. Enable the Audit Registry advanced audit subcategory and add SACLs for Set Value, Write DAC and Write Owner on the critical keys only. Microsoft recommends defining SACLs by role first and enabling on critical computers first, because broad SACLs fill the log.
  5. Pilot the restricted ACLs. Apply the new permissions to a pilot ring for two to four weeks. Watch for application errors and audit failures, which reveal legitimate software that writes to a key you locked.
  6. Roll out and re-assert. Deploy through Group Policy or configuration management so that drift is corrected on the next refresh, not only reported.
  7. Keep a rollback. Store the original SDDL per key. Rolling back means re-applying the saved descriptor, not granting Full Control to make an error go away. Note that some tools replace ACLs wholesale, so capture the existing ACL before every change.

How to verify it works

CheckData sourceWhat good looks like
ACL drift scanScheduled export of SDDL on critical keys compared with the baselineNo unapproved write, DACL or owner rights
Value change monitoringEvent 4657 (a registry value was modified), which needs Set Value auditing in the key's SACL; or Sysmon event 13 (Value Set)Changes only from expected processes such as installers and the management agent
Permission change monitoringEvent 4670 (permissions on an object were changed), which needs Write DAC or Write Owner auditing on the key and records old and new SDDLNo permission changes outside change windows
Key create and deleteSysmon event 12 (object create and delete) and event 14 (rename)New service and IFEO entries match approved software
Negative testAn approved test from a standard user context attempting to set a value on each locked keyAccess denied, with a failure audit recorded

Microsoft's monitoring recommendations for 4657 and 4670 are the same pattern: list the processes expected to change each critical key and alert on any other process name, especially one running outside System32 or Program Files. Example metrics (NHI Mgmt Group suggestions, not a standard): percentage of hosts whose critical-key ACLs match the baseline (target close to 100%), count of unexpected 4670 events per month (target zero), time to correct ACL drift (within one policy refresh cycle), and number of service and automation accounts holding local administrator rights (falling).

Limits, bypasses and failure patterns

  • Administrator and SYSTEM access: anyone with these rights can take ownership and rewrite the DACL. D3-SCP raises the bar for standard users and limited services only, so it must be paired with removal of unnecessary local administrator rights.
  • Per-user hives: HKCU is writable by its user by design. Per-user COM hijacking and per-user add-ins sit outside machine-level ACLs and need detection or application control instead.
  • Offline edits: registry hives on an unencrypted disk can be edited offline, ignoring every ACL. Disk encryption and boot integrity close this path; see D3-TBI TPM Boot Integrity.
  • Weak service binary paths: a locked service key still runs whatever file sits at a writable ImagePath. File and directory permissions matter equally; see M1022 Restrict File and Directory Permissions.
  • Breaking software: locking keys that applications legitimately write causes failures that get fixed by granting Everyone Full Control. Pilot rings and audit-first rollout prevent this.
  • Auditing switched off: an attacker with ACCESS_SYSTEM_SECURITY can remove SACLs, so forward events off-host and alert on audit policy changes.

Framework mapping

FrameworkReferenceRelevance
NIST SP 800-53 Rev 5CM-5 Access Restrictions for ChangeThe control D3-SCP implements for configuration stores
NIST SP 800-53 Rev 5CM-6 Configuration Settings, AC-6 Least PrivilegeBaseline settings and limiting who holds write rights
NIST SP 800-53 Rev 5AU-12 Audit Record GenerationRegistry auditing used for verification
NIST CSF 2.0PR.PS-01, PR.AA-05Configuration management practices; access permissions managed and enforced
MITRE ATT&CK mitigationM1024 Restrict Registry PermissionsThe ATT&CK counterpart, which also lists registry auditing and baseline tools
MITRE D3FENDD3-PH, D3-SCPParent and technique
  • Registry Key Deletion (D3-RKD): the eviction counterpart that removes malicious keys once found. See D3-RKD Registry Key Deletion.
  • Driver Load Integrity Checking (D3-DLIC) and TPM Boot Integrity (D3-TBI): sibling Platform Hardening techniques that protect the boot and kernel path that registry ACLs cannot.
  • Software Update (D3-SU): a sibling that removes vulnerable components whose installers often create weak keys.
  • The parent, Platform Hardening (D3-PH), is summarised in the MITRE D3FEND Guide.

Practitioner checklist

  • List the critical keys: Services, IFEO, HKLM Run and RunOnce, machine COM registrations, Office add-ins, security tool keys.
  • Export and store the baseline SDDL for each key.
  • Remove KEY_SET_VALUE, KEY_CREATE_SUB_KEY, WRITE_DAC and WRITE_OWNER from non-administrative principals.
  • Enable the Audit Registry subcategory with targeted SACLs only.
  • Collect 4657, 4670 and Sysmon 12, 13 and 14 events off-host.
  • Deploy permissions through Group Policy or configuration management so drift is corrected.
  • Remove unnecessary local administrator rights from users, service and automation accounts.
  • Stop storing credentials in the registry rather than relying on read ACLs.
  • Run a negative test per locked key after each baseline change.

Standards and references

Related NHI Mgmt Group resources: M1024 Restrict Registry Permissions · MITRE ATT&CK T1112 Modify Registry · Group Policy Security Guide · Least Privilege Techniques Guide · MITRE D3FEND Guide

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 12 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org