b2f8efc402
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
2022-07-10 19:24:48 -05:00
48fa8935c3
Added .clang-format, formatted codebase
2022-06-27 18:57:00 -05:00
81360a8072
Re-added lboxconfig.h
2022-05-16 17:23:45 -05:00
7175e2ec00
Win: winpersist.c now uses obfuscation
...
- The API was switched to force Ascii versions of the winapi
2022-05-16 11:02:56 -05:00
f649ca4a56
Win: Static builds & fixed winpersist.c
2022-05-14 13:24:20 -05:00
64f7e40fa0
Windows: Persistence via windows registry
2022-04-22 17:20:31 -05:00
cfe633f1d5
Windows: Added registry manipulation boilerplate
2022-04-18 17:05:26 -05:00
34dd36fb67
Windows: implemented laikaB_markRunning() & laikaB_unmarkRunning()
...
- use Sleep() for LAIKA_PERSISTENCE in main()
- use Mutex for checking existing LaikaBots
- switched to TEXT() for win32 strings
2022-04-16 23:54:07 -05:00
b60203d3f2
Linux: implemented laikaB_markRunning() & laikaB_unmarkRunning()
...
- switched to file locks as that's more discreet
- tied to LAIKA_PERSISTENCE being defined
2022-04-16 22:56:05 -05:00
59c01d422b
More resilient persistence
...
- bot will keep trying to connect if it failed to connect to the CNC or if the bot was killed
- if crontab isn't installed the bot will still run
2022-04-10 15:45:30 -05:00
b6bd8b2518
Bot persistence boilerplate
2022-04-04 12:12:37 -05:00