#04 - How To Get The Firmware - Hardware Hacking Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 เม.ย. 2020
  • If you are struggling to get the firmware out of your device, this is the video for you!
    In this video I will explain the possible ways we can use to to get the firmware of our IoT device.
    I will do a practical example, of one of these possible ways. I will connect the PC to the UART of our sample device, I will analyze the boot log, I will access the command line interface of the boot loader, and I will dump the firmware, exploiting the dump command available in the boot loader. I will use a couple of scripts, do dump the entire EEPROM in an hexadecimal ASCII text file, and, then, to convert back this file in binary form to get the exact image of the EEPROM.
    ********* Links with additional Information
    Channel's Author: www.makemehack.com/2020/02/a-...
    Channel's Web Site: www.makemehack.com/
    The sample router (Gemtek WVRTM-127ACN) on techinfodepot: en.techinfodepot.shoutwiki.com...
    The sample router (Gemtek WVRTM-127ACN) reverse engineered on GitHub, includes scripts to dump the EEPROM to a text file and to convert it back to binary file: github.com/digiampietro/hacki...
    TTL Serial Adapter (affiliate link): amzn.to/2vvzCYB
    PuTTY, the terminal emulator: www.putty.org/
    Wireshark, Ethernet analyzer: www.wireshark.org/
    Curl, command line tool for transferring data with URLs: curl.haxx.se/
    Wget, retrieving files with URLs: www.gnu.org/software/wget/
    Mitmproxy, a free and open source interactive HTTPS proxy: mitmproxy.org/
    Bus Pirate: dangerousprototypes.com/docs/B...
    OpenOcd, On Chip Debugger: openocd.org/
    U-Boot, The Universal Boot Loader: www.denx.de/wiki/U-Boot
    Buildroot, a simple, efficient and easy-to-use tool to generate embedded Linux systems through cross-compilation: buildroot.org/
    Binwalk, a fast, easy to use tool for analyzing, reverse engineering, and extracting firmware images: github.com/ReFirmLabs/binwalk
    SOIC8 SOP8 Flash Chip IC Test Clips Socket Adpter BIOS/24/25/93/95 Programmer (affiliate link): amzn.to/39A9JFd
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 210

  • @mihaifelseghi
    @mihaifelseghi 3 ปีที่แล้ว +92

    You sir are a human university, the best tutorials ever made, the most comprehensive and clear, keep up the good work, I am waiting for the next video in the series.

    • @MakeMeHack
      @MakeMeHack  3 ปีที่แล้ว +7

      Hello Mihai Felseghi, thank you very much for your appreciation and support.

    • @Ravecat27
      @Ravecat27 3 ปีที่แล้ว

      @@MakeMeHack Thank you for your Video, I need help! :( I think all my Devices have a malicous code, Smart TV, Monitor, Smartphone, Computer, Tablet, Xbox one, PS4...... They are all like radio controlled, they will be very fast hot, the sound will be quieter and quieter and the picture quality is worse, dark picture, even die Mini DAB Radio in the Kitchen have this malicous code, do you know about this malicous code?

  • @celebris3
    @celebris3 3 ปีที่แล้ว +3

    Valerio, I really like the way you explain - detailed, clear and comprehensive, no shortcuts, no hiding details. Thank you for sharing your experience to us. I just discovered your channel, already subscribed and can't wait to watch from the beginning. Keep up the good work, I am sure this channel will grow up quick. (Y)

  • @louieearle
    @louieearle ปีที่แล้ว +2

    This was a fantastic video - you have clear depth of knowledge, and you present better than almost every other hardware reversing video.
    I particularly like the context you give. So often presenters just show a wall of cryptic commands and output. You do a fantastic job in explaining.

  • @taterfpv
    @taterfpv ปีที่แล้ว

    This showed up in my feed today. I have no need to do any of this but I watched the entire video. You explain everything so well I just kept watching. Good job man.

  • @TheMadMagician87
    @TheMadMagician87 3 ปีที่แล้ว +5

    Fantastic video's, the density of information is incredible to me!
    Absolutely loving this series, and particularly this video so far, there are so many things I always wondered about in boot logs that you have addressed, it's inspiring me to learn more about all the other bits in there as well!

  • @MattSimmonsSysAdmin
    @MattSimmonsSysAdmin 3 ปีที่แล้ว +34

    I am totally loving this channel. Thank you for spending the time and effort sharing your knowledge. I have so many of your videos to watch!

  • @oscareriksson9414
    @oscareriksson9414 หลายเดือนก่อน

    I am a programmer at a finance company, but was always interested in hardware, mostly from a software perspective. I started looking at this series about a year ago and it kick-started a burning interest in electronics and hardware hacking in general. Now my desk is overcrowded with bread boards, several chips and boards like raspberry pies, several arduinos of different types, standalone mc chips, avr and arm cortex and have started soldering stuff together with sensors etc etc. The wires are every where. Even spreding out to the living room! Now I have started looking into openocd and things to get to the bottom of the hardware communication things, saw this video series again and this time I understand wth you are explaining (in terms of technology) which makes me appreciate the video series even more. Grazie mille!

  • @murrij
    @murrij 4 ปีที่แล้ว +1

    like i said in my tweet earlier today, this whole series is awesome. you fill in the blanks on a lot of information that is all over on TH-cam but not i none place. thank you.

    • @MakeMeHack
      @MakeMeHack  4 ปีที่แล้ว +1

      Hi murrij, thank you very much for your continued appreciation and support.

  • @lindsay5985
    @lindsay5985 ปีที่แล้ว

    Valerio, a genuinely informative video, packed with useful, advanced information that will inspire and spark the interest of tinkerers, young and old, everywhere. We all thank you for sharing so generously. For the feedback you asked for, I would encourage more use of text to display names and acronyms, because you naturally have an endearing strong accent and this could improve the clarity for a wider audience. I will definitely be learning from more of your videos. Subscribed.

  • @bysectrademark6729
    @bysectrademark6729 ปีที่แล้ว +1

    This is perfect channel for all beginers in reverse firmware education and understanding what firmware works...Great job! Maybe in future we can send you some firmwares and you can make video from firmware analys this firmware.

  • @gtpsic
    @gtpsic 2 ปีที่แล้ว +1

    Fantastic video production. So fascinating. You did a great job. This was easy to follow and packed with so much info.
    Just fascinating

  • @GastoNet
    @GastoNet 3 ปีที่แล้ว +7

    Ciao Valerio! You have the most instresting channel I've subscribed in my whole life! Keep the good work and stay safe.

  • @ronwellman
    @ronwellman 3 ปีที่แล้ว +3

    I was all smiles during this entire video. Your expertise shows through and this was the exact content I was looking for. I am excited to learn more. Thank you!

  • @krzsn5382
    @krzsn5382 8 หลายเดือนก่อน

    Great job, you're the best explain this topics... thanks for sharing your knowledge...

  • @daanklem264
    @daanklem264 ปีที่แล้ว

    I teach this content and really appreciate your detail and precision! Pure gold!

  • @tamilelectronicsforbeggine1229
    @tamilelectronicsforbeggine1229 8 หลายเดือนก่อน

    thank you very much for your detailed video script series sir. very useful and im grateful to you

  • @callelewander6789
    @callelewander6789 ปีที่แล้ว

    Mr. Giampietro, thank you for sharing your knowledge! You have some serious skills! I will share your material with my colleagues!

  • @cralx2k
    @cralx2k 3 ปีที่แล้ว

    These series are gold... AMAZING

  • @torftee2235
    @torftee2235 3 ปีที่แล้ว +1

    This is just GREAT stuff, Valerio! Grazie mille from Germany!

  • @garypaulson5202
    @garypaulson5202 ปีที่แล้ว

    Am really enjoying this video series, thank you! I also am an old man who learned Perl :)

  • @arkinzoodsma1510
    @arkinzoodsma1510 ปีที่แล้ว

    Hello sir I would really want to thank you for your awesome content! It's a real wealth of high quality hands on information coming from experience which you dont see often. Most of the time people make 1 short tutorial and thats itl. Also your english is very understandable and I would dare to say that its easier to follow than some native speakers. You really make an effort to speak clearly and it helps!
    Have you maybe thought about doing a patreon or something like that? I really hope that you will contineau producing videos!

  • @micmacha
    @micmacha ปีที่แล้ว

    I already loved binwalk, and I had no idea it could tell you about the entropy too!

  • @baghdadiabdellatif1581
    @baghdadiabdellatif1581 4 หลายเดือนก่อน

    this is the exact content I was looking for. Thank you. God bless you

  • @BreakinUpBuds
    @BreakinUpBuds 2 ปีที่แล้ว

    Man I wish you were still making videos you are awesome thanks for what you did make.

  • @anuradhapriyankara5226
    @anuradhapriyankara5226 3 ปีที่แล้ว +1

    I have watched most of your videos and what can I say is your videos are fantastic and very informative. I am too an electronic engineer and I'm trying to reverse engineer a set top box these days. Your tutorials were very much helpful for me. I'm currently trying to extract the firmware using JTAG since I have successfully identified JTAG port using your tutorial. Keep up the good work!
    P.s- you have a nice accent too ;-) I like it

    • @baghdadiabdellatif1581
      @baghdadiabdellatif1581 4 หลายเดือนก่อน

      Good for you, i am too electronic engineer
      What JTAG did you use?

  • @ThatNiceDutchGuy
    @ThatNiceDutchGuy ปีที่แล้ว

    Grazie mille per aver menzionato Expect! Era esattamente la lingua di cui avevo bisogno. Ti auguro il meglio!

  • @longtran12345678
    @longtran12345678 2 หลายเดือนก่อน

    your video is gold, it slowly teaches me so many valuable knowledge, thank you so much. I feel luck to see your video even for the first time.

  • @papamidnightfpv
    @papamidnightfpv 4 ปีที่แล้ว +4

    I have always wanted to get into hardware hacking. This video is great I hope you keep them coming.

    • @MakeMeHack
      @MakeMeHack  4 ปีที่แล้ว +2

      Hello Isaiah Newman, thank you for your appreciation and support. I plan to continue with this series and with this channel. My original ambition was to release a video each week, but in reality, I need more time, so, on average I will release a new video every 10/14 days.

  • @matheuso86
    @matheuso86 2 ปีที่แล้ว

    Sir, please, continue this awesome work!!

  • @mrsaizo0000
    @mrsaizo0000 ปีที่แล้ว

    Subscribed, things like this is not only good to know, but can help you "modify" certain hardware..

  • @bosr
    @bosr ปีที่แล้ว

    I agree with the comments here. Thank you so much for sharing such amount of knowledge, in such a structured and brilliant way. We are lucky to have you. Gracie mille, from France.

  • @meowme7644
    @meowme7644 2 ปีที่แล้ว

    impressive! instantly subbed 😉
    very nice thank you👍👍
    have a nice Domenica

  • @030H
    @030H 2 ปีที่แล้ว

    This is amazing. Thank you so much, I'm subscribing to your channel 👍

  • @marialetiziadigiampietro8423
    @marialetiziadigiampietro8423 4 ปีที่แล้ว

    Very professional and inspiring video! Can't wait to see the next episode

    • @MakeMeHack
      @MakeMeHack  4 ปีที่แล้ว +2

      Hello Maria Letizia, thank you for your appreciation and support. Next episode should arrive next week!

  • @stevecross9159
    @stevecross9159 3 ปีที่แล้ว +1

    Valerio From the UK great teaching thank you.

  • @emmyweed5827
    @emmyweed5827 8 หลายเดือนก่อน

    A true artist

  • @StefanSonesson
    @StefanSonesson ปีที่แล้ว

    Mille grazie! (did I get that right?) fantastic information that got me grabbing cables and stuff. Now for the rest of your videos 😎🙏

  • @BristlyBright
    @BristlyBright ปีที่แล้ว

    Thank you for this great video series! I really appreciate the knowledge you are sharing with others. Grazie mille!

  • @cybergen2K
    @cybergen2K 3 ปีที่แล้ว +1

    Definitely deserves more subs! Grazi!

  • @annag5458
    @annag5458 2 ปีที่แล้ว

    Fabulous video on first principles

  • @thealex7671
    @thealex7671 6 หลายเดือนก่อน

    Amazing! You are genius, my friend, i'm gonna watch every your video! ❤❤❤

  • @mohelm97
    @mohelm97 2 ปีที่แล้ว +2

    Thanks a lot, this is pure gold

  • @riskydissonance
    @riskydissonance 2 ปีที่แล้ว

    Loving the content, thank you!!!

  • @MarcioSantosMarcio-D-Santos
    @MarcioSantosMarcio-D-Santos ปีที่แล้ว

    Thank you and you gained another subscriber, I would like to change the firmware of an Epson printer, but I don't know if it's possible, just looking to find out

  • @martinneff1681
    @martinneff1681 3 ปีที่แล้ว

    Great Tutorial, pls keep it up. Your are a very good tutor.

  • @saurabhambulkar1
    @saurabhambulkar1 3 ปีที่แล้ว

    Great ,information in the video....keep it up make those wonderful videos..

  • @ramazanciftci1770
    @ramazanciftci1770 ปีที่แล้ว

    Maestro mille grazie di Germania por cet seria di video informativo. It was very nice to see in practice things having thought about theoretically. As a thanks I will subscribe your channel for the first time after watching non stop 15 years TH-cam videos.

  • @jacobwalters9660
    @jacobwalters9660 4 ปีที่แล้ว

    Great video. I am inspired to try and dump the firmware of my electric skateboard

    • @MakeMeHack
      @MakeMeHack  4 ปีที่แล้ว +1

      Hello Jacob, thank you for your appreciation!

    • @murrij
      @murrij 4 ปีที่แล้ว

      dude that would be cool.

  • @johnSmith-mo5ne
    @johnSmith-mo5ne 2 หลายเดือนก่อน

    A lot of thank for this useful guide. You are great!

  • @MiguelGuatemala
    @MiguelGuatemala ปีที่แล้ว

    Excelentemente EXPLICADO,!! gracias

  • @BlensonPaul
    @BlensonPaul 2 หลายเดือนก่อน

    great explanation, love you man. .

  • @GerardFuguet
    @GerardFuguet 4 ปีที่แล้ว +1

    You are simply awesome, I hadn’t any idea how to do this and luckily I found you (seems most OpenWRT based routers uses same bootloader structure), I’m very happy to see how you manage your videos/explanations, it denotes you have passion for you work. This is great sir! :)
    Hope you are safe under these rare days, take care good man!

    • @MakeMeHack
      @MakeMeHack  4 ปีที่แล้ว +2

      Hello Gerard Fuguet, thank you for your appreciation and support. And yes I and my family are safe, at home 🙂

  • @darkstareng
    @darkstareng 2 ปีที่แล้ว

    Holio molio this is such an amazing guide. Leave it to a real engineer to know exactly what they're doing!

  • @Kingsize001100
    @Kingsize001100 2 ปีที่แล้ว

    You are a genius. Keep making videos!

  • @mmfix3851
    @mmfix3851 2 ปีที่แล้ว

    wow that is amazing, i have question is it possible to read not only eeprom but the whole BOOTloader and for example if we change the MCU to be available to reprogram and the device to work fine. (i mean to transplant new Microcontroler which is empty )

  • @TheRealKitWalker
    @TheRealKitWalker 2 ปีที่แล้ว +1

    So very very useful. Thanks for sharing 👏👏👍👍✌️✌️

  • @GianlucaRoccaGian
    @GianlucaRoccaGian 3 ปีที่แล้ว

    Grandeee esattamente cosa voglio imparare ❤️❤️

  • @90daner
    @90daner ปีที่แล้ว

    bellissimo video mister!

  • @themodesttraveler745
    @themodesttraveler745 8 หลายเดือนก่อน

    you ae awesome you should of kept making videos

  • @serggorod1423
    @serggorod1423 ปีที่แล้ว

    Отличный ролик! Время обновить инструменты!

  • @drigogt
    @drigogt 3 ปีที่แล้ว

    May I ask you a question: where is stored the UUID in a board? In the EEPROM? Is this usually a hash?

  • @pablolopezcorona
    @pablolopezcorona ปีที่แล้ว

    Muy interesante la forma de codificar la informacion el los ruters desde el firware.

  • @bajwakamran5791
    @bajwakamran5791 ปีที่แล้ว

    Very interesting and detailed information

  • @matermater579
    @matermater579 9 หลายเดือนก่อน

    讲的很好。
    🙂

  • @McKaktus259
    @McKaktus259 3 ปีที่แล้ว

    Thanks for the video. I am currently trying to gain access to a system through UART. However, when I connect my UART-USB bridge, I can only see the output of the device (so baud rate seems to be correct) but cannot send any commands. I have checked the wiring and settings. Both TX and RX are connected to the MCU (I checked the traces). Do you have any idea other idea?

  • @vieiracastro82
    @vieiracastro82 3 ปีที่แล้ว

    Thank you for share the World so much knowledge, is impressive you domain, congratulations!!!

  • @mostafaarabi4793
    @mostafaarabi4793 2 ปีที่แล้ว +1

    You are a young excellent man.thanks.

  • @edgeeffect
    @edgeeffect 3 ปีที่แล้ว +1

    I am also an old man.... I haven't seen Expect or TCL for many years.... Expect was ("was", no..... "IS") wonderful for this sort of thing.
    In the past I ran "end of day" on our mainframe using something very much like expect and my manager thought it was "black magic".
    I want to go back and look at my old TCL scripts now.

  • @WereCatf
    @WereCatf ปีที่แล้ว +1

    Just in case someone stumbles upon here: uboot often has the commands to dump the contents of any connected SPI NOR or NAND flash disabled. Also, e.g. Xiaomi likes to disable UART-input entirely for uboot and the installed OS, so none of this will work in that case and you will need to either access the flash directly, use JTAG or find a vulnerability for the installed OS that lets you get root access that way.

  • @rhodyrhckthaladro7840
    @rhodyrhckthaladro7840 ปีที่แล้ว +1

    A very helpful video...

  • @gcm4312
    @gcm4312 3 ปีที่แล้ว

    very good content! thank you for sharing

  • @westernvibes1267
    @westernvibes1267 3 ปีที่แล้ว

    Instantly subscribed. 🖤 ^_^

  • @9h0s71n1gh7
    @9h0s71n1gh7 ปีที่แล้ว

    great explanation! Thank"s

  • @rupioe582
    @rupioe582 ปีที่แล้ว

    Very nice video you might have started a passion for hardware hacking ❤

  • @adriancoanda9227
    @adriancoanda9227 ปีที่แล้ว

    The dump is easy to reverse engineering intro would be awesome 👌

  • @markp5726
    @markp5726 ปีที่แล้ว +4

    Re: TSOP (at 7:31) - there are clips for chips like this available. They can be found by searching for something like "nand tsop clip" or "360 clip". Security researchers use them to find TOCTOU (etc) firmware security flaws.

    • @ImranAli-rp4kd
      @ImranAli-rp4kd 10 หลายเดือนก่อน

      You can get tsop 48 clips, people used them before for Xbox 360 and ps3 etc but it’s not hard to remove one to read it and solder it back on the board

    • @EvilSapphireR
      @EvilSapphireR 6 หลายเดือนก่อน

      ​@@ImranAli-rp4kdcan you please provide any tutorial/video showing how it is done?

    • @ImranAli-rp4kd
      @ImranAli-rp4kd 6 หลายเดือนก่อน

      @@EvilSapphireR I’ll try to do that

    • @EvilSapphireR
      @EvilSapphireR 6 หลายเดือนก่อน

      @@ImranAli-rp4kd thanks man!

  • @qbitsday3438
    @qbitsday3438 ปีที่แล้ว

    Sono indiano e adoro il tuo tutorial.Grazie mille!Mi iscrivo immediatamente! google helped me!

  • @Cybersecuritystudent1998
    @Cybersecuritystudent1998 ปีที่แล้ว

    You are a perfect teacher !!!!!!!!!!!!!!!!!

  • @TheRazgr1z1
    @TheRazgr1z1 2 ปีที่แล้ว

    10/10 please dont stop CIAO !!!!

  • @pierreleclercq7729
    @pierreleclercq7729 2 หลายเดือนก่อน

    The video is 3 years old, but have you tried extracting the firmware of ssd drives, in order to access nand values, after a trim, which only clears the sector mapping table?

  • @IdoSamuelson
    @IdoSamuelson 2 ปีที่แล้ว

    Thank you. What are the options when there is not much data in uart boot beside "ERROR" , will appriciate help

  • @oscardowning9507
    @oscardowning9507 ปีที่แล้ว

    This man is a true legend

  • @klairm9097
    @klairm9097 3 ปีที่แล้ว

    Awesome, are your videos are very useful thanks for everything!

    • @MakeMeHack
      @MakeMeHack  3 ปีที่แล้ว +1

      Hello Klairm, thank you for your appreciation and support.

  • @ombudsman3821
    @ombudsman3821 11 หลายเดือนก่อน

    Bravo. Molto interessante

  • @mauricioribas999
    @mauricioribas999 2 ปีที่แล้ว

    Great stuff thank you

  • @davidmc971
    @davidmc971 2 ปีที่แล้ว

    Great video!

  • @hafo821
    @hafo821 ปีที่แล้ว

    great video sir!

  • @angryman9333
    @angryman9333 ปีที่แล้ว

    Thank you much love ❤

  • @Nick_Wine
    @Nick_Wine ปีที่แล้ว

    Sei un grande.

  • @ridawis5498
    @ridawis5498 2 ปีที่แล้ว

    Is there a way to make a copy of firmware from Dafang device to sdcard? Or is there a list of Dafang firmware ? Thank you.

  • @J01220
    @J01220 2 ปีที่แล้ว

    Great Tutorial

  • @biganguria
    @biganguria 9 หลายเดือนก่อน +1

    zio fai prima a parlare in italiano che capisco meglio hahah
    sei il migliore grazie per sti video

  • @indian3197
    @indian3197 ปีที่แล้ว

    Hello Sir. I got a cable modem device. It has a black cable where one end of it is connected to the motherboard and the other end of the cable has an audio jack connector facing outside. Do you know which type of cable should I use to connect to this audio jack and my laptop?.

  • @freezeuld4337
    @freezeuld4337 2 ปีที่แล้ว

    how i get dumpp for asus RT-AX86u
    my router no getting power after firmware update so i need dumpp to flash chip

  • @oleksandrb1708
    @oleksandrb1708 3 ปีที่แล้ว

    Amazing video. Thank you.

    • @MakeMeHack
      @MakeMeHack  3 ปีที่แล้ว

      Hello Oleksandr B, thank you for your appreciation!

  • @fahemabdelmalek5655
    @fahemabdelmalek5655 ปีที่แล้ว

    thank you ,too mach information for me

  • @reiquiavick7365
    @reiquiavick7365 3 ปีที่แล้ว

    Thank you Mr Robot

  • @MrMorisoh
    @MrMorisoh ปีที่แล้ว

    Hello. I love every bit i read and hear from you. How ever, i have a test clip and a tl866ii programmer and the clip seems not to work or identify the chips. Please assist

  • @xEnergyShootx
    @xEnergyShootx ปีที่แล้ว

    questo video è un tesoro, complimenti

  • @bosr
    @bosr ปีที่แล้ว +1

    Thanks!