Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.


Virus in my External Hard Drive

  • This topic is locked This topic is locked
5 replies to this topic

#1 ekxero


  • Members
  • 23 posts
  • Gender:Male
  • Local time:12:35 PM

Posted 20 November 2008 - 11:02 PM

I found a virus in my 2 GB flash drive, which became infected when I plugged it into my laptop computer, which then spread to my desktop computer, and which then also spread to my other external hard drives. I'm doing my best using Ad-Aware, Spybot SD, & BitDefender in cleaning out both computers, which is working I believe for the most part.

The problem I'm having is disinfecting and deleting the viruses, particularly "autorun.inf" & "abk.bat" off the hard drives. When I scan the drive with Spybot, it doesn't say that they are viruses, but as soon as I open the drive or something like that, BitDefender immediately detects a virus trojan of some sort. When I tried formatting everything, the 2 files autorun.inf & abk.bat, remained hidden within the drive.

How can I remove these pesky files once and for all?

{Mod Edit:Moving from External Hdwr to Am I Infected~~boopme}

Edited by boopme, 20 November 2008 - 11:12 PM.

If ignorance is bliss, then knock the smile off my face.

BC AdBot (Login to Remove)


#2 Zllio


  • Members
  • 1,107 posts
  • Local time:12:35 PM

Posted 21 November 2008 - 08:53 AM

Hi ekxero,

See if this helps for information: http://www.sophos.com/security/analyses/vi...l?_log_from=rss

Whichever software removes it from your drives, you need to see if you can have it removed from the flash drive by the same means, so when you run a scan to remove it, you need to have your flashdrive in the computer you are trying to disinfect. It will help to keep copies of your logs and make sure they are not overwritten.

SDFix has some capabilities of getting rid of rootkits, so please do the following:

Begin by clearing your temporary files, logs, cookies, etc. using CCleaner. Please note: CCleaner is a powerful tool which removes things permanently. It is recommended for cleaning your computer using the default setting "Run Cleaner", but with regard to all of its other features, it should be used with a good knowledge of computers or with advice from someone who has a good knowledge of computers.

To download and install CCleaner,please go to CCleaner

Once installed, double click on the broom with the C around it on the desktop and select the "Run Cleaner" button in the lower right-hand corner. Confirm that it should permanently remove files and allow it to run. This will prevent temporary files from reinfecting your computer. It will delete all your history, so if you use your history, uncheck this option. In the long run it is better to use bookmarks.

Then run the following application which is specifically made for flash drives. When you finish with it, leave it in your computer while you run the further scans below.

After you've run CCleaner and the flash drive application, please install and run the following program:When Spybot is finished, please continue with MalwareBytes and finally with SDFix. Below are the instructions for each of these:

Please download Malwarebytes Anti-Malware and save it to your desktop.
  • Make sure you are connected to the Internet.
  • Double-click on mbam-setup.exe to install the application.
  • When the installation begins, follow the prompts and do not make any changes to default settings.
  • When installation has finished, make sure you leave both of these checked:
    • Update Malwarebytes' Anti-Malware
    • Launch Malwarebytes' Anti-Malware
  • Then click Finish.
  • MBAM will automatically start and you will be asked to update the program before performing a scan. If an update is found, the program will automatically update itself. Press the OK button to close that box and continue. If you encounter any problems while downloading the updates, manually download them from here and just double-click on mbam-rules.exe to install.
  • On the Scanner tab:
    • Make sure the "Perform Quick Scan" option is selected.
    • Then click on the Scan button.
  • If asked to select the drives to scan, leave all the drives selected and click on the Start Scan button.
  • The scan will begin and "Scan in progress" will show at the top. It may take some time to complete so please be patient.
  • When the scan is finished, a message box will say "The scan completed successfully. Click 'Show Results' to display all objects found".
  • Click OK to close the message box and continue with the removal process.
  • Back at the main Scanner screen, click on the Show Results button to see a list of any malware that was found.
  • Make sure that everything is checked, and click Remove Selected.
  • When removal is completed, a log report will open in Notepad.
  • The log is automatically saved and can be viewed by clicking the Logs tab in MBAM.
  • Copy and paste the contents of that report in your next reply and exit MBAM.
Note: If MBAM encounters a file that is difficult to remove, you may be asked to reboot your computer so it can proceed with the disinfection process. Regardless if prompted to restart the computer or not, please do so immediately. Failure to reboot normally (not into safe mode) will prevent MBAM from removing all the malware. MBAM may make changes to your registry as part of its disinfection routine. If you're using other security programs that detect registry changes, they may alert you after scanning with MBAM. Please permit the program to allow the changes.


Please print out and follow these instructions: "How to use SDFix". <- This program is for Windows 2000/XP ONLY.
When using this tool, you must use the Administrator's account or an account with "Administrative rights"
  • Disconnect from the Internet and temporarily disable your anti-virus, script blocking and any real time protection programs before performing a scan.
  • When done, the SDFix report log will open in notepad and automatically be saved in the SDFix folder as Report.txt.
  • If SDFix is unable to run after rebooting from Safe Mode, run SDFix in either Mode, and type F, then press Enter for it to finish the final stage and produce the report.
  • Please copy and paste the contents of Report.txt in your next reply.
  • Be sure to renable you anti-virus and and other security programs before connecting to the Internet.
-- If the computer has been infected with the VirusAlert! malware warning from the clock and the Start Menu icons or drives are not visible, open the SDFix folder, right-click on either the XP_VirusAlert_Repair.inf or W2K VirusAlert_Repair.inf (depending on your version of Windows) and select Install from the Context menu. Then reboot to apply the changes.

When you finish with the above, please post the last two logs here.

#3 Michael-Anthony


  • Banned
  • 267 posts
  • Gender:Male
  • Local time:11:35 AM

Posted 21 November 2008 - 11:44 PM

if you have already formatted, you really dont care about the data on the drive.

Go to Ubuntu.com and get whichever version fits your hardware, burn it to disk, and restart, boot from cd, choose your language, and select the "try it out without changing your system" option.

once booted into ubuntu, do the following.

insert your flash drive

open terminal

once in terminal, you need to find out the hdw location of the flash drive.

sudo su
hit enter

then type

fdisk -l

and hit enter.

This will list all media mounted in linux. Find your device, !!NOT YOUR HARDDRIVE!! and remember the "/dev/sdx" where x is a letter for the media mounted.

now that you know the hardware location of your flash drive... you want to issue a command to write nothing but zeros to the drive.

Warning! The following instructions may totally erase all data on your system if not issued correctly. If you are unsure about this whole process, stop reading now, and return to the other method you were using. The following instructions are to be followed AT YOUR OWN RISK, and you assume ALL LIABILITY for ANY reprocussions that result because of these instructions.

now that that's taken care of...
dd if=/dev/zero of=/dev/sdx

where /dev/sdx is the hardware location of your flash drive.

If done correctly, you should now have a flashdrive that needs to be formatted.

issue these commands
umount /dev/sdx

the first part unmounts the usb stick.

the second part opens the partition editor..

With this you can repartition the flash drive as you see fit.

Just remember in the uppper right hand side of gparted is your disk selector.

Hope this helps! :thumbsup:

#4 ekxero

  • Topic Starter

  • Members
  • 23 posts
  • Gender:Male
  • Local time:12:35 PM

Posted 25 November 2008 - 03:34 PM

Hello Zllio,

I ran CCleaner, Malwarebytes Anti-Malware, & SDFix, but I could not get SpyBot - S&D installed properly on my desktop computer. Here's the logs you asked for.

Malwarebytes' Anti-Malware 1.30
Database version: 1423
Windows 5.1.2600 Service Pack 3

11/25/2008 11:43:59 AM
mbam-log-2008-11-25 (11-43-59).txt

Scan type: Quick Scan
Objects scanned: 45577
Time elapsed: 3 minute(s), 32 second(s)

Memory Processes Infected: 0
Memory Modules Infected: 0
Registry Keys Infected: 0
Registry Values Infected: 1
Registry Data Items Infected: 1
Folders Infected: 0
Files Infected: 2

Memory Processes Infected:
(No malicious items detected)

Memory Modules Infected:
(No malicious items detected)

Registry Keys Infected:
(No malicious items detected)

Registry Values Infected:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\kamsoft (Trojan.FakeAlert.H) -> Quarantined and deleted successfully.

Registry Data Items Infected:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced\Folder\Hidden\SHOWALL\CheckedValue (Hijack.System.Hidden) -> Bad: (0) Good: (1) -> Quarantined and deleted successfully.

Folders Infected:
(No malicious items detected)

Files Infected:
C:\WINDOWS\system32\kamsoft.exe (Trojan.FakeAlert.H) -> Quarantined and deleted successfully.
C:\yannh.cmd (Trojan.Agent) -> Quarantined and deleted successfully.


SDFix: Version 1.240
Run by Administrator on Tue 11/25/2008 at 03:10 PM

Microsoft Windows XP [Version 5.1.2600]
Running From: C:\SDFix

Checking Services :

Restoring Default Security Values
Restoring Default Hosts File


Checking Files :

Trojan Files Found:

C:\autorun.inf - Deleted

Removing Temp Files

ADS Check :

Final Check :

catchme 0.3.1361.2 W2K/XP/Vista - rootkit/stealth malware detector by Gmer, http://www.gmer.net
Rootkit scan 2008-11-25 15:14:27
Windows 5.1.2600 Service Pack 3 NTFS

scanning hidden processes ...

scanning hidden services & system hive ...


"p0"="C:\Program Files\DAEMON Tools\"



"p0"="C:\Program Files\DAEMON Tools\"



"p0"="C:\Program Files\DAEMON Tools\"




scanning hidden registry entries ...

scanning hidden files ...

scan completed successfully
hidden processes: 0
hidden services: 0
hidden files: 0

Remaining Services :

Authorized Application Key Export:

"C:\\Program Files\\uTorrent\\uTorrent.exe"="C:\\Program Files\\uTorrent\\uTorrent.exe:*:Enabled:ęTorrent"
"F:\\Program Files\\Aim 5.2.328\\aim.exe"="F:\\Program Files\\Aim 5.2.328\\aim.exe:*:Enabled:AOL Instant Messenger"
"C:9\\Program Files\\iTunes\\iTunes.exe"="C:9\\Program Files\\iTunes\\iTunes.exe:*:Disabled:iTunes.exe"
"C:\\Team17\\Worms Armageddon\\wa.exe"="C:\\Team17\\Worms Armageddon\\wa.exe:*:Enabled:Worms Armageddon"
"%windir%\\Network Diagnostic\\xpnetdiag.exe"="%windir%\\Network Diagnostic\\xpnetdiag.exe:*:Enabled:@xpsp3res.dll,-20000"

"%windir%\\Network Diagnostic\\xpnetdiag.exe"="%windir%\\Network Diagnostic\\xpnetdiag.exe:*:Enabled:@xpsp3res.dll,-20000"

Remaining Files :

File Backups: - C:\SDFix\backups\backups.zip

Files with Hidden Attributes :

Fri 21 Nov 2008 85,504 ..SHR --- "C:\WINDOWS\system32\gasretyw1.dll"
Tue 9 Sep 2008 444 ...HR --- "C:\Documents and Settings\User\Application Data\SecuROM\UserData\securom_v7_01.bak"
Thu 7 Dec 2006 3,096,576 A..H. --- "C:\Documents and Settings\User\Application Data\U3\temp\Launchpad Removal.exe"


However, my flash drive still seems to have the files abk.bat & autorun.inf when I scan it with Spybot S&D on my laptop. I left all the external devices plugged in when using CCleaner, Malwarebytes Anti-Malware, & SDFix.
If ignorance is bliss, then knock the smile off my face.

#5 Zllio


  • Members
  • 1,107 posts
  • Local time:12:35 PM

Posted 30 November 2008 - 11:19 AM

Hi ekzero,

Michael-Anthony's instructions offer a different solution. I don't know if you've tried them. They are oriented towards achieving a clean reformat.

The below instructions would be a continuation on cleaning without further reformatting:

You have at least one file C:\WINDOWS\system32\gasretyw1.dll that points at infections in your computer. In order to remove this particular infection, I recommend continuing with the instructions in This Topic

Since you've already completed the initial steps in "This Topic", it won't take that much longer to do the online scans and finish up the rest that are listed so you can post a complete set of logs (including the ones you posted for me) in the HJT and Malware Removal Forum.


#6 Orange Blossom

Orange Blossom

    OBleepin Investigator

  • Moderator
  • 36,994 posts
  • Gender:Not Telling
  • Location:Bloomington, IN
  • Local time:12:35 PM

Posted 17 December 2008 - 12:27 AM

Hello ekxero,

Now that your log is posted here: http://www.bleepingcomputer.com/forums/t/187092/infected-with-gasretyw1dll-kamsoftexe/ you should NOT make further changes to your computer (install/uninstall programs, use special fix tools, delete files, edit the registry, etc) unless advised by a HJT Team member, nor should you continue to ask for help elsewhere. Doing so can result in system changes which may not show in the log you already posted. Further, any modifications you make on your own may cause confusion for the helper assisting you and could complicate the malware removal process which would extend the time it takes to clean your computer.

From this point on the HJT Team should be the only members that you take advice from, until they have verified your log as clean.

Please be patient. It may take a while to get a response because the HJT Team members are EXTREMELY busy working logs posted before yours. They are volunteers who will help you out as soon as possible. Once you have made your post and are waiting, please DO NOT make another reply until it has been responded to by a member of the HJT Team. Generally the staff checks the forum for postings that have 0 replies as this makes it easier for them to identify those who have not been helped. If you post another response there will be 1 reply. A team member, looking for a new log to work may assume another HJT Team member is already assisting you and not open the thread to respond.

If after 5 days you still have received no response, then post a link to your HJT log in the thread titled "Haven't Had A Reply In Five Days?".

To avoid confusion, I am closing this topic. Good luck with your log.

Orange Blossom :thumbsup:
Help us help you. If HelpBot replies, you MUST follow step 1 in its reply so we know you need help.

Orange Blossom

An ounce of prevention is worth a pound of cure

SpywareBlaster, WinPatrol Plus, ESET Smart Security, Malwarebytes' Anti-Malware, NoScript Firefox ext., Norton noscript

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users