Skip to content

Listening Ports

Evidence: Listening Ports
Description: Collect Listening Ports
Category: Network
Platform: macos
Short Name: lport
Is Parsed: Yes
Sent to Investigation Hub: Yes
Collect File(s): No

Listening ports reveal network services exposed by the macOS host. This data is essential for identifying unauthorized services, backdoors, and network‑facing attack surface.

This collector gathers structured data about listening ports.

FieldDescriptionExample
PIDPID123
PortPort123
ProtocolProtocol123
FamilyFamily123
AddressAddressExample value
FileDescriptorFile Descriptor123
SocketSocket123
PathPathExample value

This collector queries the listening_ports table via osquery and records results into listening_ports.

This evidence is crucial for forensic investigations as it correlates processes with ports, enabling detection of rogue services and covert listeners.