FILE structure exploitation with fprintf
Foreword
This writeup does not explain the FILE structure itself, but instead, it explains how I exploited the fprintf()
function to get arbitrary code execution.
QHpix' blog
This writeup does not explain the FILE structure itself, but instead, it explains how I exploited the fprintf()
function to get arbitrary code execution.
This challenge has PIE enabled so you have to calculate the addresses of gadgets that you are gonna be using, it requires you to write to two global variables in order to read the flag.
This challenge requires you to do a buffer overflow and a variable injection.
Using a new gadget to pivot the stack into a given location where an address is stored. The address is pointing to a function in a library called libpivot32.so.
This is a writeup on the (32bit) fluff challenge from ropemporium
I started with an nmap scan.
nmap -sC -sV -oA nmap/access -v 10.10.10.98
3 ports came out of the scan:
PORT STATE SERVICE VERSION
21/tcp open ftp Microsoft ftpd
| ftp-anon: Anonymous FTP login allowed (FTP code 230)
|_Can't get directory listing: PASV failed: 425 Cannot open data connection.
| ftp-syst:
|_ SYST: Windows_NT
23/tcp open telnet?
80/tcp open http Microsoft IIS httpd 7.5
| http-methods:
| Supported Methods: OPTIONS TRACE GET HEAD POST
|_ Potentially risky methods: TRACE
|_http-server-header: Microsoft-IIS/7.5
|_http-title: MegaCorp
Service Info: OS: Windows; CPE: cpe:/o:microsoft:windows
Reliably make consecutive calls to imported functions. Use some new techniques and learn about the Procedure Linkage Table.
An arbitrary write challenge with a twist; certain input characters get mangled before finding their way onto the stack. Find a way to deal with this and craft your exploit.
Hello again. This writeup will be for the 32bit write4 challenge from ropemporium.
This is a writeup on the (32 bit) split challenge from ropemporium.
This is a writeup on the (32bit) ret2win challenge from ropemporium
Locate a method within the binary that you want to call and do so by overwriting a saved return address on the stack.
This writeup is split into multiple parts. ip: 192.168.21.129 Pinky’s Palace v2
This is how i completed JIS-CTF: VulnUpload. This vm was released on the 8th of March 2018. JIS-CTF:VulnUpload This box was a bit harder for me to secure than DeIce was, but i did the best i could. The ip is determined by DHCP.
This is the way i completed DeIce S1.100 on vulnhub. Though this is an old machine i heard it was a good one for beginners. DeIce S1.100 The ip was static (192.168.1.100)