Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
id: chronicle-detection-rules-aws-lateral-movement-using-iam-session-token
name: aws_lateral_movement_using_iam_session_token
description: aws_lateral_movement_using_iam_session_token
severity: medium
enabled: false
tags:
mitre: []
categories:
- endpoint
references: []
logsource:
product: chronicle
detection:
chronicle_yaral: "/*\n * Copyright 2023 Google LLC\n *\n * Licensed under the Apache\
\ License, Version 2.0 (the \"License\");\n * you may not use this file except\
\ in compliance with the License.\n * You may obtain a copy of the License at\n\
\ *\n * https://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required\
\ by applicable law or agreed to in writing, software\n * distributed under the\
\ License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS\
\ OF ANY KIND, either express or implied.\n * See the License for the specific\
\ language governing permissions and\n * limitations under the License.\n */\n\
\nrule aws_lateral_movement_using_iam_session_token {\n\n meta:\n author =\
\ \"Google Cloud Security\"\n description = \"Detect when an IAM session token\
\ is created and used from a different IP.\"\n rule_id = \"mr_ac0df875-fe5b-49af-bf2a-3da341177754\"\
\n rule_name = \"AWS Lateral Movement Using IAM Session Token\"\n mitre_attack_tactic\
\ = \"Lateral Movement\"\n mitre_attack_technique = \"Use Alternate Authentication\
\ Material\"\n mitre_attack_url = \"https://attack.mitre.org/techniques/T1550/\"\
\n mitre_attack_version = \"v13.1\"\n type = \"Alert\"\n data_source\
\ = \"AWS CloudTrail\"\n platform = \"AWS\"\n severity = \"Low\"\n priority\
\ = \"Low\"\n\n events:\n $accesskey.metadata.vendor_name = \"AMAZON\"\n \
\ $accesskey.metadata.product_name = \"AWS CloudTrail\"\n $accesskey.metadata.product_event_type\
\ = \"GetSessionToken\"\n $accesskey.security_result.action= \"ALLOW\"\n \
\ $accesskey.principal.user.userid = $p_userid\n\n $latmove.metadata.vendor_name\
\ = \"AMAZON\"\n $latmove.metadata.product_name = \"AWS CloudTrail\"\n\n \
\ //Different IP address and Same Temp Session Token used\n $accesskey.principal.ip\
\ != $latmove.principal.ip\n $latmove.additional.fields[\"accessKeyId\"] !=\
\ \"\"\n $accesskey.target.resource.product_object_id = $latmove.additional.fields[\"\
accessKeyId\"]\n $accesskey.metadata.event_timestamp.seconds < $latmove.metadata.event_timestamp.seconds\n\
\n match:\n $p_userid over 1h\n\n outcome:\n $risk_score = max(35)\n \
\ $mitre_attack_tactic = \"Lateral Movement\"\n $mitre_attack_technique =\
\ \"Use Alternate Authentication Material\"\n $mitre_attack_technique_id =\
\ \"T1550\"\n $event_count = count_distinct($latmove.metadata.id)\n $network_http_user_agent\
\ = array_distinct($latmove.network.http.user_agent)\n $principal_ip = array_distinct($latmove.principal.ip)\n\
\ $principal_ip_country = array_distinct($latmove.principal.ip_geo_artifact.location.country_or_region)\n\
\ $principal_ip_state = array_distinct($latmove.principal.ip_geo_artifact.location.state)\n\
\ $principal_user_display_name = array_distinct($latmove.principal.user.user_display_name)\n\
\ $dc_principal_user_display_name = count_distinct($latmove.principal.user.user_display_name)\n\
\ $is_mfa_used = array_distinct($latmove.extensions.auth.auth_details)\n \
\ $target_resource_name = array_distinct($latmove.target.resource.name)\n \
\ $target_resource_product_object_id = array_distinct($latmove.target.resource.product_object_id)\n\
\ $product_event_types = array_distinct($latmove.metadata.product_event_type)\n\
\n condition:\n $accesskey and $latmove\n}"
chronicle_rule_name: aws_lateral_movement_using_iam_session_token
provenance:
source: chronicle/detection-rules
source_id: aws_lateral_movement_using_iam_session_token
source_commit: 74dd490
license: Apache-2.0
license_url: https://github.com/chronicle/detection-rules/blob/main/LICENSE
imported_at: '2026-05-04'
imported_by: chronicle_importer
upstream_path: rules/community/aws/cloudtrail/aws_lateral_movement_using_iam_session_token.yaral
notes:
chronicle_meta: {}
quarantine_reason: raw YARA-L — needs translation to AiSOC schema