From smart homes that enable you to control your thermostat from a distance to sensors on oil rigs that help predict maintenance to autonomous vehicles to GPS sensors implanted in the horns of endangered black rhinos, the internet of things is all around you. The internet of things (IoT) describes the network of interconnected devices embedded with sensors, software, or other technology that exchange data with other devices and systems over the Internet.
According to Gartner research, 35 billion devices will be connected to the internet in 2021, and that number will more than double in the next few years to reach 75 billion connected devices by 2025. This means that currently there are three IoT devices for every one human on the planet. Whether these devices are smart (they have the ability to compute) or dumb (they report data to a centralized location with little or no processing power), this market is experiencing phenomenal growth.
With the increase in connected devices comes an increase in IoT attacks. In 2019 alone, attacks on IoT devices increased by 300%. This growth has also given rise to cybersecurity challenges. With the increase
In the DZone Edge Computing and IoT report published in 2020, developers were asked to rank the top 15 most pressing technical challenges of IoT. Security came in as the number-one most challenging issue facing this market today, beating out unpredictable physical environment, network bandwidth availability, latency, and device unreliability by a wide margin.
When you consider that IoT devices are controlling autonomous vehicles, drug pumps, manufacturing operations, and even the camera on your virtual assistant, you begin to realize security is important. It’s more than someone hacking into your smart light bulbs and turning on all the lights in your home. Security for IoT means your municipal water source or an implantable cardiac device or, in the case of the Mirai botnet attack, vast swathes of the internet.
Why do developers say security is their biggest IoT challenge? The threat landscape for IoT is extremely broad and complex, and it involves both physical device security and network security. Furthermore, to fully secure IoT devices, you need to address both hardware and software.
Network security is a challenge because the proliferation of devices each with their own IP address means you can’t slap up a perimeter firewall to block all suspicious or unknown web traffic. Some best practices to secure IoT at the network level include map and monitor all connected devices, use network segmentation to prevent the spread of attacks, ensure your network architecture is secure, and disable any features or services that you aren’t using.
Device security brings its own difficulties. First, with billions of connected devices, there is a vast range of hardware. As a result, no one-size-fits-all approach will work. Despite the heterogeneity, some best practices include discovering the devices on your network for complete visibility and then actively monitoring these devices. After all, you can not secure a device if you don’t know it exists. Staying current with firmware patches and updates is also key to enabling robust security.
Because we refer to IoT as ‘connected devices,’ we tend to think of this technology in terms of hardware – watches, appliances, sensors, monitors – but don’t forget that each of these devices contains an application layer that also needs to be secured.
The application layer is the most attacked in the enterprise stack. For IoT, application security is even more important because application layer protocols form the foundation of communication between different IoT devices and an organization’s cloud or edge infrastructures.
Both secure coding and application security testing best practices need to be applied to the development of the application on every IoT device. In addition, IoT applications should be exposed to the same rigorous testing as any other application. Security scanning tools such as static application security testing (SAST) and software composition analysis (SCA) should be the standard.
Greater than 90% of developers rely heavily on open source components when creating IoT applications. This should come as no surprise as a wide range of open source tools, components, platforms, and frameworks are available for every niche area of IoT technology. Linux is the top operating system for IoT devices, and 93% of databases used in IoT applications are open source.
Because of the widespread use of open source in IoT, special attention must be paid to open source security, both when developing an IoT application and when IoT devices are in production. Open source vulnerabilities are published and publicly available for anyone to see – including hackers. If you’re not scanning the open source in your applications and monitoring it in production, then you’re not securing your IoT devices.
For IoT devices, C and C++ are the predominant programming languages. C is particularly attractive for IoT devices such as sensors that detect temperature or humidity, because simple microcontrollers don’t have operating systems and C can work directly with RAM. For devices performing slightly more complex tasks that still require a small footprint, like turning on smart lights in your home, C++ is an attractive alternative.
When looking for a software composition analysis solution to scan your IoT application, remember that not all SCA solutions can scan programming languages that lack package managers like C and C++ do. When searching for a solution to scan the open source code for your IoT application, make sure you choose one that is able to scan source code and supports all required languages.
Now that we’ve highlighted some of the main concerns for IoT security, here are some best practices you can put in place now to ensure your devices are as secure as possible:
A holistic approach to IoT security will help you navigate the potential pitfalls around complex hardware and software security issues.
Everyone agrees that when it comes to any technology, more security is better than less security. IoT is no different. To that end, both California and Oregon have recently enacted legislation governing the security of connected devices and the Internet of Things and users’ privacy. It is believed that the US federal government isn’t far behind.
IoT technologies are becoming more prevalent in all industries and more integrated into our personal lives. They offer tremendous advancements that improve our health and wellbeing and offer significant convenience in our daily living. These advantages must be weighed against the security and privacy issues endemic to connected IoT devices. The IoT threat landscape is extremely wide, complex, and not always properly managed. The machines are here to stay. Wouldn’t we all be happier if they were also more secure?
Together with our content partners, we have authored in-depth guides on several other topics that can also be useful as you explore the world of Cybersecurity.
Learn about Docker Security, the practice of securing Docker containers, applications running within them, and host computers from attacks.
Learn about API security, the practice of securing application programming interfaces (APIs) and the sensitive data they enable access to.
Learn about serverless security, the practice of securing serverless runtimes such as AWS Lambda and serverless functions from attacks.
Understand recent cyber attacks that caused catastrophic damage to organizations, and the lessons learned from them.
Learn about the Open Web Application Security Project (OWASP) Top 10 cyber threats facing web applications.
Learn about the Common Vulnerability Enumeration (CVE), a global standard for identifying security vulnerabilities.
Learn about the software supply chain and the critical risk of security breaches involving third party vendors and suppliers.