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.

2.1 KB
Raw Blame
id: splunk-security-content-ce1c0e2b-9303-4903-818b-0d9002fc6ea4
name: AWS Defense Evasion PutBucketLifecycle
description: The following analytic detects `PutBucketLifecycle` events in AWS CloudTrail
  logs where a user sets a lifecycle rule for an S3 bucket with an expiration period
  of fewer than three days. This detection leverages CloudTrail logs to identify suspicious
  lifecycle configurations. This activity is significant because attackers may use
  it to delete CloudTrail logs quickly, thereby evading detection and impairing forensic
  investigations. If confirmed malicious, this could allow attackers to cover their
  tracks, making it difficult to trace their actions and respond to the breach effectively.
severity: medium
enabled: false
tags:
  mitre:
  - T1485.001
  - T1562.008
  categories:
  - cloud
references:
- https://stratus-red-team.cloud/attack-techniques/AWS/aws.defense-evasion.cloudtrail-lifecycle-rule/
logsource:
  product: splunk
detection:
  splunk_spl: "`cloudtrail` eventName=PutBucketLifecycle user_type=IAMUser errorCode=success\n\
    \  | spath path=requestParameters{}.LifecycleConfiguration{}.Rule{}.Expiration{}.Days\
    \ output=expiration_days\n  | spath path=requestParameters{}.bucketName output=bucket_name\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 bucket_name\n       expiration_days\n  |\
    \ `security_content_ctime(firstTime)`\n  | `security_content_ctime(lastTime)`\n\
    \  | `aws_defense_evasion_putbucketlifecycle_filter`"
provenance:
  source: splunk/security_content
  source_id: ce1c0e2b-9303-4903-818b-0d9002fc6ea4
  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_defense_evasion_putbucketlifecycle.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema