Skip to content

IoT Forensics: Smart Home, Wearables, MQTT/CoAP and Firmware Analysis

IoT forensics: device, hub, app and cloud records, MQTT/CoAP, firmware analysis and wearables, with retention and attribution limits.

By Reviewed by Subhrant Jha

Last updated:

IoT forensics examines connected devices and the services around them: hubs, companion applications, network infrastructure and vendor accounts. Evidence distribution is product- and configuration-dependent; neither the physical device nor the cloud universally holds everything.

Map the system before collection. Preserve relevant local and remote sources, identify clocks and retention, and distinguish sensor observations, derived estimates, commands and completed actions. Firmware and hardware methods can help but are not automatic routes to user data or plaintext.

By the end of this topic you will be able to:

  • Map relevant device, gateway, application and service sources.
  • Interpret MQTT/CoAP using actual transport, security and access settings.
  • Assess firmware and hardware collection without universal console or extraction guarantees.
  • Validate sensor events and report time, identity and retention limits.
Key terms
MQTT
A client/server publish-subscribe messaging protocol with version-specific session and delivery semantics. Broker permissions and transport protection determine visibility.
CoAP
A constrained-resource application protocol with request/response and extensions. UDP/DTLS is one transport arrangement; reliable transports also exist.
UART
An asynchronous serial interface that may expose logs or a console on applicable hardware. Pin labels, voltage and access must be verified.
JTAG
A component test/debug interface whose enabled capabilities depend on the device. It does not guarantee unrestricted flash or RAM access.
eMMC dump
A reading through a managed storage interface under the actual method. It may omit controller-internal data and can remain encrypted.
binwalk
A firmware analysis tool for recognising and extracting supported structures. A signature hit or high entropy is a clue requiring validation.
IoT Data and Privacy Scope
IoT collection can involve personal, household, workplace or third-party information. Authority and privacy requirements vary by jurisdiction and scope.

IoT Evidence Sources: Devices, Companion Apps and Cloud Services

Consumer, industrial, medical, automotive and other connected systems can combine sensors, actuators and services. Device operation can affect physical safety, so avoid generic isolation or power-cycle instructions for every category.

Identify hardware, firmware, network links, accounts, paired devices and stored/remote data paths. A local-only system, edge recorder and cloud-dependent product have different collection needs.

IoT evidence can be distributed across a device, hub, paired app and cloud. Which source is richest depends on model, settings and retention; no source should be assumed complete.

Inventory accessible storage, removable media, hubs, companion-app data, exports and account records. Neither a few seconds of local audio nor a complete vendor history is universal across smart speakers.

Cloud retention can depend on subscription, settings, deletion and service changes. A provider request cannot guarantee every clip, command or sensor sample. Preserve actual account and service settings.

Prioritise sources by the question and loss risk. Seize or interact only within appropriate authority and document why a source was collected, deferred or unavailable.

Surveillance-specific storage and clock handling are developed in DVR/NVR Forensics. Do not transfer one camera brand’s format to every device.

MQTT and CoAP: IoT Protocols and Forensic Evidence

MQTT publishes application messages through a broker to topic subscriptions. Common TCP ports are 1883 and 8883 for TLS, but actual transport, port and configuration must be verified.

MQTT routes topic-based publications through a broker to matching subscribers. Network captures expose payloads only where encryption and lawful decryption conditions permit.

Authentication and authorisation can restrict clients and topics. Subscribing to # does not guarantee access to every broker message or complete history; system-topic rules, retained messages, sessions and permissions matter.

MQTT delivery quality-of-service describes protocol delivery behaviour, not the truth of a sensor reading or completion of a physical action. A retained message may be older state rather than a new event.

CoAP’s base specification uses UDP with request/response resources, commonly ports 5683 and 5684 with DTLS. RFC 8323 also defines TCP, TLS and WebSocket transport arrangements.

Observe and block-wise transfer extend relevant interactions. A protocol name or port alone does not establish plaintext, authentication failure, malware control or a fixed amplification ratio.

Base CoAP uses a REST-style request/response model over UDP; MQTT uses brokered publish/subscribe. Secured deployments protect payloads, and protocol identity cannot be inferred from a port alone.

Preserve available captures, broker/service logs, device identifiers, payload schemas, access controls and clock context. Encrypted transport can conceal topics or content from passive capture. Publishing or subscribing during a test can alter live state and must be recorded.

Smart Speakers, Cameras and Wearables: Device and Cloud Evidence

Smart speakers can process and retain different information locally and remotely according to model and settings. Voice history can contain recognised text, audio, errors or no retained recording; a wake-word trigger is not automatically a command intentionally spoken by a named person.

Cameras may use local cards, NVRs, cloud storage or hybrids. Remote viewing is not proof of remote recording. Identify enabled channels, schedules and retained versions rather than apply a fixed subscription window.

Wearables can retain sensor samples, derived activity summaries and device/account associations. Paired phones and cloud exports may contain different time ranges or detail. Their presence should be checked independently.

Heart rate, steps, sleep and stress are measurements or model outputs with device-specific error. They do not independently establish death, exact movement, the wearer or an alibi’s truth.

Separate sample time, device processing time, phone synchronisation and cloud upload. Timezones, resets and delayed sync can cause apparent disagreement.

Wearable samples, phone records and cloud receipts can represent different times. Align clocks and interpret what each timestamp measures before drawing a movement or activity conclusion.

Correlate relevant sensor findings with independent evidence and disclose calibration, wear state and missing periods. Use sourced cases only for supported claims; a hypothetical example can teach the method without invented convictions.

Firmware Extraction and Analysis: Binwalk, Ghidra, UART, JTAG and eMMC

Firmware analysis investigates code, configuration and storage formats; it is distinct from acquiring user event data. A vendor download can be a useful reference without matching the exact installed build or per-device state.

Firmware analysis separates acquisition, preservation, unpacking and interpretation. A vendor reference must match the relevant build; differences may reflect legitimate version or configuration changes.

Acquisition can use supported exports, published firmware, authorised update collection, in-circuit interfaces or specialist component reading. Triggering an update changes evidence and may destroy relevant state; it is not a routine passive collection step.

UART settings, voltage levels and pinouts must be verified before connection. A serial output can be logs only, authenticated or disabled; do not assume it provides an unauthenticated root shell.

JTAG access depends on enabled debug features and supported operations. ISP and chip-off expose different storage paths with damage and encryption limits. A removed component is not inherently the highest-fidelity plaintext source.

Run binwalk or other format tools on isolated copies using the installed release’s supported options. Validate extracted structures and record offsets, warnings and transformations; entropy alone does not identify an AES key or encrypted region conclusively.

Disassembly requires the correct architecture, load context and relevant dependencies. Candidate strings, accounts and update endpoints are leads, not proof they were used.

Compare like representations: a signed update package, expanded filesystem and per-device flash dump can legitimately have different hashes. Differences can reflect version, calibration, configuration or corruption as well as compromise. Record the baseline and investigate specific changes.

IoT Security Failures, Mirai's Legacy and the Forensic Challenges

Common concerns include default or shared credentials, unsafe interfaces, weak updates, inadequate isolation and missing monitoring. Their presence needs actual configuration and behaviour verified rather than inferred from a brand or country.

Mirai is a useful historical example of compromised connected-device infrastructure, but exact bot counts, traffic peaks and later variants should not be mixed into one unverified narrative. A 2016 label does not identify a current infection.

Update confidentiality and authenticity differ. An HTTP-delivered package can be cryptographically signed, while TLS delivery alone does not establish trusted firmware provenance. Validate signature and update checks separately.

An MQTT broker without client certificates may still authenticate using other mechanisms. Conversely, an open port does not prove anonymous access or permission to every topic.

Heterogeneous storage, clocks, limited interfaces and retention complicate collection. Reboot effects vary; do not assume most devices erase every cache or that no general digital-evidence principles apply.

IoT retention and volatility differ across sources. Record what was available, request preservation promptly and report missing intervals without inventing events.

NIST IR 8259A describes baseline IoT cybersecurity capabilities, including identification, configuration, protection, access, update and state awareness. These can guide readiness questions without certifying that a product implements them.

Where the vendor is unavailable, preserve device and companion sources, identify actual interfaces and consider a suitable reference unit. A clean-reference difference is an observation requiring interpretation, not a compromise verdict.

IoT Evidence: Collection Scope, Privacy and Jurisdiction

IoT records can expose household, health, location, voice and workplace information about multiple people. Collection, disclosure and evidentiary requirements vary by jurisdiction and data type.

Define the authority, relevant accounts/devices, categories and time range. A law-enforcement purpose is not a universal permission to collect every unrelated household record or bypass all privacy safeguards.

Provider preservation, account export and device seizure have different effects. Use the applicable process and retain its actual returned scope and limitations; geography alone does not decide the entire route.

Authentication and admissibility assessments need provenance, collection method, clock context, transformations and limitations. A certificate does not automatically validate the recorder clock, sensor interpretation or human identity.

For provider and cross-border boundaries, use Cloud Forensics. Keep named statutory analysis in the relevant legal-framework lesson.

Check Your Understanding

Question 1 of 5· 0 answered
What should an IoT evidence map include?

Sources

  1. 1.Guide to Integrating Forensic Techniques into Incident Response (2006) · NIST SP 800-86
  2. 2.Best Practices for Computer Forensic Acquisition, 17-F-002-2.1 · SWGDE
  3. 3.MQTT 5.0 messaging and security semantics · OASIS
  4. 4.CoAP base protocol · RFC 7252
  5. 5.CoAP reliable transports · RFC 8323
  6. 6.Firmware-analysis capabilities and current usage · ReFirm Labs binwalk
  7. 7.IoT Device Cybersecurity Capability Core Baseline (2020) · NIST IR 8259A

Test yourself on Digital Forensics with free, timed mocks.

Practice Digital Forensics questions

Found this useful? Pass it along.