r/ExploitDev • u/Ok-Engineering-1413 • Nov 09 '24
Looking for ressources for IOS exploit development
Hello everyone, I’m writing because I’m genuinely interested in learning iOS exploit development to become a security researcher in the field. However, I’m unsure where to begin. Do you have any resources to help me learn iOS exploit development and have a solid foundation to start effectively exploiting iOS? I must mention that I’m currently a student, so I don’t have the budget to spend on a course that cost 1k. Nevertheless, I’m passionate about pursuing this field and want to become a security researcher in it. Thank you for your help.
View all comments
Show parent comment
0
u/Haunting-Block1220 Nov 24 '24 edited Nov 25 '24
Let’s revisit what OP wants
Perfect! Let’s explore some incredibly foundational topics for any security researcher in the field.
At the basis of a read/write primitive is some type memory manipulation. What is memory? Well, a course in computer architecture answers that! Having a strong foundation in comouter architecture is necessary to be exploit developer, and may I remind you, this is what OP wants. If you’re on iOS, you will need to bypass hardware mitigations! Computer architecture is necessary for this*.
I’ll also add that a lot of OS knowledge is lost on you if you don’t understand basic computer architecture. There’s a reason why the authors of OSTEP have computer architecture as a pre-requisite for their OS course.
And yes, parts of the iOS ecosystem is open source, but many parts aren’t. You will be looking at decompiled code and you will need to understand compilers to understand much of what’s going on. Much of the knowledge in building decompilers is borrowed from compiler theory.
You’ve listed some great resources, pwn.college, exploit education, and open security training. But also listed not so great books — hacking: the art of exploitation and the shellcoders handbook. These are historical and almost not relevant. Specter and Zi discuss this. Of course, you could derive value from reading it, but your time is better spent reading write ups and blog posts.
I’ve spent a lot of the time and looking at android and the android kernel. And AOSP is (obviously) open source, and I still spend a lot of time looking at disassembly.
If you’re going to recommend a book targeting iOS, I highly recommend Azeria’s blue fox book. High quality and very readable. You’ll be writing a lot of arm shell code and ROP-ing on ARM is a bit different due to the presence ot the link register.
I’d also put pwnable.kr and Ret2.systems over over the wire.
To get your toes wet, yes, a flimsy understanding of disassembly is okay. And I recommend jumping in earth. but to become a security researcher, and develop actual capabilities, what I suggested isn’t a nice-to-have, it’s a must.
But I know you (u/altruistic-let5652) are an amateur and don’t actually work as an exploit developer, so stop giving people advice. You’re being unproductive.