Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,720 members, 7,816,964 topics. Date: Friday, 03 May 2024 at 09:28 PM

Master X86-64 Assembly With Me By Diffusing A Binary Bomb. - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / Master X86-64 Assembly With Me By Diffusing A Binary Bomb. (558 Views)

I Need A Programmer To Code A Binary.com Bot For Me / Need A Php Web Developer In Porthacourt For A Binary Mlm Script / I Need A Binary MLM Script (2) (3) (4)

(1) (Reply)

Master X86-64 Assembly With Me By Diffusing A Binary Bomb. by olioxx(m): 8:24pm On Oct 12, 2021
In this post, I will take you from being a beginner in x86 asm to becoming an intermediate.
PRELIMINARY
I assume you have a good basic knowledge of x86 assembly, as I wont be going through what each instruction is.

The binary bomb is a brain teaser test that is undertaken by undergrads all around the world especially those from top universities.
I have done the homework for you, that's why I am publishing this article.
The first occurrence of the binary bomb lab was from Carnegie Mellon University's own R. Bryant and D. O'Hallaron, you can look at the instructional material at http://csapp.cs.cmu.edu/2e/README-bomblab . And so this binary bomb I am about to diffuse is just a variant of the original CMU's version.
I am a lover of low level coding and debugging, so this was a piece of cake for me starting out.
UPDATED
I completed the binary bomb 2 days ago, and I posted the answers not quite long. I hope you enjoy it as much as I did.
Learning assembly shouldn't take you more than 3 months if you dedicate 3 hours 5 days a week, that was the method I used and it worked.
I am using Ubuntu 20.04 for this bomb lab, I figured that using Ghidra to decompile this binary bomb was futile, with this I deduced that the original authors of this binary bomb wrote the bomb with pure assembly. By the way if you need to setup Ghidra on your Ubuntu VM or OS, check my article here https://medium.com/@olioxxayo/how-to-install-ghidra-10-0-4-on-ubuntu-20-04-f2c3ebb0de9d
To begin you need to get the binary bomb from the public repository here https://gitlab.com/opensecuritytraining/arch1001_x86-64_asm_code_for_class. Download the .zip file and after unzip it either using the cli or a GUI. I would recommend you move the file to your Desktop folder. At this point you will have to create an a.txt file where you will store secrets to diffuse each phase of the bomb.
To do that, run
cd Desktop
nano a.txt
Ctrl + O
Press Enter
Ctrl + X
At this point you should have an a.txt file residing in your Desktop folder.
I would also recommend you have a gdbCfg file in the root folder so that it is accessible everywhere on your OS. The gdbCfg file is what we will use to configure GDB to ensure that the debugging process is smooth.
At this point you are set to start debugging and reverse engineering the binary bomb lab. Click here https://medium.com/@olioxxayo/solution-to-ost2-binary-bomb-lab-6cc77a356afb to get started.

As an aside, I was happy when I got a notification that iSecurity featured my article on there official Twitter handle. So please please please don't forget to give it a massive like and share with your friends who are interested in Cyber security. Here is a direct link https://mobile.twitter.com/iSecurity/status/1442123304463048707 to the Twitter status.

Happy Reversing!!! grin grin

1 Like

Re: Master X86-64 Assembly With Me By Diffusing A Binary Bomb. by drealcivilceno(m): 7:28pm On Oct 13, 2021
Awesome, i will try out..
Re: Master X86-64 Assembly With Me By Diffusing A Binary Bomb. by olioxx(m): 9:49am On Oct 15, 2021
drealcivilceno:
Awesome, i will try out..
Yeah you should, it is fun.

Cybercop2002:
yes i am ,hi me on 09073027735
Are you on Telegram? Can I message you with this number?
What do you focus on in Security?

1 Like

(1) (Reply)

Senior Android App Developer Needed (300-400k) / Audi A4 B8 Elv, Bcm, Gateway And Instrument Pinout / Life Is Goog

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 13
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.