Saturday, October 29, 2016

Hook Your Stuff To The Internet and It Will be Hacked

It's pretty much the first rule of cyber-security. If you have information or data* that must not be accessed  by outsiders it absolutely must not be accessible from the www.
From The Atlantic:

The Inevitability of Being Hacked
We built a fake web toaster, and it was compromised in an hour.
Last week, a massive chain of hacked computers simultaneously dropped what they were doing and blasted terabytes of junk data to a set of key servers, temporarily shutting down access to popular sites in the eastern U.S. and beyond. Unlike previous attacks, many of these compromised computers weren’t sitting on someone’s desk, or tucked away in a laptop case—they were instead the cheap processors soldered into web-connected devices, from security cameras to video recorders. A DVR could have helped bring down Twitter.

Great, I thought as I read the coverage last week. My DVR helped bring down Twitter. (Probably not, at least this time—the targeted products were older than what you’d find in most American homes, and less protected.) But the internet is huge! There are around a couple billion public IPv4 addresses out there; any one of those might have a server, a desktop computer, or a toaster plugged in at the other end. Even if the manufacturer of my gadget gave it a dumb and easily guessed password, wouldn’t it be safe in this sea of anonymity? How would the hackers find me?

I don’t actually own a wireless toaster. But I devised a test. Renting a small server from Amazon, I gussied it up to look like an unsecured web device, opening a web port that hackers commonly use to remotely control computers. Instead of allowing real access, though, I set up a false front: Hackers would think they were logging into a server, but I’d really just record their keystrokes and IP addresses. In cybersecurity circles, this is called putting out a honeypot—an irresistible target that attracts and ultimately entraps hackers and the scripts they use to find vulnerable servers.
Here’s what my particular honeypot looked like, if you tried to log in:
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAABzCAMAAADDhdfxAAABlVBMVEUAAAAAAAMAAQABAAUAAwAEAAAAAAcAAwMAAQPGxsYAAAoABgCAgIAAjT4DAQAAiz4AHQAACgAAEAAAhz3MzMwAFwAkw3EAIwAAGwAAGQArvnUPAAAAJgAAkD0AFAAADQAAOwArdUtnZmcAVCQALgAATBAANwAAkT4AUxkANhYri109unkAfDcVfT4hISEoyGwlaDs+1X9DxY8AQQA1u3kpWj1Fo4EKKBA4h1NRv4Us64kSWzweHyUjGiMSCxQUFxUZ8XocLSEYIh4eCB0XERgd43geNSUa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Lfpcmio4yFFmWsxWvHaJHSxa4GkyZZhD5awk8rq5Z1eqeD2mCTfHRAhpOPbiXNVLlCYoeZVLcURcNHruo4mYODg4ODg4ODg4ODg4ODg4ODg4ODg4ODg4OD4/8Npf8wDnu4UGTPqsj4jT2PKemaD/7rvxH/+LPN5Pgcnzzp6VMAaWMPHNMzpKKgKEjbP7752zff/P1PtpLj36EoMJNemgFFUCXvsTSYe0uPsMns0Tai7W+ctq8OSNvTs4nKp/93uzo5412jZ6Q4bV8j2HNvYScLkN5pxqHabBqVnQjo+WfN5iCkE2FO29cI9qjhnJuF9YlXqcXnjVSqFkulABLFlD0GrcZzTttXizk3Bl0LSo3u/u3yCazZSFsXrD24+YAXya8XhSSjLd/udgdbjDYtMQpWF4YCnLavF3Pu6Zu7jfPM6bidbJzAQqNXSATh1ILELwVO21cL31L0ELKj06VH6dVmDZ6/jc6VKpDNQr43xGn7akH/EMjW/tu1mp3uNwa8f0TgtH21ECSfx1t4fDM2KGgy/cOWyP6lFGn7hp+S/PUw8wAx82dbwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHBwcHB8ZfF/wLTAHRfgJ8esQAAAABJRU5ErkJggg==
I switched on the server at  1:12 p.m. Wednesday, fully expecting to wait days—or weeks—to see a hack attempt.

Wrong! The first one came at 1:53 p.m....MUCH MORE
*As a side note, a few years ago we posted a handy flow chart of the hierarchy of knowledge management:

http://1.bp.blogspot.com/_-lfiI8pEPfs/TQXyNVma13I/AAAAAAAAAUU/FltzAjL9-X4/s1600/image_thumb8.png


We prefer the chart to the usual pyramid presentation popularized by Akerlof because it includes characteristics at the bottom and the value-added required to get to the next level of complexity in the top panel.