QuickScan [HackTheBox Cyber Apocalypse CTF 2024]

Опубликовано: 07 Март 2025
на канале: 0xdf
931
43

QuickScan is a challenge from the 2024 HackTheBox Syber Apocalypse CTF. I'm given ELF binaries as a base64 encoded string. Each one loads 24 bytes onto the stack and exits. I need to get that value and return it 129 times in less than 2 minutes to get the flag. I'll do some basic reverse engineering in gdb and Ghidra, and then use Python and PwnTools to interact with the server, get the bianry, decode it, locate the buffer, read it, and send it back.

Final Script: https://gitlab.com/0xdf/ctfscripts/-/...

☕ Buy Me A Coffee: https://www.buymeacoffee.com/0xdf

[00:00] Introduction
[00:57] Challenge introduction
[01:32] Interacting with server
[02:05] Strategy
[02:44] Saving binaries
[03:24] Reversing warmup
[10:30] Reversing elf1
[11:13] Setting up Python program to get bytes
[12:30] Connecting and reading base64 string
[15:18] Saving ELF to file
[16:21] Calculating addresses
[20:17] Getting values as hex string
[21:00] Sending result to server
[21:18] Making function to loop over
[24:12] Solving challenge!
[24:31] Conclusion

#HackTheBox #ctf #reverse-engineering #python #pwntools


На этой странице сайта вы можете посмотреть видео онлайн QuickScan [HackTheBox Cyber Apocalypse CTF 2024] длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь 0xdf 07 Март 2025, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 931 раз и оно понравилось 43 зрителям. Приятного просмотра!