For the complete documentation index, see llms.txt. This page is also available as Markdown.

2. Malicious DLL using Golang

#golang #maldev #malwaredevelopment #persistence #shellcoderunner

Armed with the knowledge of creating a shellcode runner and creating a basic dll we can now go ahead and create a shellcode running dll.

The only difference between the basic dll and the malicious dll is the exported function. We copy-pasted the code from the shellcode runner in a new exported function called shrun().

When we execute the dll we get the initial pop up from the init function.

Init function messagebox

Once we click OK, the calculator from our shellcode pops up.

Calculator pop up

Complete Code:

Last updated