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-10442d8b-0701-4c25-911d-d67b906e713c
name: Kubernetes Anomalous Inbound Network Activity from Process
description: The following analytic identifies anomalous inbound network traffic volumes
  from processes within containerized workloads. It leverages Network Performance
  Monitoring metrics collected via an OTEL collector and pulled from Splunk Observability
  Cloud. The detection compares recent metrics (tcp.bytes, tcp.new_sockets, tcp.packets,
  udp.bytes, udp.packets) over the last hour with the average over the past 30 days.
  This activity is significant as it may indicate unauthorized data reception, potential
  breaches, vulnerability exploitation, or malware propagation. If confirmed malicious,
  it could lead to command and control installation, data integrity damage, container
  escape, and further environment compromise.
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 dest.workload.name dest.process.name  span=10s
    | eval key=''dest.workload.name'' + ":" + ''dest.process.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 dest.workload.name dest.process.name | eval key=''dest.workload.name'' + ":"
    + ''dest.process.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 dest.workload.name dest.process.name | where count > 5 | rename
    k8s.cluster.name as host | `kubernetes_anomalous_inbound_network_activity_from_process_filter`'
provenance:
  source: splunk/security_content
  source_id: 10442d8b-0701-4c25-911d-d67b906e713c
  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_network_activity_from_process.yml
notes:
  splunk_status: experimental
  splunk_data_source: []
  quarantine_reason: 'upstream status: experimental'