Skip to content

Shellcode self-injector example that accompanies the article "From traditional to templated malware"

Notifications You must be signed in to change notification settings

Hackcraft-Labs/SelfInjector

Repository files navigation

SelfInjector - Templated Version

This repository accompanies the article From traditional to templated malware. It is a minimal example of a shellcode self-injector, which is offered as both a traditional static version (which you can find on the traditional branch) or a version templated with Blueprint (which can be found on the templated branch).

Disclaimer

Code in this repository is provided as an example use case and is not authored with OPSEC considerations in mind or to provide evasion. Simplicity is HEAVILY favored over the aforementioned principles and it should only serve as an example of Blueprint usage.

More specifically, please keep in mind the following:

  • The original shellcode buffer is left uncleared after decryption, which exposes it in cleartext.
  • The shellcode pages are allocated with RWX memory permissions.

Community

Join the Hackcraft community discord server here. On the server you can receive support and discuss issues related to SelfInjector.

About

Shellcode self-injector example that accompanies the article "From traditional to templated malware"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published