monkey/chaos_monkey
itsikkes fba5bea912 Tunnel improvements - bugfix for using default tunnel, improvement in tunnel shutdown
1) Bugfix when searching for tunnel - registration packet might be sent
from wrong interface in case of the default tunnel
2) Tunnel shutdown now verifies that no one used the tunnel before
shutting it down (added code to allow tracing of last used time)
3) Timeouts increasments
2016-08-13 18:38:31 +03:00
..
exploit Added functionality to report all brute force password attempts even if unsuccessful. 2016-08-09 00:23:18 +03:00
model RDP module bugfix 2016-07-23 08:41:57 +03:00
network restored mission import 2016-07-21 11:45:29 +03:00
system_info GC-5502: #resolved - Added code to handle lack of permissions. 2016-03-02 15:38:51 +02:00
transport Tunnel improvements - bugfix for using default tunnel, improvement in tunnel shutdown 2016-08-13 18:38:31 +03:00
__init__.py first commit 2015-08-30 10:27:35 +03:00
build_linux.sh pyinstaller run clean 2015-12-31 09:57:29 +02:00
build_windows.bat Merge branch 'master' of https://github.com/guardicore/monkey 2016-07-18 23:45:02 +03:00
config.py Issue #18, added ability to attack multiple users in SSH brute force. 2016-08-08 22:25:33 +03:00
control.py depth commandline option is not overwritten when getting config from the island 2016-08-01 16:52:27 +03:00
dropper.py code organization 2015-11-30 10:56:20 +02:00
example.conf updated to reflect recent patch 2016-08-13 18:30:24 +03:00
main.py Added local kill switch to flow, right after loading configuration. 2016-07-31 14:33:48 +03:00
monkey-linux.spec Added hidden import to monkey-linux.spec 2016-03-02 17:13:52 +02:00
monkey.ico first commit 2015-08-30 10:27:35 +03:00
monkey.py Bug fix in shutdown sequence and added sleep for allowing newly exploited use the tunnel 2016-08-13 18:33:49 +03:00
monkey.spec fixes and improvements after test-run 1 2016-07-20 00:53:41 +03:00
monkeyfs.py code organization 2015-11-30 10:56:20 +02:00
readme.txt Fixed Pyinstaller versioning 2016-07-28 11:22:21 +03:00
requirements.txt Updated requirements to include netifaces 2016-07-25 17:44:10 +03:00
system_singleton.py code organization 2015-11-30 10:56:20 +02:00
tunnel.py Tunnel improvements - bugfix for using default tunnel, improvement in tunnel shutdown 2016-08-13 18:38:31 +03:00

readme.txt

How to create a monkey build environment:

Windows:
1. Install python 2.7
	https://www.python.org/download/releases/2.7
2. install pywin32-219.win32-py2.7.exe
	http://sourceforge.net/projects/pywin32/files/pywin32/Build%20219/
3. a. install VCForPython27.msi
	http://www.microsoft.com/en-us/download/details.aspx?id=44266
   b. if not installed, install Microsoft Visual C++ 2010 SP1 Redistributable Package
    32bit: http://www.microsoft.com/en-us/download/details.aspx?id=8328
    64bit: http://www.microsoft.com/en-us/download/details.aspx?id=13523
4. Download & Run get-pip.py
	https://bootstrap.pypa.io/get-pip.py
5. Run:
	setx path "%path%;C:\Python27\;C:\Python27\Scripts"
	python -m pip install enum34
	python -m pip install impacket
	python -m pip install PyCrypto
	python -m pip install pyasn1
	python -m pip install cffi
	python -m pip install twisted
	python -m pip install rdpy
	python -m pip install requests
	python -m pip install odict
	python -m pip install paramiko
	python -m pip install psutil
	python -m pip install netifaces
	python -m pip install PyInstaller
	type > C:\Python27\Lib\site-packages\zope\__init__.py
7. Download and extract UPX binary to [source-path]\monkey\chaos_monkey\bin\upx.exe:
	http://upx.sourceforge.net/download/upx391w.zip
8. Run [source-path]\monkey\chaos_monkey\build_windows.bat to build, output is in dist\monkey.exe

Linux (Tested on Ubuntu 12.04):
1. Run:
	sudo apt-get update
	sudo apt-get install python-pip python-dev libffi-dev upx libssl-dev libc++1
	sudo pip install enum34
	sudo pip install impacket
	sudo pip install PyCrypto --upgrade
	sudo pip install pyasn1
	sudo pip install cffi
	sudo pip install zope.interface --upgrade
	sudo pip install twisted
	sudo pip install rdpy
	sudo pip install requests --upgrade
	sudo pip install odict
	sudo pip install paramiko
	sudo pip install psutil
	sudo pip install netifaces
	sudo pip install PyInstaller
	sudo apt-get install winbind
2. Put source code in /home/user/Code/monkey/chaos_monkey
3. To build, run in terminal:
	cd /home/user/Code/monkey/chaos_monkey
	chmod +x build_linux.sh
	./build_linux.sh
   output is in dist/monkey