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.9 KB
Raw Blame
id: splunk-security-content-886c7e51-2ea1-425d-8705-faaca5a64cc6
name: Kubernetes Anomalous Traffic on Network Edge
description: The following analytic identifies anomalous network traffic volumes between
  Kubernetes workloads or between a workload and external sources. It leverages Network
  Performance Monitoring metrics collected via an OTEL collector and pulled from Splunk
  Observability Cloud. The detection compares recent network metrics (tcp.bytes, tcp.new_sockets,
  tcp.packets, udp.bytes, udp.packets) over the last hour with the average over the
  past 30 days to identify significant deviations. This activity is significant as
  unexpected spikes may indicate unauthorized data transfers or lateral movement.
  If confirmed malicious, it could lead to data exfiltration or compromise of additional
  services, potentially resulting in data breaches.
severity: medium
enabled: false
tags:
  mitre:
  - T1204
  categories:
  - cloud
references:
- https://github.com/signalfx/splunk-otel-collector-chart
logsource:
  product: splunk
detection:
  splunk_spl: '| mstats avg(tcp.*) as tcp.* avg(udp.*) as udp.* where `kubernetes_metrics`
    AND earliest=-1h by k8s.cluster.name source.workload.name dest.workload.name span=10s
    | eval key=''source.workload.name'' + ":" + ''dest.workload.name'' | join type=left
    key [ mstats avg(tcp.*) as avg_tcp.* avg(udp.*) as avg_udp.* stdev(tcp.*) as stdev_tcp.*
    avg(udp.*) as stdev_udp.* where `kubernetes_metrics` AND earliest=-30d latest=-1h
    by source.workload.name dest.workload.name | eval key=''source.workload.name''
    + ":" + ''dest.workload.name'' ] | eval anomalies = "" | foreach stdev_* [ eval
    anomalies =if( ''<<MATCHSTR>>'' > (''avg_<<MATCHSTR>>'' + 3 * ''stdev_<<MATCHSTR>>''),
    anomalies + "<<MATCHSTR>> higher than average by " + tostring(round((''<<MATCHSTR>>''
    - ''avg_<<MATCHSTR>>'')/''stdev_<<MATCHSTR>>'' ,2)) + " Standard Deviations. <<MATCHSTR>>="
    + tostring(''<<MATCHSTR>>'') + " avg_<<MATCHSTR>>=" + tostring(''avg_<<MATCHSTR>>'')
    + " ''stdev_<<MATCHSTR>>''=" + tostring(''stdev_<<MATCHSTR>>'') + ", " , anomalies)
    ] | fillnull | eval anomalies = split(replace(anomalies, ",\s$$$$", "") ,", ")
    | where anomalies!="" | stats count(anomalies) as count values(anomalies) as anomalies
    by k8s.cluster.name source.workload.name dest.workload.name | rename service as
    k8s.service | where count > 5 | rename k8s.cluster.name as host | `kubernetes_anomalous_traffic_on_network_edge_filter`'
provenance:
  source: splunk/security_content
  source_id: 886c7e51-2ea1-425d-8705-faaca5a64cc6
  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_anomalous_traffic_on_network_edge.yml
notes:
  splunk_status: experimental
  splunk_data_source: []
  quarantine_reason: 'upstream status: experimental'