Finding UART and Getting a Root Shell on a Linux Router

preview_player
Показать описание
In this video, we will discuss how to find UART debug interfaces on an embedded linux device. We will then leverage UART to get a root shell on the device.

IoT Hackers Hangout Community Discord Invite:

🛠️ Stuff I Use 🛠️

🪛 Tools:

🫠 Soldering & Hot Air Rework Tools:

🔬 Microscope Setup:

About Me:
My name is Matt Brown and I'm an Hardware Security Researcher and Bug Bounty Hunter. This channel is a place where I share my knowledge and experience finding vulnerabilities in IoT systems.

- Soli Deo Gloria

💻 Social:
Рекомендации по теме
Комментарии
Автор

Flux (and even pre-cleaning) is your friend for soldering. A little isopropyl alcohol and a Q-tip is useful for cleaning up flux residue, even if you didn't use flux (because there is flux in the solder core), since it can produce unwanted resistive paths later.

A resistor (say, 1K+/-) attached across your meter probes (say, with clip leads) can help to identify the RX pin, since the current through 1K to ground won't significantly effect the power pin voltage, but will move the RX pin significantly (maybe even almost to ground).

I'm happy that I have an oscilloscope since I can look for a serial signal during boot even before I have soldered anything. But scopes aren't free (though the ones built in to some of the fancier meters are more than adequate for this purpose.

Nice exposition.

KeepEveryGuessing
Автор

Can we see a video where you don't have access to root shell directly through UART, and how you work around that to get shell access, especially in the case of U-Boot?

Beterr
Автор

..this is more advanced than a normal windows user...only had experience working with UART on arduinos.. interesting!...got to learn these Linux commands..if the geeks are united they will never be divided..!

surenbono
Автор

Use of button size neodymium magnet can hold the pin header while you solder the one end of the pins. I enjoyed watching this video and I was able to look at the WD-Streaming box that I have laying around for a while and I was unable to login to gain root access because of password, but I will do a little research to see if others have been able to guess what the password is.

abdultairu
Автор

Very nice video. I thought your process description was very good and very relatable. Keep it up, information like this is great to get out to help beginners!

RobertBranch-FL
Автор

Loved the video! I would like to see more of this style video but next time show could you show us what happens when things go wrong and what tricks you've learned to deal with it?

davidhammond
Автор

This was a lot of fun. Subscribed. There are numerous devices like multi-meters and stud finders that have coms built in that I'd like to explore. Thanks for bringing us along.

brucewilliams
Автор

Electrolytic capacitors have ground marked on them, and there are a few on this board, which connect to a large ground plane.
Something like that is a good starting point, as well as the shields on connectors like USB and ethernet..
If you know the barrel-jack is center-positive then the solder point at the rear of the barrel-jack is positive, since the center pin is crimped to it, so use the side solder joint first.

MickMcMadder
Автор

Great video, and I appreciate your explanation of the pin outs. Need to go to my local Goodwill for some learning on my own! Thanks for posting!

mathewrtaylor
Автор

I recently started with hardware hacking so this type of experience sharing helps me a lot. Explanation was very clean, analyse of the chip could have been a little zoomed in. Would love to see your setup with some explanation of what you use it for. Looking foreword for more content, keep it up mate. 💪🏻

braapit
Автор

I'd love a course on hardware hacking. I have not been able to find one on coursera or the others

shygrammer
Автор

Great video man! Would like to see more content!

MrMactoshi
Автор

I love doing this too dude. So much fun

numberiforgot
Автор

well done, thanks. I just had the same experience with a Grandstream modem. It just booted right into a shell.

mshabanian
Автор

Very interesting, thanks for your video

longtran
Автор

Nice tutorial Bro. Hope more contents are coming. 👌

ofsanjay
Автор

"Blue-tac" or whatever brand of sticky poster putty you get locally. Take a blob of it and stuff it onto the pin headers, it will stick well enough for soldering and doesn't melt (much) onto the pins! Shouldn't be an issue.

over
Автор

Bluetack to hold header and flux to clean the pads, I usually dip the header into flux liberally, push thru and be enough to do the pads that way neatly. But can never have too much flux. But the main tip in soldering would be, well-tinned iron to start with and lots of flux.

What you need is a pogo clamp, alas most you can get short and will also need vertical and horizontally lined pogo pins. But worth hacking something together as I don't know about you, soldering shows why I'm not a brain surgeon 😁

PaulGrayUK
Автор

Hello, just found your channel and find it interesting.
Do you use software to do this or are you simply using terminal in linux?

GrenPara
Автор

Thank you for your video. Any chance you make one for JTAG?

fuzzs