1
0
mirror of https://github.com/CPunch/Laika.git synced 2024-11-21 12:40:04 +00:00
Cross-platform RAT, written in Modern C
Go to file
2022-01-31 15:54:39 -06:00
.vscode Refactored how CMake passes version & settings info 2022-01-30 01:15:51 -06:00
bot Minor lpeer refactoring 2022-01-30 19:10:10 -06:00
cmake-modules Misc. cmake refactoring 2022-01-29 17:16:29 -06:00
cnc Fixed poll() path in lpolllist.c, fixed laikaM_rmvarray() 2022-01-31 13:27:12 -06:00
lib minor laikaM_rmvarray refactoring, removed 'type' parameter 2022-01-31 15:54:39 -06:00
tools Moved CMAKE_C_STANDARD to the root CMakeLists.txt 2022-01-30 01:20:47 -06:00
.gitignore Protected handler calls in bot.c 2022-01-25 11:58:36 -06:00
CMakeLists.txt Moved CMAKE_C_STANDARD to the root CMakeLists.txt 2022-01-30 01:20:47 -06:00
README.md Refactored how CMake passes version & settings info 2022-01-30 01:15:51 -06:00

Laika

Laika is a simple botnet stack for red teaming. It allows authenticated communication across a custom protocol with generated key pairs which are embedded into the executable.

Some notable features thus far:

  • Lightweight, the bot alone is 80kb and uses very little resources.
  • Uses obfuscation techniques also seen in the wild (string obfuscation, tiny VMs executing sensitive operations, etc.)
  • Simple configuration using CMake (setting keys, obfuscation modes, etc.)

Why 'Laika'?

During the soviet space race, Laika was the first dog in space; however shortly after died of asphyxiation and overheating of the shuttle. Take whatever you want from this information.

Configuration and compilation

First, compile the target normally

cmake -B build && cmake --build build

Now, generate your custom key pair using genKey

./bin/genKey

Next, rerun cmake, but passing your public and private keypairs

rm -rf build && cmake -B build -DLAIKA_PUBKEY=997d026d1c65deb6c30468525132be4ea44116d6f194c142347b67ee73d18814 -DLAIKA_PRIVKEY=1dbd33962f1e170d1e745c6d3e19175049b5616822fac2fa3535d7477957a841 && cmake --build build