Another fine exploit by Samy [1]. At the risk of sounding like a killjoy, once the attacker has physical access to a machine, let alone plugs in their own device, you can usually abandon all security hope [2]. But that entirely notwithstanding, the techniques presented in this exploit are actually quite clever, and they conspire to make for a nasty set of scenarios. Kudos to him for raising awareness once again! [1]…
PoisonTap – Exploits locked computers over USB
41–50 of 57 posts
Re: PoisonTap – Exploits locked computers over USB
#42Re: PoisonTap – Exploits locked computers over USB
#43It seems like another mitigation missing from their list is "modify your DHCP client to reject over-broad subnet masks" where the cutoff is probably something like /20. Additionally you could reject any DHCP lease for a subnet that purports to overlap with the address range of any other directly connected network.
>netsh advfirewall firewall show rule name=all
…
Rule Name: Core Networking – Dynamic Host Configuration Protocol (DHCP-In)
———————————————————————-
Enabled: Yes
Direction: In
Profiles: Domain,Private,Public
Grouping: Core Networking
LocalIP: Any
RemoteIP: LocalSubnet
Protocol: UDP
LocalPort: 68
RemotePort: 67
Edge traversal: No
Action: Allow
Rule Name: Core Networking – Dynamic Host Configuration Protocol (DHCP-Out)
———————————————————————-
Enabled: Yes
Direction: Out
Profiles: Domain,Private,Public
Grouping: Core Networking
LocalIP: Any
RemoteIP: LocalSubnet
Protocol: UDP
LocalPort: 68
RemotePort: 67
Edge traversal: No
Action: Allow
Basically I only allow DHCP from LocalSubnet. Of course according to Microsoft LocalSubnet :
“The keyword localsubnet, which includes all addresses that are on the local computer’s current subnet.”
but how the hell does your computer know “local computer’s current subnet” BEFORE it receives its IP from DHCP server???
Hmm, I think Ill just hardcode this to private subnet (192.168.0.0/16).Re: PoisonTap – Exploits locked computers over USB
#44Re: PoisonTap – Exploits locked computers over USB
#45Another fine exploit by Samy [1]. At the risk of sounding like a killjoy, once the attacker has physical access to a machine, let alone plugs in their own device, you can usually abandon all security hope [2]. But that entirely notwithstanding, the techniques presented in this exploit are actually quite clever, and they conspire to make for a nasty set of scenarios. Kudos to him for raising awareness once again! [1]…
A powered-down machine with full disk encryption is reasonably safe against physical access, I still hope?
Re: PoisonTap – Exploits locked computers over USB
#46That is impressive. And scary. But if your box's physical security has been compromised, you're already screwed in any case.
I can't help but feel in the majority of cases fleeting access should not be a problem for a modern operating system. Lets say you are working in an office and get up to go the loo. You lock your work station. You are expecting that your locked computer will mean that a visitor cannot gain access to it in the few minutes you are away. They could steal the computer, they could destroy it but slipping something into th…
Re: PoisonTap – Exploits locked computers over USB
#47Earlier quoted context omitted.
A powered-down machine with full disk encryption is reasonably safe against physical access, I still hope?
Unless USB keylogger is present which will log the disk encryption password when user is unaware of it...
Re: PoisonTap – Exploits locked computers over USB
#48Another fine exploit by Samy [1]. At the risk of sounding like a killjoy, once the attacker has physical access to a machine, let alone plugs in their own device, you can usually abandon all security hope [2]. But that entirely notwithstanding, the techniques presented in this exploit are actually quite clever, and they conspire to make for a nasty set of scenarios. Kudos to him for raising awareness once again! [1]…
A powered-down machine with full disk encryption is reasonably safe against physical access, I still hope?
For scarier thoughts, imagine I know how to control the Intel Management Engine, and attack that instead. That's not covered by FDE.
Re: PoisonTap – Exploits locked computers over USB
#49Re: PoisonTap – Exploits locked computers over USB
#50I remember the "good ol' days" when you could reasonably build a monolithic Linux kernel with support for loadable modules disabled. Just compile in whatever you needed for your hardware and leave out the other 90% that you didn't need. It was a decent (but not very popular) defense against rootkits and attackers being able to dynamically load kernel modules and would also prevent something like this (unless you had…
This could be done: we need a common git repo with a config for each kernel version per laptop; eg. config-4.4.30 for ThinkPad X200, which only includes the required drivers for the laptop itself.