Windows-Rootkits/Inject/ExtraWindowInject
ciyze 7759bf39fd c202cb1f6d/inject_shellcode
c202cb1f6d/inject_shellcode
2020-11-06 18:11:01 +08:00
..
src c202cb1f6d/inject_shellcode 2020-11-06 18:11:01 +08:00
README.md c202cb1f6d/inject_shellcode 2020-11-06 18:11:01 +08:00

inject_shellcode

Small compendium of injection techniques commonly used in malware demonstrated on metasploit-generated shellcode

Various objects of injection:

  • existing process (found by name)
  • newly created process

Demonstrated methods:

  • Running shellcode in a new thread
  • Adding shellcode into existing thread (using NtQueueApcThread)
  • Patching Entry Point of the process
  • Patching context of the process
  • Injecting into Tray Window (using SetWindowLong)