IoT Device Security: Comparing Cellular, LoRa and WiFi

10.12.2020
guide-image

There are different short- and long-range wireless options based on their transmission characteristics when deploying an IoT solution at a customer site. However, what are the benefits of cellular connection compared to other connectivity options?

General advantages of cellular connectivity

  • network coverage is available almost everywhere
  • the device works immediately at the customer site
  • no additional infrastructure and integration required
  • low power technologies for pro-longed battery life (LTE-M/NB-IoT)
  • supports low and high transmission bandwidth in up- and downlink

In this post, we will review the most-used IoT connectivity options – WiFiLoRaWAN and Cellular – and compare them from a security perspective.

Specifically, we will compare the following setups:

  1. Shared WiFi: when deploying the device at remote site, it can be integrated into the customer’s WiFi network
  2. Dedicated WiFiwhere WiFi routers are deployed together with the device(s)
  3. LoRa Networkwe will consider shared LoRaWAN networks (like Loriot or The Things Network) where the Gateway, Network, Join and LoraWAN application server is offered by a provider, as well as dedicated LoRaWAN networks where these components are deployed by the customer
  4. Cellular Connectivitywe will use the EMnify feature set for comparison

Comparison based on 4 security features 

table-01-1

Execute a botnet attack from a compromised device

As explained in the first post of this security-dedicated blog series, the Mirai malware has infected many IoT devices, creating a botnet that started distributed denial of service attacks on their victims. Worth noting is that these IoT devices were mainly connected to public internet or over shared WiFi and were able to reach any destination.

When choosing dedicated WiFi hardware, businesses should select routers with integrated firewalls that can be used to limit the number of IP addresses that the devices can reach, thus making it impossible for the device to attack another target or be commanded from a hackers control center.

blog image-26

LoRa devices cannot be directly reached and communicate with the Internet because they do not utilize the Internet protocol. LoRa devices can only talk to LoRaWAN applications to which they have been registered – and the management is done on the LoRa network server.

While there are reports of the danger of LoRa devices being able to execute DDoS attacks against other LoRaWAN devices or servers, these cases are due to poor implementation or addressed in future LoRaWAN specifications.

By using a cellular network firewall, IoT businesses can ensure that a device can only send data to its application target; thus, blocking all malicious traffic already on the network level.

Remote Device Access 

Another vulnerability that the Mirai malware took advantage of is the unsecured remote device access of IoT devices on the public internet. Remote access is often necessary to do remote reconfigurations, retrieve data from the device and allow troubleshooting for support personnelLoRaWAN does not have a concept for remote access and is therefore not judged on this feature.

Using standard WiFi routers, the IoT device gets a private address and is not visible from the public internet. Remote device access is activated using port forwarding (and with DynamicDNS in case of dynamic IPs) – which Mirai has been using to infect even WiFIoT devices within the private WiFi network.

With advanced WiFi infrastructure that allows setup of a virtual private network, remote device access can be secured – as only authenticated devices with the right VPN credentials will get access to the network. While this works with single, local deployments – managing multiple VPNs at different customer locations with the same private networks is challenging. Cellular connectivity with private static IP addresses enables simple remote access via one virtual private network across all customer locations. The devices are not visible from the Internet and can be accessed by a VPN connection to the mobile network operator gateway.

Firmware Updates

Remote firmware updates are a critical part of keeping device security up to dateSecurity vulnerabilities can originate from customer-owned device firmware bugs, as well as from 3rd party libraries. Updating the device can be challenging; the remote update process must be guarded against attackers while also guaranteeing an easy roll-back in case of error.

Due to the downlink limitation of 10 messages per dayLoRa can only be used for updating very simple devices and even then, the update process can take days to weeks to completeInitially, updates were only possible device by device, but multicast support for remote updates over LoRa has since been specified.

There are a wide range of solutions available for remotely updating firmware over Wi-Fi and cellular. Cloud platform providers like AWS, Azure and Google offer remote device management services, but there are also other providers like Balena or AV System.

Abnormality Monitoring

abnormality Monitoring-25

central part in any security design is the ability to monitor for abnormalities. For all wireless connectivity technologies, the change of traffic log parameters can help to detect device tampering and serves as a safeguard against human error.

LoRaWan data is centrally managed within the application and network server – not only making payload data (e.g. the temperature measurement) available, but also important connectivity information like signal strength and packet loss.

Standard WiFi routers have a basic set of traffic logs that provide limited visibility. To effectively monitor abnormalities, the WiFi router not only needs to support detailed traffic information but also tcentrally monitor and manage multiple customer sites.

With EMnify’s cellular connectivity solutiondetailed connectivity information, such as network signaling events and data volume, are available for all devices in real-time within the web-portal. This data can also be streamed to cloud platforms (AWS, Azure) or third-party platforms (DataDogDevicePilot) that already provide abnormality monitoring as service.

New call-to-action

Summary

As shown above, installing IoT devices using the customers WiFi infrastructure comes with several security risks. For this reason, it is advised to use onnetwork for IoT devices and a separate network for normal operations, in order to safeguard both device types from each other. This way, IoT devices can't impact normal devices, and outdated personal computers on shared LANfor example, can't serve as entry points for IoT devices.

LoRaWAN has very tight security concepts – coupling device to network and each application. It is best suited for low bandwidth applications, including in hard to reach locations, such as temperature sensors in a manufacturing setting. Often the LoRa gateways are connected via cellular connectivity to the public internet so data can be processed in a central place.

Dedicated WiFi infrastructure and cellular connectivity are the most-used wireless technologies for industrial IoT. By using a firewall, remote access, firmware updates and monitoring, IoT businesses can benefit from a comprehensive security feature already on the network level.

For deployments at multiple customer sites and for mobile use cases, cellular connectivity not only provides seamless coverage but also makes it easier for an IoT service provide to manage the different installations.

Get in touch with our IoT experts

Discover how emnify can help you grow your business and talk to one of our IoT consultants today!