I located a problem with an e-smith 4.1.2 installation today that appears to be the result of an intruder. Nothing was lost or stolen but the machine in question has run up a dial-up access bill of several hundred pounds over the few weeks since it was installed, of which about twenty pounds can be accounted for by client activity. The symptoms were only reported to me when the first of the phone bills came in, so the problem has been around for a while.
The server is connected to the Internet by an external serial modem and is set to gather mail every hour. The logs show that this has in fact been happening. But some other entity is causing the machine to dial constantly and to stay on line for long periods. In all over 1000 spurious calls have been made in a short period of time. A test with all the workstations shut down showed that these calls are not triggered by requests from the Windows 98 workstations but are originating at the server itself. With the modem switched off the server triggers diald at very frequent intervals and seeks the IP address 195.8.167.18 which is not known to Whois or any of the other registrar libraries. The ISP uses addresses in the range 195.8.179... so the fact that the spurious address is in the sector 195.8... is suspicious. The ISP is Business Serve who are usually ultra reliable so I guess the spurious address is an attempt to disguise the bad guys by hiding them in the trees.
Here are fragment from two diald logs...
Friday 11th January.
Fri Jan 11 14:00:00 2002 GMT: Calling site 195.8.167.18
Fri Jan 11 14:00:33 2002 GMT: Connected to site 195.8.167.18.
Fri Jan 11 14:01:43 2002 GMT: Disconnected. Call duration 70 seconds.
IP transmitted 642 bytes and received 876 bytes.
Fri Jan 11 14:26:48 2002 GMT: Calling site 195.8.167.18.
Fri Jan 11 14:27:19 2002 GMT: Connected to site 195.8.167.18.
Fri Jan 11 14:27:53 2002 GMT: Disconnected. Call duration 34 seconds.
IP transmitted 410 bytes and received 480 bytes.
Fri Jan 11 14:28:04 2002 GMT: Calling site 195.8.167.18.
Fri Jan 11 14:28:32 2002 GMT: Connected to site 195.8.167.18.
Fri Jan 11 14:29:27 2002 GMT: Disconnected. Call duration 55 seconds.
IP transmitted 0 bytes and received 0 bytes....
Today - Wednesday 6th February.
Wed Feb 6 11:26:31 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:27:28 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:28:25 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:29:22 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:30:18 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:31:16 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:32:13 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:33:10 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:34:08 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:35:05 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:36:02 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:36:59 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:37:56 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:38:53 2002 GMT: Calling site 195.8.167.18.
Wed Feb 6 11:39:51 2002 GMT: Calling site 195.8.167.18...
The Squid store log is interesting. It consists of dozens of entries of the form...
1012999142.726 SWAPOUT 00000000 200 1012999142 964804111 -1 image/gif 227/227 GET
http://e-smith.myclientsdomain.com:3128/squid-internal-static/icons/anthony-image.gifAnd includes files GET requests for...
anthony-text.gif, anthony-dirup.gif, anthony-dir.gif, anthony-link.gif, anthony-sound.gif, anthony-movie.gif, anthony-portal.gif, anthony-box.gif, anthony-unknown.gif, anthony-ps.gif, anthony-compressed.gif, anthony-tar.gif, anthony-script.gif, anthony-dvi.gif, anthony-tex.gif, anthony-xbm.gif, anthony-xpm.gif, anthony-c.gif, anthony-binhex.gif, anthony-bomb.gif, anthony-image.gif,
Does anyone know what is going on here? In particular, does anyone know what process is trigerring the dialup? If it is a control program inserted from outside the system then this would seem to be a serious vulnerability in the e-smith setup.
I asked some weeks back if the firewall functions of e-smith protect against attack via a serial modem and was told that they do. It is certainly true that nothing has penetrated onto the local network, and when the server is on line asking for 195.8.179.18 no traffic ever moves in or out except during the first split second of the connection, which is the system talking CHAP to the ISP's registration server. But something in the software currently present on the server is triggering dialups and costing my client a fortune.
We originally had a dial-up router on this installation connected to Eth1 but problems with line quality confused us into thinking that it was faulty. I will be reinstalling the router tomorrow and cleaning up the mess, so I'm confident I can get rid of the parasite and keep it out.
Any comments? If this turns out to be as serious as it looks after you have had a chance to tell me I'm and idiot and it is all my fault, I'll report it as a bug and supply the rest of the details.
Ed Form