Live data from Hacker News

Dumbass Home 2.0. How modern IoT works, how to automate your rented box today

vas3k.com

51–58 of 58 posts

Re: Dumbass Home 2.0. How modern IoT works, how to automate your rented box today

#51
post #49

Earlier quoted context omitted.

Yeah, I went all-in on smart bulbs (Philips) and they are just impractical. I do however recommend dimmable dumb bulbs along with smart switches like Lutron. They are easy to install, "just-work" and give you 90% of what you need.

Why are the Philips smart bulbs impractical? I was thinking of buying a bunch of them for use with google home.

Good question. I've never had any problems with mine. The official Phillips app has some limitations, such as insisting on using their cloud when you're not on your own LAN. But there are many alternative apps and it's easy enough to write your own. I like one called Hue Pro, which does let you connect from outside without using the cloud.

Re: Dumbass Home 2.0. How modern IoT works, how to automate your rented box today

#52

Earlier quoted context omitted.

> All that industrial control stuff with MODBUS and SCADA and other brain damage: it has even less security than the IoT junk, i.e. none! Right... because industrial automation networks should never be connected to publicly accessible networks without security in between. PLC's and sensors don't need internet or intranet access so why would you connect them? The problem is Industrial engineers aren't IT or security e…

> between that machine and the rest of the world sits a humble PC Engines box running a custom FreeBSD image that gives them secure remote access to the machine What hardware + hardened OS would you recommend for jump boxes? OpenBSD, Linux, pfSense?

At work I build, upgrade and maintain existing machines for in house processes so I don't use jump boxes. I have pfSense running on a PC engines APU2 for the company lan, isolated visitor wifi, and isolated 3rd party machine network. We're a small company so I do some IT and contract the rest to an IT pro friend of mine. I do unixy stuff and automation, he does windows stuff. So I would recommend the BSD's as they have been pretty well battle tested in that arena, OpenBSD being my top pick if rolling your own or pfSense if you want easy. PC Engines hardware all around and I order direct.

As for our 3rd party machines with jump boxes: I view jump boxes as a security risk if directly connected to corporate lan as they can bypass firewalls. So I kept it simple and created an isolated jump box network from the pfSense that gives them 24/7 remote internet access with zero ability to see anything on the company lan.

Our Internal machines are on an isolated network, all hardwired and have static IP addresses, zero internet access. The engineers frequently have to write new CNC programs so I make it easy to share files while isolating the networks; I bridged them using a Debian server running a SAMBA server with two network interfaces. One is connected to the company lan, the other to the dedicated machine lan. The file server has a single share for the engineers with RW access and each machine gets RW access only to its directory in that share. Operators go to the P (program) drive and retrieve the programs. There is no network bridging or routing between the two networks. As far as they know, it's just a file server. That network also terminates in our office and we can connect to it for programming and troubleshooting.

One Idea I've been toying with is developing an internal jump box that allows our machines to connect to the corporate lan giving engineers file access while maintaining network isolation. That way I can ditch the second network and go DHCP with reservations all around.

Re: Dumbass Home 2.0. How modern IoT works, how to automate your rented box today

#53
post #4

That cartoon about Siemens and wires etc...it's actually more horrifying than you think. All that industrial control stuff with MODBUS and SCADA and other brain damage: it has even less security than the IoT junk, i.e. none! I worked on a safety critical system in which we designed security and fail safe right from the beginning. Hardwired state machine controllers for things that could explode. The hardware engineer…

> All that industrial control stuff with MODBUS and SCADA and other brain damage: it has even less security than the IoT junk, i.e. none! Right... because industrial automation networks should never be connected to publicly accessible networks without security in between. PLC's and sensors don't need internet or intranet access so why would you connect them? The problem is Industrial engineers aren't IT or security e…

>Right... because industrial automation networks should never be connected to publicly accessible networks without security in between. PLC's and sensors don't need internet or intranet access so why would you connect them?

Clearly stuxnet is a myth and bedtime story to frighten children with.

Re: Dumbass Home 2.0. How modern IoT works, how to automate your rented box today

#54

Earlier quoted context omitted.

> between that machine and the rest of the world sits a humble PC Engines box running a custom FreeBSD image that gives them secure remote access to the machine What hardware + hardened OS would you recommend for jump boxes? OpenBSD, Linux, pfSense?

At work I build, upgrade and maintain existing machines for in house processes so I don't use jump boxes. I have pfSense running on a PC engines APU2 for the company lan, isolated visitor wifi, and isolated 3rd party machine network. We're a small company so I do some IT and contract the rest to an IT pro friend of mine. I do unixy stuff and automation, he does windows stuff. So I would recommend the BSD's as they ha…

> There is no network bridging or routing between the two networks.

If a fileserver vulnerability helps an attacker to take control of the host, they may be able to move traffic between the network cards.

Might be better to have two file servers. The less-exposed server could periodically connect to the more-exposed server to sync files. Would not need open ports on the less-exposed server.

Re: Dumbass Home 2.0. How modern IoT works, how to automate your rented box today

#55

Earlier quoted context omitted.

At work I build, upgrade and maintain existing machines for in house processes so I don't use jump boxes. I have pfSense running on a PC engines APU2 for the company lan, isolated visitor wifi, and isolated 3rd party machine network. We're a small company so I do some IT and contract the rest to an IT pro friend of mine. I do unixy stuff and automation, he does windows stuff. So I would recommend the BSD's as they ha…

> There is no network bridging or routing between the two networks. If a fileserver vulnerability helps an attacker to take control of the host, they may be able to move traffic between the network cards. Might be better to have two file servers. The less-exposed server could periodically connect to the more-exposed server to sync files. Would not need open ports on the less-exposed server.

This is very true but I look at it like this: If they make it that far, they're in our network so we're thoroughly p0wnd. It's a compromise as air gapping was generating too many complaints from engineers and operators until the boss had enough and said fix it. so we compromised and fixed it.

Re: Dumbass Home 2.0. How modern IoT works, how to automate your rented box today

#56

Earlier quoted context omitted.

> There is no network bridging or routing between the two networks. If a fileserver vulnerability helps an attacker to take control of the host, they may be able to move traffic between the network cards. Might be better to have two file servers. The less-exposed server could periodically connect to the more-exposed server to sync files. Would not need open ports on the less-exposed server.

This is very true but I look at it like this: If they make it that far, they're in our network so we're thoroughly p0wnd. It's a compromise as air gapping was generating too many complaints from engineers and operators until the boss had enough and said fix it. so we compromised and fixed it.

If one-way data replication is sufficient, a DIY data diode would provide strong isolation, https://www.sans.org/reading-room/whitepapers/firewalls/tact...
Post reply on HN