SRS - How-to Configure Domain GPO for SRSExecutionUser

SRS - How-to Configure Domain GPO for SRSExecutionUser

185
Created On 11/10/26 11:03 AM - Last Modified 11/10/26 15:56 PM


Objective


Configuring Domain GPO User Rights for Idira Secrets Rotation Service (SRSExecutionUser)

When deploying the Idira Privilege Cloud Connector with the Secrets Rotation Service (SRS), the connector host automatically provisions a dedicated local account—SRSExecutionUser—during the first secrets rotation. If your connector machines reside in an Active Directory Domain and receive domain-level Group Policy Objects (GPOs), corporate User Rights Assignments can overwrite the local security baseline and prevent secret rotations from executing.

This guide details how to configure domain GPOs to grant the required permissions and enforce least-privilege denials for SRSExecutionUser in accordance with Idira hardening specifications.

Overview & Account Characteristics

The SRSExecutionUser account executes plugins and rotation tasks on the connector host. Idira provisions it under strict least-privilege standards:

  • Account Type: Local user (created on each individual connector host).

  • Group Membership: None (not a member of Users, Administrators, or any other built-in group).

  • Interactive Access: Blocked from Remote Desktop (RDP), RunAs, and local console logon.

  • Lifecycle: Managed automatically; the Management Agent rotates its password every 14 days.

Required Rights & Denials Matrix


Policy / RightSettingPolicy LocationPurpose
Log on as a batch job (SeBatchLogonRight)Grant (Add SRSExecutionUser)Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies/User Rights AssignmentAllows the SRS service runner to execute rotation scripts and provider processes unattended.
Deny log on locally (SeDenyInteractiveLogonRight)Enforce (Add SRSExecutionUser)Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies/User Rights AssignmentEnforces least-privilege by blocking interactive console logins.
Deny log on through Remote Desktop Services (SeDenyRemoteInteractiveLogonRight)Enforce (Best Practice)Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies/User Rights AssignmentBlocks incoming RDP sessions using the execution user account.

 



Environment


Privilege Cloud Secrets Rotation Service (SRS)

Procedure


Step-by-Step Implementation

Step 1: Isolate Connectors in a Dedicated Organizational Unit (OU)

Do not apply these settings to default domain-wide policies (e.g., Default Domain Policy).

  1. Open Active Directory Users and Computers (dsa.msc).

  2. Move all Idira Connector servers hosting SRS/PSM into a dedicated Organizational Unit (e.g., OU=Idira-Connectors,DC=company,DC=com).

Step 2: Create or Edit the Connector GPO

  1. Open the Group Policy Management Console (gpmc.msc) on a Domain Controller or administrative workstation.

  2. Right-click the dedicated Connector OU and select Create a GPO in this domain, and Link it here... (or right-click an existing dedicated Connector Hardening GPO and select Edit).

  3. Name the GPO descriptively (e.g., GPO_Idira_Connector_Hardening).

Step 3: Configure User Rights Assignment

Navigate down the policy tree to:

Plaintext
Computer Configuration
 └── Policies
      └── Windows Settings
           └── Security Settings
                └── Local Policies
                     └── User Rights Assignment

1. Grant "Log on as a batch job"

  1. In the right pane, locate and double-click Log on as a batch job.

  2. Check Define these policy settings if not already enabled.

  3. Click Add User or Group....

  4. Enter SRSExecutionUser (or *S-1-5-32-544 / existing administrators plus SRSExecutionUser).

    Note on Local Users in Domain GPO: Because SRSExecutionUser is a local account on member servers and does not exist in Active Directory, the GPMC object picker cannot resolve it against domain controllers. Type SRSExecutionUser directly into the text box and click OK. Windows accepts the string literal and applies it to the corresponding local SAM account on target machines.

  5. Click Apply and OK.

2. Enforce "Deny log on locally"

  1. In the right pane, double-click Deny log on locally.

  2. Check Define these policy settings.

  3. Click Add User or Group... and add SRSExecutionUser.

  4. Ensure standard accounts that need local console access are not inadvertently placed here.

  5. Click Apply and OK.

3. Verify Supplementary Connector Rights

Ensure existing domain hardening policies do not strip related rights required by the connector framework:

  • Replace a process level token (SeAssignPrimaryTokenPrivilege): Ensure IdiraManagementAgent is present.

  • Adjust memory quotas for a process (SeIncreaseQuotaPrivilege): Ensure the management agent/system service accounts retain this right.

Verification & Troubleshooting

1. Apply and Verify on the Connector Host

  1. Log in to the target connector host using an administrative account.

  2. Open an elevated PowerShell or Command Prompt window and refresh the policy:

    DOS
    gpupdate /force
    
  3. Generate a Resultant Set of Policy report:

    DOS
    gpresult /h C:\temp\gpreport.html
    
  4. Open C:\temp\gpreport.html and verify under Computer Configuration > Security Settings > User Rights Assignment:

    • SRSExecutionUser is listed under Log on as a batch job.

    • SRSExecutionUser is listed under Deny log on locally.

2. Common Pitfalls

  • Active Directory Resolution Errors: If an administrator attempts to search AD via the Browse dialog for SRSExecutionUser, the lookup will fail. Always input the bare username directly into the text box without a domain prefix.

  • Overriding Local Hardening Scripts: Idira connector deployment scripts apply local security policy settings automatically during installation. If a domain GPO defines "Log on as a batch job" without including SRSExecutionUser, the domain GPO will overwrite the local assignment and break automated rotations. Ensure all domain policies targeting the connector OU merge these settings rather than wiping them.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000012ZQCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail