MQTT protocol is giving hackers a backdoor into smart homes

12 September 2018 Smart Home Automation

Another warning has been issued to designers of Internet of Things (IoT)-connected products, with the cybersecurity firm Avast announcing recently that it discovered a severe flaw related to the MQTT (Message Queuing Telemetry Transport) protocol widely used by smart home devices.

The company found more than 49 000 MQTT servers publicly visible on the Internet due to a misconfigured MQTT protocol. This includes more than 32 000 servers with no password protection, putting them at risk of leaking data. To be clear, this does not mean that the MQTT protocol itself is insecure, but rather that severe security issues can arise if it is incorrectly implemented and configured.

The MQTT protocol is used to interconnect and control smart home devices via smart home hubs. When implementing the MQTT protocol, users set up a server. In the case of consumers, the server usually lives on a PC or some mini-computer such as Raspberry Pi, which devices can connect to and communicate with.

The implication of the flaw discovered by Avast is that cybercriminals could gain complete access to a home to learn when their owners are home, manipulate entertainment systems, voice assistants and household devices, and see if smart doors and windows are opened or closed. Under certain conditions, it says cybercriminals can even track a user’s whereabouts, which can be a serious privacy and security threat.

“It is frighteningly easy to gain access and control of a person’s smart home, because there are still many poorly secured protocols dating back to bygone technology eras when security was not a top concern,” said Martin Hron, security researcher at Avast. “Consumers need to be aware of the security concerns of connecting devices that control intimate parts of their home to services they don’t fully understand and the importance of properly configuring their devices.”

Hron describes five ways in which poorly configured MQTT servers can be abused by hackers:

1. Open and unprotected MQTT servers can be found using the Shodan IoT search engine, and once connected, hackers can read messages transmitted using the MQTT protocol. Avast research shows that hackers can read the status of smart window and door sensors, for example, and see when lights are switched on and off. In this particular case, Avast also found that outsiders could control connected devices or at least poison data using the MQTT protocol on behalf of devices. This way, for example, an attacker could send messages to the hub to open the garage door.

2. Even if an MQTT server is protected, Avast found that a smart home can be hacked as in some cases, the dashboard used to control a smart home’s control panel runs on the same IP address as the MQTT server. Many users use default configurations that come with their smart home hub software, and these are often not password protected, meaning a hacker can gain complete access to a smart home’s dashboard, allowing the hacker to control any device connected via the dashboard.

3. Even if both the MQTT server and dashboard are protected, Avast found that in the case of smart hub software, Home Assistant software, open and unsecure SMB shares are public and therefore accessible to hackers. SMB is a protocol used for sharing files on internal networks, mainly on the Windows platform. Avast found publicly shared directories with all the Home Assistant files including configuration files. In the exposed files, it found a file storing passwords and keys stored in plain text. The passwords stored in the configuration file can allow a hacker to gain complete control of a person’s home.

4. Smart homeowners can use tools and apps to create a dashboard for an MQTT-based smart home, to control their connected devices. A particular application, MQTT Dash, allows users to create their own dashboard and control panel to control smart devices using MQTT. Users have the option to publish the settings they set up using the dashboard to the MQTT server, so they can easily replicate the settings on as many devices as they would like. If the MQTT server used is unsecure, a hacker can easily access the user’s dashboard, which allows them to easily hack the smart home.

5. Avast found that MQTT can, in certain instances, allow hackers to track users’ location, as MQTT servers typically concentrate on real-time data. Many MQTT servers are connected to a mobile application called OwnTracks. OwnTracks gives users the possibility to share their location with others, but can also be used by smart homeowners to let the smart home devices know when the user is approaching the home, to activate smart devices, like smart light lamps. In order to configure the tracking feature, users have to configure the application by connecting to an MQTT server and expose the MQTT server to the Internet. During this process, users are not required to setup login credentials, meaning anyone can connect to the MQTT server. Hackers can read messages that include a device’s battery level, location using latitude, longitude and altitude points, and the timestamp for the position.

For more information visit www.avast.com





Share this article:
Share via emailShare via LinkedInPrint this page



Further reading:

Smart opener for gates and garages
Smart Home Automation Access Control & Identity Management
The Smart Gate and Garage Opener allows consumers to control and monitor gates and garage doors that have already been fitted with automation devices via the Yale Home app on their smartphone.

Read more...
Ring announces second generation indoor camera
Smart Home Automation Surveillance Residential Estate (Industry)
Introducing a removable manual privacy cover, Ring's latest indoor camera provides customers with increased privacy, control and peace of mind when it comes to home security.

Read more...
Understanding the language of connectivity
Smart Home Automation
Having a better understanding of the available options can help you communicate your internet needs more effectively with a service provider. You don't need to be an expert on the topic, but having some insight can ensure you always stay connected.

Read more...
IoT users’ cybersecurity outlook
Smart Home Automation IoT & Automation
A new global survey conducted by Kaspersky ‘The smart home of almost everything: From the fridge to TV, how we’ll embrace the year of the virtual assistant in 2023’, explores the key digital habits, obstacles and smart home device usage.

Read more...
Intelligent security for high-end complex
Dahua Technology South Africa Smart Home Automation
Residents can enjoy a smart and convenient living experience brought by advanced AI technology, make video conversations with guests, call security personnel for help, or manage all smart home control systems remotely.

Read more...
Batteries creating false alarms due to load shedding
Uniross Batteries Smart Home Automation Products & Solutions
A local security company has solved the problem of receiving false alarms during loadshedding by replacing its customers’ 12 V lead batteries with lithium batteries.

Read more...
Smart home security
Olarm Smart Home Automation Perimeter Security, Alarms & Intruder Detection Products & Solutions
The applied use of smart technology within the Olarm ecosystem, through smart features coupled with existing systems, extends the benefits of technology into different spheres.

Read more...
All-in-one smart access solution for residential living
Salto Systems Africa Smart Home Automation
SALTO Homelok is set to change residential living with its all-in-one solution that integrates smart access control technology, hardware, cloud software, digital keys, a smart living ecosystem, and global service support.

Read more...
Cut the home access fuss with Fluss
Smart Home Automation
The Fluss app integrates with a small device connected to your home or business electrical system that turns your smartphone into a key to open any gate, garage, or door.

Read more...
Keeping your home surveillance private
Smart Home Automation
Camect autodetects home surveillance cameras and offers advanced AI and 1 TB of storage in a single box while also ensuring online access and full privacy for its users.

Read more...