All lessons Leer en español

Security in depth · Unit 22 · Lesson 40 of 44

Registry settings have their own permissions

Compare a configuration key's effective permissions with the distinct duties of support and release roles.

3 minreadyShort lesson

Helpful before thisWindows privilege escalation

See all lessons in this topic

After this lesson you can

  • Identify an unnecessary registry modification grant while preserving approved visibility.

Configuration has its own boundary

A registry key is a securable Windows object that contains configuration values and may contain subkeys. Its security descriptor governs access. Reading values and changing them are different operations: KEY_QUERY_VALUE permits querying values, while KEY_SET_VALUE permits setting them. Creating subkeys is another distinct right.

An application’s executable can be well protected while a configuration key it consumes remains too broadly writable. The importance of a value depends on how the application uses it, not merely on its readable name.

Supplied inventory-service record

The fictional InventoryReader service reads two values from one reviewed key: report interval and output location. The owner approves Support to inspect both values, ReleaseAdmin to maintain them, and the runtime identity to read them.

The current effective-access packet grants Support both query and set-value rights. Runtime has query only. ReleaseAdmin’s maintenance access is separately verified. Assume current tokens, the intended registry view, and no virtualization or other policy that changes these supplied decisions. No setting-change history is included.

Registry key ACL → Allowed setting change → Service behaviorRegistry key ACLAllowed setting changeService behavior
The key ACL controls the requested operation; service behavior depends on how the application consumes the setting.

Propose the smallest justified review

Support’s modification grant exceeds its approved duty. Ask which explicit or inherited entry provides it before choosing a correction. Acceptance should retain Support queries and approved maintenance while denying Support’s ordinary value changes.

These rights attach to the key, not an independent permission descriptor for each value. If one value needs a different update audience, the owner may need separate keys or an application-mediated change design. Do not assume an ACL checkbox can express any desired per-value policy. Record possible behavior changes as impact without claiming that somebody actually altered the configuration.

Terms you met

Registry key

Check yourself

No timer. No penalties. Read the explanation and try again whenever you like.

  1. Support may inspect settings but has both KEY_QUERY_VALUE and KEY_SET_VALUE on the reviewed key. Which finding is justified?

    Show the answer

    Correct answer: Support has value-modification authority beyond its query-only duty; review the grant while preserving visibility. Reading and setting values are distinct rights on the key.

Try it

  • WriteWrite a key-access review with the affected object, approved Support duty, excess right, source of the effective grant to investigate, and one allowed and one denied acceptance outcome.
References