Kippo SSH Honeypot: Difference between revisions
From ICO wiki
Jump to navigationJump to search
Line 1: | Line 1: | ||
=Install= | =Install= | ||
Kõik käsud toimuvad juurkasutaja õigustes! | |||
<pre> | <pre># apt-get install python-twisted</pre> | ||
</pre> | |||
<pre> | <pre># nano /etc/ssh/ssh_config</pre> | ||
Host * | |||
<pre>Host * | |||
... | ... | ||
# Port 22 | # Port 22</pre> | ||
</pre> | |||
<pre># service ssh restart</pre> | |||
<pre># adduser kippo</pre> | |||
<pre>$ wget http://kippo.googlecode.com/files/kippo-0.8.tar.gz</pre> | |||
<pre>$ tar xzf kippo-0.8.tar.gz</pre> | |||
<pre>$ ls kippo-0.8 LABOR</pre> | |||
Note: Run the command as root user and then switch back to kippo user. | |||
<pre># iptables -t nat -A PREROUTING -p tcp --dport 22 -j REDIRECT --to-port <enda pordi nr.> </pre> | |||
<pre></pre> | |||
<pre></pre> | |||
<pre></pre> |
Revision as of 07:52, 20 May 2015
Install
Kõik käsud toimuvad juurkasutaja õigustes!
# apt-get install python-twisted
# nano /etc/ssh/ssh_config
Host * ... # Port 22
# service ssh restart
# adduser kippo
$ wget http://kippo.googlecode.com/files/kippo-0.8.tar.gz
$ tar xzf kippo-0.8.tar.gz
$ ls kippo-0.8 LABOR
Note: Run the command as root user and then switch back to kippo user.
# iptables -t nat -A PREROUTING -p tcp --dport 22 -j REDIRECT --to-port <enda pordi nr.>