Skip to content

BlackSnufkin/Rusty-Playground

Repository files navigation

Rusty-Playground 🦀

Some Rust program I wrote while learning Malware Development

ClipboradMon 📌

  • Simpale Program to monitor clipborad for changes and log them or copy the file depenads on the situastion

ElevateToken 📌

  • Impersonates user tokens, and creates processes with elevated system privileges
  • Refernce:

HeapEnc 📌

  • Simple exmaple of heap encryption
  • Refernce:

HookFinder 📌

  • Rust code that attempts to detect userland API hooks in place by AV/EDR

IoDllProxyLoad 📌


NtCreateUserProcess 📌


PatchlessAmsiBypass 📌

  • Amsi Bypass with HWBP So no hooks in memory
  • Reference:

PatchlessBypass 📌

  • Improved Version of the PatchlessAmsiBypass Patch ETW + AMSI on all threads
  • Reference:

SelfErase 📌


SilentFart 📌

  • Leveraging NTAPI to grab NTDLL for unhooking without triggering "PspCreateProcessNotifyRoutine"
  • Refernce:

StackEncrypt 📌

  • Shuffele & encrpyt the Stack and sleep with indirect syscalls to NtDelayExecution
  • Refernce:

UnhookNtdll 📌

  • Rust implementation of the Perun's Fart thechnique
  • Using NtCreateUserProcess Both local and remote can be done with this program
  • Refernce:

USB_mon 📌

  • USB monitoring for new devices and display info about the devices

VEH-ProxyDll 📌

  • leverage the VEH (Vectored Exception Handler) to modify the context, especially RIP register to take us to the LoadLibraryA, and the RCX to hold the function's argument (module name) of LoadLibraryA.
  • To trigger our exception, VirtualProtect is used to set the page to PAGE_GUARD, thus triggering the STATUS_GUARD_PAGE_VIOLATIO
  • Refernce:

Whoami_alt 📌

Releases

No releases published

Packages

No packages published

Languages