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

Sdílet
Vložit
  • čas přidán 5. 04. 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
  • Věda a technologie

Komentáře • 212

  • @mihaifelseghi
    @mihaifelseghi Před 3 lety +93

    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  Před 3 lety +7

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

    • @Ravecat27
      @Ravecat27 Před 3 lety

      @@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?

  • @oscareriksson9414
    @oscareriksson9414 Před 2 měsíci +1

    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!

  • @celebris3
    @celebris3 Před 3 lety +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)

  • @MattSimmonsSysAdmin
    @MattSimmonsSysAdmin Před 3 lety +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!

  • @louieearle
    @louieearle Před rokem +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.

  • @TheMadMagician87
    @TheMadMagician87 Před 3 lety +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!

  • @taterfpv
    @taterfpv Před rokem

    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.

  • @murrij
    @murrij Před 4 lety +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 CZcams but not i none place. thank you.

    • @MakeMeHack
      @MakeMeHack  Před 4 lety +1

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

  • @lindsay5985
    @lindsay5985 Před rokem

    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.

  • @ronwellman
    @ronwellman Před 3 lety +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!

  • @bysectrademark6729
    @bysectrademark6729 Před rokem +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 Před 2 lety +1

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

  • @garypaulson5202
    @garypaulson5202 Před rokem +1

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

  • @HiHi-le3ev
    @HiHi-le3ev Před měsícem

    Плохо что я раньше не нашел вашь Ютуб канал . Мала кто расказывает и показывает так подробно как вы . Хорошего развития канала .

  • @GastoNet
    @GastoNet Před 3 lety +7

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

  • @anuradhapriyankara5226
    @anuradhapriyankara5226 Před 3 lety +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

  • @daanklem264
    @daanklem264 Před rokem

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

  • @arkinzoodsma1510
    @arkinzoodsma1510 Před rokem

    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!

  • @longtran12345678
    @longtran12345678 Před 3 měsíci

    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.

  • @cralx2k
    @cralx2k Před 3 lety

    These series are gold... AMAZING

  • @callelewander6789
    @callelewander6789 Před rokem

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

  • @torftee2235
    @torftee2235 Před 3 lety +1

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

  • @BreakinUpBuds
    @BreakinUpBuds Před 2 lety

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

  • @papamidnightfpv
    @papamidnightfpv Před 4 lety +4

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

    • @MakeMeHack
      @MakeMeHack  Před 4 lety +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.

  • @ThatNiceDutchGuy
    @ThatNiceDutchGuy Před rokem

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

  • @mrsaizo0000
    @mrsaizo0000 Před rokem

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

  • @baghdadiabdellatif1581
    @baghdadiabdellatif1581 Před 5 měsíci

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

  • @micmacha
    @micmacha Před rokem

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

  • @bosr
    @bosr Před rokem

    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.

  • @marialetiziadigiampietro8423

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

    • @MakeMeHack
      @MakeMeHack  Před 4 lety +2

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

  • @matheuso86
    @matheuso86 Před 2 lety

    Sir, please, continue this awesome work!!

  • @stevecross9159
    @stevecross9159 Před 3 lety +1

    Valerio From the UK great teaching thank you.

  • @thealex7671
    @thealex7671 Před 7 měsíci

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

  • @mohelm97
    @mohelm97 Před 3 lety +2

    Thanks a lot, this is pure gold

  • @krzsn5382
    @krzsn5382 Před 10 měsíci

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

  • @tamilelectronicsforbeggine1229

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

  • @annag5458
    @annag5458 Před 2 lety

    Fabulous video on first principles

  • @cybergen2K
    @cybergen2K Před 3 lety +1

    Definitely deserves more subs! Grazi!

  • @BristlyBright
    @BristlyBright Před rokem

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

  • @saurabhambulkar1
    @saurabhambulkar1 Před 3 lety

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

  • @martinneff1681
    @martinneff1681 Před 3 lety

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

  • @WereCatf
    @WereCatf Před 2 lety +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.

  • @StefanSonesson
    @StefanSonesson Před rokem

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

  • @BlensonPaul
    @BlensonPaul Před 4 měsíci

    great explanation, love you man. .

  • @TheRealKitWalker
    @TheRealKitWalker Před 3 lety +1

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

  • @030H
    @030H Před 2 lety

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

  • @johnSmith-mo5ne
    @johnSmith-mo5ne Před 4 měsíci

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

  • @GerardFuguet
    @GerardFuguet Před 4 lety +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  Před 4 lety +2

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

  • @edgeeffect
    @edgeeffect Před 3 lety +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.

  • @meowme7644
    @meowme7644 Před 2 lety

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

  • @ramazanciftci1770
    @ramazanciftci1770 Před rokem

    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 CZcams videos.

  • @darkstareng
    @darkstareng Před 2 lety

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

  • @riskydissonance
    @riskydissonance Před 2 lety

    Loving the content, thank you!!!

  • @MiguelGuatemala
    @MiguelGuatemala Před rokem

    Excelentemente EXPLICADO,!! gracias

  • @Kingsize001100
    @Kingsize001100 Před 2 lety

    You are a genius. Keep making videos!

  • @bajwakamran5791
    @bajwakamran5791 Před rokem

    Very interesting and detailed information

  • @mostafaarabi4793
    @mostafaarabi4793 Před 2 lety +1

    You are a young excellent man.thanks.

  • @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

  • @jacobwalters9660
    @jacobwalters9660 Před 4 lety

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

    • @MakeMeHack
      @MakeMeHack  Před 4 lety +1

      Hello Jacob, thank you for your appreciation!

    • @murrij
      @murrij Před 4 lety

      dude that would be cool.

  • @qbitsday3438
    @qbitsday3438 Před rokem

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

  • @biganguria
    @biganguria Před 10 měsíci +1

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

  • @rhodyrhckthaladro7840
    @rhodyrhckthaladro7840 Před rokem +1

    A very helpful video...

  • @pablolopezcorona
    @pablolopezcorona Před rokem

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

  • @9h0s71n1gh7
    @9h0s71n1gh7 Před rokem

    great explanation! Thank"s

  • @GianlucaRoccaGian
    @GianlucaRoccaGian Před 3 lety

    Grandeee esattamente cosa voglio imparare ❤️❤️

  • @adriancoanda9227
    @adriancoanda9227 Před rokem

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

  • @90daner
    @90daner Před rokem

    bellissimo video mister!

  • @gcm4312
    @gcm4312 Před 3 lety

    very good content! thank you for sharing

  • @serggorod1423
    @serggorod1423 Před rokem

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

  • @rupioe582
    @rupioe582 Před rokem

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

  • @mmfix3851
    @mmfix3851 Před 2 lety

    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 )

  • @markp5726
    @markp5726 Před rokem +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 Před rokem

      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 Před 7 měsíci

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

    • @ImranAli-rp4kd
      @ImranAli-rp4kd Před 7 měsíci

      @@EvilSapphireR I’ll try to do that

    • @EvilSapphireR
      @EvilSapphireR Před 7 měsíci

      @@ImranAli-rp4kd thanks man!

  • @TheRazgr1z1
    @TheRazgr1z1 Před 2 lety

    10/10 please dont stop CIAO !!!!

  • @westernvibes1267
    @westernvibes1267 Před 3 lety

    Instantly subscribed. 🖤 ^_^

  • @markusschnepf
    @markusschnepf Před rokem

    Right after Super Mario, this is gonna be my 2nd favourite Italian

  • @vieiracastro82
    @vieiracastro82 Před 3 lety

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

  • @klairm9097
    @klairm9097 Před 3 lety

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

    • @MakeMeHack
      @MakeMeHack  Před 3 lety +1

      Hello Klairm, thank you for your appreciation and support.

  • @xEnergyShootx
    @xEnergyShootx Před 2 lety

    questo video è un tesoro, complimenti

  • @MedicalStudentChannel

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

  • @pierreleclercq7729
    @pierreleclercq7729 Před 3 měsíci

    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?

  • @oscardowning9507
    @oscardowning9507 Před rokem

    This man is a true legend

  • @drigogt
    @drigogt Před 3 lety

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

  • @davidmc971
    @davidmc971 Před 3 lety

    Great video!

  • @hafo821
    @hafo821 Před rokem

    great video sir!

  • @McKaktus259
    @McKaktus259 Před 3 lety

    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?

  • @oleksandrb1708
    @oleksandrb1708 Před 4 lety

    Amazing video. Thank you.

    • @MakeMeHack
      @MakeMeHack  Před 4 lety

      Hello Oleksandr B, thank you for your appreciation!

  • @mauricioribas999
    @mauricioribas999 Před 2 lety

    Great stuff thank you

  • @ombudsman3821
    @ombudsman3821 Před rokem

    Bravo. Molto interessante

  • @wilwad
    @wilwad Před rokem

    You sir know what you are talking about thus I have subscribed

  • @IdoSamuelson
    @IdoSamuelson Před 2 lety

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

  • @stephanonyambo66
    @stephanonyambo66 Před 11 měsíci

    IM IN LOVE WITH HARDARE ENGENEETIND AND REVERSE MODIFICATION with hacking enterferance

  • @emmyweed5827
    @emmyweed5827 Před 9 měsíci

    A true artist

  • @fahemabdelmalek5655
    @fahemabdelmalek5655 Před rokem

    thank you ,too mach information for me

  • @bosr
    @bosr Před rokem +1

    Thanks!

  • @ImranAli-rp4kd
    @ImranAli-rp4kd Před rokem

    I understand lots of people can’t solder a TSOP 48 but it’s not near impossible like you say, I’ve done lots of them for tv boards

  • @Nick_Wine
    @Nick_Wine Před rokem

    Sei un grande.

  • @J01220
    @J01220 Před 3 lety

    Great Tutorial

  • @indian3197
    @indian3197 Před rokem

    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?.

  • @angryman9333
    @angryman9333 Před rokem

    Thank you much love ❤

  • @freezeuld4337
    @freezeuld4337 Před 2 lety

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