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

41 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.
Defender-DeviceEventsUserAccountAddedToLocalGroupUser account added to local group
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

Authoring guide

Patterns shared across the 548 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (421 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
EventType95eq 66, in 24, wildcard 3, contains 1, is_not_null 1, starts_with 1exec, AttachRolePolicy, ProcessRollup2, exec_event, AddRoleToInstanceProfile
data_stream.dataset94eq 94aws.cloudtrail, azure.auditlogs, google_workspace.admin, o365.audit, kubernetes.audit_logs
event.outcome62eq 52, in 10success, Success, failure
aws::eventName59in 31, eq 28AttachGroupPolicy, AttachRolePolicy, AttachUserPolicy, PutGroupPolicy, PutRolePolicy
EventID54eq 45, in 8, regex_match 34728, 4732, 5136, 4720, 4688
Provider_Name45eq 43, in 2iam.amazonaws.com, admin, Exchange, bedrock.amazonaws.com, eks.amazonaws.com
sourcetype41eq 39, in 2o365:management:activity, azure:monitor:aad, aws:asl, aws:cloudtrail, vmw-syslog
aws::errorCode39is_null 29, eq 5, in 3, is_not_null 2AccessDenied, AccessDeniedException, DeleteConflictException, NoSuchEntityException, success
aws::errorMessage26is_null 26
Action22contains 22, starts_with 12dynamodb:create, kms:delete, cloudformation:, cloudformation:create, cloudformation:createstack
Condition22eq 20, is_null 2
Effect22eq 22Allow
Operation22eq 16, in 6Add member to role., New-InboxRule, Add-MailboxFolderPermission, Add-MailboxPermission, Update application.
Resource22eq 22*
OperationName21eq 15, in 4, contains 2Add member to role, Add app role assignment to service principal, Add eligible member to role, Library.ServiceConnectionExecuted, Set domain authentication

Top indicator values (1996 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
event.outcomeeq
success
50251
data_stream.dataseteq
aws.cloudtrail
28141
data_stream.dataseteq
azure.auditlogs
1320
data_stream.dataseteq
google_workspace.admin
918
data_stream.dataseteq
o365.audit
945
data_stream.dataseteq
kubernetes.audit_logs
736
Effecteq
Allow
2227
Resourceeq
*
2223
Provider_Nameeq
iam.amazonaws.com
1625
sourcetypeeq
o365:management:activity
1680
sourcetypeeq
azure:monitor:aad
1547
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
aws::eventSourceeq
iam.amazonaws.com
1228
Actioncontains
iam:passrole
1010
Actionstarts_with
iam:
1010
Workloadeq
AzureActiveDirectory
1031
event.outcomein
Success
1037
event.outcomein
success
1038
kubernetes.audit.annotations.authorization_k8s_io/decisioneq
allow
823
metadata.log_typeeq
SAP_CHANGE_DOCUMENT
88
OperationTypeeq
%%14674
717
kubernetes.audit.verbin
patch
720

Exclusions (215 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
AllowedToDelegateToeq
-
4
SubjectUserSideq
S-1-5-18
4
responseStatus.codege
1
4
responseStatus.codege
400
4
responseStatus.codele
16
4
usernamein
aksService
4
usernamein
masterclient
4
usernamestarts_with
system:
4
SubjectUserNameends_with
$
3
verbne
create
3
EventDatacontains
s-1-5-32-555
2
NewTargetUserNameends_with
$
2
OldTargetUserNameends_with
$
2
ProviderNamecontains
asi
2
SubjectUserNameeq
%sap_admin_users.user
2

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 100 rules

Elastic 150 rules

Splunk 71 rules

Kusto 115 rules

YARA-L 29 rules

Panther 83 rules