|
KippoOnLinux
Running Kippo on Linux
Running Kippo on LinuxDebian GNU/Linux 5.0I've tested Kippo on a Debian, and the installation is quite easy. Running aptitude install python-twisted should automatically install all needed dependencies, and everything should just work. I hope to create a Debian package in near future. CentOS 5.4Centos only comes with Python 2.4, so you need to download Python 2.6 from (or wherever you prefer). After this, install Twisted, Zope Interface, Pycrypto and pyasn1 manually. Remember to use python26 as the binary when calling setup.py.
GentooKippo seems to run on a fresh Gentoo installation after installing the following packages via emerge:
|
► Sign in to add a comment
Kippo on Slackware 13
''[[Assuming: /usr/local/src/ will hold the code]]''
Change into the directory cd /usr/local/src/
download: wget http://kippo.googlecode.com/files/kippo-0.4.tar.gz unpack it. tar xf kippo-0.4.tar.gz
This is a Python program there is no ./configure, make, make install needed.
Create a simple config file by copying and editing the included example: cp kippo.cfg.dist kippo.cfg
contents look like this:
On top of the base Python, which was already installed on my base Slackware13, I needed to install the following python modules:
python-twisted python-zopeinterface pycrypto
The process for installing these is simple as each module comes with a simple setup.py script:
Download to suitable directory untar, cd into untarr'd directory and run 'python setup.py install'
I found the modules at these respective links: http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-8.2.0.tar.bz2#md5=c85f151999df3ecf04c49a781b4438d2
http://pypi.python.org/packages/source/z/zope.interface/zope.interface-3.5.0.zip
http://ftp.dlitz.net/pub/dlitz/crypto/pycrypto/pycrypto-2.1.0.tar.gz
RUNNING KIPPO
As a normal (not root) user CD to the directory holding kippo: cd /usr/local/src/kippo-0.4 Then run with ./start.sh
Kippo will start, and after a few seconds will drop back to a prompt. Running Kippo this way results in activity being written to a log file: /usr/local/src/kippo-0.4/log/kippo.log
Kill it by looking for the pid with top/ps or: less /usr/local/src/kippo-0.4/kippo.pid
To start it in the foreground so you can see what is happening whizz by: twistd -y kippo.tac -n
Test it on the localhost with ssh -p 2222 anything@localhost
Ubuntu:
sudo apt-get install python-dev openssl python-openssl python-pyasn1 python-twisted
Sweet honeypot - attacker trap, love it. There is a real lack of GTK based honeypots on linux, something along the lines of Specter would be even more awesome, something that could take an attackers spawned shell and reverse it back onto themselves so they hack into their own system would be even more hilarious. But I'll settle for KiPpO! It does what it says on the tin.
Thanks adnan.shukor... its helps
Thanks for this..
For centos install don't forget to:
install pyasn http://sourceforge.net/projects/pyasn1/ add a user chown the kippo dir to that user
i'm having trouble finding a solution to this as I'm not well versed with python: <..snip>
Failed to load application: cannot import name inlineCallbacks 2011/02/04 15:36 PST [-] $ twistd -y kippo.tac -n
I've done tons of google searches and can't seem to find much help. any ideas or hints?
jy.jason...@gmail.com, since the error is about inlineCallbacks, it means your version of twisted is probably too old
my bad, i realized I was trying to run it on a debian etch machine... got it installed onto a debian lenny machine and its working fine now. thanks for the help!
Installing Kippo SSH Honeypot on Ubuntu http://bruteforce.gr/installing-kippo-ssh-honeypot-on-ubuntu.html
Logging Kippo events using MySQL DB http://bruteforce.gr/logging-kippo-events-using-mysql-db.html