PGTS PGTS Pty. Ltd.   ACN: 007 008 568

point Site Navigation

point Other Blog Threads



  Valid HTML 4.01 Transitional

   Download Kubuntu Today

   Ubuntu

   The Power Of KDE + Ubuntu






PGTS Blog Archive

Thread: Internet Security/Malware/Spam

Author Image Gerry Patterson. The world's most humble blogger
Edited and endorsed by PGTS, Home of the world's most humble blogger

Flogging A Dead Horse


Chronogical Blog Entries:



Date: Sat, 15 Jan 2005 01:07:33 +1100

So this is the first blog entry ... Now what am I going to say? I am not very good at just putting my thoughts down. I usually spend too much time considering what I am about to say. But here I go

Yesterday afternoon I got an email from someone called Joseph (last name withheld unless he wants me to release it). He wanted to inquire about "acquiring my services". I arranged for him to ring me and we discussed his situation.

Joe lives in Queensland. I did not find out where, exactly, but judging by the IP address of his first communication, it might be somewhere near Caloundra. It's not possible to say exactly, because many of the databases that are constructed for IP addresses contain inaccuracies. This is due to the fact that the topology of The Internet is extremely elastic. And there is nothing to prevent anyone from delegating an address to corner of the globe that is millions of miles from their physical location. But that is a horse of an entirely different colour.

Joe rang from a public phone which sounded as though it was located near a park I could hear some kids playing, and the rasping, long drawling croak of crows, in the background. A sound which always reminds me of the long summer days of my youth in Western Australia.

He was a home user and his problem was that he was being harrassed by hackers. He went through a detailed list of problems that struck him in the previous months. The litany included slow performance, persistant lockout of login accounts and system crashes and reboots. All of which could have been due to hardware problems. But then he observed the words "Ha! Ha! Ha! Ha!" written in his system logs ... which seems like a smoking gun.

I told him that most computer systems are notoriously bad for security. I was going to recommend that he use an open source system, when he stated that he changed to Linux, and he still got hacked!

As I listened to his tale, it began to seem increasingly likely that someone had hacked his modem. His ISP was BigPond, and they had been exceedling unhelpful.

I quickly went through a check list of things that he should look for. I started with personal security around the house ... which curiously enough is something that many people can overlook when someone is thinking about computer security, they often overlook the fact that the best way in to a system is via the system console.

At one stage he said:

I'm not a bad person ... really ...
I don't associate with criminals or anything ...
I don't understand why they are doing this.
His voice trembled with a note of desperation ...

He said that he had tried contacting the police. However they had stated that unless there had been fraud, they would not send anyone to investigate.

It was quite a saga. And he was clearly upset by experience. He had not actually checked my address, when he had contacted me. And it is not likely that I will be travelling to Queensland anytime soon. However I sent him an email detailing some of the things that he should look at regarding system security. Generally speaking an Open Source setup is orders of magnitude more secure than other options. However there are couple of obvious traps that need to be avoided.

Since then I have thought that I should set some of these down:

  1. Not all holes get closed. This is especially true for less experienced users who rely on a menu-driven installation process. Most of the major distributions offer a couple of choices on your install menu. And the security of final installation depends on some of the choices you make. Most people are setting up a client workstation and if this is the case, you should choose Maximum security, and do not setup the machine as a server. However even after doing this, you should check that telnet and ssh are not running. Unfortunately every distribution is slightly different so the way that you check this can vary between different versions of Linux and BSD. However in general the telnet and ssh daemons are called telnetd and sshd. And the following commands:
       	ps -ef | grep telnet
       	ps -ef | grep ssh
    
    should return no evidence of these daemons. If you have any doubts write to your local user group and I am sure that someone will help you further.
  2. Apart from that, you should disallow most services, except of course 80, 25 and 53. There really is no need for most of the other services. This especially applies to people who are not sure what a service is!
  3. Secure your modem/firewall. This is not part of the system install. However a broadband modem which is provided by your ISP or which you purchased from a local supplier often purports to be a firewall. Most of these leak like a sieve. They should not be called firewalls at all! This is the most obvious hole in the entire setup. A real firewall should not accept telnet from the public network. Once a cracker gets into this device he can just squat there for a while and use brute force attacks on anything on the local side. If your modem/firewall is in this category, make sure to close off telnet access from the public network.
  4. If other people have physical access to your workstation, use strong passwords to secuire all accounts. And if you are using a GUI that can put a password on the screen saver, then do it. Also it is a good idea to log off when you finish using the system. Keep system disks in a secure place. Above all, try to be aware who does have physical access to the computer. Once someone has physical access it is much easier to hack into the system.

So, Joe if you are reading this ... I hope things turned out ok. Send me an email if you want me to release your name.

Meanhile the spam continues to come in ... I hae already reached the conclusion that it was a mistake to use my real email address for the "Spam Diaries". One of the recent items had headers as below:
From qmjahgks@yahoo.com Sat Jan 15 03:48:48 2005
Return-Path: <qmjahgks@yahoo.com>
Received: from 83-134-7-200.Paille.GoPlus.FastDSL.tiscali.be (83-134-7-200.Paille.GoPlus.FastDSL.tiscali.be [83.134.7.200])
    by pgts04.pgts.com.au (8.11.6/8.11.6) with SMTP id j0EGmj810221
    for <gerry@xxxx.com.au>; Sat, 15 Jan 2005 03:48:46 +1100 (EST)
    (envelope-from qmjahgks@yahoo.com)
X-Message-Info: MPLqPC627chB476BBKoggN1NFxjJH95U973WWF581oh8R
Received: (from wvt13barberry@localhost)
    by gzw5-snick04.t285f.msn.com (7.51.32/7.77.61) id gi787FV2jp370213;
    Fri, 14 Jan 2005 10:38:44 -0600 GMT
X-Authentication-Warning: ouf79-bernardo87.dh2xu.msn.com: puh7cover set sender to qmjahgks@yahoo.com using -o
MIME-Version: 1.0
Date: Fri, 14 Jan 2005 18:33:44 +0200
From: Ethel London <qmjahgks@yahoo.com>
Subject: REFILL Your RX order ...DARVON..VALIUM...XANAX
To: gerry@xxxx.com.au
Message-Id: <jt588nbz3-208498851076-922314887191749219975531307758241@dryden9>
Content-Type: multipart/alternative;
    boundary="--73059118967945244887"

Whois says that this entire Netblock has been assigned to other users. And directs me to look at http://www.ripe.net/whois

The netblock is owned by a Belgium ISP called Tiscali ADSL Go/Plus and it appears that this particular netblock has been extraordinarily active at sending email (according to SenderBase).

Now I am just thinking on my feet here ... But, having just done some maintenance on the agent_strings database, I seem to recall several browser agents with "tiscali" or "Tiscali" attached to them. From memory they all purported to be MSIE agent strings.

The list of browsers, and their names and date of last visit is:
BrowserLast VisitIP Addr
MSIE2002-10-02
MSIE2003-01-19
MSIE2003-03-17
MSIE2003-05-12
MSIE2003-05-19
MSIE2004-02-0381.131.120.3/32
MSIE2004-02-14205.188.209.71/32
MSIE2004-02-14195.93.34.10/32
MSIE2004-02-1562.252.0.4/32
MSIE2004-03-1582.3.65.27
MSIE2004-04-0782.84.196.145
Tiscali2004-06-0680.46.188.101
MSIE2004-07-0981.152.109.248
MSIE2004-11-01193.60.159.61
MSIE2004-12-07196.30.113.163
MSIE2004-12-0862.11.130.225
MSIE2004-12-1381.26.104.195

Of course none of the above may be related to the spam that I received but I thought I would include it in this blog anyway. If anyone knows what "Tiscali" actually does for an MSIE browser, drop me a line.

Now, before I went off on that tangent, it might be a good idea to ban the entire netblock ... which has now been done! The next time someone e-mails me from that netblock, they will get a message saying that they are under investigation. I need to work on the Mail Abuse software that I am working on ... another project.

And while I'm about it ... I still have to write the software to post this blog ...


Other Blog Posts In This Thread:

Copyright     2005, Gerry Patterson. All Rights Reserved.