I have some problems with usb all of my folders are manipulated i found this is due to usb virus, i want to know the perfect usb scanner which avoids this kind of virus. Yesterday i cleaned up the whole operating system.

Dani AI

Generated

A few focused steps to recover an infected USB and avoid repeating earlier general advice from and the AV points from .

Start from a known-clean computer (or boot a Linux live session). Do not double-click files or shortcuts on the removable drive. Copy any visible personal data to a safe folder on the clean machine before making changes.

To reveal files that the malware marked hidden/system, open an elevated command prompt and run (replace X: with the USB drive letter):

attrib -s -h -r X:\*.* /s /d

That uncovers files and folders the malware hid. After that, inspect the drive manually. Remove obvious malicious shortcuts and unknown executables without opening them. For example, to remove shortcut files created by some USB malware:

del X:\*.lnk /s

Only delete files you are sure are malicious. If in doubt, copy suspicious files to a quarantine folder on the clean PC and scan them there with multiple up-to-date scanners (or submit samples to an online multi-engine service).

Once user files are recovered and scanned, create rescue media and run an offline scan (bootable rescue environment) to check for deeper infections. If the USB will be reused, reformat it after verifying that the copied files are clean, then copy the scanned files back.

Precautions: keep regular backups, avoid executing items straight from removable media, and use a separate, hardened machine for scanning unknown drives. If important files are missing even after the attrib step, stop using the drive and consider professional data-recovery help before formatting.

Recommended Answers

All 2 Replies

Hi, I'm assuming you mean a virus infected your PC from a USB device.

1. Prevention
If that's so, one common means is from Autorun, introduced in Windows XP.

The most basic means of protection is to disable Autorun completely.

Just search 'disable autorun' and find instructions suitable for your OS. There are also various 3rd party tweak tools that will do this for you.

A convenient means is provided here:

Alternatively, you may prefer to dsiable it selectively, retaining it for CDs, DVDs, say.

2. Scan.
Well, I guess here you mean 'what's a good AV program'?
Avira AV has a high detection rate, the manual scan is a bit awkward to set up if you wanted to scan a particular drive. It does produce some false positives. MS Security Essentials is worth a look.

Hope that helps.

Member Avatar for Member #361407

I agree, but for the AV, I like my system.

I use Avira free and Comodo Firewall, Avira free does have an ad and I will post my script that blocks them later.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.