A Command Line Interface (CLI) command was executed from an AWS serverless compute service

Cortex XDR Analytics Alert Reference by data source

Product
Cortex XDR
Last date published
2024-12-03
Category
Analytics Alert Reference
Order
data source

Synopsis

Activation Period

14 Days

Training Period

30 Days

Test Period

N/A (single event)

Deduplication Period

5 Days

Required Data

  • Requires:
    • AWS Audit Log

Detection Modules

Cloud

Detector Tags

Cloud Serverless Function Credentials Theft Analytics

ATT&CK Tactic

ATT&CK Technique

Severity

Low

Description

AWS serverless compute service token was used to execute a Command Line Interface (CLI) command. This may indicate token theft due to the nature of serverless compute.

Attacker's Goals

Exfiltrate serverless token and abuse it.

Investigative actions

  • Verify whether the serverless-attached identity's credentials were intentionally used in CLI.
  • Check what CLI commands were executed using the serverless attached token.
  • Check if the suspected serverless function is compromised.

Variations

A Command Line Interface (AWS-CLI) command was executed from an AWS serverless compute service

Synopsis

ATT&CK Tactic

ATT&CK Technique

Severity

Informational

Description

AWS serverless compute service token was used to execute a Command Line Interface (CLI) command. This may indicate token theft due to the nature of serverless compute.

Attacker's Goals

Exfiltrate serverless token and abuse it.

Investigative actions

  • Verify whether the serverless-attached identity's credentials were intentionally used in CLI.
  • Check what CLI commands were executed using the serverless attached token.
  • Check if the suspected serverless function is compromised.


Unusual Command Line Interface (CLI) command was executed from an AWS serverless compute service

Synopsis

ATT&CK Tactic

ATT&CK Technique

Severity

Low

Description

AWS serverless compute service token was used to execute a Command Line Interface (CLI) command. This may indicate token theft due to the nature of serverless compute.

Attacker's Goals

Exfiltrate serverless token and abuse it.

Investigative actions

  • Verify whether the serverless-attached identity's credentials were intentionally used in CLI.
  • Check what CLI commands were executed using the serverless attached token.
  • Check if the suspected serverless function is compromised.