r/ExploitDev • • Jan 05 '22

Fuzzing and exploiting map parser in Teeworlds

Thumbnail
mmmds.pl
15 Upvotes

r/ExploitDev • • Nov 12 '21

Breaking into exploit dev

15 Upvotes

I am a security engineer looking to break into exploit dev.

Background: I do not have a CS degree, although I went to school for CS.

While in school I was captain of our collegiate hacking team. I held sessions where we practiced (beginner) buffer overflows.

While in school I had done research on hardware reverse engineering, focused on medical devices.

That got me to present with my peers at our local bsides. I then was able to present at IEEE southeastcon, which got me a job as a security engineer before graduating.

-----‐

  1. Is it possible to get into exploit dev without a degree or is it absolutely necessary?

  2. should I go the pentester route and then exploit dev?

  3. do you see security engineers break into this field or does it tend to be developers? I don't do any software engineering, but I do a lot of tooling in powershell, python, and recently, go. I know C but hardly.

  4. should I just shaddup and start learning? I'd assume that's get a better grip on primitives, RoP and C.


r/ExploitDev • • Oct 27 '21

Is it worth it to get a strong understanding of OS first?

15 Upvotes

I am currently a developer with some years of experience and want to move towards VR. I have a good understanding of how OS work but felt I should get an even better understanding before looking into more specialized training/courses.

I have been taking a course on OS but I'm starting to lose interest in the assignments like writing a driver, implementing page tables, etc. I know this will make things much easier in the future but was wondering if it's okay to skip this and just move on to security courses?

The question is: should I do a bottom-up approach or a top-down approach for VR?


r/ExploitDev • • Sep 05 '21

Any class that will teach you everything for exploit dev?

15 Upvotes

r/exploitdev lately I’ve been wanting to get back into it but this time I’d like to do it in the real world, not ctfs. Are there any classes that will teach you most of the stuff you will need? By that I mean from having no bug to having a working exploit. That has been one of the things that kept me from trying to do this before. I know about a good amount of techniques like and bypasses but I am slacking on the finding the bug part. I’ve been thinking of SANS 660 and I could prob get work to pay for it, but is it good enough?

Edit:

Thanks for the award! 😀

I’ve been looking more and more into VR as it seems to be the next step since I already understand a lot of the exploit techniques just not where to find them.

I’ve been reading a lot on fuzzing and code review.

Thank you all for the help!


r/ExploitDev • • May 09 '21

Looking for current book on binary exploitation

15 Upvotes

I am looking for a book which contents are applicable for todays binary exploitation. I need a up to date book.


r/ExploitDev • • Feb 18 '21

Help with shellcoding with C without absolute addresses (Windows exe)

15 Upvotes

My assignment is this: Using C, write out code, compile it. Extract out the shellcode of my portion only out into a file. Another program will then load the shellcode from the file and run it. The code runs calc.exe.

I have already done this. I got around the need for strings by hardcoding them as arrays.

E.g.

char calc[]={'c','a','l','c','.','e','x','e','/0'};

However, I now have the next level of difficulty. I'm supposed to use only relative addressing to use the strings I need. I get the impression my extracted shellcode is going to look something like this:

/*shellcode*/
/*shellcode*/
/*shellcode*/
/*shellcode*/calc.exe

And the shellcode will be able to use relative addressing to get the "calc.exe" for use.

I am not sure what kind of C commands will use relative addressing. The only ones I know are function calls which jumps X bytes to the function.

Can somebody point me in the right direction? Thanks.

Edit: Well, I'm done with it.

My original code is something like this:

char *file="calc.exe";
char *dll="kernel32.dll"

void c(){
    //code
}

void b(){
    //code
}

void a(){
    b(dll);
    c(file);
}

int main(){
    a();
}

With my modifications, the extracted shellcode equals this

void a(DWORD input[]){
    function_b_pointer=input[x]+input[b]; //basically the base of the code + offset to function b
    function_c_pointer=input[x]+input[c];
    char *fileinput=input[x]+input[d];
    char *dllinput=input[x]+input[e];
    function_b_pointer(dllinput);
    function_c_pointer(fileinput);
}
void b(){
    //code
}
void c(){
    //code
}

I received a comment that my way of finding the offset, which are basically the function sizes are not secure since I look for the return byte + 3 0xCC bytes and this pattern can occur in some codes. He mentioned something about using pragma to find the sizes. Any idea how?


r/ExploitDev • • Feb 17 '21

Why do heap exploration techniques usually have "House of" in the name?

15 Upvotes

House of Force, House of Mind, House of Rabbit, House of Einherjar, House of Spirit, House of Lore...

Too many houses!

Anyway, that's just a question that popped into my head. If anyone knows, please write in the comments.


r/ExploitDev • • Feb 17 '21

Fuzzing combined with symbolic execution: a demonstration on SymCC and AFL.

Thumbnail
youtube.com
15 Upvotes

r/ExploitDev • • Feb 08 '21

ROP detection using deep learning

15 Upvotes

Hello lads :)

I am required to do a school project in deep learning so I was thinking of implementing a project for detecting ROP using deep learning. I found some research paper about the topic but i don't know how to get a dataset, any recommendations?


r/ExploitDev • • Dec 23 '20

How people do windows kernel exploitation?

15 Upvotes

As we all know windows kernel is not open source. Like Linux

But I just see a window kernel exploitation tutorial and this eventually come in my mind.

If people don't have access to windows kernel then how they exploit it.

I am newbie and very sorry if the question is irrelevant .And also thanks for answer


r/ExploitDev • • Dec 21 '20

How people create exploits in python? because exploit dev.. requires direct access to low level system?

15 Upvotes

Sorry , if my question is irrelevant because I am a learner.

I have searched 100 times on google 'can we develop exploits in python'?And I got prrety positive answers.But we all know that we require direct access to low level system during exploit dev..,

which python not offer?

So how is it possible.I already know that metasploit uses ruby but the question is same how these high languages help in exploit dev since they don't provide access to low level system?


r/ExploitDev • • Sep 17 '20

What are some instructive non-JIT JavaScript engine bugs?

15 Upvotes

I've been studying browser exploitation and JavaScript engines for a little while now. I recently started code auditing a JS engine as a side vulnerability research project. I'd like to strengthen my skills by studying instructive JS engine bugs and PoC exploits; I'm specifically hoping to learn a few common vulnerable code patterns an exploitation methods, and then search for those patterns in the engine(s) I audit.

The wrinkle in this is that I'm currently not interested in bugs related to JS engine JIT compilers. I think those bugs are cool, but I'd like to get a handle on basic engine/interpreter-level bugs first, and then move into the more complex JIT bugs once I'm a bit more experienced. Most browser bugs I see these days are JIT bugs, so I'm wondering if there are even that many pure engine bugs anymore anyway.

Additionally, the engines that I'm currently interested in auditing are standalone and aren't being used in any major browsers (I wanted to start with some softer targets). Some of these engines don't have JIT compilers at all, eliminating that source of bugs.

Here's an example of a few bugs I've been studying that I've found instructive: CVE-2016-3386 (https://github.com/tunz/js-vuln-db/blob/master/chakra/CVE-2016-3386.md; it's also explained in detail in this presentation: https://www.sstic.org/media/SSTIC2019/SSTIC-actes/Pwning_Browsers/SSTIC2019-Slides-Pwning_Browsers-keith.pdf)

CVE-2014-1513 (https://github.com/tunz/js-vuln-db/blob/master/spidermonkey/CVE-2014-1513.md)

CVE-2016-4622 (covered in Saelo's pretty well-known Phrack paper Attacking JavaScript Engines; PoC here: https://github.com/saelo/jscpwn)

Does anyone have suggestions for other good non-JIT bugs to study? Additionally, if you have general code auditing suggestions for complex targets like JS engines, I'd be very grateful. I'm currently just trying to identify a few common vulnerability patterns and then comb through a codebase looking for them, but there may be much better methods.


r/ExploitDev • • Apr 06 '20

CVE-2020-8423: exploiting the TP-LINK TL-WR841N V10 router

15 Upvotes

In this post I tried to explain how I found and exploited a vulnerability in a home router. I'd glad for any feedback from you.


r/ExploitDev • • Feb 24 '20

real world RE for exploit dev

15 Upvotes

Hey r/ExploitDev

Lately, I've been wanting to get back into RE/ExploitDev. I have done a lot of CTFS and finding bugs in challenges is fairly simple, not all though, but a lot are pretty simple. Most of them you just find BOs and you do some ROPchains and boom you get a shell. When it comes to real software this is not the case. I'm glad this is not the case but I was wondering what approach should I be taking for binary vulnerability research? Should I focus on searching for specific functions and work backwards from there or should I be looking from WinMain() forward? Any inside knowledge on how you guys approach RE for exploit dev will be appreciated. Thanks! backward

Resources would be insane. Thanks.?


r/ExploitDev • • Feb 20 '20

ShellCode Writing article

15 Upvotes

Hi guys I decided to write an article about shellcode writing since there's not that much info out there and most people tend to copy and paste there shellcode.

https://mjali.com/2020/02/20/binary-exploitation-series-part-4/

I hope you will find it helpful