mirror of
https://github.com/CPunch/Laika.git
synced 2026-02-11 02:10:05 +00:00
Refactored how CMake passes version & settings info
- keys can now be passed per-build passing -DLAIKA_PUBKEY=[pubkey] & -LAIKA_PRIVKEY=[pubkey] to `cmake -B` - if those definitions aren't passed, the default public & private key will be used (for quick testing)
This commit is contained in:
31
README.md
31
README.md
@@ -1,7 +1,32 @@
|
||||
# Laika
|
||||
|
||||
This is a simple POC botnet written in C99. The net library shares some similarities to [FoxNet](https://github.com/CPunch/FoxNet), in fact lpolllist.c is just a port of the FoxPollList class. This botnet is also crossplatform with clients written for each platform (check the /clients folder).
|
||||
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.
|
||||
|
||||
## Why?
|
||||
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.)
|
||||
|
||||
Malware development in recent years is soooooooo boring (esp. malware written by non-nationstate actors). I wanted to prove that homebrew malware can still be interesting and fun! Obviously use this on your own machines/get permission before running etc. etc.
|
||||
## Why 'Laika'?
|
||||
|
||||
During the soviet space race, [Laika](https://en.wikipedia.org/wiki/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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user