Tuesday 24 November 2026 19:14:46 GMT+01:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItaliano

WIKICROOK

CAP_NET_RAW

A Linux capability that permits raw socket operations, which are usually restricted in hardened environments.

CAP_NET_RAW is a Linux capability that allows a process to use raw and packet sockets. These sockets let software work directly with network packets instead of relying only on standard application protocols. The capability is more narrowly scoped than full root access, but it can still enable sensitive network operations, such as packet crafting or network probing.

In cyber security, CAP_NET_RAW matters because code running in a container or sandbox may use it to attempt low-level network activity. Having the capability does not by itself guarantee that packets can reach external systems: host configuration, routing, and egress filtering can still block or monitor traffic. Defenders should avoid granting it unless necessary, and use independent outbound controls and logging so a failed proxy does not become the only barrier to network access.

← WIKICROOK index