Detectionlowtest

System Network Connections Discovery - Linux

Detects attempts to discover system network connections via common Linux utilities. Adversaries may use tools such as netstat, ss, or lsof to enumerate active connections, open ports, and listening services on a compromised system.

Open in Detection LabConvert ruleBuild Package
Daniil Yugoslavskiy, oscd.communityCreated 2020-10-19Updated 2026-11-034c519226-f0cd-4471-bd2f-6fbb2bb68a79linux
Log Source
LinuxProcess Creation
ProductLinux← raw: linux
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic1 selector
detection:
    selection:
        Image|endswith:
            - '/lsof'
            - '/netstat'
            - '/sockstat'
            - '/ss'
    condition: selection
False Positives

Legitimate administration activities

Rule Metadata
Rule ID
4c519226-f0cd-4471-bd2f-6fbb2bb68a79
Status
test
Level
low
Type
Detection
Created
2020-10-19
Modified
2026-11-03
Path
rules/linux/process_creation/proc_creation_lnx_system_network_connections_discovery.yml
Raw Tags
attack.discoveryattack.t1049
View on GitHub