I thought about firewalling the pcs, but wasnt sure what ports should be left open to allow normal operation and block the spread of the virus.
I use this script currently on startup to help clean pcs + fix broken services - hope its of some use to others
Code:
set server=YOURSERVER
set share=YOURSHARE
rem Stop Server service so that infection doesnt happen while we turn off sophos
sc config browser start= disabled
net stop browser /y
sc config lanmanserver start= disabled
net stop lanmanserver /y
rem Fix Windows update services
sc sdset bits "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
sc sdset wuauserv "D:(A;;CCLCSWRPWPDTLOCRRC;;;SY)(A;;CCDCLCSWRPWPDTLOCRSDRCWDWO;;;BA)(A;;CCLCSWLOCRRC;;;AU)(A;;CCLCSWRPWPDTLOCRRC;;;PU)"
rem Check Essential Services are set correctly and running
sc config wuauserv start= auto
net start "automatic updates"
sc config bits start= demand
sc config dhcp start= auto
net start "dhcp client"
sc config dnscache start= auto
net start "dns client"
sc config eventlog start= auto
net start "event log"
sc config audiosrv start= auto
net start "windows audio"
sc config w32time start= auto
net start "windows time"
sc config lanmanworkstation start= auto
net start "workstation"
sc config wscsvc start= auto
net start wscsvc
sc config ERSvc start= auto
net start ERSvc
rem disable task scheduler while we clean up
sc config schedule start= disabled
net stop "task scheduler"
AT /Delete /Yes
rem Disabling "AutoPlay"
reg.exe add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer /v NoDriveTypeAuto /t REG_DWORD /d 0xff /f
rem Turn off sophos on-access scanning so it will let us remove the virus via symantecs scanner
sc config savservice start= disabled
net stop savservice
rem Scan/patch PC for cleanup
rem KB
\\%SERVER%\%SHARE%\con-patch-xp.exe /quiet /norestart
rem MS malicious software removal tool (quite/silent mode)
\\%SERVER%\%SHARE%\mrt-june09.exe /q
rem Symantec conficker scanner
\\%SERVER%\%SHARE%\FixDwndp.exe /SILENT /LOG=c:\%computername%_%username%_logFixDownadup.txt
rem Turn on Sohpos, renable Server service, enable task scheduler
sc config savservice start= auto
net start savservice
sc config browser start= auto
net start browser
sc config lanmanserver start= auto
net start lanmanserver
sc config schedule start= auto
net start schedule
You can check if sophos is installed with this too and make it install if your having problems with your enterprise console.
Code:
@ECHO OFF
REM --- Check for an existing installation of Sophos AutoUpdate
if exist "C:\Program Files\Sophos\AutoUpdate\ALsvc.exe" goto _End
REM --- Deploy to Windows 2000/XP/2003
\\sophosserver\InterChk\ESXP\Setup.exe -updp "\\sohposserver\InterChk\ESXP" -user "yourdomain\administrator" -pwd "your password" -mng yes
REM --- End of the script
:_End
After this you can do a full sophos scan to try and catch anything thats missed. This combination has helped me clean things up, but im still getting some reinfections.
You can also roll these scripts out using psexec remotely - however this dosent always work as some pcs become unreachable over the network, probably due to service termination - mstsc into this machines to install manually.