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.8 KB
Raw Blame
id: splunk-security-content-4f3b0c97-657e-4547-a89a-9a50c656e3cd
name: Kubernetes Anomalous Inbound Outbound Network IO
description: The following analytic identifies high inbound or outbound network I/O
  anomalies in Kubernetes containers. It leverages process metrics from an OTEL collector
  and Kubelet Stats Receiver, along with data from Splunk Observability Cloud. A lookup
  table with average and standard deviation values for network I/O is used to detect
  anomalies persisting over a 1-hour period. This activity is significant as it may
  indicate data exfiltration, command and control communication, or unauthorized data
  transfers. If confirmed malicious, it could lead to data breaches, service outages,
  financial losses, and reputational damage.
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(k8s.pod.network.io) as io where `kubernetes_metrics` by
    k8s.cluster.name k8s.pod.name k8s.node.name direction span=10s | eval service
    = replace(''k8s.pod.name'', "-\w{5}$$|-[abcdef0-9]{8,10}-\w{5}$$", "") | stats
    avg(eval(if(direction="transmit", io,null()))) as outbound_network_io avg(eval(if(direction="receive",
    io,null()))) as inbound_network_io by k8s.cluster.name k8s.node.name k8s.pod.name
    service _time | eval key = ''k8s.cluster.name'' + ":" + ''service'' | lookup k8s_container_network_io_baseline
    key | eval anomalies = "" | foreach stdev_* [ eval anomalies =if( ''<<MATCHSTR>>''
    > (''avg_<<MATCHSTR>>'' + 4 * ''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) ] | eval anomalies = replace(anomalies,
    ",\s$$", "") | where anomalies!="" | stats count values(anomalies) as anomalies
    by k8s.cluster.name k8s.node.name k8s.pod.name service | rename service as k8s.service
    | where count > 5 | rename k8s.node.name as host | `kubernetes_anomalous_inbound_outbound_network_io_filter`'
provenance:
  source: splunk/security_content
  source_id: 4f3b0c97-657e-4547-a89a-9a50c656e3cd
  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_inbound_outbound_network_io.yml
notes:
  splunk_status: experimental
  splunk_data_source: []
  quarantine_reason: 'upstream status: experimental'