Debian GNU/Linux · Network

Disable wireless network interfaces on servers

When it fails: A wireless network interface is available on a server. A wireless interface can connect the server to a network outside the firewall and monitoring of the data center.

CB-DEB-NET-003mediumactiveautomatedprofile server

As released in v0.1.1 beta · pre-release. Current state.

Description

Servers are connected by cable to known networks. A Wi-Fi interface, often present on the mainboard or added by a USB adapter, shows up under /sys/class/net/ with a wireless directory or a phy80211 link once its driver is loaded. This control checks that no such interface exists, which means the driver of any Wi-Fi hardware is not loaded.

Rationale

A wireless interface lets someone near the building reach the server, or lets the server reach an uncontrolled network, bypassing the network firewall and its logs. Not loading the driver removes the interface and the driver code from the attack surface.

Impact

Wi-Fi stops working. Do not apply it to a server whose only network link is wireless.

Audit

Run ls -d /sys/class/net/*/wireless /sys/class/net/*/phy80211 2>/dev/null. It must print nothing. iw dev, when installed, must not list any interface.

Automated: every check must pass. Scanners report each check by its id.

interfaces

Network interfaces with a wireless extension.

script: |
  found=
  for d in /sys/class/net/*; do
    if [ -e "$d/wireless" ] || [ -e "$d/phy80211" ]; then found="$found ${d##*/}"; fi
  done
  if [ -n "$found" ]; then echo "wireless interfaces:$found"; exit 1; fi
  echo 'no wireless interface'

Remediation

  1. Find the driver of each wireless interface: basename "$(readlink -f /sys/class/net/<interface>/device/driver/module)".
  2. Create /etc/modprobe.d/60-cirsec-wireless.conf with, for each driver, install <driver> /bin/false and blacklist <driver>.
  3. Bring the interface down (ip link set <interface> down) and reboot. Disabling the device in the firmware setup, or removing it, is better when possible.

Rollback

Delete /etc/modprobe.d/60-cirsec-wireless.conf and reboot.

References

Mappings

FrameworkIDRelation
NIST SP 800-53 Rev. 55.1.1AC-18related

How this control relates to the other framework's: equivalent, stricter, looser, partial or related.

Threats mitigated

People and lifecycle

Authors
Verified2026-10-18 by Sn0wAlice on 12, Proxmox VM 921, Debian 12 genericcloud image, kernel 6.1.0-54-cloud-amd64. No wireless interface on the lab VM, check passes; remediation is manual.
Verified2026-10-18 by Sn0wAlice on 13, Proxmox VM 931, Debian 13 genericcloud image, kernel 6.12.113+deb13-cloud-amd64. No wireless interface on the lab VM, check passes; remediation is manual.
Introduced inv0.1.0
Created, updated2026-10-18, 2026-10-18
Translationsfr