Skip to content

Simple malware samples developed using C and Win32API utilising process injection techniques like shellcode injection and dll injection which involve injecting malicious shellcode into benign processes

License

basedBaba/malwareDevelopment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

malwareDevelopment

Simple malware samples developed as a proof-of-concept using C and the Win32API utilising process injection techniques which involve injecting malicious shellcode into benign processes.

Shellcode Injection

  1. Get a handle on a process by attaching to, or creating one.
  2. Allocate a buffer in the process memory with the necessary permissions.
  3. Write the contents of your shellcode to that buffer in the process memory.
  4. Create a thread that will run what you've surgically allocated and written into the process!

DLL Injection

  1. Get a handle on a process by attaching to, or creating one.
  2. Allocate a buffer in the process memory with the necessary permissions.
  3. Load a custom DLL to that buffer in the process memory.
  4. Create a thread that will run what you've surgically allocated and written into the process!

About

Simple malware samples developed using C and Win32API utilising process injection techniques like shellcode injection and dll injection which involve injecting malicious shellcode into benign processes

Topics

Resources

License

Stars

Watchers

Forks

Languages