Account Manipulation T1098

Tactics: Persistence, Privilege Escalation

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. 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.

Events covered

51 catalog events are tagged with this technique by at least one rule.

ProviderEventTitle
SysmonEvent ID 1Process creation
SysmonEvent ID 13RegistryEvent (Value Set)
Security-AuditingEvent ID 4624An account was successfully logged on.
Security-AuditingEvent ID 4625An account failed to log on.
Security-AuditingEvent ID 4634An account was logged off.
Security-AuditingEvent ID 4662An operation was performed on an object.
Security-AuditingEvent ID 4663An attempt was made to access an object.
Security-AuditingEvent ID 4673A privileged service was called.
Security-AuditingEvent ID 4688A new process has been created.
Security-AuditingEvent ID 4704A user right was assigned.
Security-AuditingEvent ID 4706A new trust was created to a domain.
Security-AuditingEvent ID 4720A user account was created.
Security-AuditingEvent ID 4722A user account was enabled.
Security-AuditingEvent ID 4723An attempt was made to change an account's password.
Security-AuditingEvent ID 4724An attempt was made to reset an account's password.
Security-AuditingEvent ID 4725A user account was disabled.
Security-AuditingEvent ID 4726A user account was deleted.
Security-AuditingEvent ID 4727A security-enabled global group was created.
Security-AuditingEvent ID 4728A member was added to a security-enabled global group.
Security-AuditingEvent ID 4729A member was removed from a security-enabled global group.
Security-AuditingEvent ID 4730A security-enabled global group was deleted.
Security-AuditingEvent ID 4731A security-enabled local group was created.
Security-AuditingEvent ID 4732A member was added to a security-enabled local group.
Security-AuditingEvent ID 4733A member was removed from a security-enabled local group.
Security-AuditingEvent ID 4738A user account was changed.
Security-AuditingEvent ID 4741A computer account was created.
Security-AuditingEvent ID 4742A computer account was changed.
Security-AuditingEvent ID 4754A security-enabled universal group was created.
Security-AuditingEvent ID 4756A member was added to a security-enabled universal group.
Security-AuditingEvent ID 4757A member was removed from a security-enabled universal group.
Security-AuditingEvent ID 4781The name of an account was changed.
Security-AuditingEvent ID 4794An attempt was made to set the Directory Services Restore Mode administrator password.
Security-AuditingEvent ID 5136A directory service object was modified.
Security-AuditingEvent ID 5137A directory service object was created.
Security-AuditingEvent ID 5145A network share object was checked to see whether client can be granted desired access.
1Password-GroupMembershipgm-joinJoin Group
1Password-GroupVaultAccessanyGroup vault access (catch-all)
1Password-UserVaultAccessanyUser vault access (catch-all)
Defender-DeviceEventsUserAccountAddedToLocalGroupUser account added to local group
Defender-DeviceEventsUserAccountCreatedUser account created
Defender-DeviceEventsUserAccountModifiedUser account modified
Defender-DeviceProcessEventsanyProcess activity
Defender-IdentityInfoanyIdentity information
Linux-AuditdEvent ID 1302PATH
Linux-AuditdEvent ID 1307CWD
MSSQLSERVEREvent ID 33205Event ID 33205
PowerShellEvent ID 4103Payload Context: ContextInfo User Data: UserData.
PowerShellEvent ID 4104Creating Scriptblock text (MessageNumber of MessageTotal).
PowerShellEvent ID 800Event ID 800
Sysmon-for-LinuxEvent ID 1Process Create
Sysmon-for-LinuxEvent ID 11File created

Authoring guide

These 599 rules share fields, values, and exclusions.

Fields filtered most (395 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
data_stream.dataset121eq 121aws.cloudtrail, azure.auditlogs, gcp.audit, google_workspace.admin, o365.audit
EventType120eq 75, in 39, wildcard 4, is_not_null 1, starts_with 1exec, AttachRolePolicy, CreateLoginProfile, ProcessRollup2, exec_event
event.outcome87eq 87success, Success, failure
aws::eventName59in 31, eq 28AttachGroupPolicy, AttachRolePolicy, AttachUserPolicy, PutGroupPolicy, PutRolePolicy
EventID55eq 48, in 5, regex_match 35136, 4728, 4720, 4738, 4688
Provider_Name52eq 50, in 2iam.amazonaws.com, Exchange, bedrock.amazonaws.com, eks.amazonaws.com, Microsoft Entra ID
sourcetype41eq 39, in 2o365:management:activity, azure:monitor:aad, aws:asl, aws:cloudtrail, vmw-syslog
aws::errorCode28is_null 18, eq 5, in 3, is_not_null 2, AccessDenied, AccessDeniedException, DeleteConflictException, NoSuchEntityException
OperationName23eq 17, in 5, contains 1Add app role assignment to service principal, Add member to role, Set domain authentication, Set federation settings on domain, Add delegated permission grant
operationName22eq 18, contains 2, starts_with 2, in 1Add member to role, Update user, Add app role assignment to service principal, Add eligible member to role in PIM completed*, Add member to role completed (PIM activation)
Operation21eq 15, in 6Add member to role., New-InboxRule, Update application., Add app role assignment to service principal., Add eligible member to role.
aws::eventSource19eq 18, in 1iam.amazonaws.com, rds.amazonaws.com, route53.amazonaws.com, cloudtrail.amazonaws.com, ec2.amazonaws.com
CommandLine18contains 13, in 2, regex_match 2, wildcard 2, ends_with 1 -Group , /add, (?i)(\-u)|(user)|(localgroup)|(group), (?i).add, administrateur
azure_ad::activity_display_name17eq 12, in 3, contains 2Register device, Add device, Add registered owner to device, Add Windows Hello for Business credential, Add app role assignment to service principal
Category15eq 14, in 1ApplicationManagement, RoleManagement, UserManagement, SQLSecurityAuditEvents, Semperis-Operation-Log

Top indicator values (2199 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.outcomeeq
Success
65306
event.outcomeeq
success
2082
data_stream.dataseteq
aws.cloudtrail
25143
data_stream.dataseteq
azure.auditlogs
1423
data_stream.dataseteq
gcp.audit
1360
data_stream.dataseteq
aws.cloudtrail
1140
data_stream.dataseteq
google_workspace.admin
816
data_stream.dataseteq
o365.audit
738
aws::errorCodeis_null
1850
sourcetypeeq
o365:management:activity
1680
sourcetypeeq
azure:monitor:aad
1547
aws::errorMessageis_null
1530
Provider_Nameeq
iam.amazonaws.com
1424
Provider_Nameeq
iam.amazonaws.com
99
aws::eventNamein
AttachGroupPolicy
1417
aws::eventNamein
AttachRolePolicy
1417
aws::eventNamein
AttachUserPolicy
1417
aws::eventNamein
CreatePolicy
1114
aws::eventNamein
CreatePolicyVersion
1114
aws::eventNamein
PutGroupPolicy
1112
aws::eventNamein
PutRolePolicy
1112
aws::eventNamein
PutUserPolicy
1112
security_result.actioneq
ALLOW
13102
Workloadeq
AzureActiveDirectory
930
aws::eventSourceeq
iam.amazonaws.com
922
ServiceNameeq
k8s.io
828
metadata.log_typeeq
SAP_CHANGE_DOCUMENT
88
event.typeeq
start
71036
AttributeLDAPDisplayNameeq
servicePrincipalName
68
OperationTypeeq
%%14674
616

Exclusions (276 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
aws::userAgentcontains
*Pulumi*
11
aws::userAgentcontains
*Terraform*
11
aws::userAgentcontains
*Ansible*
5
aws::errorCodeis_not_null
6
aws::userIdentity.typeeq
AWSService
5
AllowedToDelegateToeq
-
4
SubjectUserSideq
S-1-5-18
4
aws::errorMessageis_not_null
4
aws::sourceIPAddressin
cloudformation.amazonaws.com
4
aws::sourceIPAddressin
servicecatalog.amazonaws.com
4
aws::userIdentity.arncontains
*terraform*
4
responseStatusis_not_null
4
responseStatus.codege
1
4
responseStatus.codege
400
4
responseStatus.codele
16
4

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 101 rules

Elastic 181 rules

Splunk 70 rules

Kusto 135 rules

YARA-L 29 rules

Panther 83 rules