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
- Find the driver of each wireless interface:
basename "$(readlink -f /sys/class/net/<interface>/device/driver/module)". - Create
/etc/modprobe.d/60-cirsec-wireless.confwith, for each driver,install <driver> /bin/falseandblacklist <driver>. - 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
- Debian Wiki - WiFi Debian, vendor-doc, accessed 2026-10-18
- modprobe.d(5), Debian manual pages Debian, vendor-doc, accessed 2026-10-18
Mappings
| Framework | ID | Relation |
|---|---|---|
| NIST SP 800-53 Rev. 55.1.1 | AC-18 | related |
How this control relates to the other framework's: equivalent, stricter, looser, partial or related.
Threats mitigated
People and lifecycle
| Authors |
|
| Verified | 2026-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. |
| Verified | 2026-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 in | v0.1.0 |
| Created, updated | 2026-10-18, 2026-10-18 |
| Translations | fr |