ACC installation or upgrade grants SeDebugPrivilege on WindowsIssue .kb-wrapper { max-width: 100%; font-family: Lato, sans-serif; font-size: 12pt; line-height: 1.7; color: #000000; } .kb-wrapper p { margin: 0 0 12px 0; } .kb-wrapper ul, .kb-wrapper ol { margin: 0 0 12px 24px; padding: 0; } .kb-wrapper li { margin: 0 0 6px 0; } .kb-wrapper a { color: #032D42; text-decoration: underline; } .kb-wrapper code { background: #e6f0f5; color: #032D42; border: 1px solid #b8cfd8; padding: 1px 4px; border-radius: 3px; font-family: Consolas, monospace; } A Windows security event reports that the account used by Agent Client Collector (ACC) was granted the SeDebugPrivilege user right during an ACC installation or upgrade. Symptoms .kb-wrapper { max-width: 100%; font-family: Lato, sans-serif; font-size: 12pt; line-height: 1.7; color: #000000; } .kb-wrapper p { margin: 0 0 12px 0; } .kb-wrapper ul, .kb-wrapper ol { margin: 0 0 12px 24px; padding: 0; } .kb-wrapper li { margin: 0 0 6px 0; } .kb-wrapper a { color: #032D42; text-decoration: underline; } .kb-wrapper code { background: #e6f0f5; color: #032D42; border: 1px solid #b8cfd8; padding: 1px 4px; border-radius: 3px; font-family: Consolas, monospace; } A security monitoring tool generates an alert for assignment of the Windows Debug programs privilege.The affected privilege is identified as SeDebugPrivilege.The account running the ACC service is a member of the local ServiceNow Users group.The event is observed during an ACC installation or upgrade on a Windows host. Facts .kb-wrapper { max-width: 100%; font-family: Lato, sans-serif; font-size: 12pt; line-height: 1.7; color: #000000; } .kb-wrapper p { margin: 0 0 12px 0; } .kb-wrapper ul, .kb-wrapper ol { margin: 0 0 12px 24px; padding: 0; } .kb-wrapper li { margin: 0 0 6px 0; } .kb-wrapper a { color: #032D42; text-decoration: underline; } .kb-wrapper code { background: #e6f0f5; color: #032D42; border: 1px solid #b8cfd8; padding: 1px 4px; border-radius: 3px; font-family: Consolas, monospace; } .kb-wrapper .kb-note { border-left: 4px solid #52B8FF; background: #e6f4ff; margin: 0 0 12px 0; padding: 10px 14px; } The issue applies to Agent Client Collector on Windows.The default account used to run the ACC service is the local servicenow user. An existing account can also be configured to manage the service.The ACC service account belongs to the local ServiceNow Users group.The ServiceNow Users group has access to ACC directories and is assigned the following privileges: Performance Monitor: Enables access to system performance counters.Log on as a service: Enables services to run continuously without an interactive console login.Debug programs: Enables debugging processes and reading process details for users outside the ServiceNow Users group. The Windows Debug programs user right corresponds to SeDebugPrivilege.An account receives SeDebugPrivilege through its membership in the ServiceNow Users group.Due to Windows User Account Control restrictions, the ACC service must run as Local System to perform an instance-initiated upgrade through msiexec. Note: The assignment of SeDebugPrivilege is associated with membership in the ServiceNow Users group. It is not limited to the Local System account. Release All Releases Cause .kb-wrapper { max-width: 100%; font-family: Lato, sans-serif; font-size: 12pt; line-height: 1.7; color: #000000; } .kb-wrapper p { margin: 0 0 12px 0; } .kb-wrapper ul, .kb-wrapper ol { margin: 0 0 12px 24px; padding: 0; } .kb-wrapper li { margin: 0 0 6px 0; } .kb-wrapper a { color: #032D42; text-decoration: underline; } .kb-wrapper code { background: #e6f0f5; color: #032D42; border: 1px solid #b8cfd8; padding: 1px 4px; border-radius: 3px; font-family: Consolas, monospace; } The security event occurs because the account running the ACC service is added to the local ServiceNow Users group. This group is assigned the Windows Debug programs user right, which corresponds to SeDebugPrivilege. Members of the group receive this privilege through their group membership. Resolution .kb-wrapper { max-width: 100%; font-family: Lato, sans-serif; font-size: 12pt; line-height: 1.7; color: #000000; } .kb-wrapper p { margin: 0 0 12px 0; } .kb-wrapper ul, .kb-wrapper ol { margin: 0 0 12px 24px; padding: 0; } .kb-wrapper li { margin: 0 0 6px 0; } .kb-wrapper a { color: #032D42; text-decoration: underline; } .kb-wrapper code { background: #e6f0f5; color: #032D42; border: 1px solid #b8cfd8; padding: 1px 4px; border-radius: 3px; font-family: Consolas, monospace; } .kb-wrapper .kb-steps { list-style: none; margin-left: 0; counter-reset: kb-step; } .kb-wrapper .kb-steps > li { position: relative; min-height: 32px; margin: 0 0 14px 0; padding-left: 44px; counter-increment: kb-step; } .kb-wrapper .kb-steps > li::before { content: counter(kb-step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: #032D42; color: #63DF4E; font-weight: bold; line-height: 30px; text-align: center; } .kb-wrapper .kb-note { border-left: 4px solid #52B8FF; background: #e6f4ff; margin: 0 0 12px 0; padding: 10px 14px; } Open the Windows Services console on the affected host.Locate the AgentClientCollector service and identify its configured logon account.Open Local Users and Groups and verify that the ACC service account belongs to the local ServiceNow Users group.Open the local security policy and verify that the Debug programs user right is assigned to the ServiceNow Users group.Confirm that the reported privilege is SeDebugPrivilege and that the event occurred during an ACC installation or upgrade.Document the privilege assignment as expected ACC behavior when the account receives the privilege through membership in the ServiceNow Users group. Note: Local System is required when an ACC upgrade is initiated remotely through msiexec because of Windows User Account Control restrictions. This upgrade requirement is separate from the assignment of SeDebugPrivilege to members of the ServiceNow Users group. Related Links .kb-wrapper { max-width: 100%; font-family: Lato, sans-serif; font-size: 12pt; line-height: 1.7; color: #000000; } .kb-wrapper p { margin: 0 0 12px 0; } .kb-wrapper ul, .kb-wrapper ol { margin: 0 0 12px 24px; padding: 0; } .kb-wrapper li { margin: 0 0 6px 0; } .kb-wrapper a { color: #032D42; text-decoration: underline; } .kb-wrapper code { background: #e6f0f5; color: #032D42; border: 1px solid #b8cfd8; padding: 1px 4px; border-radius: 3px; font-family: Consolas, monospace; } Install the Agent Client Collector on a Windows machine manuallyUpgrade an agent in an instance