Detection rules › Panther

Panther rules: signin

RuleSeverity
SIGNAL - Sign-in with AWS CLI promptinformational

SIGNAL - Sign-in with AWS CLI prompt

#
Severity
informational
Log types
AWS.CloudTrail
Source
github.com/panther-labs/panther-analysis

Telemetry coverage

Detection logic

def rule(event):
    return (
        event.get("eventSource") == "sso.amazonaws.com"
        and event.get("eventName") == "ListApplications"
    )

Rule specification

AnalysisType: rule
Filename: signin_with_aws_cli_prompt.py
RuleID: "Sign-in.with.AWS.CLI.prompt"
DisplayName: "SIGNAL - Sign-in with AWS CLI prompt"
Enabled: true
CreateAlert: false
LogTypes:
    - AWS.CloudTrail
Severity: Info
DedupPeriodMinutes: 60
Threshold: 1

Stages and Predicates

Fires on AWS.CloudTrail events when all of the conditions below hold.

Condition

  • eventSource is sso.amazonaws.com
  • eventName is ListApplications

Indicators

These rows show field, operator, and value matches.

Worked example

A sample event from the rule's unit tests that triggers a match.

Sample Test Event
{
  "eventName": "ListApplications",
  "eventSource": "sso.amazonaws.com",
  "eventTime": "...",
  "eventVersion": "1.08",
  "sourceIPAddress": "<Victim source IP>",
  "userAgent": "<Victim browser user agent>",
  "userIdentity": {
    "accountId": "<organization master account ID>",
    "principalId": "<internal victim user id>",
    "type": "Unknown",
    "userName": "<victim display name>"
  }
}