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. (731 Views)
1 Reply
| Master X86-64 Assembly With Me By Diffusing A Binary Bomb. by olioxx(op): 8:24pm On Oct 12, 2021*. Modified: 8:47pm On Oct 17, 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!!! ![]()
|
| 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(op): 9:49am On Oct 15, 2021*. Modified: 8:39pm On Nov 30, 2021 |
drealcivilceno:Yeah you should, it is fun. Cybercop2002:Are you on Telegram? Can I message you with this number? What do you focus on in Security? |
Omo E Be Like Sey I Go Dump This C++ For Yahoo Ooh, Which One Be Binary Again? • I Need A Programmer To Code A Binary.com Bot For Me • Get The Most Responsive Binary Option PHP Script (namecheap Host Recommended) • 2 • 3 • 4
State Of Javascript 2022 • How Tech Guys Receive Payment? • Python Experts Needed In Lagos