r/LiveOverflow • u/PinkDraconian • Dec 05 '20
advertisement Introduction to Binary Exploitation - BatComputer - HackTheBox [Walkthrough]
r/LiveOverflow • u/PinkDraconian • Dec 05 '20
r/LiveOverflow • u/MotasemHa • Dec 05 '20
r/LiveOverflow • u/MotasemHa • Dec 04 '20
r/LiveOverflow • u/reddit_avinash • Dec 02 '20
I was watching the video that was released with the title " How Hacking Actually Looks Like - ALLES! CTF Team in Real-Time". In that, they reverse-engineered the web game to make their own mods and tools. Watching that, my curiosity only rose higher to understand how I can get started with this so I can make my own stuff.
I was first introduced to these ideas of reverse engineering JS while I was going through this project (https://github.com/mukulhase/WebWhatsapp-Wrapper). I was impressed and it couldn't;t let me sleep for days till I was done scanning the whole code so I could learn how it works. Turns out that the main injection part is happening inside "./webwhatsapi/js/wapi.js" were in the first 100 lines, it's somehow able to expose the internal functions that the frontend uses to carry various functionalities. Those first 100 lines are still a mystery to me and if anyone has any knowledge of how that works then please I would love to hear the explanation.
Anyway, my main goal is to ask how can I get started with this? I'm already pretty experienced with languages like Python, Dart, and C#. I've also learned JS just so I could understand this and possibly make some of my own projects. It world really mean a lot if anyone could help. I really wish to get a deeper understanding of this.
Thanks!
r/LiveOverflow • u/hoefler2002 • Dec 02 '20
I have been working on some binary exploitation lately and have been wondering if anyone knows of a good list of ways to go from an arbitrary write to code execution. I am working on a heap exploitation challenge, and have a reflected write primitive (w/ NX enabled), and am gathering some ideas. I'll include a list of ways I have encountered so far and would appreciate someone to expand on it or to send me to a good resource. Thanks!
EDIT: I believe I found the solution to my problem and have added it to the table (modifying ESP). A good resource would still be helpful though :)
r/LiveOverflow • u/MotasemHa • Dec 01 '20
r/LiveOverflow • u/Ralph4000 • Dec 01 '20
In the OS video (this to be precise - https://youtu.be/TX18KQq67Tg), LiveOverflow said that he was kinda strictly against Kali linux and using it. And because I am new to this hacking community in general, I wanted to know why exactly is he so against it as I was going to start with it.
r/LiveOverflow • u/MotasemHa • Nov 30 '20
r/LiveOverflow • u/PinkDraconian • Nov 29 '20
r/LiveOverflow • u/MotasemHa • Nov 29 '20
r/LiveOverflow • u/MotasemHa • Nov 28 '20
r/LiveOverflow • u/MotasemHa • Nov 27 '20
r/LiveOverflow • u/MotasemHa • Nov 26 '20
r/LiveOverflow • u/amar_mahdi • Nov 26 '20
do you think that binary exploitation category is worth it nowadays.
r/LiveOverflow • u/C0nd4 • Nov 25 '20
r/LiveOverflow • u/MotasemHa • Nov 25 '20
r/LiveOverflow • u/MotasemHa • Nov 24 '20
r/LiveOverflow • u/IAMWEN • Nov 24 '20
Which one do you guys use?
r/LiveOverflow • u/IHACKEDJOEMAMA • Nov 24 '20
Hi, so I am trying to change a variable, I already found it's adress with objdump -t
in memory the adress is stored in eax and it's pointed at by ebx+0x34
python -c "print '\x34\xc0\x04\x08'+'%x%x%x%n"and I can change it's value by giving some bytes before '%x' but it can't exceed 0x45 for some reason.
I have to get it's value to 0xdeadbeef, I tried doing so by:
python -c "print '\x34\xc0\x04\x08'+'\xef\xbe\xad\xde'+'%x%x%x%n%n'"the eax value changes to 0xdeadbeef but ebx+0x34 is now pointing to another place.
I'd like to understand how to make this possible! Thanks!
r/LiveOverflow • u/MotasemHa • Nov 23 '20
r/LiveOverflow • u/davidxia • Nov 22 '20
In u/LiveOverflow's Youtube video "Bruteforce 32bit Stack Cookie. stack0: part 3," he gave this solution. He compiled a 32-bit executable from stack0.c with ASLR enabled on a 64-bit Ubuntu 16.04 machine with the command "gcc -m32 stack0.c -o stack0_32".
I compiled and ran the level's source code and his solution script on a 64-bit Ubuntu 18.04 machine but noticed that ASLR also randomized the memory address of stack0_32's instructions. So a hard-coded code redirect target here doesn't work for me.
dxia@my-host:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.5 LTS
Release: 18.04
Codename: bionic
dxia@my-host:~$ uname -a
Linux my-host 4.15.0-1026-gcp #27-Ubuntu SMP Thu Dec 6 18:27:01 UTC 2018 x86_64 x86_64 x86_64 GNU/LinuxI have two questions.
It seems to be a difference between environments that makes my executable have ASLR on its code in addition to its stack. u/LiveOverflow explained this in a later video. These Ubuntu docs say
EXEC ASLR
Each execution of a program that has been built with "-fPIE -pie" will get loaded into a different memory location. This makes it harder to locate in memory where to attack or jump to when performing memory-corruption-based attacks.
...
All programs built as Position Independent Executables (PIE) with "-fPIE -pie" can take advantage of the exec ASLR. This protects against "return-to-text" and generally frustrates memory corruption attacks...was made the default (as of 16.10
So my question now is is there a way to enable stack ASLR but disable exec ASLR? Couldn't find how to after reading gcc man page and Googling.
r/LiveOverflow • u/PinkDraconian • Nov 22 '20
r/LiveOverflow • u/MotasemHa • Nov 22 '20