Re: FBI: Don't trust IoT devices

Jeremy Stanley <[email protected]> Sun, 15 Dec 2019 13:58:12 +0000
Newsgroups gmane.comp.encryption.general
Message-ID <[email protected]>
On 2019-12-11 15:57:48 -0800 (-0800), Henry Baker wrote:
> At 08:13 AM 12/11/2019, Jeremy Stanley wrote:
[...]
> > For wired LANs, the most common solution is referred to as "port
> > isolation" or "Private VLAN"
[...]
> > For IEEE 802.11 wireless, many WAPs implement something called
> > "wireless client isolation" or "AP isolation"
[...]
> What about achieving this isolation goal via encrypted
> tunnels/encrypted VPN's, etc?  Yes, I know, one could still do
> traffic analysis, but they could probably do that (with additional
> effort) even with Cisco's mechanisms.

Are you talking about between your client and your gateway? Why
bother with a VPN, you can just do IPSec in transport mode instead,
no need for tunnel mode in such cases.

> I don't know if I would trust Cisco "port isolation" to devices
> that can run tcpdump/wireshark/snort/etc. 24x7, even if I had
> Cisco routers.

Well, the specific technologies I described are more about securing
things at the Ethernet frame switching layer (not at the IP packet
routing layer), disallowing flows between clients so that they can
only send frames to and receive frames from the port where your
gateway (or other shared devices you want them to reach) is
connected but cannot reach or "see" each other at all. And it's not
*just* Cisco routers which do these sorts of things, for example
I've seen discussions about using filtering rules in ebtables on
OpenWRT to similar ends. The implementations are not standardized
mainly due to the situation with RFC 5517, but as PHB pointed out,
US6741592B1 is expiring early next year so maybe this will improve.

Keep in mind that a compromised client device running a packet
sniffer to eavesdrop on traffic from other client devices would need
to overcome basic switching optimizations on any modern (that is
produced in the past two decades) switched network to begin with,
for example by spoofing the victim's address on frames sourced from
the attacker's interface or flooding the switch with frames from
lots of bogus spoofed addresses so as to overload its bridge table
and cause it to fall back to forwarding all frames to all ports. To
mitigate this, such isolation schemes are usually coupled with "port
security" measures which tell the switch to shut down a port as soon
as it sees frames from a different hardware address than the one
which was previously communicating through it (also good for
blocking rogue bridges). Switching gear which supports port
isolation invariably includes port security features as well,
because you can't really trust isolation unless you have control
over what you're isolating. And for 802.11 wireless, this isn't
really even needed as far as I'm aware, because client-to-client
communication requires either being forwarded through the AP or
explicitly creating a separate ad hoc network between them.

I can't tell if your concern is strictly with rogue clients (such as
IoT devices) connected to your network, or with the forwarding
infrastructure for your network. Ethernet layer isolation
technologies are useful for preventing the problems you describe
with the former, but honestly if the concern is for the latter it's
already game over. Unless you move to end-to-end encryption between
sensitive devices and whatever they communicate with on the
Internet, at some point you have to trust a forwarding device,
whether it's your switching and routing gear or your VPN gateway,
and in many cases they may all be the same device. Adding more
network equipment to deal with a lack of trust in your network
equipment is also a questionable approach, because with more devices
comes more complexity and an increased risk you'll introduce more
vectors for attack.
-- 
Jeremy Stanley

_______________________________________________
The cryptography mailing list
[email protected]
https://www.metzdowd.com/mailman/listinfo/cryptography
signature.asc (application/pgp-signature, 963 B)
-----BEGIN PGP SIGNATURE-----

iQKTBAABCgB9FiEEl65Jb8At7J/DU7LnSPmWEUNJWCkFAl32O+1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDk3
QUU0OTZGQzAyREVDOUZDMzUzQjJFNzQ4Rjk5NjExNDM0OTU4MjkACgkQSPmWEUNJ
WClOXw//XZF/lL+HjhwB+fJtglJ+aJijFkkFCnlUkVw1kp4UXIMEKejD5/KvAfXM
yNWogXFO+v9YWfG/4wiCaIJZ8OOuHxQ8bMvBcc2zynOg5lPUbDVQ/UfI8UvHPicZ
YpzTSj53Ct1jOgnZ/ZEQZjW7wpmv8IdKuwG7w4/rCdyZt8TbFtNmk8TXQGrpYIoH
fwktNF30Xoy4bYWzGXePyfxtpw3GKPnabcAItY3f0hBzNeL5cIIrCqf0eqv6dLV0
Mn909AkS+ALuKLCHcR/mRjH9b9kjEd8vPsktx4eb5E3G0huc07ccvQku1/Le7Aqy
EkBAQPoEEUOKGlxY/k48LuXtwwoNpEMHQFBHX2x410LGwn4TBeRn0dq7g9kWzlcB
pFmIx8lF+7uTe3d7PBVD3RJ79hk2bXJHqKWaK0D677JaJU26HMxokS2pEGuNudi/
8CvT+de/PLi0hh8y0Gw4FgHWUSWEIHgLOYF8N+HjfLSln3lBdeBg6I353a1LlvbU
maVj/gHT5UgjU9JyWZIM1YMcvtn7cXGSkv1VEDJclymWKN7I7LSWBi+IL6buSB12
erPMHG1YrWvNTrUZJgIpznbKG1310KizI8Uqyi9xdThZjIYpS8eml1Z5Z7N2H5ut
JlfK30kZ2M4yUmXw/Z4s7PpDYpFtWtdrUXUlmUYpc2nhog7gHf4=
=kqCc
-----END PGP SIGNATURE-----