Hacker's Guide to UART Root Shells

  Рет қаралды 449,157

Flashback Team

Flashback Team

Күн бұрын

Learn tricks and techniques like these, with us, in our amazing training courses!
flashback.sh/training
The UART Protocol and Interface is crucial for hacking IoT devices. We explain how to quickly identify a UART interface and connect to it to get a root shell, as well as a trick on how to re-enable a UART connector that has been disabled by the manufacturer.
00:00 Intro
01:00 What is UART?
04:05 Identifying UART
07:56 Connecting to UART
08:52 The UART Protocol
14:42 Re-enabling broken UART
Did you enjoy this video? Then follow us on Twitter, and subscribe to our channel for more awesome hacking videos.
~ Flashback Team
flashback.sh
/ flashbackpwn

Пікірлер: 239
@jonathanbouchard720
@jonathanbouchard720 3 жыл бұрын
Keep up the videos very awesome! For someone new to hardware hacking what cheap devices could I try my hands on that has an UART interface?
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
Thank you for your feedback! While the techniques we show apply to any IoT / embedded device (TVs, set top boxes, smart speakers, smart home appliances, cameras, enterprise firewalls, car ECU, etc) we really like showing examples on routers. This is because routers are very cheap and easy to get, share lots with common with most IoT devices. Not all routers will have UART, but in our experience 90% do. You could start with TP-Link TL-WR841N. It's quite cheap and could be a good start!
@graysoncanaan5364
@graysoncanaan5364 2 жыл бұрын
instablaster...
@Jimfowler82
@Jimfowler82 Жыл бұрын
Routers. I find them all the time next to bins 🗑
@Jarmezrocks
@Jarmezrocks Жыл бұрын
@@Jimfowler82 that's right, you could use one to that you know a target uses and see if you can make exploits to test on that same brand router? Other than that.....the router is probably in the bin for a reason? Or people just don't care and upgraded to a newer connection that the router doesn't support (because it's branded and locked to a specific network), and in that case....the best you could do is "unlock" the router to use firmware supported on other networks? You can inject features that are supported on the hardware, that are not coded into the firmware interface? You can white list and black list different services& connections as do the OEMs? You can unlock things that your current ISP doesn't want you to get access to, or access is provided through different hardware without the restriction etc? So if you see a router just like yours and you want to hack around with some things; you can do it safely without taking your household off the internet while you try fixing it? Lol
@Jimfowler82
@Jimfowler82 Жыл бұрын
@@Jarmezrocks in the U.K. it seems quite often people change isp companies and just throw the old router away. I found one last year & connected the uart it’s an interesting process that gives you a decent understanding of how the hardware & software work.
@dev-debug
@dev-debug Жыл бұрын
I'm lazy so I just usually try 9600, 19200 or 115200, works 99% of the time and is faster than reversing the baud rate. Of course for an educational video showing how you can calculate the baud rate is very good. Great video !
@joshuamahon260
@joshuamahon260 Жыл бұрын
In school: You will need to learn these 10,000 different methods! In practice: There's like 3 ways to do it most of the time.
@nicewhenearnedrudemostlyel489
@nicewhenearnedrudemostlyel489 Жыл бұрын
@@joshuamahon260 In youtube comments: Proving you couldn't find a use for knowledge!
@la-ia1404
@la-ia1404 Жыл бұрын
I bet there is a utility to auto find the baud rate. Idgaf about manually calculating transfer speeds.
@TuMundoAndroideMania
@TuMundoAndroideMania 3 ай бұрын
What is the 3.3 or 5 volt of the uart for? I don't see that they use it and it comes there on the USB! If I do it on a camera as they say in the video, I don't need tftp or is that mandatory? I'm bad at this and I don't understand tftp. I damaged my camera by installing the wrong firmware but it turns on but I can't connect to it anywhere, I only see the infrared LEDs and that's it. Do you think this works with that software in the tutorial?
@Clawthorne
@Clawthorne Жыл бұрын
I had never considered before that you could take photos of both sides of the PCB and color traces in a photo editor. That's such a great idea!
@untermench3502
@untermench3502 Жыл бұрын
In 1990, I built from scratch a few micro controllers and communicated with them using a serial interface and a terminal to configure them. This video brings back old memories and makes me glad that people are using the same technique.
@ulysses_grant
@ulysses_grant 5 ай бұрын
Absolutely amazing! I can totally imagine how satisfying that experience must have been. Ah, those were the days!
@untermench3502
@untermench3502 5 ай бұрын
@@ulysses_grant I still have them and the source code. They helped me get a good job at DEC.
@bororobo3805
@bororobo3805 4 ай бұрын
I hadn't been born yet😂
@yuri0001
@yuri0001 Жыл бұрын
Hollywood Hacker: "I'm in the mainframe!" Real world hacker: paperclip bridge
@StarsManny
@StarsManny Жыл бұрын
If I wanted to show someone an example of what a well presented, entertaining KZbin video looks like, I would show them this channel.
@evanlane1690
@evanlane1690 Жыл бұрын
This is an example of a perfect tutorial. Great pace, background info, and real-world examples. Thanks so much! Subscribed.
@PlaceholderforBjorn
@PlaceholderforBjorn Жыл бұрын
Wow, impressive how you tought me serial communication in 17minutes when I have had quite hard to grasp it before. Very educational approch with practical example, and problem solving. Subscribed!
@harshtiwari7593
@harshtiwari7593 2 жыл бұрын
Simply brilliant. Thank you for explaining the concept of calculating the baud rate so beautifully.
@altimmons
@altimmons Жыл бұрын
Please keep doing these. I’m trying very hard to learn to do stuff like this, I literally have all the gear. But either I’m slogging through textbooks that are too boring to read, just poking around under the microscope and multimeter or with uart to usb, reading tutorials for already wide open -eg dev boards and generally struggling.
@altimmons
@altimmons Жыл бұрын
I don’t want to hack hack anything; I just would love to be able to take my old broken smart devices with generally powerful chips and Linux - I can list what I’m working on if interested- and repurpose them. For instance I have a 22 in touch screen used in advertising and ran android it no longer works. I got uart logs, I can even send commmands over uart though unreliably- usually the boot log washes it out but a Simple “ls” will output in between log lines. I don’t yet understand what to do next, boot loaders, getting it to boot My Linux. I don’t understand even a smidge of android- so that’ll have to to
@altimmons
@altimmons Жыл бұрын
It’s a rock chip rk3288 but I also have several other projects, two with ingenic JZ4775, a very important one I need to fix with a vacuum octeon plus with usb thumb drive rather than spi? And another I have three of mediatek or something. Discarded yi cameras. But I can’t get all the way there like you guys . I have 75% the skills but I neeed the last 25%
@sauravmodak507
@sauravmodak507 11 ай бұрын
Never seen anyone teaching something so easily! Love this thank you sir
@pharos7466
@pharos7466 Жыл бұрын
this is amazing. this is the first video of this kind that I watched and was so educational. thank you very much
@michalisp.6318
@michalisp.6318 3 жыл бұрын
Great tutorial. Thanks for sharing your knowledge!
@craig4197
@craig4197 3 жыл бұрын
excellent video. well explained and visualized. keep up the good work. subscribed.
@ryanreedgibson
@ryanreedgibson Жыл бұрын
This video should be what youtube is all about. GREAT WORK teaching!
@adrianoaguilar9012
@adrianoaguilar9012 Жыл бұрын
Excellent tutorial, thanks a lot for showing us this keep up the great work!
@jaydub8085
@jaydub8085 Жыл бұрын
I just purchased a TPLink Archer identical to the one you have just shown in the video. That's handy to know!!!
@GeorgeBoudouris
@GeorgeBoudouris 2 ай бұрын
This is the best tutorial i have seen about usb to ttl. Thank you so much man for the help
@kikimaulana6439
@kikimaulana6439 Жыл бұрын
Thank you for explaining this thoroughly!
@jonathanlein7699
@jonathanlein7699 3 жыл бұрын
Very cool video. I just got my first root shell on an old Wi-fi range extender I had lying around.
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
Great job! Let us know if you find any vulnerabilities!
@Xerox482
@Xerox482 Жыл бұрын
how you login ? i mean the username password ?
@seancondon5572
@seancondon5572 Жыл бұрын
7:20 - In most cases, which pin is the ground should be readily apparent. Usually all but one of them will have small traces connected. The one that has a large, wide trace is going to be the ground. Some PCBs, however, have a certain degree of protection by making the traces less visible. On those, a multimeter with continuity would be a necessity. This board is not one of those, as you can visibly see the North pin and the 2 South pins have small traces, and the odd one out is connected to the Board Common Ground. This works for simpler PCBs. It is the more complex ones - where the ground is less obvious - where you need to use this method.
@JamesAChambers
@JamesAChambers Жыл бұрын
This helped me. Great work!
@cangozpinar
@cangozpinar 9 ай бұрын
Amazing step by step explanation. Thank you very very much.
@lofgren007
@lofgren007 Жыл бұрын
Awesome video, very informative. Thanks for sharing
@zackmcdonald5091
@zackmcdonald5091 Жыл бұрын
i don't think ill ever use this but i learned a lot about serial. Thanks
@aazjo
@aazjo Жыл бұрын
Thanks for documenting this. I got a root shell on my Archer C9 back in 2016 with the same simple UART interface.
@SilkroadOnlineGlobal
@SilkroadOnlineGlobal Жыл бұрын
Thanks alot! Great video! Keep them coming, please.
@script--x3csvgsvgonloadale829
@script--x3csvgsvgonloadale829 3 жыл бұрын
Thanks again, nice to see you pushing out more videos.
@PoliticalPanic
@PoliticalPanic Жыл бұрын
great video and ofcourse great explanation.. thank you so much.
@Xerox482
@Xerox482 Жыл бұрын
very useful video , pls post more videos like that we need more and more
@schnasndasn1504
@schnasndasn1504 Жыл бұрын
Hey Guys! Thank you very much for this awesome video! It's very informative and it's cool to see how everything comes together at the end. From the bits recorded by the logic analyzer to the baud rate to the connection. Even though it's faster to just guess the baud rate, due to your example it's much clearer what is going on in the background. Right now I'm trying to connect to a cheap 8 dollar smart watch which works with the Mediatek MT6260 SoC and aparently it's working with 2.8 volts cause it's cmos based. Can i still use an FTDI adapter in 3.3 V mode to connect? I tried to find some information on the internet but wasn't very successful! Greetings
@crazyhacker2437
@crazyhacker2437 Жыл бұрын
I am surprised that such a good video has less view from researchers.
@deang5622
@deang5622 Жыл бұрын
We don't need videos like this. We have degrees in electronics and already understand UARTs and communication protocols and understand how to use oscilloscopes and logic analysers.
@dsitum
@dsitum 19 сағат бұрын
Amazing explanation!
@xXbeersandbytesXx
@xXbeersandbytesXx Жыл бұрын
Amazing. Thanks for sharing.
@epsweepstakes7889
@epsweepstakes7889 3 жыл бұрын
By far the best thing on the internet for hardware hacking
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
Thank you. We are just getting started!
@rabahbougaa8997
@rabahbougaa8997 Жыл бұрын
Thank you, it works perfect!
@courdyou
@courdyou 8 ай бұрын
As a beginner, this video is great! May I ask if there are any cheap IOT devices (such as cameras) that I can try to get started with? I want to use UART to complete IOT forensics, but I don't know which models of devices can be used to try.
@Lucas-md8gg
@Lucas-md8gg Жыл бұрын
Excelente vídeo!
@satadrudas3675
@satadrudas3675 2 жыл бұрын
This is great, I am trying the same with an IP camera.
@greywolf271
@greywolf271 Жыл бұрын
One thing to note about baud rate is that the whole number integer values are not the only values you can use. There are fractional rates that are available, depending on the CLK frequency. Look up any of the older UART ICs and you should find the info.
@victornpb
@victornpb Жыл бұрын
It takes no more than 3 minutes to try the most common settings, if none of them work then you can pull out the oscilloscope but almost always you will save the hassle
@greywolf271
@greywolf271 Жыл бұрын
@@victornpb Also, from what I've experienced with non standard rates, if you're off by 10-20 hertz, you'll always see recognizable characters to a large extent.
@crackwitz
@crackwitz 8 ай бұрын
You can usually be off by 1-2%. The UART peripheral will not even notice that. It depends on the sample rate of the peripheral and the number of samples it takes per symbol.
@Dividerinchief
@Dividerinchief Жыл бұрын
Very informative video.. Love from India
@pfidler67
@pfidler67 11 ай бұрын
You can also use well known 'screen' command instead of 'minicom'. Screen is usually used to create background sessions but also has functionality to support configurable serial connections.
@FlashbackTeam
@FlashbackTeam 11 ай бұрын
Yes, screen is actually our default but wanted to use minicom in the video as it's more recognizable. Thanks for the heads up.
@pfidler67
@pfidler67 11 ай бұрын
@@FlashbackTeam Thanks for reply and thanks in general for your whole impressive work. Will you be publishing anything related to HackRFOne device? And one more question - this logic analyzer is original Saleae device? Is it very expensive?
@Jaz_Zy
@Jaz_Zy Жыл бұрын
I was able to revive my tplink AP. Thanks to this
@somsiri9319
@somsiri9319 3 жыл бұрын
This is for real hackers. Awesome!
@mheermance
@mheermance Жыл бұрын
This was interesting and informative. One small nit. I've always heard this called asynchronous serial protocol, and the UART is the hardware component that emits the protocol.
@wibblywobblyidiotvision
@wibblywobblyidiotvision Жыл бұрын
This. Saying "uart protocol" makes the hairs on the back of my neck stick up. Universal Asynchronous Receiver / Transmitter. It's hardware component, used to be a discrete chip but these days it's usually a macrocell in the CPU (or other VLSI chip) design.
@indel0425
@indel0425 Жыл бұрын
Awesome video, great explanation!
@FlashbackTeam
@FlashbackTeam Жыл бұрын
Glad you liked it!
@selimeneskaraduman6935
@selimeneskaraduman6935 3 жыл бұрын
Awesome, thank you
@vincentvanrhyn2277
@vincentvanrhyn2277 10 ай бұрын
Vey very cool stuff, thank you for this one!!
@stdint.h
@stdint.h 3 ай бұрын
Great video.
@towkukus
@towkukus Жыл бұрын
Your videos are so interesting. I wonder if you had a chance to play with any of the DrayTek products
@user-ne1zs6bz4z
@user-ne1zs6bz4z 5 күн бұрын
1. What logic analyzer model are you using? 2. What software for analyzing the image traces is that?
@minalbannerjee3484
@minalbannerjee3484 Жыл бұрын
Awesome inspiring. Do more pls
@maxhouseman3129
@maxhouseman3129 Жыл бұрын
HW dev here. You are very lucky with the devices you showed. I don't know any device, which my company developed where you can do such attacks. But nice video!
@FlashbackTeam
@FlashbackTeam Жыл бұрын
It's a nice gift to have full UART access and that happens way often as some may think. Also, consider that even if UART is disabled in production there are still ways to enable it as we have done many times, even Tx is very useful already. But if that doesn't work you just adapt your approach.
@maxhouseman3129
@maxhouseman3129 Жыл бұрын
@@FlashbackTeam you are right! We develop only products or parts which are not consumer grade. For example parts of DNA sequencers etc. We have to protect your IP and that's the reason why we put a lot of effort in protecting mechanisms.
@swisstraeng
@swisstraeng Жыл бұрын
@@FlashbackTeam Some chips allow you to blow a fuze inside them to permanently cut any UART from the pins. However it is not often enough used. Which is why such attacks work relatively often.
@kyawthetlwin5006
@kyawthetlwin5006 Жыл бұрын
Awesome video!
@Aporlorxl23
@Aporlorxl23 3 жыл бұрын
Thanks for video
@nicktheneko
@nicktheneko Ай бұрын
How about a JTAG video in a similar style??, I've learned quite allot from this video
@Brownkevin7
@Brownkevin7 Жыл бұрын
I aspire to be as good as you guys one day.
@MrLaxr-op4be
@MrLaxr-op4be Жыл бұрын
The movie finished before it even started ! 💖 it !
@djangel_rodrigues3701
@djangel_rodrigues3701 6 ай бұрын
thank you so much!!
@shafi.j
@shafi.j Жыл бұрын
Wov I am searching you very long thanks God I found at last.
@user-mv2bw7lg8z
@user-mv2bw7lg8z 6 күн бұрын
The best video! Thank you for it. Any possibility of a 2024 update?
@m.yousifadil8383
@m.yousifadil8383 2 жыл бұрын
Nice information thank
@AN-ic7wp
@AN-ic7wp 3 жыл бұрын
Great skills
@Bianchi77
@Bianchi77 Жыл бұрын
Nice video, thanks :)
@micmacha
@micmacha Жыл бұрын
Following a trace with digital image software is very clever.
@FxEarth
@FxEarth 3 жыл бұрын
Thanks for a great video! I would like to ask you what components it is at 6:24?
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
Thanks. I got it from here: www.thingiverse.com/thing:2427726
@gerardooviedo4145
@gerardooviedo4145 Жыл бұрын
Muy buena su información
@hamx69
@hamx69 Жыл бұрын
Excelente video 👌. Tengo una cámara china yoosee cómo hago para flashear un firmware por uart ? . Gracias
@TuMundoAndroideMania
@TuMundoAndroideMania 3 ай бұрын
What is the 3.3 or 5 volt of the uart for? I don't see that they use it and it comes there on the USB! If I do it on a camera as they say in the video, I don't need tftp or is that mandatory? I'm bad at this and I don't understand tftp. I damaged my camera by installing the wrong firmware but it turns on but I can't connect to it anywhere, I only see the infrared LEDs and that's it. Do you think this works with that software in the tutorial?
@redpillcommando
@redpillcommando Жыл бұрын
You guys rock!!!!!
@inwerp
@inwerp 9 ай бұрын
Hi. Do you think it might be possible to interface with SIP chips like macbook WiFi ICs? Since 2020 apple uses embedded WiFi SIP with onboard SPI ROM which stores MAC and SN. The problem is that it is also bonded to CPU, so there are thousands of macs with signature damage (due to design WiFi chip dies after water damage in very high amount of cases). Unfortunately this causes the device to crash on boot and it wont work with different IC. There are UART testpoints around this IC, so I was wondering if there is a chance that such specific chip might he hacked to work on different board.
@adkenzo
@adkenzo Жыл бұрын
Thanks guys
@jeremirynkiewicz4913
@jeremirynkiewicz4913 3 жыл бұрын
excellent
@chumkiisrat3065
@chumkiisrat3065 Жыл бұрын
Nice video
@tazdrum73
@tazdrum73 Жыл бұрын
What is the model of the UART comms device shown at 7:59?
@kidusbk3021
@kidusbk3021 4 ай бұрын
I have a question what if it has multiple tx and rx ,like tx1 and tx2. Rx1 and rx2 the pins are labelled
@rafa_br34
@rafa_br34 Жыл бұрын
Nice video. however, I have a question. Is the start/stop bit always just one 0? If so just the bits per second define how many bits it will capture per packet so it doesn't "desynchronize"?
@FlashbackTeam
@FlashbackTeam Жыл бұрын
Thanks! Synchronization is only determined by the baud rate that sender and receiver need to set to the same value. It ensures synchronization of read and write. Start bit is always a LOW value (logical 0) and Stop bit can be 1, 1.5 or 2 bits HIGH value (logical 1) at the end of the UART frame.
@aidwilli
@aidwilli 8 ай бұрын
I believe it depends on the idle state of the data line. Start will always be inverse of idle level and stop will be same level as idle. @@FlashbackTeam
@leandroccdev
@leandroccdev Жыл бұрын
thanks!
@mcu7010
@mcu7010 2 жыл бұрын
I have lcd send uart data i try to decode data by usb to serial but data showing vary difficult ... how can i send to you video and contract you ...plz reply
@taras94s
@taras94s Жыл бұрын
nice 👍
@UseR-ne8fm
@UseR-ne8fm Жыл бұрын
well done ;))))
@MichaelLaszambouw
@MichaelLaszambouw Жыл бұрын
Owesome video
@nickhuynh6321
@nickhuynh6321 Жыл бұрын
Good stuff... they don't teach you this in school...
@vinitshandilya
@vinitshandilya Жыл бұрын
If the router and the USB ports are powered through different source, how do you close the ground loop? Also, is the 3.3 volt logic tolerant with 5V port?
@fss1704
@fss1704 Жыл бұрын
As long as you have an isolated power supply and you are not getting shocked there is no ground voltage and you can join both grounds with no problem, you can connect any 3.3v tx into a 5v rx no problem but the other way 5v tx to 3.3 needs a voltage divider, i usually use a resistor and a led for that as the led will drop the voltage to 3v and give feedback as a bonus.
@vaniz2012
@vaniz2012 Жыл бұрын
Hi there, please made video for mikrotik router board uart thank you very much before
@norwindaveramirez6089
@norwindaveramirez6089 Жыл бұрын
Nc sharing, Lods
@MarKac9090
@MarKac9090 3 жыл бұрын
8:01 what's the name of the board? that can speak UART. great video
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
Just search for any USB-to-UART adapter. They will register to your computer as a device, i.e. /dev/ttyUSB0. They have FTDI chips that is used to speak UART protocol.
@manishpoudel4540
@manishpoudel4540 Жыл бұрын
you can use arduino as that device by connecting the reset pin to arduino to gnd and then using its tx rx vcc and gnd pin , same as in ftdi
@hansliss
@hansliss Жыл бұрын
"UART" is not a protocol, it's a device (here built into the processor) that provides an asynchronous serial port to a system. The easiest way to refer to it is just "serial port", or "RS-232" if you ignore that the voltage levels are wrong.
@SchwaAlien
@SchwaAlien Жыл бұрын
This technique will help save IoT hardware from landing in the garbage dump before they should. Imagine if you could take an old Sonos zone player and free it from needing to communicate with Sonos, give it a web interface and let it be a DLNA or AirPlay media target or something... so many good quality products are destined to become garbage the second the manufacturer stops supporting them, or goes belly up. We’re going to need an army of hackers to save the hardware from greedy corporations that think they still own hardware they sold to us like the way China deals with real estate... I’m more seriously considering purchasing a device that has known terrible firmware that forces you to use their junk cloud service that people have developed alternate firmware for since the hardware is totally decent but requires this type of hack to flash the open source firmware onto it... not so mysterious now.
@tslim3899
@tslim3899 3 жыл бұрын
Where can I get that articulated arm at 6:30?
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
We got it from here: www.thingiverse.com/thing:2427726
@swimmerboy
@swimmerboy 3 жыл бұрын
Thank you for your content. Please recommend some devices to get my feet wet. A cheap router and the uart usb. If for example i use the wrong pins in the uart, can i fry the target? Congrats once again 🇵🇹
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
You could start with TP-Link TL-WR841N. It's quite cheap and could be a good start. There are really a lot of UART-USB devices on amazon, just take the one which has good reviews and has a good price for you and you should be fine. I think the risk of frying the board is quite small if you make sure you discover the ground and vcc pin of the board and you wire things fine.
@swimmerboy
@swimmerboy 3 жыл бұрын
@@FlashbackTeam thanks for the response. Please keep up with this channel
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
🇵🇹 🇵🇱
@indian3197
@indian3197 11 ай бұрын
I connected the gnd and tx pads from the docsis 3.0 router to the gnd and rx pins on ttl adapter using pcbite probes but dont see anything on my laptop. I am using putty terminal. Any suggestions?
@FlashbackTeam
@FlashbackTeam 11 ай бұрын
Check if pin and Tx line are connected connect. You can use continuity mode for this. Also, UART might be disabled by a fuse in that case you might be unlucky.
@Jarmezrocks
@Jarmezrocks Жыл бұрын
This is exactly the information I needed to see if I can hack a android digital TV box 👍 And that means if I can get a root shell I can imagine a non-branded box via the UART and then write it back on-to my "brained perpetual subscription box" so I can get free digital TV again, perhaps? 🤔
@AlfredVela-jk8ri
@AlfredVela-jk8ri 4 ай бұрын
te funciono En que Marca y modelo Lo intentaste??
@hariharankrishnan7189
@hariharankrishnan7189 Жыл бұрын
Hi... Thanks for the amazing video. I physically found a broken UART Port with three pins on an chinese IP camera, and one pin is 'GND' terminal for sure. I really have doubt the other two, terminals on finding which one is TX and RX. By little bit of solder on the other two terminals, I am able to read the bootloader info from Camera to my linux shell via FTDI chip. But the other way communication, i.e., hit any key to stop autoboot (as you mentioned in video @14:48) I am unable to perform. FH8626V100 is the SoC. Unable to get datasheet. I am thinking of pull up resistors also. Can you pls help?
@alexc4924
@alexc4924 Жыл бұрын
got an oscilloscope? it would probably make the problem apparent
@AlanGonzalez-om4rr
@AlanGonzalez-om4rr Жыл бұрын
Little late maybe? You can guess by trying RX/TX. Learned that when I stomped with a device that had the wrong pin marking, instead of saying the SoC TX and RX, it said "Here you should comnect your RX (being the SoC TX" Just takes more time, put the pins one way, try all the common baudrates, reverse and try again.
@AlanGonzalez-om4rr
@AlanGonzalez-om4rr Жыл бұрын
Also, the autoboot thingy, depends on the bootloader, I've seen devices that only stop booting with a specific key (I'm pointing at you, Dahua devices!) Where only the asterisk key worked. Didn't figure that myself, used to work with the brand haha.
@sargismartirosyan9946
@sargismartirosyan9946 4 ай бұрын
Damn it looks easy :)
@selimeneskaraduman6935
@selimeneskaraduman6935 3 жыл бұрын
I'm not experienced with this but just an idea, is it possible to modify the firmware and add a backdoor to firmware and rebuild again, when upload the firmware, we have shell??
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
That's a trick we also commonly use :) But in many cases, this is very hard to achieve, as the firmware might be signed, encrypted, have some protection and if it goes wrong you can brick the device. This UART method should be your first approach, as it can be very quick and easy, and give you an instant root shell. If that doesn't work then you should explore alternatives like the one you described!
@selimeneskaraduman6935
@selimeneskaraduman6935 3 жыл бұрын
@@FlashbackTeam Thanks for the answer, as you said I mentioned about the devices firmware available to download and unencrypted
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
@@selimeneskaraduman6935 Sure, but keep in mind that even if the device's firmware is available to download and unencrypted, the device itself might only accepted signed firmware. Even if it's not signed, it expects a certain layout or checksum or something like that which might be very hard to pull off in practice. But you're thinking right, it can be done and we have done it. We might show it in a future video too!
@selimeneskaraduman6935
@selimeneskaraduman6935 3 жыл бұрын
@@FlashbackTeam Look forward to see that :)
@mkamranmajeed
@mkamranmajeed Жыл бұрын
Brother I've a modem router model tenda D301 i updated it's firmware after firmware update its admin password didn't work and i also rest to default settings with reset key but its not working how can i see my password using Rx Tx method? With my pc or laptop? Solution please
@DiegoSilva-dv9uf
@DiegoSilva-dv9uf Жыл бұрын
Valeu!
@tslim3899
@tslim3899 3 жыл бұрын
At 6:40? How did you know that it is a UART interface? How do we connect to that sort of interface?
@FlashbackTeam
@FlashbackTeam 3 жыл бұрын
Sort of experience. The more you work with embedded the faster you are able to identify various elements of it. Hence we have shown different types of UART interfaces in the video to emphasize on it. Normally a special connector would be needed for that interface. But if we didn't have it we would simply solder wires into it.
@SubscribeSuman
@SubscribeSuman Жыл бұрын
ttl converte model name plz ??
@mgsp5871
@mgsp5871 Жыл бұрын
What you should do first is identify the target chip and get your hands on any data sheets: especially those regarding the boot- or programming mode. Many chips have strap pins to tie to gnd or whatever to enter almighty programming modes.
@alexc4924
@alexc4924 Жыл бұрын
Often the root shell is way more useful than any programming mode because the device has all the needed driver software installed. E.g. you can just run "ping" instead of writing a TCP/IP stack
IoT Hacking - Polycom Conference Phone - Firmware Extraction
33:53
Teenagers Show Kindness by Repairing Grandmother's Old Fence #shorts
00:37
Fabiosa Best Lifehacks
Рет қаралды 6 МЛН
How to open a can? 🤪 lifehack
00:25
Mr.Clabik - Friends
Рет қаралды 9 МЛН
КАК ГЛОТАЮТ ШПАГУ?😳
00:33
Masomka
Рет қаралды 2,1 МЛН
Extracting Firmware from Embedded Devices (SPI NOR Flash) ⚡
18:41
Flashback Team
Рет қаралды 484 М.
Fun With HARDWARE HACKING!!! - UART ROOT SHELLS and Finding SECRETS!
31:15
How We Hacked a TP-Link Router and Took Home $55,000 in Pwn2Own
17:44
Flashback Team
Рет қаралды 366 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 2,9 МЛН
Basics of UART Communication | UART Frame Structure | RS 232 Basics | Part1
10:27
IoT Hacking - Netgear AC1750 NightHawk - UART Root Shell
41:23
Hack everything: re-purposing everyday devices - Matt Evans
50:39
Linux.conf.au 2012 -- Ballarat, Australia
Рет қаралды 795 М.
The secrets of Apple Lightning - Part 1
9:45
stacksmashing
Рет қаралды 818 М.
Philippe Laulheret - Intro to Hardware Hacking - DEF CON 27 Conference
46:07
С Какой Высоты Разобьётся NOKIA3310 ?!😳
0:43
Samsung mobile phone waterproof display. samsung mobile phone digital s23ultra  #shorts
0:15
Samsung or iPhone
0:19
rishton_vines😇
Рет қаралды 379 М.
Компьютер подписчику
0:40
Miracle
Рет қаралды 206 М.