7303 matches found
NimGetSyscallStub - Get Fresh Syscalls From A Fresh Ntdll.Dll Copy
Get fresh Syscalls from a fresh ntdll.dll copy. This code can be used as an alternative to the already published awesome tools NimlineWhispers and NimlineWhispers2 by @ajpc500 or ParallelNimcalls. The advantage of grabbing Syscalls dynamically is, that the signature of the Stubs is not included i...
DeathSleep - A PoC Implementation For An Evasion Technique To Terminate The Current Thread And Restore It Before Resuming Execution, While Implementing Page Protection Changes During No Execution
A PoC implementation for an evasion technique to terminate the current thread and restore it before resuming execution, while implementing page protection changes during no execution. Intro Sleep and obfuscation methods are well known in the maldev community, with different implementations, they...
Metasploit Weekly Wrap-Up
BYOS: Bring your own stager We try hard to make sure we have a great choice of fully-functional payloads to choose from, but sometimes you might want to “branch” out on your own, and if that’s the case we’ve got you covered. In an attempt to make Metasploit play well with others, we’ve introduced...
SharpImpersonation - A User Impersonation Tool - Via Token Or Shellcode Injection
This was a learning by doing project from my side. Well known techniques are used to built just another impersonation tool with some improvements in comparison to other public tools. The code base was taken from: https://github.com/0xbadjuju/Tokenvator A blog post for the intruduction can be foun...
Windows shellcode stage, Bind TCP Stager (RC4 Stage Encryption, Metasm)
Custom shellcode stage. Connect back to the attacker Module Options msf use payload/windows/x64/custom/bindtcprc4 msf payloadbindtcprc4 show actions ...actions... msf payloadbindtcprc4 set ACTION msf payloadbindtcprc4 show options ...show and set options... msf payloadbindtcprc4 run -- coding:...
Windows shellcode stage, Reverse TCP Stager with UUID Support (Windows x64)
Custom shellcode stage. Connect back to the attacker with UUID Support Windows x64 Module Options msf use payload/windows/x64/custom/reversetcpuuid msf payloadreversetcpuuid show actions ...actions... msf payloadreversetcpuuid set ACTION msf payloadreversetcpuuid show options ...show and set...
Windows shellcode stage, Bind TCP Stager with UUID Support (Windows x64)
Custom shellcode stage. Listen for a connection with UUID Support Windows x64 Module Options msf use payload/windows/x64/custom/bindtcpuuid msf payloadbindtcpuuid show actions ...actions... msf payloadbindtcpuuid set ACTION msf payloadbindtcpuuid show options ...show and set options... msf...
Windows shellcode stage, Reverse TCP Stager (RC4 Stage Encryption, Metasm)
Custom shellcode stage. Connect back to the attacker Module Options msf use payload/windows/custom/reversetcprc4 msf payloadreversetcprc4 show actions ...actions... msf payloadreversetcprc4 set ACTION msf payloadreversetcprc4 show options ...show and set options... msf payloadreversetcprc4 run --...
Windows shellcode stage, Reverse UDP Stager with UUID Support
Custom shellcode stage. Connect back to the attacker with UUID Support Module Options msf use payload/windows/custom/reverseudp msf payloadreverseudp show actions ...actions... msf payloadreverseudp set ACTION msf payloadreverseudp show options ...show and set options... msf payloadreverseudp run...
Windows shellcode stage, Bind TCP Stager (RC4 Stage Encryption, Metasm)
Custom shellcode stage. Listen for a connection Module Options msf use payload/windows/custom/bindtcprc4 msf payloadbindtcprc4 show actions ...actions... msf payloadbindtcprc4 set ACTION msf payloadbindtcprc4 show options ...show and set options... msf payloadbindtcprc4 run -- coding: binary --...
Windows shellcode stage, Reverse TCP Stager (RC4 Stage Encryption DNS, Metasm)
Custom shellcode stage. Connect back to the attacker Module Options msf use payload/windows/custom/reversetcprc4dns msf payloadreversetcprc4dns show actions ...actions... msf payloadreversetcprc4dns set ACTION msf payloadreversetcprc4dns show options ...show and set options... msf...
Windows shellcode stage, Windows x86 Bind Named Pipe Stager
Custom shellcode stage. Listen for a pipe connection Windows x86 Module Options msf use payload/windows/custom/bindnamedpipe msf payloadbindnamedpipe show actions ...actions... msf payloadbindnamedpipe set ACTION msf payloadbindnamedpipe show options ...show and set options... msf...
Windows shellcode stage, Bind IPv6 TCP Stager (Windows x86)
Custom shellcode stage. Listen for an IPv6 connection Windows x86 Module Options msf use payload/windows/custom/bindipv6tcp msf payloadbindipv6tcp show actions ...actions... msf payloadbindipv6tcp set ACTION msf payloadbindipv6tcp show options ...show and set options... msf payloadbindipv6tcp run...
Windows shellcode stage, Reverse Hop HTTP/HTTPS Stager
Custom shellcode stage. Tunnel communication over an HTTP or HTTPS hop point. Note that you must first upload data/hop/hop.php to the PHP server you wish to use as a hop. Module Options msf use payload/windows/custom/reversehophttp msf payloadreversehophttp show actions ...actions... msf...
Windows shellcode stage, Bind IPv6 TCP Stager with UUID Support (Windows x86)
Custom shellcode stage. Listen for an IPv6 connection with UUID Support Windows x86 Module Options msf use payload/windows/custom/bindipv6tcpuuid msf payloadbindipv6tcpuuid show actions ...actions... msf payloadbindipv6tcpuuid set ACTION msf payloadbindipv6tcpuuid show options ...show and set...
Windows shellcode stage, Reverse TCP Stager (No NX or Win7)
Custom shellcode stage. Connect back to the attacker No NX Module Options msf use payload/windows/custom/reversenonxtcp msf payloadreversenonxtcp show actions ...actions... msf payloadreversenonxtcp set ACTION msf payloadreversenonxtcp show options ...show and set options... msf...
Windows shellcode stage, Reverse TCP Stager
Custom shellcode stage. Connect back to the attacker Module Options msf use payload/windows/custom/reversetcp msf payloadreversetcp show actions ...actions... msf payloadreversetcp set ACTION msf payloadreversetcp show options ...show and set options... msf payloadreversetcp run This module...
Windows shellcode stage, Hidden Bind Ipknock TCP Stager
Custom shellcode stage. Listen for a connection. First, the port will need to be knocked from the IP defined in KHOST. This IP will work as an authentication method you can spoof it with tools like hping. After that you could get your shellcode from any IP. The socket will appear as "closed," thu...
Windows shellcode stage, Hidden Bind TCP Stager
Custom shellcode stage. Listen for a connection from a hidden port and spawn a command shell to the allowed host. Module Options msf use payload/windows/custom/bindhiddentcp msf payloadbindhiddentcp show actions ...actions... msf payloadbindhiddentcp set ACTION msf payloadbindhiddentcp show optio...
Powershell Exec, Windows shellcode stage, Windows x64 Reverse HTTP Stager (winhttp)
Execute an x64 payload from a command via PowerShell. Custom shellcode stage. Tunnel communication over HTTP Windows x64 winhttp Module Options msf use payload/cmd/windows/powershell/x64/custom/reversewinhttp msf payloadreversewinhttp show actions ...actions... msf payloadreversewinhttp set ACTIO...