skynet, hal, wopr … world-altering attacks have always been associated in science fiction with a despot super computer. but what if the real threat didn’t come from a central form of intelligence at all but an army of disparate devices?
an attack from millions is much harder to block, with new recruits simply brought online to replace those that are lost. in late 2016 we saw the first incarnation of this style of attack in the form of mass distributed denial of service (ddos) attacks orchestrated using the internet of things (iot).
the botnet wasn’t controlled by rogue ai, just a piece of malware – mirai – which targeted a source code originally devised for dvrs. it took control of over 100,000 devices and launched attacks on websites peaking at over 1tbps.
双色球开奖浙江走势图2the malware was purportedly devised in a turf war over ddos prevention solutions and, it turns out, doesn’t utilise half of the vulnerabilities it could have.
mirai infects devices using an obscure port called telnet and gains access by running 60 sets of default log-on credentials until it hits the right one. that bombardment can create some real noise on the network, suggesting it could have been far more sophisticated.
Kill the Internet
our subsequent investigation into over thirty types of smart dvr revealed this type of attack could be carried out far more stealthily and without arousing suspicion over port 80 which relays http traffic.
双色球开奖浙江走势图2it was found that some of these dvrs had an exploitable buffer overflow in the web interface, allowing an attacker to carry out a remote attack and to send a wormable exploit via the port.
there are over one million…susceptible dvr deployed today with the potential to make a behemoth botnet ten times that commanded by mirai
this has significant repercussions for while mirai could be stopped momentarily by disabling the telnet port, disabling port 80 really isn’t an option. doing so would take out the majority of network connectivity for any business, making any attack over port 80 be very difficult to stop without putting the economy back into a pre-internet era.
双色球开奖浙江走势图2shodan, a web database of iot devices, reveals there are over one million of this type of dvr deployed today. those numbers mean this particular dvr could be used to make a behemoth botnet with ten times the capacity of that commanded by mirai, potentially paving the way for multi-terabyte ddos attacks.
the quick fix for mirai was to reboot devices to remove the infection, however, these were then simply annexed again by other infected devices. solutions such as brickerbot have been found to be ineffective and a fix by xiongmai for its floureon dvrs has since been circumvented, with researchers simply using a different port to access the device and re-enable the telnet port.
双色球开奖浙江走势图2mirai certainly hasn’t been defeated; it’s become a dormant menace
双色球开奖浙江走势图2there is a sure-fire fix for mirai but the same process could give mirai immunity and allow it to survive post reboot so in the interests of the greater good, we have not disclosed it. today, its progress has only been impugned, ironically, by the publishing of the code which has seen attackers compete for ownership over enslaved devices. this has limited the size of any one individual botnet.
双色球开奖浙江走势图2but if the issue that allows mirai to persist were to become known, one herder could potentially control all of these devices. mirai certainly hasn’t been defeated; it’s become a dormant menace.
Or kill the power
双色球开奖浙江走势图2there are other ways in which the iot could be used to carry out mass attacks. due to the sheer number of iot devices deployed, there’s the potential to create a significant draw on energy supplies and it’s this consumption that could be used for an attack.
switching devices on and off concurrently could create a wide area outage. this could be so disruptive as to trigger a ‘black start’ whereby the national grid needs to use off grid power sources to bring individual generators back online before gradually reconnecting the grid.
there are numerous iot devices that could be used to create power surges in their own right, many of which are being controlled via home hubs, increasing the potential for compromise
it’s a procedure that has never been fully tested, for obvious reasons, the most recent test being in 2011 when only three generating units were disconnected from the main grid. it took 83 minutes to reconnect them suggesting a national outage would take hours if not days.
双色球开奖浙江走势图2six years later and there is now a very real risk of a black start being realised because of the potential for the iot to be used in this capacity, with nation state actors, hacktivists or terrorists all now motivated to carry out such an attack.
双色球开奖浙江走势图2during our research we discovered we could remotely gain access to a very popular brand of smart thermostat of which there are over 250,000 installed according to the shodan database.
双色球开奖浙江走势图2that’s just one thermostat. burrow your way into other thermostats and you’ve got hundreds of thousands of controllers that can be commandeered and used to switch heating and cooling on and off in the home.
there are also numerous iot devices that could be used to create power surges in their own right, many of which are being controlled via home hubs, increasing the potential for compromise. for example, there are smart kettles (2.5kw), ovens (3kw), saunas (6kw), electric cars (8kw).
or you could simply go for the big time and target solar panels which reports suggest contribute 50 percent of national power in some european countries. or even the industrial control systems (ics) which control power consumption at source, unauthenticated versions of which can be located online via shodan safari.
the only challenge remaining for the attacker is how to remotely access these devices but thanks to some shoddy security, this often isn’t an issue. bad practices include default credentials (often published online), unauthenticated bluetooth pairing, poorly secured web interfaces, apis, and mobile apps.
双色球开奖浙江走势图2all allow rudimentary attacks such as cross site scripting (xss) and cross site forgery requests (csrf) to be carried out and are compounded by poor or non-existent update mechanisms making it difficult to patch devices. consequently, there’s already a significant testbed out there waiting to be harnessed making it only a matter of time before we see seismic attacks which eclipse mirai.
By Ken Munro, Partner, Pen Test Partners