Detection rules › Sigma

Google Full Network Traffic Packet Capture

Status
test
Severity
medium
Log source
product gcp, service gcp.audit
Author
Austin Songer @austinsonger
Source
github.com/SigmaHQ/sigma

Identifies potential full network packet capture in gcp. This feature can potentially be abused to read sensitive data from unencrypted internal traffic.

MITRE ATT&CK coverage

TacticTechniques
CollectionT1074 Data Staged

Rule body yaml

title: Google Full Network Traffic Packet Capture
id: 980a7598-1e7f-4962-9372-2d754c930d0e
status: test
description: Identifies potential full network packet capture in gcp. This feature can potentially be abused to read sensitive data from unencrypted internal traffic.
references:
    - https://cloud.google.com/kubernetes-engine/docs/how-to/audit-logging
    - https://developers.google.com/resources/api-libraries/documentation/compute/v1/java/latest/com/google/api/services/compute/Compute.PacketMirrorings.html
author: Austin Songer @austinsonger
date: 2021-08-13
modified: 2022-10-09
tags:
    - attack.collection
    - attack.t1074
logsource:
    product: gcp
    service: gcp.audit
detection:
    selection:
        gcp.audit.method_name:
            - v*.Compute.PacketMirrorings.Get
            - v*.Compute.PacketMirrorings.Delete
            - v*.Compute.PacketMirrorings.Insert
            - v*.Compute.PacketMirrorings.Patch
            - v*.Compute.PacketMirrorings.List
            - v*.Compute.PacketMirrorings.aggregatedList
    condition: selection
falsepositives:
    - Full Network Packet Capture may be done by a system or network administrator.
    - If known behavior is causing false positives, it can be exempted from the rule.
level: medium

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    gcp.audit.method_name:
        - v*.Compute.PacketMirrorings.Get
        - v*.Compute.PacketMirrorings.Delete
        - v*.Compute.PacketMirrorings.Insert
        - v*.Compute.PacketMirrorings.Patch
        - v*.Compute.PacketMirrorings.List
        - v*.Compute.PacketMirrorings.aggregatedList

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
gcp.audit.method_namewildcard
  • v*.Compute.PacketMirrorings.Delete
  • v*.Compute.PacketMirrorings.Get
  • v*.Compute.PacketMirrorings.Insert
  • v*.Compute.PacketMirrorings.List
  • v*.Compute.PacketMirrorings.Patch
  • v*.Compute.PacketMirrorings.aggregatedList