Koozali.org: home of the SME Server

what log's should I check for conficker activity

Offline mazkot

  • ***
  • 59
  • +0/-0
what log's should I check for conficker activity
« on: May 04, 2009, 10:17:41 AM »
Hi,

One of our remote sites had 3 pcs affected with conficker via USB.

It has an SME 7.4 running as
-DHCP Server
-File Server
-Proxy server
Installed
-Dansguardian

Aside from dansguardian, squid and qpsmtp logs.

What logs should also check?

we already disable all usb ports for added security.

thanks

Offline jester

  • *
  • 496
  • +1/-0
Re: what log's should I check for conficker activity
« Reply #1 on: May 04, 2009, 12:13:30 PM »
Don't know about the logs, but if you download Nmap you can scan your network for infected pc's (see the Conficker announcement on the frontpage for info).

HTH.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: what log's should I check for conficker activity
« Reply #2 on: May 04, 2009, 12:33:08 PM »
Don't know about the logs, but if you download Nmap you can scan your network for infected pc's (see the Conficker announcement on the frontpage for info).
HTH.

Go to the command line of your SME server and type:
Code: [Select]
[root@mysmeserver~]# nmapIt is already installed on SME.

Also check the manpages:
Code: [Select]
[root@mysmeserver ~]# man nmap
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline jester

  • *
  • 496
  • +1/-0
Re: what log's should I check for conficker activity
« Reply #3 on: May 04, 2009, 03:09:52 PM »
Hmmm... I don't think Nmap is installed in SME by default.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: what log's should I check for conficker activity
« Reply #4 on: May 04, 2009, 07:07:50 PM »
Hmmm... I don't think Nmap is installed in SME by default.

You are correct, you need to install with yum from the Base repository:
Code: [Select]
[root@test8 ~]# yum list available | grep nmap
nmap.i386                                2:4.11-1.1                   base     
nmap-frontend.i386                       2:4.11-1.1                   base     
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: what log's should I check for conficker activity
« Reply #5 on: May 04, 2009, 09:14:44 PM »
You are correct, you need to install with yum from the Base repository:
Code: [Select]
[root@test8 ~]# yum list available | grep nmap
nmap.i386                                2:4.11-1.1                   base     
nmap-frontend.i386                       2:4.11-1.1                   base     

mmmhhh... Chris.. you are showing the available version for SME8, aren't you?

because on a server of mine (SME 7.4) I see:

Code: [Select]
[root@e-smith ~]# yum list available | grep nmap
nmap.i386                                2:3.70-1               base           
nmap-frontend.i386                       2:3.70-1               base   

Ciao
Stefano

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: what log's should I check for conficker activity
« Reply #6 on: May 04, 2009, 09:27:02 PM »
Hmmm... I don't think Nmap is installed in SME by default.
True AFAIK namp is not part of the base installation. You can however install it like this:
Code: [Select]
yum install nmap
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: what log's should I check for conficker activity
« Reply #7 on: May 05, 2009, 02:37:27 AM »
chris burnat & others

What's the point of installing nmap on sme re the conficker virus ?

From what I read conficker is a Windows virus attacking specific vulnerabilities in Windows OS's. Surely it's the Windows PC that needs virus software installed.
See
http://en.wikipedia.org/wiki/Conficker
and many other sites
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: what log's should I check for conficker activity
« Reply #8 on: May 05, 2009, 04:18:29 AM »
chris burnat & others

What's the point of installing nmap on sme re the conficker virus ?

From what I read conficker is a Windows virus attacking specific vulnerabilities in Windows OS's. Surely it's the Windows PC that needs virus software installed.
See
http://en.wikipedia.org/wiki/Conficker
and many other sites

nmap is not a virus software, but I am sure you know this.  With nmap, one can scan remote machines and check which ports are open.  Checking what is happening with ports on a network is good practice.  For example, checking workstations by o/s and keeping a records of nmap output can be very useful if and when strange happenings take place. Having nmap on SME is thus a good idea.  Mind you, the version shipped from the Base repo is a bit old, it does not appear to support the --script argument for example.  An update would not go astray, I have not looked into this yet.


- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: what log's should I check for conficker activity
« Reply #9 on: May 05, 2009, 04:36:02 AM »
As an illustration, I just installed latest nmap (4.85beta) on sme8:
Code: [Select]
[root@test8 ~]# rpm -vhU http://nmap.org/dist/nmap-4.85BETA8-1.i386.rpm
Retrieving http://nmap.org/dist/nmap-4.85BETA8-1.i386.rpm
Preparing...                ########################################### [100%]
   1:nmap                   ########################################### [100%]

And tested for conficker on a WINXP workstation on the network - not done yet for 7.4:

Code: [Select]
[root@test8 ~]# nmap -PN -T4 -p139,445 -n -v --script smb-check-vulns,smb-os-discovery --script-args safe=1 192.168.0.6

Starting Nmap 4.85BETA8 ( http://nmap.org ) at 2009-05-05 12:28 EST
NSE: Loaded 2 scripts for scanning.
Initiating ARP Ping Scan at 12:28
Scanning 192.168.0.6 [1 port]
Completed ARP Ping Scan at 12:28, 0.01s elapsed (1 total hosts)
Initiating SYN Stealth Scan at 12:28
Scanning 192.168.0.6 [2 ports]
Discovered open port 445/tcp on 192.168.0.6
Discovered open port 139/tcp on 192.168.0.6
Completed SYN Stealth Scan at 12:28, 0.01s elapsed (2 total ports)
NSE: Script scanning 192.168.0.6.
NSE: Starting runlevel 1 scan
Initiating NSE at 12:28
Completed NSE at 12:28, 0.09s elapsed
NSE: Starting runlevel 2 scan
Initiating NSE at 12:28
Completed NSE at 12:28, 0.17s elapsed
NSE: Script Scanning completed.
Host 192.168.0.6 is up (0.00071s latency).
Interesting ports on 192.168.0.6:
PORT    STATE SERVICE
139/tcp open  netbios-ssn
445/tcp open  microsoft-ds
MAC Address: 00:11:11:24:F9:5B (Intel)

Host script results:
|  smb-os-discovery: Windows XP
|  LAN Manager: Windows 2000 LAN Manager
|  Name: ROZELLE\DAW
|_ System time: 2009-05-05 12:28:44 UTC+10
|  smb-check-vulns: 
|  MS08-067: Check disabled (remove 'safe=1' argument to run)
|  Conficker: Likely CLEAN
|_ regsvc DoS: Check disabled (add --script-args=unsafe=1 to run)

Read data files from: /usr/share/nmap
Nmap done: 1 IP address (1 host up) scanned in 0.80 seconds
           Raw packets sent: 3 (130B) | Rcvd: 3 (130B)


- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: what log's should I check for conficker activity
« Reply #10 on: May 05, 2009, 06:59:32 AM »
chris burnat

OK I see the point now. Thanks for the "pointers".
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: what log's should I check for conficker activity
« Reply #11 on: May 05, 2009, 04:29:57 PM »
Checking what is happening with ports on a network is good practice.

Perhaps it is, but so is handwashing.

Does nmap detect conficker activity? If so, which version, and how must it be used to do so?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: what log's should I check for conficker activity
« Reply #12 on: May 05, 2009, 07:02:34 PM »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: what log's should I check for conficker activity
« Reply #13 on: May 05, 2009, 07:25:38 PM »
Does nmap detect conficker activity?

And even if it can, are there easier ways for folk to detect and clean infected Windows boxen?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: what log's should I check for conficker activity
« Reply #14 on: May 05, 2009, 07:39:15 PM »
Charlie

Here's one proprietary brand, with a link to download a Removal tool
http://www.symantec.com/norton/support/kb/web_view.jsp?wv_type=public_web&docurl=20090331164714EN&selected_nav=partner

I'm sure other AVs have their versions of removal tools.

Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.