GHIDRA for Reverse Engineering (PicoCTF 2022 #42 'bbbloat')
Вставка
- Опубліковано 31 тра 2024
- Help the channel grow with a Like, Comment, & Subscribe!
❤️ Support ➡ j-h.io/patreon ↔ j-h.io/paypal ↔ j-h.io/buymeacoffee
Check out the affiliates below for more free or discounted learning!
🖥️ Zero-Point Security ➡ Certified Red Team Operator j-h.io/crto
💻Zero-Point Security ➡ C2 Development with C# j-h.io/c2dev
👨🏻💻7aSecurity ➡ Hacking Courses & Pentesting j-h.io/7asecurity
📗Humble Bundle ➡ j-h.io/humblebundle
🐶Snyk ➡ j-h.io/snyk
🌎Follow me! ➡ j-h.io/discord ↔ j-h.io/twitter ↔ j-h.io/linkedin ↔ j-h.io/instagram ↔ j-h.io/tiktok
📧Contact me! (I may be very slow to respond or completely unable to)
🤝Sponsorship Inquiries ➡ j-h.io/sponsorship
🚩 CTF Hosting Requests ➡ j-h.io/ctf
🎤 Speaking Requests ➡ j-h.io/speaking
💥 Malware Submission ➡ j-h.io/malware
❓ Everything Else ➡ j-h.io/etc
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 ])
])
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
I like the way you take us through step by step. I am learning a lot from these videos.
same
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.
These videos are the spam I like to get, each one with GREAT info on CTFs.
Thanks John!
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
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. 🙏
Thank you for making these videos! I'm new to this, so being able to see how this works first-hand is extremely helpful.
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)
same. just have had a marathon watching them
Okay, so I'm not the only one.
I appreciate hearing your thought process as you go through the challenge
I'm so bad at RE but love watching others do it so I can pick up on little things each time.
Hey! Do you feel like you're better at it now?
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!
Yep, unsubbed
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.
@@KoskiK ah that would actually assume that UA-cam would output usable work
You can do reverse engineering with the Linux shell only .
Man u r DANGEROUS! lol 🙃☺ keep ur great work up dude! 💪
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. :)
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. ❤️❤️
A flashback and relearning TY!
The more spend I time on your channel the more I learn.
Great video
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!!
I have no idea why UA-cam decided to recommend me these videos but I'm glad it did. This is awesome!
same here, I was watching people eating 30 bags of cheetos and I ended up here
@@vivarantx lmao
Love this intricate logic tricks.
Awesome bro
Very nice video about rev, thx.
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
This was interesting. Liked and subscribed.
Great stuff
Awesome!
Love me some Ghidra!
I really liked this one.
That was cool man!
As far as open source content goes, John, you’re an OG. A goat. Appreciate the content and knowledge dude, stay humble.
Very Nice
Nice!
Nice one
Awesome
UA-cam after seeing so many uploads: i'm gonna end this man's whole career
I like the term "low-hanging fruit 🍓" 😊
hello sir your videos are great it helped me for solving and understanding all the ctfs of thm
Hi John, can you please review "angr" for us. I don't have a clue where to start...lol
Easy with the upload sir
This would have been a perfect intro tutorial to reverse engineering with Ghidra
You can use "apt search" too for package searching
agreed
nice
you should also check out cutter
It's a good video
Sir big fan of yours from Lamatol village, golbazar-06 municipality, siraha district, sagarmatha zone, Madhesh Pradhesh (province no 2), nepal 🇳🇵
6:20 (sdkman is a good tool for downloading java stuff)
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
I guess its kinda good you didn't have the environment requirements preinstalled
I wish I had a nice laptop like yours 🥺
TF I just watched! Interesting
i got it 🙋🏾♂️. where can i learn this reverse engineering
but you can make the same video with the imusic aimersoft program?
can't wait till you go over noted, was my favorite one
There are 11 hidden videos in the playlist, when do we get them? :)
oh look a user agreement, "i agree"
never to be thought of again
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.
what will happen if I swap the iF and else condition
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?
what if we reverse engineer Ghidra binarys using GHidra?
at 13:26 you already got the decimal by hovering over the number
In ghidra you can also change the display type
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.
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
MAHYOUB WE MISS YOU
Wait this is intresting
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.
👍
Please 🙏 sir can I use this to do reverse engineering on my mobile app??? Can someone help me out
...would it be possible to have subtitles in Portuguese ???
nice and simple, but fun nonetheless!
Does picoCTF have have challenges that are more based on web applications?
picoCTF has a web exploitation category
can you send us your shell modifications? This looks so cool.
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 ??
Has anyone on bohemia has their initial deposit asst changed..
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🙏🙏🙏🙏
Can we reverse engineer malware and then remove them this way ?
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.
Does anyone have the bbbblob file to try it out?
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
What is this stuff called? Cybersecurity?
its already in the video title.
Question: why didn’t he “trust” the Ghidra from the official Kali repo? Why go through the process of installing manually??
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.
@@SheIITear noted! Thanks!
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!?
What is the Linux wizardry… dude was flying through the terminal like nobody’s business
Sup
Hey jhon can you please tell me how I can trace the memory leak from heapdump file?
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
ez
Man, nothing like getting spammed. Should have spaced it out.
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
You gotta stop man, this is flooding my sub box
Is this the apparently kid all grown up?
You seemed disappointed that you got the flag so quickly.
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
John 1337 the king
cool but i didn't understand a single word said in this video
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
Have you ever got a live virus on your own system? Or a RAT?
Yt algo
beautiful hair ........ I want to touch it haha
m9wd
its too simple
Removed from my feed for uploading 18 videos at a time. You know how UA-cam works and that is not how you do it.
Bye don't let the door hit you on the way out
High Level Forgetting
why your voice like ill man, my tonsil hurts now AAAH
I gotta unsub for a little bit until this wave is finished with. You are absolutely flooding my subscribe stream.