mirror of
https://github.com/PowerShellMafia/PowerSploit
synced 2026-06-08 12:13:33 +00:00
dfec277813
Another awesome addition from Joe Bialek. Invoke-ReflectivePEInjection is a vast improvement over Invoke-ReflectiveDllInjection. It adds the following features: * Now supports loading exe files in memory * Supports reflective dll injection into a remote process * Additional sample Visual Studio solutions
15 lines
280 B
NASM
15 lines
280 B
NASM
[SECTION .text]
|
|
|
|
global _start
|
|
|
|
_start:
|
|
; Set a var to 1, let PS known exe is exiting
|
|
mov rbx, 0x4141414141414141
|
|
mov [rbx], byte 0x01
|
|
|
|
; Call exitthread instead of exitprocess
|
|
sub rsp, 0xc0
|
|
and sp, 0xFFf0 ; Needed for stack alignment
|
|
mov rbx, 0x4141414141414141
|
|
call rbx
|