Aws Updateloginprofile

Description

This dataset has CloudTrail events where a user A who has already permission to update login profile, makes an API call to update login profile for another user B . Attackers have been know to use this technique for Privilege Escalation in case new victim(user B) has more permissions than old victim(user B)

MITRE ATT&CK Techniques

ID Technique Tactic
T1078 Valid Accounts Defense Evasion, Initial Access, Persistence, Privilege Escalation

Environment Details

Field Value
Environment attack_range
Directory aws_updateloginprofile
Test Date 2021-02-22

Datasets

The following datasets were collected during this attack simulation:

Aws_cloudtrail_events-Json

  • Path: /datasets/attack_techniques/T1078/aws_updateloginprofile/aws_cloudtrail_events.json
  • Sourcetype: aws:cloudtrail
  • Source: aws_cloudtrail

Asl_ocsf_cloudtrail-Json

  • Path: /datasets/attack_techniques/T1078/aws_updateloginprofile/asl_ocsf_cloudtrail.json
  • Sourcetype: aws:cloudtrail:lake
  • Source: aws_asl

The following detections in our security content repository use this attack data for testing:

Detection Name Type Source MITRE ATT&CK Analytic Story
ASL AWS UpdateLoginProfile TTP Cloud T1136.003 AWS IAM Privilege Escalation
AWS UpdateLoginProfile TTP Cloud T1136.003 AWS IAM Privilege Escalation

Usage Instructions

Replay with Splunk Attack Data

Replay attack data with replay.py from Splunk Attack Data.

1python replay.py --dataset /datasets/attack_techniques/T1078/aws_updateloginprofile/aws_cloudtrail_events.json --index attack_data

Manual Import

  1. Download the dataset files from the paths listed above
  2. Configure your Splunk instance with the appropriate sourcetypes
  3. Import the logs using the Splunk Add Data wizard

Find more detections and analytics for this attack technique in our security content repository.


Source: GitHub | Version: 1.0