logo

DLL Hijacking in Rust, Pt. 1

time1 yr agoview5 views

In which we review the basics of DLL Hijacking, and create a proof of concept using Rust and the Windows first-party crate!

0:00 Intro 0:43 DLL Concepts 9:00 Hijacking Concepts 10:33 Hunting Hijack Targets 14:20 CFFExplorer 15:41 Static Analysis w/Cutter 18:20 Writing a Rust DLL 34:40 Build and Test 36:47 Outro

Links to Resources:

HackTricks: https://book.hacktricks.xyz/windows-hardening/windows-local-privilege-escalation/dll-hijacking NTCore Explorer Suite: https://ntcore.com/?page_id=388 Windows-RS: https://github.com/microsoft/windows-rs Cutter: https://cutter.re DLLMain: https://learn.microsoft.com/en-us/windows/win32/dlls/dllmain

Loading comments...