TExcelTAD
Home › Wireless, IoT & Mobile Security › Radio Law, Licensing and Testing Only What You Own

Radio Law, Licensing and Testing Only What You Own

A wired penetration test starts at a network socket somebody gave you. A wireless test starts in the air, and the air is shared: your neighbour's access point, the café's guest network, a hospital's telemetry, a stranger's earbuds all sit on the same 2.4 GHz band as the device you are allowed to test. That makes wireless work legally different from other security testing in two ways. Computer-misuse and interception laws apply to listening and connecting, as everywhere. On top of that, radio law governs transmitting: what you may send, on which frequencies, with how much power. This lesson turns both into a scope you can check before you touch a radio.

Note: This is an overview for planning, not legal advice. Laws differ by country and change; check the current text and, for paid work, your contract and counsel.

Three kinds of rules

Rule What it covers Examples (check current versions)
Access and misuse joining, logging in, changing or disrupting systems without authorization US CFAA (18 U.S.C. § 1030), UK Computer Misuse Act 1990, EU Directive 2013/40/EU, Vietnam's Penal Code arts. 285–294 (law lessons, UK and EU, Vietnam)
Interception capturing the content of other people's communications US Wiretap Act (18 U.S.C. § 2511); UK Investigatory Powers Act 2016 and Wireless Telegraphy Act 2006; EU member-state laws implementing the ePrivacy Directive
Radio regulation transmitting: licensed and licence-exempt bands, power limits, certified equipment, and above all harmful interference ITU Radio Regulations; US FCC rules (Part 15 for licence-exempt devices) and 47 U.S.C. § 333 on wilful interference; the EU Radio Equipment Directive 2014/53/EU and national regulators (Ofcom in the UK); Vietnam's Law on Radio Frequencies (2009, amended 2022)

Wi-Fi and Bluetooth use licence-exempt (ISM and similar) bands: anyone may operate certified equipment there within the power limits, without a personal licence. Licence-exempt does not mean lawless. Using a device in a way that harms other users of the band is prohibited almost everywhere, and jammers are illegal to sell or operate for the public in the US, the EU, the UK and Vietnam. Modifying a radio to exceed power limits, or using channels not allowed in your country (for example 2.4 GHz channel 14, which only Japan permits, and there only for old 802.11b), breaks equipment rules even when no one complains.

Three practical consequences:

  1. Passive is not automatically safe. Recording management frames (network names, MAC addresses) is common for site surveys, but recording and keeping the payload of other people's traffic can be interception. In Joffe v. Google (US Ninth Circuit, 2013), payload data collected from unencrypted home Wi-Fi by Street View cars was held not to fall under the "readily accessible to the general public" exception of the Wiretap Act.
  2. Transmitting at someone else's network is an attack, not a test. Forged frames that disconnect clients, or noise that blocks a channel, disrupt everyone on that channel, including people who never agreed to your test. That is why this course explains such attacks only as mechanisms with their detection and fixes.
  3. Your authorization covers systems, not the spectrum. A client can authorise you to test their access points; they can't authorise you to disturb the shop next door that shares the channel.

Scope for wireless, IoT and mobile work

A wireless scope names more than IP ranges (Authorization, Scope and Rules of Engagement):

  • Identifiers of the systems you may test: SSIDs and BSSIDs (an SSID alone matches anyone's network with that name), Bluetooth device addresses, device serial numbers, app package names and versions.
  • Location and time: building, floors, the window, and the people to call.
  • Allowed activities per identifier: passive survey, connecting with supplied credentials, configuration review, firmware analysis of supplied images, app testing on supplied test devices, and explicitly what is not allowed (transmitting forged frames, denial of service, testing staff phones).
  • Data handling: what may be captured, where it is stored, when it is deleted; capture filters that drop frames from BSSIDs outside the scope.
  • Hardware: who owns the test devices; whether opening a device (and voiding its warranty) is allowed.

A scope like that can be checked by a program before each action. The engagement below is a lab one (synthetic), for the course's smart-home vendor:

python · try it yourself
SCOPE = {
    "bssids": {"02:00:00:0a:0a:01", "02:00:00:0a:0a:02"},      # ap1 and ap2 of LabNet only
    "ble":    {"c2:00:00:b1:e0:07"},                           # plug-07 (BLE static address)
    "apps":   {"test.lab.labhome"},
    "allowed": {"passive-survey", "connect-supplied-creds", "config-review", "firmware-review", "app-test-device"},
    "never":   {"transmit-forged-frames", "jamming", "deauth", "staff-devices"},
}
plan = [
    ("passive-survey",         "02:00:00:0a:0a:01"),
    ("connect-supplied-creds", "02:00:00:0a:0a:02"),
    ("passive-survey",         "02:00:00:0a:0a:66"),   # same SSID "LabNet", unknown BSSID
    ("deauth",                 "02:00:00:0a:0a:01"),
    ("app-test-device",        "test.lab.labhome"),
    ("app-test-device",        "com.example.other"),
]
def check(action, target):
    if action in SCOPE["never"]:
        return "REFUSE: forbidden activity"
    if action not in SCOPE["allowed"]:
        return "ASK: activity not in the scope"
    if target not in SCOPE["bssids"] | SCOPE["ble"] | SCOPE["apps"]:
        return "REFUSE: target not in scope (report it, don't test it)"
    return "ok"
for action, target in plan:
    print(f"{action:23} {target:19} -> {check(action, target)}")
passive-survey          02:00:00:0a:0a:01   -> ok
connect-supplied-creds  02:00:00:0a:0a:02   -> ok
passive-survey          02:00:00:0a:0a:66   -> REFUSE: target not in scope (report it, don't test it)
deauth                  02:00:00:0a:0a:01   -> REFUSE: forbidden activity
app-test-device         test.lab.labhome    -> ok
app-test-device         com.example.other   -> REFUSE: target not in scope (report it, don't test it)

The third line matters most. An unknown BSSID advertising the client's SSID may be a rogue access point, which is a finding to report, or simply the neighbour's router with the same default name. Either way it is not yours to probe. Even a "forbidden activity" against an in-scope target is refused: some actions are never in this course's scope.

How a safe radio lab is built

  • Simulated radios first. Linux's mac80211_hwsim kernel module creates virtual Wi-Fi radios that talk only to each other inside one machine, with hostapd as the access point and wpa_supplicant as the client. Handshakes, PMF and SAE can be studied there with no radio emission at all.
  • Your own hardware, shielded and low power. A spare access point and test devices, on a channel and power level that don't reach the neighbours; an RF-shielded box or tent for anything that transmits unusual frames.
  • Captures filtered to your BSSIDs at capture time, kept encrypted and deleted after the engagement.
  • Test phones and emulators, never personal phones; test accounts, never production users.
  • Supplied firmware images for analysis, not images pulled from devices you don't own.

How violations are detected

Regulators locate interference with direction-finding equipment, and complaints from licensed users (airports, hospitals, emergency services) are investigated. Organisations run wireless intrusion detection (later in this course) that logs forged management frames, rogue access points and unusual clients, with time and location. Careless testers are found the same way as attackers.

How you stay on the right side

  • Get a written scope that names BSSIDs, devices and apps, the activities allowed and forbidden, and the data handling.
  • Prefer simulation (mac80211_hwsim), shielding and supplied images; never transmit forged frames or noise outside a shielded lab.
  • Use certified equipment within your country's channel and power rules.
  • Stop and report anything outside the scope: an unknown BSSID with the client's SSID is a finding, not a target.

Pitfalls

  • Scoping by SSID only: names aren't unique, and evil twins copy them.
  • Believing "it's unencrypted, so it's public": interception laws may still apply.
  • Testing a building's network from a shared space without asking the other tenants' networks to be excluded from captures.
  • Letting a client "authorise" testing staff members' personal phones: the phone owner must agree.

Practice

1. A client asks you to "check if our Wi-Fi is secure" and names the SSID Office. What do you ask for before you start?

The BSSIDs of their access points (there may be other Office networks nearby), the locations and time window, which activities are allowed (survey, connecting with supplied credentials, configuration review) and which are not, how captures are filtered and stored, and a contact who can stop the test. All of it in writing.

2. During a survey you see your client's SSID on a BSSID not on their list, with no encryption. What do you do?

Record what a passive survey shows (time, channel, signal, security), stop there, and report it to the client as a possible rogue AP or evil twin. Connecting to it or probing it is outside the scope: it may belong to someone else.

3. Why is a jammer illegal even in a licence-exempt band?

Licence-exempt bands allow certified devices within power limits that coexist with others. A jammer exists to cause harmful interference to every user of the band, which radio laws prohibit; most countries also ban selling or operating jammers.

Test yourself

Which identifier should a wireless scope use to name the client's access points?

  1. The SSID only
  2. The BSSIDs (radio MAC addresses), plus the SSID
  3. The channel
  4. The router's brand

Wi-Fi uses licence-exempt bands. What does that mean?

  1. Anything may be transmitted
  2. Certified equipment may be used without a personal licence, within power limits and without causing harmful interference
  3. Only governments may transmit
  4. Interception laws don't apply

Which lab setup lets you study WPA handshakes without emitting any radio signal?

  1. A directional antenna
  2. mac80211_hwsim virtual radios with hostapd and wpa_supplicant
  3. Raising transmit power
  4. Testing in a café

What is the right response to an unknown BSSID advertising the client's SSID?

  1. Connect and look around
  2. Send it deauthentication frames
  3. Record the passive observation and report it as a finding
  4. Ignore it