Fake Ip address when use SSH with torify

2422

When you try to connect to a server using SSH (secure shell) your ip will log in the server for example the log in here..

/var/log/auth.log

when our ip was log on targer server, its so dangerous, so know lets do a simple trick to fake our ip in the server log by using SSH, and the trick is we use Torify.. lets try

# torify ssh
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
.1.7

So our Ip address will be anonymos, and lets check the log now

Aug 23 16:46:12 namaserver sshd[27034]: Invalid user admin from 192.168.1.8
Aug 23 16:46:12 namaserver sshd[27034]: Failed none for invalid user admin from 192.168.1.8 port 44194 ssh2
Aug 23 16:47:19 namaserver sshd[27034]: pam_unix(sshd:auth): check pass; user unknown
Aug 23 16:47:21 namaserver sshd[27034]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=192.168.1.7
Aug 23 10:32:05 namaserver sshd[27034]: Failed password for invalid user admin from 192.168.1.8 port 44194 ssh2

and we succes to fake ip to login into a server using SSH, but our Ip still be logged in log, if we see in the red font its our IP, and the administartor of server know if our was log into his server, remeber,, use at your own risk, its only educational purpose 😀

wassalam