Solved Trojan-infected spam email coming from my IP address

Status
Not open for further replies.

gescom

Posts: 22   +0
My ISP has notified me that they've received complaints of infected spam coming from my IP address, and have now cut off my internet because of it. In order for them to turn it back on, I have to fix it, then tell them what was removed. This is my office PC, so this is sort of urgent.

Malwarebytes detected a rootkit agent and said it was to be removed on reboot, but it doesn't appear to have done that.
I've tried running the GMER scan twice, but each time when it finished and I go to save the log, it freezes, so I don't have a log from that program. In the scan it quickly finds the same rootkit agent that Malwarebytes did.

I appreciate the help!
 

Attachments

  • mbam-log-2010-07-15 (15-06-28).txt
    939 bytes · Views: 4
  • DDS.txt
    11.1 KB · Views: 3
  • Attach.txt
    17.5 KB · Views: 1
Note: If you have a previous version of TDSSKiller downloaded please delete it now and download a fresh copy using the links provided below

Download TDSSKiller and save it to your Desktop.
Extract its contents to your desktop and make sure TDSSKiller.exe (the contents of the zipped file) is on the Desktop itself, not within a folder on the desktop.
Go to Start > Run (Or you can hold down your Windows key and press R) and copy and paste the following into the text field. (make sure you include the quote marks) Then press OK.

"%userprofile%\Desktop\TDSSKiller.exe" -l C:\TDSSKiller.txt -v

If it says "Hidden service detected" DO NOT type anything in. Just press Enter on your keyboard to not do anything to the file.
When it is done, a log file should be created on your C: drive called TDSSKiller.txt please copy and paste the contents of that file here.
 
TDSSKiller log:
14:05:12:875 1548 TDSS rootkit removing tool 2.3.2.2 Jun 30 2010 17:23:49
14:05:12:875 1548 ================================================================================
14:05:12:875 1548 SystemInfo:

14:05:12:875 1548 OS Version: 5.1.2600 ServicePack: 3.0
14:05:12:875 1548 Product type: Workstation
14:05:12:875 1548 ComputerName: SAMSDESKTOP
14:05:12:875 1548 UserName: Owner
14:05:12:875 1548 Windows directory: C:\WINDOWS
14:05:12:875 1548 System windows directory: C:\WINDOWS
14:05:12:875 1548 Processor architecture: Intel x86
14:05:12:875 1548 Number of processors: 2
14:05:12:875 1548 Page size: 0x1000
14:05:12:875 1548 Boot type: Normal boot
14:05:12:875 1548 ================================================================================
14:05:13:093 1548 Initialize success
14:05:13:093 1548
14:05:13:093 1548 Scanning Services ...
14:05:13:437 1548 Raw services enum returned 375 services
14:05:13:437 1548 Suspicious serv adplkxf (h: 0, b: 1)
14:05:13:437 1548
14:05:13:437 1548 Hidden service detected!
14:05:13:437 1548 Service name: adplkxf
14:05:13:437 1548 Image path:
14:05:13:453 1548 Type "delete" (without quotes) to delete it:
 
Sorry, I didn't realize it wasn't finished. How long does the TDSSKiller scan typically take? I restarted it and it's been going now for nearly 4 hours and hasn't displayed anything more past what the partial log I posted shows. And the only input I've given it is pressing <Enter> like you said. Thanks for your help!
 
That scan shouldn't be taking so long.
Let's try something else...

Please download and run the below tool named Rkill (courtesy of BleepingComputer.com) which may help allow other programs to run.

There are 4 different versions. If one of them won't run then download and try to run the other one.

Vista and Win7 users need to right click Rkill and choose Run as Administrator

You only need to get one of these to run, not all of them. You may get warnings from your antivirus about this tool, ignore them or shutdown your antivirus.

* Rkill.com
* Rkill.scr
* Rkill.pif
* Rkill.exe


  • * Double-click on the Rkill desktop icon to run the tool.
    * If using Vista or Windows 7 right-click on it and choose Run As Administrator.
    * A black DOS box will briefly flash and then disappear. This is normal and indicates the tool ran successfully.
    * If not, delete the file, then download and use the one provided in Link 2.
    * If it does not work, repeat the process and attempt to use one of the remaining links until the tool runs.
    * Do not reboot until instructed.
    * If the tool does not run from any of the links provided, please let me know.

Once you've gotten one of them to run then try to immediately run the following.

Now download and run exeHelper.


  • * Please download exeHelper from Raktor to your desktop.
    * Double-click on exeHelper.com to run the fix.
    * A black window should pop up, press any key to close once the fix is completed.
    * A log file named log.txt will be created in the directory where you ran exeHelper.com
    * Attach the log.txt file to your next message.

Note: If the window shows a message that says "Error deleting file", please re-run the program before posting a log - and post the two logs together (they will both be in the one file).

====================================================================

Please download ComboFix from Here or Here to your Desktop.

**Note: In the event you already have Combofix, this is a new version that I need you to download. It is important that it is saved directly to your desktop**
  1. Please, never rename Combofix unless instructed.
  2. Close any open browsers.
  3. Close/disable all anti virus and anti malware programs so they do not interfere with the running of ComboFix.
    • Very Important! Temporarily disable your anti-virus, script blocking and any anti-malware real-time protection before performing a scan. They can interfere with ComboFix or remove some of its embedded files which may cause "unpredictable results".
    • Click on this link to see a list of programs that should be disabled. The list is not all inclusive. If yours is not listed and you don't know how to disable it, please ask.
    NOTE1. If Combofix asks you to install Recovery Console, please allow it.
    NOTE 2. If Combofix asks you to update the program, always do so.
    • Close any open browsers.
    • WARNING: Combofix will disconnect your machine from the Internet as soon as it starts
    • Please do not attempt to re-connect your machine back to the Internet until Combofix has completely finished.
    • If there is no internet connection after running Combofix, then restart your computer to restore back your connection.
  4. Double click on combofix.exe & follow the prompts.
  5. When finished, it will produce a report for you.
  6. Please post the "C:\ComboFix.txt"
**Note: Do not mouseclick combofix's window while it's running. That may cause it to stall**

Make sure, you re-enable your security programs, when you're done with Combofix.

DO NOT make any other changes to your computer (like installing programs, using other cleaning tools, etc.), until it's officially declared clean!!!
 
Attached the logfiles. I tried disabling AVG before Combofix started, but my attempts apparently didn't work (and I couldn't find any way to do it in their interface).
 

Attachments

  • exehelperlog.txt
    414 bytes · Views: 1
  • ComboFix.txt
    12.5 KB · Views: 1
1. Please open Notepad
  • Click Start , then Run
  • Type notepad .exe in the Run Box.

2. Now copy/paste the entire content of the codebox below into the Notepad window:

Code:
File::
c:\windows\system32\drivers\adplkxf.sys
c:\windows\Bgopohekafom.dat
c:\windows\Mvubobuvogep.bin
c:\windows\system32\drivers\klmd.sys

Driver::
klmd23

DDS::
uInternet Settings,ProxyServer = 168.94.74.68:8080
uInternet Settings,ProxyOverride = 127.0.0.1;<local>


3. Save the above as CFScript.txt

4. Then drag the CFScript.txt into ComboFix.exe as depicted in the animation below. This will start ComboFix again.

CFScript.gif



5. After reboot, (in case it asks to reboot), please post the following reports/logs into your next reply:
  • Combofix.txt
 
And here is the Combofix scan using the CFScript.txt file.
 

Attachments

  • ComboFix.txt
    12.2 KB · Views: 1
Looks good :)

Uninstall Combofix:
Go Start > Run [Vista users, go Start>"Start search"]
Type in:
Combofix /Uninstall
Note the space between the "Combofix" and the "/Uninstall"
Click OK (Vista users - press Enter).
Restart computer.

===========================================================

Download OTL to your Desktop.

* Double click on the icon to run it. Make sure all other windows are closed and to let it run uninterrupted.
* Under the Custom Scan box paste this in:



netsvcs
drivers32 /all
%SYSTEMDRIVE%\*.*
%systemroot%\system32\Spool\prtprocs\w32x86\*.dll
%systemroot%\system32\*.wt
%systemroot%\system32\*.ruy
%systemroot%\Fonts\*.com
%systemroot%\Fonts\*.dll
%systemroot%\system32\spool\prtprocs\w32x86\*.tmp
%systemroot%\*. /mp /s
/md5start
/md5stop
CREATERESTOREPOINT
%systemroot%\system32\*.dll /lockedfiles
%systemroot%\Tasks\*.job /lockedfiles
%systemroot%\System32\config\*.sav
%systemroot%\system32\user32.dll /md5
%systemroot%\system32\ws2_32.dll /md5
%systemroot%\system32\ws2help.dll /md5
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\Results\Install|LastSuccessTime /rs



* Click the Quick Scan button. Do not change any settings unless otherwise told to do so. The scan wont take long.
  • When the scan completes, it will open two notepad windows: OTL.txt and Extras.txt. These are saved in the same location as OTL.
  • Please copy (Edit->Select All, Edit->Copy) the contents of these files, one at a time, and post them back here.
 
The contents of those text files were too large to paste here, so they're attached.
 

Attachments

  • OTL.Txt
    89.5 KB · Views: 1
  • Extras.Txt
    37 KB · Views: 1
Is there any reason, system restore is disabled, or you're not aware of it?

=====================================================================

Update your Java version here: http://www.java.com/en/download/installed.jsp
During installation, make sure to UN-check any pre-checked extra "garbage" installation, like Yahoo toolbar, or others.
Uninstall all previous Java versions, through Add\Remove (Programs & Features in Vista/7).

=======================================================================

Run OTL
  • Under the Custom Scans/Fixes box at the bottom, paste in the following

    Code:
    :OTL
    O4 - HKCU..\Run: [Power2GoExpress]  File not found
    O4 - HKCU..\Run: [Yahoo! Pager]  File not found
    O6 - HKLM\Software\Policies\Microsoft\Internet Explorer\Restrictions present
    O16 - DPF: Microsoft XML Parser for Java file:///C:/WINDOWS/Java/classes/xmldso.cab (Reg Error: Key error.)
    O20 - Winlogon\Notify\WRNotifier: DllName - WRLogonNTF.dll -  File not found
    [1 C:\Documents and Settings\Owner.YOUR-DC3E0B8F38\My Documents\*.tmp files -> C:\Documents and Settings\Owner.YOUR-DC3E0B8F38\My Documents\*.tmp -> ]
    
    
    :Services
    
    :Reg
    
    :Files
    
    :Commands
    [purity]
    [emptytemp]
    [emptyflash]
    [resethosts]
    [Reboot]
  • Then click the Run Fix button at the top
  • Let the program run unhindered, reboot the PC when it is done
  • You will get a log that shows the results of the fix. Please post it.
  • Open OTL again and click the Quick Scan button. Post the log it produces in your next reply.
 
This is my co-worker's computer, so I didn't know system restore was disabled.
Java is updated.
Logs are attached.
 

Attachments

  • 07162010_205525.log
    8.5 KB · Views: 1
  • OTL.Txt
    75.3 KB · Views: 1
Good :)

1. Download Temp File Cleaner (TFC)
Double click on TFC.exe to run the program.
Click on Start button to begin cleaning process.
TFC will close all running programs, and it may ask you to restart computer.


2. Go to Kaspersky website and perform an online antivirus scan.

1. Disable your active antivirus program.
2. Read through the requirements and privacy statement and click on Accept button.
3. It will start downloading and installing the scanner and virus definitions. You will be prompted to install an application from Kaspersky. Click Run.
4. When the downloads have finished, click on Settings.
5. Make sure these boxes are checked (ticked). If they are not, please tick them and click on the Save button:

  • Spyware, Adware, Dialers, and other potentially dangerous programs
    [*] Archives
    [*] Mail databases
6. Click on My Computer under Scan.
7. Once the scan is complete, it will display the results. Click on View Scan Report.
8. You will see a list of infected items there. Click on Save Report As....
9. Save this report to a convenient place. Change the Files of type to Text file (.txt) before clicking on the Save button. Then post it here.
 
OK, back from the weekend. Here's the online Kaspersky scan log.
 

Attachments

  • kaspersky.txt
    1.1 KB · Views: 1
C:\Documents and Settings\Owner.YOUR-DC3E0B8F38\Local Settings\Application Data\Microsoft\Outlook\Outlook.pst
You have one, or more bad piece of mail. Most likely, some attachment.
I don't want to yank a whole folder, so you'll have to be careful, when dealing with your mail.
Make sure to scan every single attachment before opening it.
Be careful with clicking on emails links.

Now, we need to check one file. It may be false positive.

Open Windows Explorer. Go Tools>Folder Options>View tab, put a checkmark next to Show hidden files, and folders.
Upload following files to http://www.virustotal.com/ for security check:
- C:\WINDOWS\SMINST\Recguard.exe
IMPORTANT! If the file is listed as already analyzed, click on Reanalyse file now button.
Post scan results.
 
Good. This is what I thought :)

OTL Clean-Up
Clean up with OTL:

* Double-click OTL.exe to start the program.
* Close all other programs apart from OTL as this step will require a reboot
* On the OTL main screen, press the CLEANUP button
* Say Yes to the prompt and then allow the program to reboot your computer.

If you still have any tools or logs leftover on your computer you can go ahead and delete those off of your computer now.

========================================================================

Your computer is clean

1. We need to reset system restore to prevent your computer from being accidentally reinfected by using some old restore point(s). We'll create fresh, clean restore point.

Turn off System Restore:

- Windows XP:
1. Click Start.
2. Right-click the My Computer icon, and then click Properties.
3. Click the System Restore tab.
4. Check "Turn off System Restore".
5. Click Apply.
6. When turning off System Restore, the existing restore points will be deleted. Click Yes to do this.
7. Click OK.
- Windows Vista and 7:
1. Click Start.
2. Right-click the Computer icon, and then click Properties.
3. Click on System Protection under the Tasks column on the left side
4. Click on Continue on the "User Account Control" window that pops up
5. Under the System Protection tab, find Available Disks
6. Uncheck the box for any drive you wish to disable system restore on (in most cases, drive "C:")
7. When turning off System Restore, the existing restore points will be deleted. Click "Turn System Restore Off" on the popup window to do this.
8. Click OK

2. Restart computer.

3. Turn System Restore on.

4. Make sure, Windows Updates are current.

5. If any Trojan was listed among your infection(s), make sure, you change all of your on-line important passwords (bank account(s), secured web sites, etc.) immediately!

6. Download, and install WOT (Web OF Trust): http://www.mywot.com/. It'll warn you (in most cases) about dangerous web sites.

7. Run defrag at your convenience.

8. Read How did I get infected?, With steps so it does not happen again!: http://www.bleepingcomputer.com/forums/topic2520.html

9. Please, let me know, how is your computer doing.
 
Status
Not open for further replies.
Back