How to install Kippo under CentOS7
This article mainly introduces the relevant knowledge of "how to install Kippo under CentOS7". The editor shows you the operation process through an actual case. The method of operation is simple and fast, and it is practical. I hope this article "how to install Kippo under CentOS7" can help you solve the problem.
Kippo is a powerful SSH honeypot tool, which is highly interactive. When an attacker gets the SSH password of the honeypot, he can log in to the honeypot server and execute some common Linux commands.
System environment
CentOS 7 x86x64 (non-OpenVZ) on public cloud, dual core, 2 GB memory, SELinux disabled
Installation environment $sudo yum install libffi libffi-devel gcc git-y $sudo yum install python-devel openssl openssl-devel-y $sudo yum install python-twisted-core python-setuptools python-virtualenv-y $sudo easy_install pycrypto pyasn1 $sudo easy_install pip$ pip install cryptography
# Please note that cannot import errors may occur if you use a version earlier than this version of twistd
$sudo pip install twisted==15.2.0$ sudo pip install service_identity modify the real ssh port and set Firewalld$ sudo vim / etc/ssh/sshd_config # modify Port to $sudo firewall-cmd-- add-port=222/tcp-- permanent$ sudo firewall-cmd-- add-port=2222/tcp-- permanent$ sudo firewall-cmd-- permanent-- add-forward-port=port=22:proto=tcp:toport=2222:addr= {YOUR SERVER IP} $sudo firewall-cmd-- reload create user & clone project $sudo useradd kippo$ sudo su kippo$ Cd ~ $git clone https://github.com/desaster/kippo.git$ cd kippo starts Kippo$ cp kippo.cfg.dist kippo.cfg$. / start.sh on "how to install Kippo under CentOS7" ends here Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.