Penetration Testing for Iot Companies: What to Scope and Expect
IoT penetration testing is a security test of the whole product chain, not just the gadget: the hardware, the firmware running on it, the companion mobile app, the cloud and API backend, and the communication links between them. A typical web or API pentest covers only one of those layers. If you sell connected devices, scoping the test across all five is the main decision you will make, and it determines whether the report means anything to a customer or regulator.
One note on our own scope, up front. SecurityInfinity's Startup Pentest covers web applications, APIs, subdomains and cloud exposure. It does not include firmware analysis, hardware testing or radio (BLE, Zigbee, Wi-Fi at the protocol level) testing. For an IoT company it covers the cloud and API layer only, and you need a specialist for the rest. The sections below explain what a complete IoT pentest looks like so you can scope it properly with whoever you hire.
Why IoT pentests are scoped differently
A web app pentest has one natural boundary: the URL. An IoT product has several, and an attacker only needs the weakest one. The OWASP IoT Top 10 (2018) shows this in its structure. Its items span weak or hardcoded passwords, insecure network services on the device, insecure web/API/cloud/mobile interfaces, missing secure update mechanisms, outdated components, insecure data transfer and storage, insecure defaults and lack of physical hardening. Those are firmware, network, ecosystem and hardware issues in one list.
The practical consequence: a single "IoT pentest" quote can mean very different things. Always ask which layers are in scope and which are excluded.
The five layers to scope
| Layer | What the tester does | Typical findings |
|---|---|---|
| Hardware / device | Inspects the board, identifies debug interfaces, attempts physical access | Exposed debug ports, extractable flash, no physical hardening |
| Firmware | Extracts or obtains the image, unpacks it, reviews binaries, configs and credentials | Hardcoded credentials, outdated components, unsigned updates |
| Mobile app | Tests the Android/iOS companion app and its pairing flow | Insecure local storage, weak auth, embedded keys |
| Cloud / API | Tests the backend the device and app talk to | Broken authorization, IDOR across device IDs, exposed storage |
| Communications | Analyzes traffic and radio protocols between device, app and cloud | Missing or weak encryption, replayable commands, insecure pairing |
1. Hardware and device
Hardware testing looks at what someone holding the device can do. That includes finding debug interfaces on the board, attempting to read storage, and checking whether the device resists tampering. This maps to the OWASP IoT Top 10's "Lack of Physical Hardening" item, which the project describes as missing measures that let an attacker gain information for a later remote attack or take local control.
Decide early whether you ship a device that sits in a customer's home or a locked cabinet. Physical attacks matter more for the former.
2. Firmware
Firmware review is usually where the most serious findings appear. OWASP maintains a Firmware Security Testing Methodology (FSTM) and an IoT Security Testing Guide as part of its IoT project, and it also publishes IoTGoat, a deliberately insecure OpenWrt-based firmware for practice. A firmware tester typically:
- obtains the image (vendor download, update capture or extraction from flash);
- unpacks the filesystem and searches for credentials, keys, certificates and private endpoints;
- inventories third-party components and checks them against known vulnerabilities;
- reviews how updates are validated — the OWASP IoT Top 10 calls out missing firmware validation, unencrypted delivery and missing anti-rollback protection;
- emulates or debugs services to test for memory-safety and command-injection bugs.
Give the tester a build with symbols if you can. It speeds work up and you pay for fewer hours of reverse engineering.
3. Mobile app
Most consumer and many commercial devices pair through an Android or iOS app. That app holds tokens, talks to the cloud and often sends commands to the device directly. Test it like any mobile target: local storage, certificate validation, embedded secrets, and the pairing flow. Our mobile app penetration testing guide covers the methodology, and the same applies here with the added question of how the app authenticates to the device.
4. Cloud and API
The cloud side is typically the largest attack surface by volume, and the one where a single flaw affects every customer's devices at once. The classic IoT cloud failure is authorization: a user can read or control another user's device by changing an ID. Test with at least two accounts, and test the device's own credentials as a separate identity from the user's.
This is the layer where a standard web and API pentest fits. See our API security testing guide for what that covers. It is also the layer the SecurityInfinity Startup Pentest addresses, with the Authenticated tier relevant when device-owner and admin roles need separate testing.
5. Communications
Test every link: device to app (BLE, Wi-Fi, local network), device to cloud (MQTT, HTTPS, CoAP or a custom protocol) and any gateway in between. You are looking for plaintext traffic, weak or missing authentication, replayable commands and insecure pairing. Our wireless penetration testing post explains the Wi-Fi side; BLE, Zigbee and sub-GHz radios need specialist hardware and skills.
Which standards to map the test against
You will get asked which framework the pentest maps to. These are the ones worth knowing:
- OWASP IoT Top 10 (2018) — a single list of the top ten things to avoid when building, deploying or managing IoT systems, per OWASP. Good as a findings taxonomy.
- OWASP IoT Security Testing Guide and FSTM — the methodology side, linked above.
- ETSI EN 303 645 — baseline requirements for consumer IoT. Its provisions include no universal default passwords, a means to manage vulnerability reports, keeping software updated, securely storing sensitive security parameters, communicating securely and minimizing exposed attack surfaces. A pentest can produce evidence for several of these, though a pentest alone is not a conformance assessment.
- NIST IR 8259 — foundational cybersecurity activities for IoT manufacturers. Note that NIST withdrew the original on April 20, 2026 and replaced it with NIST IR 8259r1, which is now the version to cite. It addresses manufacturer activities rather than test procedures, so it informs what you should build rather than how a tester works.
Whichever you pick, state it in the statement of work. "Tested against ETSI EN 303 645 provisions 5.1, 5.3 and 5.5" is a scope a customer can verify. "IoT security assessment" is not.
What to prepare before the engagement
- Devices. Provide multiple units, including at least one you are willing to have destroyed.
- Firmware and builds. Production images, plus a debug build if available.
- Accounts. Two normal user accounts, an admin account, and device credentials for the cloud.
- Architecture sketch. A one-page diagram of device, app, cloud and protocols.
- Rules of engagement. Which cloud environments are in scope (use staging where possible), whether destructive tests on production devices are allowed, and who to call if a test bricks a unit.
- Authorization for third parties. If your cloud runs on a provider or your devices connect to a partner's platform, confirm that testing is permitted.
What to expect in the deliverable
A usable IoT pentest report separates findings by layer, so your firmware team, app team and backend team each get their own list. Expect:
- an executive summary written for non-engineers;
- per-finding evidence and reproduction steps, including the exact device and firmware version tested;
- severity ratings with attacker preconditions stated (remote, adjacent, physical access);
- a mapping to the framework you agreed on;
- retest terms, since firmware fixes need a new build and a new check.
Our posts on how to read a penetration test report and the penetration test report template apply here too. For cost expectations across test types, see how much a penetration test costs. Device testing is generally priced higher than web testing because of the specialist hardware and time involved; get layer-by-layer quotes rather than a single number.
Where SecurityInfinity fits
Use a hardware/firmware specialist for the first three layers, and for the radio part of communications. For the cloud and API layer and your public web presence, SecurityInfinity can cover the external attack surface. The Startup Pentest tests web apps, APIs, subdomains and cloud exposure from $499 per application, with an engineer-verified report and attestation letter in 3 business days. The IoT Intelligence scanner is also available as a separate scanner page for IoT-related reconnaissance; check that page for what it covers rather than assuming it replaces device testing, because it does not.
If you are unsure which layers you need, a sensible split is: specialist for device and firmware once per major hardware revision, and web/API/cloud testing whenever the backend changes materially. Our post on how often to pentest goes through timing.
You can start a scan on a verified domain to see your cloud-facing exposure before you scope the rest.
Frequently asked questions
What does IoT penetration testing include?
It covers the device hardware, firmware, companion mobile app, cloud and API backend, and the communication protocols between them. A complete engagement tests all five layers, since an attacker only needs the weakest one. Always confirm in writing which layers a quote includes.
Does a web application pentest cover IoT devices?
No. A web or API pentest covers the backend and any web interfaces, which is one layer of an IoT product. It will not analyze firmware, hardware debug interfaces or radio protocols. SecurityInfinity's Startup Pentest is in this category and covers web apps, APIs, subdomains and cloud exposure only.
Which standard should an IoT pentest follow?
Common references are the OWASP IoT Top 10 and IoT Security Testing Guide, and ETSI EN 303 645 for consumer devices. NIST IR 8259 was withdrawn on April 20, 2026 and replaced by NIST IR 8259r1. Pick one in the statement of work so the findings map to something your customers can check.
What should I give the testers before the engagement?
Several device units, production and debug firmware where available, test accounts for each user role, device credentials, an architecture diagram and written rules of engagement. Preparing these up front shortens the engagement and reduces cost.
How often should an IoT company pentest?
Test the device and firmware when hardware or major firmware changes, and test the cloud and API layer whenever the backend changes materially. Fixes to firmware need a new build and a retest, so plan for that in your release schedule.