Windows SecurityPolicy Change

Event 4704: A user right was assigned.

A user right was assigned.

Technical Details

Windows Security Source

Event ID: 4704

Windows Security- Policy Change

Event Description

A user right was assigned.

Key Log Fields

  • SubjectUserName - Account that assigned the right
  • SubjectDomainName - Domain of the account
  • SubjectLogonId - Logon ID for correlation
  • TargetSid - SID of the account receiving the right
  • PrivilegeList - User rights that were assigned

MITRE ATT&CK® Mapping (2)

T1098persistence, privilege-escalation
Account Manipulation

Adversaries may manipulate accounts to maintain and/or elevate access to victim systems. Account manipulation may consist of any action that preserves or modifies adversary access to a compromised account, such as modifying credentials or permission groups.(Citation: FireEye SMOKEDHAM June 2021) These actions could also include account activity designed to subvert security policies, such as performing iterative password updates to bypass password duration policies and preserve the life of compromised credentials. In order to create or manipulate accounts, the adversary must already have sufficient permissions on systems or the domain. However, account manipulation may also lead to privilege escalation where modifications grant access to additional roles, permissions, or higher-privileged [Valid Accounts](https://attack.mitre.org/techniques/T1078).

T1548defense-evasion, privilege-escalation
Abuse Elevation Control Mechanism

Adversaries may circumvent mechanisms designed to control elevate privileges to gain higher-level permissions. Most modern systems contain native elevation control mechanisms that are intended to limit privileges that a user can perform on a machine. Authorization has to be granted to specific users in order to perform tasks that can be considered of higher risk.(Citation: TechNet How UAC Works)(Citation: sudo man page 2018) An adversary can perform several methods to take advantage of built-in control mechanisms in order to escalate privileges on a system.(Citation: OSX Keydnap malware)(Citation: Fortinet Fareit)

Contents