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.9 KB
Raw Blame
id: splunk-security-content-40a064c1-4ec1-4381-9e35-61192ba8ef82
name: Kubernetes Abuse of Secret by Unusual Location
description: The following analytic detects unauthorized access or misuse of Kubernetes
  Secrets from unusual locations. It leverages Kubernetes Audit logs to identify anomalies
  in access patterns by analyzing the source of requests by country. This activity
  is significant for a SOC as Kubernetes Secrets store sensitive information like
  passwords, OAuth tokens, and SSH keys, making them critical assets. If confirmed
  malicious, this behavior could indicate an attacker attempting to exfiltrate or
  misuse these secrets, potentially leading to unauthorized access to sensitive systems
  or data.
severity: medium
enabled: false
tags:
  mitre:
  - T1552.007
  categories:
  - cloud
references:
- https://kubernetes.io/docs/tasks/debug/debug-cluster/audit/
logsource:
  product: splunk
detection:
  splunk_spl: "`kube_audit` objectRef.resource=secrets verb=get\n  | iplocation sourceIPs{}\n\
    \  | fillnull\n  | search NOT `kube_allowed_locations`\n  | stats count\n    BY\
    \ objectRef.name objectRef.namespace objectRef.resource\n       requestReceivedTimestamp\
    \ requestURI responseStatus.code\n       sourceIPs{} stage user.groups{}\n   \
    \    user.uid user.username userAgent\n       verb City Country\n  | rename sourceIPs{}\
    \ as src_ip, user.username as user\n  | `kubernetes_abuse_of_secret_by_unusual_location_filter`"
provenance:
  source: splunk/security_content
  source_id: 40a064c1-4ec1-4381-9e35-61192ba8ef82
  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/kubernetes_abuse_of_secret_by_unusual_location.yml
notes:
  splunk_status: production
  splunk_data_source: []
  quarantine_reason: raw SPL — needs translation to AiSOC detection schema