Kippo: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Thomas (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „=Before we begin= Change standard ssh Port =Install some packets *apt-get install python-dev openssl python-openssl python-pyasn1 python-twisted git authbind…“) |
Thomas (Diskussion | Beiträge) |
||
| Zeile 13: | Zeile 13: | ||
*chown kippo:kippo /etc/authbind/byport/22 | *chown kippo:kippo /etc/authbind/byport/22 | ||
*chmod 777 /etc/authbind/byport/22 | *chmod 777 /etc/authbind/byport/22 | ||
| + | At this point we enter the system as ‘kippo’ user and go to the /home directory. | ||
| + | |||
=Download the latest Kippo version from GitHub= | =Download the latest Kippo version from GitHub= | ||
| − | git clone https://github.com/desaster/kippo.git | + | *git clone https://github.com/desaster/kippo.git |
| − | = | + | =change port= |
| − | + | *cd kippo | |
| − | + | *sed -e "/ssh_port =/s/2222/22/" kippo.cfg.dist > kippo.cfg | |
| − | + | =Finally, change the Kippo start script= | |
| − | + | *sed -i.bak -e "/kippo.tac/s/twistd/authbind --deep &/" start.sh | |
| − | + | =start= | |
| − | + | *./start.sh | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | authbind --deep | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | ./start.sh | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | + | ||
| − | |||
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 22627/python | tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 22627/python | ||
*https://bruteforce.gr/installing-kippo-ssh-honeypot-on-ubuntu.html | *https://bruteforce.gr/installing-kippo-ssh-honeypot-on-ubuntu.html | ||
Version vom 27. August 2016, 15:36 Uhr
Before we begin
Change standard ssh Port =Install some packets
- apt-get install python-dev openssl python-openssl python-pyasn1 python-twisted git authbind
Adduser and change visudo that kippo can list users
- adduser kippo
- visudo
add
kippo ALL=(ALL:ALL) ALL
under the “root” user. =create fil and change some rights?
- touch /etc/authbind/byport/22
- chown kippo:kippo /etc/authbind/byport/22
- chmod 777 /etc/authbind/byport/22
At this point we enter the system as ‘kippo’ user and go to the /home directory.
Download the latest Kippo version from GitHub
- git clone https://github.com/desaster/kippo.git
change port
- cd kippo
- sed -e "/ssh_port =/s/2222/22/" kippo.cfg.dist > kippo.cfg
Finally, change the Kippo start script
- sed -i.bak -e "/kippo.tac/s/twistd/authbind --deep &/" start.sh
start
- ./start.sh
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 22627/python