Valid Accounts T1078

Tactics: Stealth, Persistence, Privilege Escalation, Initial Access

Adversaries may obtain and abuse credentials of existing accounts as a means of gaining Initial Access, Persistence, Privilege Escalation, or Defense Evasion. Compromised credentials may be used to bypass access controls placed on various resources on systems within the network and may even be used for persistent access to remote systems and externally available services, such as VPNs, Outlook Web Access, network devices, and remote desktop. Compromised credentials may also grant an adversary increased privilege to specific systems or access to restricted areas of the network. Adversaries may choose not to use malware or tools in conjunction with the legitimate access those credentials provide to make it harder to detect their presence.

Events covered

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

ProviderEventTitle
SysmonEvent ID 1Process creation
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 4647User initiated logoff.
Security-AuditingEvent ID 4648A logon was attempted using explicit credentials.
Security-AuditingEvent ID 4662An operation was performed on an object.
Security-AuditingEvent ID 4675SIDs were filtered.
Security-AuditingEvent ID 4688A new process has been created.
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 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 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 4768A Kerberos authentication ticket (TGT) was requested.
Security-AuditingEvent ID 4769A Kerberos service ticket was requested.
Security-AuditingEvent ID 4776The domain controller attempted to validate the credentials for an account.
Security-AuditingEvent ID 4781The name of an account was changed.
Security-AuditingEvent ID 4964Special groups have been assigned to a new logon.
Security-AuditingEvent ID 5136A directory service object was modified.
Security-AuditingEvent ID 5137A directory service object was created.
Security-AuditingEvent ID 5138A directory service object was undeleted.
Security-AuditingEvent ID 5139A directory service object was moved.
Security-AuditingEvent ID 5141A directory service object was deleted.
1Password-GroupMembershipanyGroup membership (catch-all)
1Password-SignInAttemptcredentials_okcredentials_ok
1Password-SignInAttemptmfa_okmfa_ok
1Password-UserVaultAccessanyUser vault access (catch-all)
Defender-AlertEvidenceanyAlert evidence
Defender-AlertInfoanyAlert information
Defender-DeviceLogonEventsanyLogon activity
Defender-DeviceProcessEventsanyProcess activity
Defender-ExposureGraphEdgesanyExposure graph edges
Defender-IdentityInfoanyIdentity information
ESFexecProcess Execution
Linux-AuditdEvent ID 1100USER_AUTH
Linux-AuditdEvent ID 1105USER_START
Linux-AuditdEvent ID 1112USER_LOGIN
MSSQLSERVEREvent ID 18470Event ID 18470
MSSQLSERVEREvent ID 33205Event ID 33205
PowerShellEvent ID 4103Payload Context: ContextInfo User Data: UserData.
PowerShellEvent ID 4104Creating Scriptblock text (MessageNumber of MessageTotal).
TerminalServices-RemoteConnectionManagerEvent ID 1149Remote Desktop Services: User authentication succeeded.
Sysmon-for-LinuxEvent ID 1Process Create

Authoring guide

These 823 rules share fields, values, and exclusions.

Fields filtered most (618 distinct)

These fields appear most often in rule filters.

FieldRulesHowSample values
data_stream.dataset118eq 113, in 5, ne 1azure.signinlogs, aws.cloudtrail, okta.system, azure.auditlogs, o365.audit
EventType108eq 88, in 18, starts_with 3, contains 1, wildcard 1ConsoleLogin, Sign-in activity, UserLoggedIn, access, ssh_login
event.outcome83eq 83success, Success, failure
EventID63eq 57, in 5, regex_match 15136, 1, 4104, 4624, 4688
OperationName42eq 21, contains 16, in 7Add member to role, Add app role assignment to service principal, Update Application, Update a partner cross-tenant access setting, Delete user
aws::eventName41eq 36, in 4, starts_with 1ConsoleLogin, UpdateSAMLProvider, CreateUser, GetCredentialsForIdentity, GetFederationToken
sourcetype37eq 33, in 4azure:monitor:aad, OktaIM2:log, aws:cloudtrail, vmw-syslog, vmware:esxlog*
Category35eq 33, contains 1, in 1RoleManagement, ApplicationManagement, UserManagement, Administrative, Attempted Administrator Privilege Gain
Provider_Name35eq 34, in 1iam.amazonaws.com, signin.amazonaws.com, sts.amazonaws.com, AzureActiveDirectory, ec2.amazonaws.com
event.category27eq 27authentication, configuration, process
src_ip27is_not_null 19, eq 6, cidr_match 3, ne 3, contains 1, 10.0.0.0/8, 127.0.0.1, -, 127.0.0.0/8
event.dataset25eq 25aws.cloudtrail, github.audit, o365.audit, okta.system, azure.signinlogs
aws::userIdentity.type23eq 21, in 2, ne 2AssumedRole, IAMUser, Root, FederatedUser, AWSService
azure_ad::activity_display_name22eq 13, contains 8, ne 1Add eligible member to role, Add member to role, Add member to role request denied (PIM activation), Register device, Add app role assignment to service principal
aws::eventSource20eq 19, ne 1iam.amazonaws.com, lambda.amazonaws.com, SecurityComplianceCenter, signin.amazonaws.com, apigateway.amazonaws.com

Top indicator values (2433 distinct)

These values appear most often in rule predicates.

FieldKindValueRules (here)Corpus reach
event.outcomeeq
Success
62306
event.outcomeeq
success
2182
data_stream.dataseteq
aws.cloudtrail
20143
data_stream.dataseteq
azure.signinlogs
2026
data_stream.dataseteq
azure.signinlogs
912
data_stream.dataseteq
okta.system
935
data_stream.dataseteq
aws.cloudtrail
840
src_ipis_not_null
1970
Categoryeq
RoleManagement
1517
Categoryeq
ApplicationManagement
713
security_result.actioneq
ALLOW
15102
Resulteq
Success
1223
event.categoryeq
authentication
1221
event.categoryeq
authentication
714
event.categoryeq
configuration
711
azure_ad::user_typeeq
Member
910
EventIDeq
5136
720
aws::errorCodeeq
AccessDenied
716
aws::eventNameeq
ConsoleLogin
719
aws::eventSourceeq
iam.amazonaws.com
722
azure_ad::activity_display_namecontains
Add eligible member to role
79
azure_ad::activity_display_namecontains
Add member to role
79
enough_dataeq
1
710
event.dataseteq
github.audit
79
useris_not_null
725
All_Changes.actioneq
created
611
All_Changes.statuseq
success
66
Provider_Nameeq
iam.amazonaws.com
624
Provider_Nameeq
sts.amazonaws.com
611
Statuseq
Success
66

Exclusions (675 distinct)

These values appear most often in top-level exclusions.

FieldKindValueRules excluding
aws::errorCodeis_not_null
9
aws::errorMessageis_not_null
9
responseStatusis_not_null
6
responseStatus.codege
1
6
responseStatus.codege
400
6
responseStatus.codele
16
6
usernamein
aksService
6
usernamein
masterclient
6
usernameis_not_null
6
usernamestarts_with
.iam.gserviceaccount.com
6
usernamestarts_with
azure-
6
usernamestarts_with
eks:
6
usernamestarts_with
gke-
6
usernamestarts_with
masterclient
6
usernamestarts_with
system:
6

Rules under this technique

These vendors publish rules tagged with this technique.

Platform (all)
Domain (all)

Sigma 118 rules

Elastic 214 rules

Splunk 82 rules

Kusto 282 rules

YARA-L 29 rules

Panther 98 rules