Skip to content

armgit / AiSOC

Public Imported from GitHub
0

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.

1.8 KB
Raw Blame
id: splunk-security-content-2a9b80d3-6340-4345-11ad-212bf3d0dac4
name: AWS SetDefaultPolicyVersion
description: The following analytic detects when a user sets a default policy version
  in AWS. It leverages AWS CloudTrail logs to identify the `SetDefaultPolicyVersion`
  event from the IAM service. This activity is significant because attackers may exploit
  this technique for privilege escalation, especially if previous policy versions
  grant more extensive permissions than the current one. If confirmed malicious, this
  could allow an attacker to gain elevated access to AWS resources, potentially leading
  to unauthorized actions and data breaches.
severity: medium
enabled: false
tags:
  mitre:
  - T1078.004
  categories:
  - cloud
references:
- https://bishopfox.com/blog/privilege-escalation-in-aws
- https://rhinosecuritylabs.com/aws/aws-privilege-escalation-methods-mitigation-part-2/
logsource:
  product: splunk
detection:
  splunk_spl: "`cloudtrail` eventName=SetDefaultPolicyVersion eventSource = iam.amazonaws.com\n\
    \  | rename user_name as user\n  | stats count min(_time) as firstTime max(_time)\
    \ as lastTime\n    BY signature dest user\n       user_agent src vendor_account\n\
    \       vendor_region vendor_product\n  | `security_content_ctime(firstTime)`\n\
    \  | `security_content_ctime(lastTime)`\n  | `aws_setdefaultpolicyversion_filter`"
provenance:
  source: splunk/security_content
  source_id: 2a9b80d3-6340-4345-11ad-212bf3d0dac4
  source_commit: 4d4c7ee
  license: Apache-2.0
  license_url: https://github.com/splunk/security_content/blob/develop/LICENSE
  imported_at: '2026-05-04'
  imported_by: splunk_importer
  upstream_path: detections/cloud/aws_setdefaultpolicyversion.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema