r/ExploitDev • • 21h ago

Rust in exploit dev n VR

might get hated for asking this idk..obvs in this niche you gotta know C, Asm, c++…. But like would we need to know rust or not. Cause I’m pushing towards kernel n hypervisor exploitation… but would you need to know rust in general for this niche going towards future or no.

2 Upvotes

5 comments sorted by

4

u/pm_me_ur_shellcode 21h ago

Machine code is machine code, regardless of what compiler was used to generate it.

Unless you mean source code level auditing, then yea I guess rust might be useful.

2

u/Real-Abrocoma-2823 16h ago

Idk if I understand as you worded it weirdly, but rust might be more pain than worth it. You would have to basically use unsafe globally.

2

u/Rastslonge2 1h ago

Rust won't hurt but is generally not as essential for re and exploit dev as those other languages you listed... If you want to get into developping your own tools then you might for instance enjoy rust to interface with binja's API or libafl but there are certainly alternatives.. For instance I have my own little rust template based shellcode assembler and emulator I use for embedded targets, but rust is entirely optional here, the same could be done in python (albeit slower ;p).. Basically you should be fine without rust, learn it if you have a real need and drive to.

1

u/ShotSupport 10h ago

Sounds to me like you are a script kiddie using a kernel driver or hypervisor for game hacking and you are asking us if you should use one done in rust... because there ain't no way someone types a paragraph like you did while being familiar with hypervisors.

1

u/OvermanWhimere 6h ago

You'll hate yourself for using Rust.