GHIDRA for Reverse Engineering (PicoCTF 2022 #42 'bbbloat')

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 133

  • @micleh
    @micleh Рік тому +26

    Liked that one, since it is an easy example of how to disassemble code and make sense of what is readable. Perfect as a beginner tutorial.

  • @sk0r
    @sk0r Рік тому +2

    I’ll be honest, a lot of your videos I have no idea what you are doing, but I enjoy watching you and your skill set and what is possible with the right tools. 🙏

  • @deltabytes
    @deltabytes 2 роки тому +87

    I like the way you take us through step by step. I am learning a lot from these videos.

  • @MikeDSutton
    @MikeDSutton 2 роки тому +79

    In case anyone else was curious what the 'unscramble_flag' function did, here's the rough equivelent in Python 3:
    bytes([ b + (0x2F if b < 0x50 else -0x2F) for b in bytes([
    0x41, 0x3a, 0x34, 0x40, 0x72, 0x25, 0x75, 0x4c,
    0x34, 0x46, 0x66, 0x30, 0x66, 0x39, 0x62, 0x30,
    0x33, 0x3d, 0x5f, 0x63, 0x66, 0x30, 0x62, 0x65,
    0x35, 0x35, 0x62, 0x60, 0x65, 0x32, 0x4e ])
    ])

    • @Lampe2020
      @Lampe2020 Рік тому +4

      I first saw the code then the description you gave but I immediately recognized it as Python3-code because two of my last three Python3-projects involved exactly that, converting lists of numbers between 0x00 and 0xff to byte strings (`bytes` object) XD

  • @WorldAquariumSingapore
    @WorldAquariumSingapore Місяць тому +1

    super and i am 2 years late watching your vid

  • @The_Scene826
    @The_Scene826 4 місяці тому

    Great video! Your walkthrough on using Ghidra for reverse engineering was incredibly helpful. I was able to solve a CTF challenge and find the flag thanks to your detailed instructions. Keep up the excellent work!

  • @tpai302
    @tpai302 2 роки тому +14

    I'm so bad at RE but love watching others do it so I can pick up on little things each time.

    • @jackscalibur
      @jackscalibur 8 місяців тому +1

      Hey! Do you feel like you're better at it now?

    • @domzzy6432
      @domzzy6432 3 місяці тому

      Are you good at it now?

  • @11ph22il
    @11ph22il 2 роки тому +9

    These videos are the spam I like to get, each one with GREAT info on CTFs.
    Thanks John!

  • @Riiveri
    @Riiveri 2 роки тому +6

    I have no idea why UA-cam decided to recommend me these videos but I'm glad it did. This is awesome!

    • @vivarantx
      @vivarantx 2 роки тому +2

      same here, I was watching people eating 30 bags of cheetos and I ended up here

    • @kiizuha
      @kiizuha Рік тому

      @@vivarantx lmao

  • @kadericketts9218
    @kadericketts9218 2 роки тому +5

    Been loving the PICO CTF videos you’ve been making have watch most of them and have been learning a lot as i am just a noob in IT

  • @kevinalexander4959
    @kevinalexander4959 2 роки тому +2

    Would love to see a video on rebasing. I have a hard time with alignment using strings. Would love a newbie friendly of you rebasing binaries that do not align in disassembler. thanks!!

  • @HyBlock
    @HyBlock 2 роки тому +47

    couldn't this be done in some other way, my feed is filled with all those uploads making it harder to browse, don't wanna unsubscribe cus I appreciate your work though!

    • @TheJustinist
      @TheJustinist 2 роки тому +5

      Yep, unsubbed

    • @KoskiK
      @KoskiK 2 роки тому +1

      Quite the same, after the first burst of videos I figured it was just a mistake or an error with the scheduler. After this new one I unsubbed unfortunately, as I enjoyed the content. UA-cam should by now have made a limit, say 3 posts of a single person in the sub feed.

    • @ocoolwow
      @ocoolwow 2 роки тому

      @@KoskiK ah that would actually assume that UA-cam would output usable work

    • @zdrasbuytye
      @zdrasbuytye Рік тому

      You can do reverse engineering with the Linux shell only .

  • @FakeMichau
    @FakeMichau 2 роки тому +1

    UA-cam after seeing so many uploads: i'm gonna end this man's whole career

  • @kr4k3nn
    @kr4k3nn 2 роки тому +3

    This is my first time seeing Reverse Engineering. I am like WOW, this is so fun to watch & do. THanks John for introducing this very interesting things to us. :)

  • @Dex_Lulz
    @Dex_Lulz Рік тому

    The more spend I time on your channel the more I learn.

  • @DevBranch
    @DevBranch Рік тому

    Thank you for making these videos! I'm new to this, so being able to see how this works first-hand is extremely helpful.

  • @HYPR.trophy
    @HYPR.trophy 2 роки тому +1

    I appreciate hearing your thought process as you go through the challenge

  • @hardelectrolove
    @hardelectrolove 2 роки тому +59

    Did you just accidentally release every video for the next weeks/months at once? Holy moly, that's a lot of stuff in my Watch Later playlist now! x)

    • @VA3KAMA3
      @VA3KAMA3 2 роки тому +6

      same. just have had a marathon watching them

    • @theamazingjay161
      @theamazingjay161 2 роки тому +4

      Okay, so I'm not the only one.

  • @cod4volume
    @cod4volume 2 роки тому

    As far as open source content goes, John, you’re an OG. A goat. Appreciate the content and knowledge dude, stay humble.

  • @1234enzor
    @1234enzor Рік тому

    A flashback and relearning TY!

  • @claytonautoshmotive
    @claytonautoshmotive 3 дні тому

    First of all, you're incredibly talented and even though I only comprehend bytes here and there its always interesting to follow along. My limited experience in reversing all took place in Olly x64/32 and recently hit a wall with some software for an automotive interface i paid good money for several years ago.. the mfgr ended support for it so theyre no longer supplying the updated "launcher" software that basically hijacks the proprietary diagnostic platform for the Blue Oval. The magic happens during the app startup process as long as the interface is connected to the car and the laptop via prolific serial over usb cable. Im not sure how to get olly to follow this process since the launcher software only exists to launch the official application without those pesky license requirements. I really just want to edit the last launcher update i got to get it to load the newer version of the main application. serval sources have figured it out and charge for their Re-Hack of the Hacked app and i would rather make the adjustments myself if i can just get started in the right direction. long winded sorry, its a simple (ish) app thats strangely hard to describe in a short and sweet mannor lol. how can i get a good breakdown of what its doing? TIA

  • @P-G-77
    @P-G-77 Рік тому +1

    Love this intricate logic tricks.

  • @ThomasAbraham-s6v
    @ThomasAbraham-s6v 7 місяців тому

    Man u r DANGEROUS! lol 🙃☺ keep ur great work up dude! 💪

  • @sem8973
    @sem8973 Рік тому +1

    This would have been a perfect intro tutorial to reverse engineering with Ghidra

  • @DanjumaMuhammad
    @DanjumaMuhammad Рік тому

    I like the term "low-hanging fruit 🍓" 😊

  • @iamtimsson
    @iamtimsson 9 місяців тому

    oh look a user agreement, "i agree"
    never to be thought of again

  • @lancemarchetti8673
    @lancemarchetti8673 2 роки тому

    Hi John, can you please review "angr" for us. I don't have a clue where to start...lol

  • @yttos7358
    @yttos7358 2 роки тому +1

    Another way of converting from hex to decimal is with the `printf` command which can be found on any linux system; use `printf %d 0xc0ffee` to see

  • @inazumaeleven9102
    @inazumaeleven9102 2 роки тому +1

    I like the fact that in each ctf videos, I learn new tools to use for hacking. Now I check the bell icon. Keep on going man, u the best

  • @ronorocky
    @ronorocky 2 роки тому

    i just love you man,you are just awesome....... hope someday i will meet u in person.... u r doing a great job... keep it up. ❤️❤️

  • @SamoCoder
    @SamoCoder 2 роки тому

    This was interesting. Liked and subscribed.

  • @WayneModz
    @WayneModz Рік тому

    I guess its kinda good you didn't have the environment requirements preinstalled

  • @makayjozsef
    @makayjozsef 2 роки тому +1

    You can use "apt search" too for package searching

  • @aurelienlevra3782
    @aurelienlevra3782 7 місяців тому

    Great video

  • @for14556
    @for14556 Рік тому

    Very nice video about rev, thx.

  • @znucii
    @znucii 2 роки тому

    MAHYOUB WE MISS YOU

  • @hvacinstalacije1985
    @hvacinstalacije1985 22 години тому

    Can you decode and file from ECU which usually .bin file, how we will be able to find the maps for tuning for new ECU

  • @KGAD0831
    @KGAD0831 2 роки тому

    I really liked this one.

  • @SpencerNold
    @SpencerNold Рік тому

    Headless for Java means its stripped of mouse and keyboard input libraries and whatnot. Badly breaks java swing, so you probably don't want to use that.

  • @Lampe2020
    @Lampe2020 Рік тому

    The word "Bbbbbbbloat" is a bloated word and has the same effect as a mass of bloatware has on a PC: it works, but slower.

  • @hh7xf
    @hh7xf 2 роки тому

    you should also check out cutter

  • @mytechnotalent
    @mytechnotalent 2 роки тому +1

    Love me some Ghidra!

  • @victorkuria4734
    @victorkuria4734 2 роки тому

    Great stuff

  • @ancestrall794
    @ancestrall794 6 місяців тому

    Awesome bro

  • @m4rt_
    @m4rt_ 2 роки тому +1

    6:20 (sdkman is a good tool for downloading java stuff)

  • @ashokshastri9101
    @ashokshastri9101 Рік тому

    Sir big fan of yours from Lamatol village, golbazar-06 municipality, siraha district, sagarmatha zone, Madhesh Pradhesh (province no 2), nepal 🇳🇵

  • @TheofilosMouratidis
    @TheofilosMouratidis 2 роки тому +4

    at 13:26 you already got the decimal by hovering over the number

    • @MrLetsGamePlayHD
      @MrLetsGamePlayHD 2 роки тому

      In ghidra you can also change the display type

  • @bkib
    @bkib Рік тому

    Nice!

  • @heisenberg8055
    @heisenberg8055 Рік тому

    TF I just watched! Interesting

  • @codedsprit
    @codedsprit Рік тому

    I wish I had a nice laptop like yours 🥺

  • @krishanuchhabra
    @krishanuchhabra 2 роки тому

    Nice one

  • @abiodun6897
    @abiodun6897 2 роки тому

    i got it 🙋🏾‍♂️. where can i learn this reverse engineering

  • @superfish4603
    @superfish4603 2 роки тому +1

    There are 11 hidden videos in the playlist, when do we get them? :)

  • @msalih
    @msalih 2 роки тому

    Awesome

  • @gogogg91
    @gogogg91 2 роки тому

    Awesome!

  • @tech-wandeveloper7495
    @tech-wandeveloper7495 2 роки тому

    That was cool man!

  • @skeeberk.h.4396
    @skeeberk.h.4396 2 роки тому

    Very Nice

  • @tlocto
    @tlocto 2 роки тому

    can't wait till you go over noted, was my favorite one

  • @untitled8027
    @untitled8027 2 роки тому

    nice

  • @wonderweissmargela4261
    @wonderweissmargela4261 2 роки тому

    Easy with the upload sir

  • @Itsmeattacker
    @Itsmeattacker 2 роки тому

    hello sir your videos are great it helped me for solving and understanding all the ctfs of thm

  • @MisterK-YT
    @MisterK-YT 2 роки тому +3

    John can you post the code that formats your bash (or zsh) prompt? From your .bashrc or wtvr config file.
    I like that two-line prompt.

    • @Mathcartney
      @Mathcartney 2 роки тому +1

      Its zsh the shell that he uses, it isn’t bash. And the theme is the default kali theme. There are many other custom themes and wrappers such as powerlevel10k if you dig it deeper tho

  • @cryproot9845
    @cryproot9845 2 роки тому

    It's a good video

  • @polinimalossi8404
    @polinimalossi8404 2 роки тому

    but you can make the same video with the imusic aimersoft program?

  • @leblanc666666
    @leblanc666666 2 роки тому +3

    nice and simple, but fun nonetheless!
    Does picoCTF have have challenges that are more based on web applications?

    • @iKilleasy007
      @iKilleasy007 2 роки тому

      picoCTF has a web exploitation category

  • @MygenteTV
    @MygenteTV 2 роки тому

    wtf, this is weird I had been watching your videos and even follow you in LinkedIn for years and just found out I wasn't subscribed to your channel. UA-cam be playing tricks, they welcome you with your favorite channel for ever and you will never know you weren't subscribed because everytime you open youtube and see the same person there you automatically think you are subscribed

  • @pitust
    @pitust 2 роки тому

    process or RE with binary ninja: step 1: load the binary. step 2: see the number in plain text from the decompiler. step 3: profit

  • @Bromon655
    @Bromon655 7 місяців тому

    What is the Linux wizardry… dude was flying through the terminal like nobody’s business

  • @2b2tJourney
    @2b2tJourney 2 роки тому

    Wait this is intresting

  • @wahabwahab2042
    @wahabwahab2042 2 роки тому

    im watching your video and honestly i'm 80% didn't understand what are you doing exactly.
    i wonder what level is that ? im sure it is advanced level .
    where to start to achieve your level ??

  • @noodlechan_
    @noodlechan_ Рік тому

    what if we reverse engineer Ghidra binarys using GHidra?

  • @Bowzerbro
    @Bowzerbro 2 роки тому

    👍

  • @saranvishva7982
    @saranvishva7982 5 місяців тому

    what will happen if I swap the iF and else condition

  • @tribblewing
    @tribblewing 6 місяців тому

    My etc/apt/sources.list is using Kali Linux's default repo, but I can only install strace. ltrace keeps getting an error: "Unable to locate package". Has anyone figured out a working alternative repo?

  • @passaronegro349
    @passaronegro349 2 роки тому

    ...would it be possible to have subtitles in Portuguese ???

  • @mideno7619
    @mideno7619 2 роки тому +1

    Sup

  • @JessicaMerry-f1i
    @JessicaMerry-f1i Рік тому

    Please 🙏 sir can I use this to do reverse engineering on my mobile app??? Can someone help me out

  • @mikerich5003
    @mikerich5003 2 роки тому

    Has anyone on bohemia has their initial deposit asst changed..

  • @aaravinthan001
    @aaravinthan001 21 день тому

    Bro it is possible to convert intel hex to c code using this

  • @AliYar-Khan
    @AliYar-Khan 2 роки тому +1

    Can we reverse engineer malware and then remove them this way ?

    • @bmbiz
      @bmbiz 2 роки тому +4

      That's pretty much the _only_ way to remove previously unknown malware: reverse engineer it, figure out all changes it makes and then undo all those changes on an infected system.

  • @SultanSaadat
    @SultanSaadat 2 роки тому

    can you send us your shell modifications? This looks so cool.

  • @ocoolwow
    @ocoolwow 2 роки тому +1

    You gotta stop man, this is flooding my sub box

  • @vinnie3265
    @vinnie3265 9 місяців тому

    Everytime I Try to run a binary file on my kali linux I am getting exec format error...so I am not able to solve any rev engineering problems....can someone plss help with it🙏🙏🙏🙏

  • @WaseemLaghari
    @WaseemLaghari Рік тому

    I solve it by viewing your video but you did it late by looking for other stuffs. Maybe you do to let us all understand everything

  • @utensilapparatus8692
    @utensilapparatus8692 2 роки тому +1

    John 1337 the king

  • @metsfaninct
    @metsfaninct 2 роки тому

    Man, nothing like getting spammed. Should have spaced it out.

  • @ultimultig
    @ultimultig 2 роки тому

    cool but i didn't understand a single word said in this video

  • @MisterK-YT
    @MisterK-YT 2 роки тому +1

    Question: why didn’t he “trust” the Ghidra from the official Kali repo? Why go through the process of installing manually??

    • @SheIITear
      @SheIITear 2 роки тому +5

      Stuff from the repos on your distro tend/might be really old. In case of ghidra you just download and extract it so thats the fastest way to get the latest.

    • @MisterK-YT
      @MisterK-YT 2 роки тому

      @@SheIITear noted! Thanks!

    • @vaisakh_km
      @vaisakh_km 2 роки тому

      I wanted to ask same. I thought it might be the reason but to make sure...
      Is that a problem with distros like fedora or arch!?... those are more up to date than Debi an right!?

  • @roachxyz
    @roachxyz 2 роки тому

    What is this stuff called? Cybersecurity?

  • @marcoamendoza5283
    @marcoamendoza5283 Рік тому

    Does anyone have the bbbblob file to try it out?

  • @KirwinWebb
    @KirwinWebb 2 роки тому

    You seemed disappointed that you got the flag so quickly.

  • @patrickborys3490
    @patrickborys3490 2 роки тому

    ez

  • @MasterRg-cj7tt
    @MasterRg-cj7tt 2 роки тому

    Hi , I am new PicoCTF . and i try to solve that for practice if i cant i am looking for in google for solving . But I cant find picoCTF notepad Author: ginkoid . Can you help me? How can i solve that

  • @afrkleaks4991
    @afrkleaks4991 Рік тому

    I do not have time with all these load it opens this read there and there then crack it i refuse all these stuff at the end you have to find the way to get in to the software, easy ways quickly just load malware to infect

  • @BigWin24410
    @BigWin24410 2 роки тому

    Is this the apparently kid all grown up?

  • @anujsrivastav6444
    @anujsrivastav6444 2 роки тому

    Hey jhon can you please tell me how I can trace the memory leak from heapdump file?

  • @CodyHoskin
    @CodyHoskin 2 роки тому

    Have you ever got a live virus on your own system? Or a RAT?

  • @BissmadoOuallaliux
    @BissmadoOuallaliux 4 місяці тому

    صعب جدا

  • @kraemrz
    @kraemrz 2 роки тому

    Yt algo

  • @bohu3741
    @bohu3741 Рік тому

    its too simple