{
  "attack_id": "datadog-artex-aws-cognito-2026-11",
  "status": "catalog_recommendations_not_validated_coverage",
  "stages": [
    {
      "node_id": "anon-s3",
      "profile": "cloud",
      "title": "Unexpected cloud / inference identity use",
      "hypothesis": "A service key or role is used from an unfamiliar origin, gains broader access or causes inference usage outside its established baseline.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Cloud control-plane and identity audit",
        "AI-service invocation / diagnostic logs when enabled",
        "Usage, quotas, cost and key inventory"
      ],
      "investigate": [
        "Pivot on key ID / principal, source network and user agent, then inspect role changes, token minting and service pivots.",
        "Join inference usage and billing anomalies to the same principal; verify whether the behavior was authorized."
      ],
      "limitation": "Cloud control-plane logs alone may not include model prompts or inference calls. No endpoint policy is claimed to stop cloud-only key misuse.",
      "queries": {
        "sigma": "title: Hunt - Unexpected cloud / inference identity use\nid: afac2e65-c838-485b-a26f-7f175d422f61\nstatus: experimental\ndescription: A service key or role is used from an unfamiliar origin, gains\n  broader access or causes inference usage outside its established baseline.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: application\n  product: openattacks_audit\n  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,\n    Target and CorrelationId from the required source logs first.\ndetection:\n  selection:\n    EventType:\n      - cloud.credential.use\n      - cloud.role.change\n      - model.invoke\n  condition: selection\n",
        "kql": "// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.\n// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).\n// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.\nOpenAttacksAudit_CL\n| where TimeGenerated > ago(7d)\n| where EventType in (\"cloud.credential.use\", \"cloud.role.change\", \"model.invoke\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"cloud.credential.use\", \"cloud.role.change\", \"model.invoke\")\n| table _time EventType Actor Asset Action Target CorrelationId\n| sort - _time"
      },
      "query_scope": "Custom-schema candidates, not out-of-box detectors. Map your application / cloud / platform logs to EventType, Actor, Asset, Action, Target and CorrelationId. KQL uses a custom OpenAttacksAudit_CL table; SPL uses openattacks:audit. EventType values are proposed normalization names, not native vendor event names. Correlation and environment-specific alert logic remain to be built.",
      "query_kind": "custom_schema",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/cloud.yaml",
      "query_downloads": {
        "sigma": "/api/detections/cloud.sigma.yml",
        "kql": "/api/detections/cloud.kql",
        "spl": "/api/detections/cloud.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://securitylabs.datadoghq.com/articles/artex-agentic-attacks-aws-environments/"
      ],
      "reviewed": "2026-10-23",
      "upstream_matches": []
    },
    {
      "node_id": "cloudwatch",
      "profile": "cloud",
      "title": "Unexpected cloud / inference identity use",
      "hypothesis": "A service key or role is used from an unfamiliar origin, gains broader access or causes inference usage outside its established baseline.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Cloud control-plane and identity audit",
        "AI-service invocation / diagnostic logs when enabled",
        "Usage, quotas, cost and key inventory"
      ],
      "investigate": [
        "Pivot on key ID / principal, source network and user agent, then inspect role changes, token minting and service pivots.",
        "Join inference usage and billing anomalies to the same principal; verify whether the behavior was authorized."
      ],
      "limitation": "Cloud control-plane logs alone may not include model prompts or inference calls. No endpoint policy is claimed to stop cloud-only key misuse.",
      "queries": {
        "sigma": "title: Hunt - Unexpected cloud / inference identity use\nid: afac2e65-c838-485b-a26f-7f175d422f61\nstatus: experimental\ndescription: A service key or role is used from an unfamiliar origin, gains\n  broader access or causes inference usage outside its established baseline.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: application\n  product: openattacks_audit\n  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,\n    Target and CorrelationId from the required source logs first.\ndetection:\n  selection:\n    EventType:\n      - cloud.credential.use\n      - cloud.role.change\n      - model.invoke\n  condition: selection\n",
        "kql": "// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.\n// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).\n// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.\nOpenAttacksAudit_CL\n| where TimeGenerated > ago(7d)\n| where EventType in (\"cloud.credential.use\", \"cloud.role.change\", \"model.invoke\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"cloud.credential.use\", \"cloud.role.change\", \"model.invoke\")\n| table _time EventType Actor Asset Action Target CorrelationId\n| sort - _time"
      },
      "query_scope": "Custom-schema candidates, not out-of-box detectors. Map your application / cloud / platform logs to EventType, Actor, Asset, Action, Target and CorrelationId. KQL uses a custom OpenAttacksAudit_CL table; SPL uses openattacks:audit. EventType values are proposed normalization names, not native vendor event names. Correlation and environment-specific alert logic remain to be built.",
      "query_kind": "custom_schema",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/cloud.yaml",
      "query_downloads": {
        "sigma": "/api/detections/cloud.sigma.yml",
        "kql": "/api/detections/cloud.kql",
        "spl": "/api/detections/cloud.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://securitylabs.datadoghq.com/articles/artex-agentic-attacks-aws-environments/"
      ],
      "reviewed": "2026-10-23",
      "upstream_matches": []
    },
    {
      "node_id": "cognito",
      "profile": "identity",
      "title": "Credential / session use outside baseline",
      "hypothesis": "Repeated credential attempts or a stolen session are followed by a successful login or resource access inconsistent with the owner.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Identity / service authentication logs",
        "Device, source-IP and session context",
        "Resource access and token issuance audit"
      ],
      "investigate": [
        "Compare failures, successes and session reuse by account and source; inspect access to new resources.",
        "Check device registration, MFA and credential changes; do not equate travel anomalies with confirmed compromise."
      ],
      "limitation": "Shared infrastructure and legitimate travel create noise. IoT, SharePoint and cloud identity require their own collectors and field mappings.",
      "queries": {
        "sigma": "title: Hunt - Credential / session use outside baseline\nid: 7d73d919-e785-4d40-ab0b-f12949adfaf5\nstatus: experimental\ndescription: Repeated credential attempts or a stolen session are followed by a\n  successful login or resource access inconsistent with the owner.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: application\n  product: openattacks_audit\n  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,\n    Target and CorrelationId from the required source logs first.\ndetection:\n  selection:\n    EventType:\n      - identity.login\n      - identity.token.use\n  condition: selection\n",
        "kql": "// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.\n// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).\n// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.\nOpenAttacksAudit_CL\n| where TimeGenerated > ago(7d)\n| where EventType in (\"identity.login\", \"identity.token.use\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"identity.login\", \"identity.token.use\")\n| table _time EventType Actor Asset Action Target CorrelationId\n| sort - _time"
      },
      "query_scope": "Custom-schema candidates, not out-of-box detectors. Map your application / cloud / platform logs to EventType, Actor, Asset, Action, Target and CorrelationId. KQL uses a custom OpenAttacksAudit_CL table; SPL uses openattacks:audit. EventType values are proposed normalization names, not native vendor event names. Correlation and environment-specific alert logic remain to be built.",
      "query_kind": "custom_schema",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/identity.yaml",
      "query_downloads": {
        "sigma": "/api/detections/identity.sigma.yml",
        "kql": "/api/detections/identity.kql",
        "spl": "/api/detections/identity.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://securitylabs.datadoghq.com/articles/artex-agentic-attacks-aws-environments/"
      ],
      "reviewed": "2026-10-23",
      "upstream_matches": []
    },
    {
      "node_id": "enumerate",
      "profile": "cloud",
      "title": "Unexpected cloud / inference identity use",
      "hypothesis": "A service key or role is used from an unfamiliar origin, gains broader access or causes inference usage outside its established baseline.",
      "visibility": "Defender-side logs where collected",
      "telemetry": [
        "Cloud control-plane and identity audit",
        "AI-service invocation / diagnostic logs when enabled",
        "Usage, quotas, cost and key inventory"
      ],
      "investigate": [
        "Pivot on key ID / principal, source network and user agent, then inspect role changes, token minting and service pivots.",
        "Join inference usage and billing anomalies to the same principal; verify whether the behavior was authorized."
      ],
      "limitation": "Cloud control-plane logs alone may not include model prompts or inference calls. No endpoint policy is claimed to stop cloud-only key misuse.",
      "queries": {
        "sigma": "title: Hunt - Unexpected cloud / inference identity use\nid: afac2e65-c838-485b-a26f-7f175d422f61\nstatus: experimental\ndescription: A service key or role is used from an unfamiliar origin, gains\n  broader access or causes inference usage outside its established baseline.\nauthor: MagicSword OpenAttacks catalog\ndate: 2026-10-23\nfalsepositives:\n  - Authorized activity matching this broad hunt; baseline and investigate\n    before alerting.\nlevel: low\nlogsource:\n  category: application\n  product: openattacks_audit\n  definition: Custom normalized audit schema; map EventType, Actor, Asset, Action,\n    Target and CorrelationId from the required source logs first.\ndetection:\n  selection:\n    EventType:\n      - cloud.credential.use\n      - cloud.role.change\n      - model.invoke\n  condition: selection\n",
        "kql": "// SCHEMA TEMPLATE: create/map this custom table before use; not a built-in Sentinel table.\n// OpenAttacksAudit_CL: TimeGenerated(datetime), EventType/Actor/Asset/Action/Target/CorrelationId(string).\n// Selects candidates only. Apply the stage hypothesis and correlation steps before alerting.\nOpenAttacksAudit_CL\n| where TimeGenerated > ago(7d)\n| where EventType in (\"cloud.credential.use\", \"cloud.role.change\", \"model.invoke\")\n| project TimeGenerated, EventType, Actor, Asset, Action, Target, CorrelationId\n| order by TimeGenerated desc",
        "spl": "sourcetype=\"openattacks:audit\"\nEventType IN (\"cloud.credential.use\", \"cloud.role.change\", \"model.invoke\")\n| table _time EventType Actor Asset Action Target CorrelationId\n| sort - _time"
      },
      "query_scope": "Custom-schema candidates, not out-of-box detectors. Map your application / cloud / platform logs to EventType, Actor, Asset, Action, Target and CorrelationId. KQL uses a custom OpenAttacksAudit_CL table; SPL uses openattacks:audit. EventType values are proposed normalization names, not native vendor event names. Correlation and environment-specific alert logic remain to be built.",
      "query_kind": "custom_schema",
      "origin": "catalog_authored",
      "definition_url": "https://github.com/magicsword-io/openattacks/blob/main/detections/cloud.yaml",
      "query_downloads": {
        "sigma": "/api/detections/cloud.sigma.yml",
        "kql": "/api/detections/cloud.kql",
        "spl": "/api/detections/cloud.spl"
      },
      "validation": "draft",
      "evidence": [
        "https://securitylabs.datadoghq.com/articles/artex-agentic-attacks-aws-environments/"
      ],
      "reviewed": "2026-10-23",
      "upstream_matches": []
    }
  ],
  "attack_flow": {
    "nodes": [
      {
        "id": "anon-s3",
        "title": "Anonymous S3 reads",
        "description": "Sessions start with unauthenticated GetObject and ListObjects, including placeholder keys zzz_nonexistent_abc.txt and Notexist-xyz.",
        "kind": "access",
        "source_urls": [
          "https://securitylabs.datadoghq.com/articles/artex-agentic-attacks-aws-environments/"
        ]
      },
      {
        "id": "cloudwatch",
        "title": "CloudWatch log trawl",
        "description": "Leaked IAM keys run FilterLogEvents with limit 1000, searching for funds, invoices, file extensions, and AKIA.",
        "kind": "execution",
        "source_urls": [
          "https://securitylabs.datadoghq.com/articles/artex-agentic-attacks-aws-environments/"
        ]
      },
      {
        "id": "cognito",
        "title": "Cognito self-sign-up",
        "description": "From 154.64.252.77 the agent calls SignUp, fights a PreSignUp Lambda, then exchanges tokens and lists AWS resources.",
        "kind": "ai",
        "source_urls": [
          "https://securitylabs.datadoghq.com/articles/artex-agentic-attacks-aws-environments/"
        ]
      },
      {
        "id": "enumerate",
        "title": "Cross-service enumeration",
        "description": "Cognito identity credentials are used for ListBuckets, ListSecrets, DescribeParameters, and related discovery calls.",
        "kind": "impact",
        "source_urls": [
          "https://securitylabs.datadoghq.com/articles/artex-agentic-attacks-aws-environments/"
        ]
      }
    ],
    "edges": [
      {
        "source": "anon-s3",
        "target": "cloudwatch"
      },
      {
        "source": "anon-s3",
        "target": "cognito"
      },
      {
        "source": "cognito",
        "target": "enumerate"
      }
    ]
  }
}