Skip to content

User Account Management

Alert ID: user_management MITRE ATT&CK: T1136 – Create Account · T1098 – Account Manipulation


LevelCondition
InfoStandard user creation or deletion
HighPrivilege escalation/demotion, or creation of a new administrator

  • Unauthorized administrator creation: possible backdoor for persistent access.
  • Privilege escalation: enables lateral movement or full site control.
  • Mass user deletion: possible cover-up or sabotage attempt.
  • Unusual role changes: clear sign of possible compromise.

!!! warning "" Attackers often create apparently “legitimate” users to maintain hidden access to the system.


  • User creation: any new user registration or creation (Info).
  • Administrator creation: new user with the administrator role (High).
  • User deletion: any deleted account.
  • Role change: privilege escalation or demotion.
  • Role-weight analysis:
RoleWeight
Administrator10
Editor7
Author5
Contributor3
Subscriber1

TypePatternDescription
log_patternSELECT * FROM wp_users WHERE user_registered > DATE_SUB(NOW(), INTERVAL 1 DAY)Recently created-user detection
log_patternwp_capabilities LIKE '%administrator%'Search for administrator accounts
behavioradmin2, wpupdate, wpengine, backup, supportSuspicious usernames
behavior@temp-mail, @guerrillamailTemporary or disposable email addresses

  • Legitimate creation by authorized administrators.
  • Membership or e-commerce plugins creating users automatically.
  • Bulk imports from external tools.

!!! tip "" Always verify time, source IP, and business context before dismissing an alert.


  1. Verify legitimacy: check whether the creator was authorized and whether the event occurred during normal hours.

  2. Analyze the new user:

    Terminal window
    wp user get [user_id] --fields=ID,user_login,user_email,roles
  3. Search for related activity: more user creation, plugin installation, or theme changes.

  4. Review all existing administrators:

    Terminal window
    wp user list --role=administrator

=== “Immediate”

!!! danger ""
- Suspend the suspicious user immediately.
- Audit all accounts with administrative privileges.
- Review the new user's activity logs.
- Confirm with the team whether the action was authorized.

=== “Preventive”

!!! tip ""
- Implement **dual approval** for administrator creation.
- Maintain a detailed **audit trail**.
- Enable **email notifications** for role changes.
- Apply the **principle of least privilege**.
- Review users and permissions regularly.