IoT and IP Camera Recon on the Internet: Unmanaged Device Exposure and CTEM Asset Discovery
Internet-facing IP cameras and NVRs are among the easiest assets to exploit and the hardest to inventory. A practitioner guide to IoT recon mechanics, ONVIF and RTSP fingerprinting, default-credential risk, and turning unmanaged device exposure into validated findings.

IoT and IP Camera Recon on the Internet: Unmanaged Device Exposure and CTEM Asset Discovery
TL;DR
Internet-facing IP cameras, NVRs, and IoT gateways are one of the most reliably exploitable asset classes on the public internet, usually because someone forwarded a port and then forgot the device existed. Attackers rarely need a zero-day: default credentials, unauthenticated ONVIF and RTSP endpoints, and firmware abandoned years ago are enough. IoT recon runs on the same loop as web recon, discover, fingerprint, validate, prioritize, but the assets live on ports and protocols that domain-only scanners never see. Inventory is the prerequisite for every control that follows, and it is the step most programs skip.
What this is
IoT and IP camera recon is the practice of discovering, fingerprinting, and assessing connected devices, network cameras, NVRs and DVRs, video management systems, printers, routers, NAS appliances, building management controllers, and industrial gateways, to understand what is exposed and what an adversary could do with it. It is attack surface management applied to a class of assets that most security programs never inventory properly.
Two things make it distinct from the subdomain and web-application recon most teams already do.
The protocols aren't HTTP-first. A camera's most valuable interface is often RTSP (554/tcp), a vendor's proprietary media port (37777, 34567, 8000), ONVIF's SOAP service, Telnet, or an MQTT broker. A scanner that only follows links and parses HTML walks straight past them. Fingerprinting here is banner-driven: RTSP OPTIONS and DESCRIBE responses, WWW-Authenticate realms such as IP Camera or NETSurveillance, HTTP titles like DVR Components or Hikvision Digital Technology, favicon hashes, and X.509 certificates whose CN and SAN fields leak model numbers and serials.
A large share of the estate is unmanaged. Cameras are bought by facilities, retail ops, or a branch manager, installed by a contractor, connected to the network, and never entered into a CMDB. There is no owner in the asset system, no patch process, and often no idea the device answers on a public IP. That is the exposure problem in one sentence: you cannot manage what you never discovered.
Recon itself is neutral. The same techniques, Shodan and Censys queries, nmap -p 554,8000,37777,23, ONVIF GetDeviceInformation calls, are used by defenders building inventory and by attackers building target lists. What differs is authorization, scope, and what you do with the results.
Why it matters
Three forces have converged.
The exploit path is short and cheap. Camera and NVR exploitation is a commodity. A Mirai-derived bot sends a handful of default credential pairs, gets a shell, and moves on. There is no phishing, no user interaction, and no need for a novel vulnerability. When someone does need one, they find it: CVE-2021-36260 (Hikvision web server command injection) and CVE-2021-33044/33045 (Dahua authentication impersonation) are both in CISA's Known Exploited Vulnerabilities catalog, and both were exploited at scale.
The business impact is not just "a camera." Compromised devices deliver live video and audio from clinics, schools, hotel rooms, retail floors, and manufacturing cells. That is a privacy incident, a regulatory event, and sometimes a safety issue. NVRs frequently hold weeks of footage, shared credentials for other systems, and a VPN client or dual-homed NIC that turns a camera into a pivot into the corporate LAN. Meanwhile, the device itself becomes a botnet node, a residential proxy exit, or a crypto-mining host, costs that show up as bandwidth, reputation damage, and abuse complaints from upstream providers.
Regulation has caught up. The UK's Product Security and Telecommunications Infrastructure regime bans universal default passwords on consumer connectable products, the EU Cyber Resilience Act introduces security obligations across the product lifecycle, and the US Cyber Trust Mark program pushes labeling for IoT devices. If your organization sells, deploys, or operates connected devices, "we didn't know it was on the network" is no longer an acceptable answer in an audit or an incident review.
Add the operational reality: cameras have 7-10 year physical lifecycles and 2-3 year firmware support windows. The gap between "still mounted on the wall" and "still receiving patches" is measured in years, and it is exactly where exposure accumulates.
How it works

The attacker workflow is boring, repeatable, and effective.
Discovery at internet scale. Query engines index camera banners continuously. An attacker filters by title, port, certificate field, or country, exports a list, and has thousands of candidates in minutes. Scanning IPv4 space for port 554 or 37777 is a weekend project with a cheap VPS.
Fingerprinting without authentication. Many devices answer before you log in. An ONVIF
GetDeviceInformationcall returns manufacturer, model, firmware version, and serial number. An RTSPDESCRIBEconfirms a live stream path. A certificate reveals the internal hostname. The attacker now knows the exact model and firmware, which maps directly to a public exploit list.Credential attack. Default and shared credentials remain the top success path. Vendor maintenance accounts, credentials baked into firmware, and the fact that integrators often set the same password across hundreds of devices make brute force unnecessary.
Exploitation. Web CGI parameters passed to shell commands, path traversal in file-download handlers, weak session handling in the admin console, unauthenticated configuration endpoints that dump password hashes. The 2018
login.cgicredential-disclosure issue affecting a long list of DVR vendors is the classic example: one HTTP request, all users and passwords returned.Post-exploitation. The device joins a botnet, becomes a proxy node, or gets repurposed for surveillance. On a flat network, the attacker uses the camera's own credentials to reach the NVR, then the VMS server, then whatever the VMS server trusts. Cameras that phone home to vendor P2P clouds (Hik-Connect, Dahua P2P, ThroughTek Kalay) are reachable even when no inbound port is open, a fact many perimeter reviews miss entirely.
The uncomfortable part: none of this requires the camera to be internet-facing. An internal camera with Telnet enabled and a default password is a live credential for anyone who reaches that segment, including a compromised laptop, a contractor's device, or a malicious insider.
Detection and response
The hypothesis to test is whether any owned IP space answers on IoT service ports with camera, NVR, or gateway banners, and whether those devices are reachable without authentication.

Good IoT visibility has three layers, and most teams only have the first.
External discovery. You need your own continuous view of what the internet sees when it looks at your IP space, not someone else's search index. That means scheduled scanning of owned netblocks for IoT service ports, banner collection, TLS certificate parsing, HTTP title and favicon hashing, and RTSP/ONVIF probing where authorized. Certificate Transparency logs and reverse DNS are useful corroboration: a certificate issued for camera-14.branch.example.com is a discovery event even before you scan the host.
Internal discovery. Public exposure is half the problem. The internal half comes from DHCP lease data, NAC and switch ARP tables, MAC OUI vendor attribution, mDNS/Bonjour and SSDP/UPnP broadcasts, WS-Discovery, and periodic authenticated scans of RFC1918 ranges. The goal is a device register with manufacturer, model, firmware version, location, owner, and support status, the fields you need to make any decision later.
Behavioral telemetry. Cameras are deterministic devices. They talk to a VMS, an NTP server, and maybe a vendor cloud endpoint. Anything else is worth a look: outbound flows to unfamiliar ASNs, connections to P2P rendezvous infrastructure, Telnet or SSH sessions into the camera, DNS queries to domains with no business relationship, and sudden traffic spikes consistent with botnet participation. Flow records and DNS logs catch what a periodic port scan never will.
Signal quality matters as much as collection. "This IP responds on port 554" is not a finding; it's a fact about the internet. "This IP is a Hikvision NVR running firmware with a KEV-listed command injection, reachable without authentication, on a segment that also hosts the finance VLAN" is a finding. The difference is validation and context.
What to do
- Inventory before you defend. Build a device register covering external and internal IoT assets with owner, location, firmware, and support status. Treat every camera, NVR, printer, and gateway as a first-class asset.
- Remove direct internet exposure by default. Cameras should not be reachable on public IPs. Replace port forwarding with VPN or a zero-trust access broker, then verify the change from outside the network, not from a spreadsheet.
- Segment aggressively. Put cameras, NVRs, and building systems on their own VLANs with deny-by-default rules to user and server networks. Cameras need to reach the VMS; the VMS does not need to reach the domain controller.
- Eliminate default and shared credentials. Unique credentials per device, stored in a vault, rotated on integrator handover. This single control defeats the largest share of real-world IoT compromises.
- Disable what you don't use. Telnet, FTP, UPnP, WS-Discovery, unused ONVIF accounts, vendor P2P cloud, and mobile-app pairing are all attack surface. Turn them off and document why.
- Track firmware with a lifecycle clock. Record support end-of-life dates at install time and treat them as risk milestones. When a vendor stops shipping firmware, start the replacement project, don't wait for the CVE.
- Front admin interfaces with strong authentication through a proxy or reverse proxy, and never expose VMS or NVR web consoles directly to users or the internet.
- Monitor egress behavior for P2P traffic, unexpected outbound connections, and DNS queries to lookalike vendor domains.
- Prioritize with exploitability context, not CVSS alone. EPSS scores, KEV listing, public exploit availability, and real reachability should decide what gets fixed first.
- Re-scan continuously. New devices appear after every site opening, contractor visit, and facilities refresh. Annual assessments find last year's exposures.
FAQ
Does IoT recon differ from subdomain enumeration?
Yes, in three ways: the asset type (devices, not hostnames), the protocol set (RTSP, ONVIF, MQTT, and proprietary vendor ports rather than HTTP paths), and the discovery cadence (devices appear and disappear with physical installs, not DNS changes). The underlying loop, discover, fingerprint, validate, prioritize, is the same, which is why a CTEM program can absorb IoT without a second toolchain.
Are default credentials still a real problem?
Yes. Default and shared credentials remain the most common successful attack path against cameras and NVRs, because devices ship with them, integrators reuse them, and nothing forces rotation. It is the cheapest control with the highest return.
Isn't a camera on the network low risk, it's just a video feed?
A camera is a networked Linux computer with credentials, storage, and often a VPN client. It gives an attacker a foothold, a pivot point, and in many cases live video or audio from sensitive environments. Low business criticality does not mean low security value to the attacker.
How does CTEM differ from a scanner like Nuclei or a search engine like Shodan?
Scanners and search engines produce signals. They tell you a host responded, a template matched, or a banner looks like a camera. CTEM is the workflow around those signals: inventory, continuous discovery, validation of whether a finding is genuinely exploitable, prioritization with threat intelligence, and a queue SOC analysts can actually work. A scanner answers "what matched?" Continuous exposure management answers "what should we fix first, and how do we know it's fixed?"
How often should we scan for exposed IoT devices?
Continuously for external exposure, with change detection on new IPs and new services, and at least quarterly for authenticated internal sweeps. The trigger to rescan isn't the calendar, it's a discovery event: a new site, a new netblock, a contractor handover, or a change in your external footprint.
What do we do with an end-of-life camera that can't be patched?
Compensate, isolate, and plan replacement. Remove internet exposure, segment it to the minimum necessary network, restrict it to the specific VMS destination, disable unused services, and put it on a documented replacement schedule. Track it as a known accepted risk with a named owner and a date.
Can vendor P2P cloud features bypass our perimeter controls?
Often, yes. P2P services establish outbound tunnels from the device to vendor infrastructure, which means the device can be reachable from outside even when no inbound port is open. Block P2P endpoints and monitor egress if you don't use the feature; if you do use it, treat the vendor cloud as part of your attack surface.
Where this fits in a program
Unmanaged device exposure is an inventory problem before it is a vulnerability problem. Attack surface inventory puts cameras, NVRs, and gateways in the same register as the web estate, and validation keeps a raw banner match from being treated as proof. API surface testing and deeper web application testing then cover the embedded consoles these devices ship with. Trusteed connects that discovery to exploitability and business context so the queue reflects real risk.
Sources
- Trusteed CTEM platform — continuous threat exposure management across external and internal attack surface
- Trusteed app — analyst workflow for findings, validation, and reporting
- Trusteed blog: attack surface and exposure research
- CISA Known Exploited Vulnerabilities catalog
- NIST IR 8259: Foundational Cybersecurity Activities for IoT Device Manufacturers
- OWASP Internet of Things Top 10
- CISA: Securing the Internet of Things