r/embeddedlinux • • Nov 04 '19

how to secure embedded linux devices ?

https://youtu.be/h5PRvBpLuJs the above link is a black hat conference that demonstrates varous ways to get root access in 20 of most common embedded devices all runnig linux.

my question: how to secure uart, spi, i2c , emmc usb and most of the vulnerability as shown in the video?

12 Upvotes

9 comments sorted by

1

u/_gipi_ Nov 04 '19

I'm not an expert but probably disabling them in first place, possibly without exposing the pinout on the PCB.

Obviously is a trade off between usability/debugging/security and first of all you need to understand what is your threat model.

6

u/[deleted] Nov 05 '19

[removed] — view removed comment

1

u/amrock__ Nov 05 '19

i read somewhere that disabling userspace is also good?

1

u/wjwwjw Feb 04 '20

I recently heard that some people always remove /proc on their final product for security reasons. Any ideas what security risk there might be? AFAIK /proc is not that dangerous

1

u/[deleted] Nov 05 '19

[removed] — view removed comment

1

u/BadDadBot Nov 05 '19

Hi not joking., I'm dad.