Lifehacker

  • Lifehacker
  • mac-os-x
  • windows
  • linux
  • gizmodo
Profile logout login
Five Best Password Managers

Five Best Password Managers #hivefive #passwordmanagers

Top 10 Things You Didn't Know Google Maps Could Do

Top 10 Things You Didn't Know Google Maps Could Do #lifehackertop10 #googlemaps

Control Your Desktop PC with a Remote Using LIRC

Control Your Desktop PC with a Remote Using LIRC #remotecontrol #howto

Use Virtual Desktops to Create Instant Focus

Use Virtual Desktops to Create Instant Focus #focus #virtualdesktops

USB Safeguard Encrypts Portable Flash Drives, Securely Deletes Files

USB Safeguard Encrypts Portable Flash Drives, Securely Deletes Files #downloads #encryption

Thwart Antivirus-Crippling Malware by Changing File Extensions

Thwart Antivirus-Crippling Malware by Changing File Extensions #annoyances #antivirus

The Best Improvements in Ubuntu 10.04 Lucid Lynx

The Best Improvements in Ubuntu 10.04 Lucid Lynx #operatingsystems #ubuntu1004

Lifehacker

FAQ. Include # before tag:
#openthread, #tips, #howto, #dealhacker, #diy, etc.

Los Angeles, 11:47 PM
Sun May 2
8 posts in the last 24 hours

AU | JP


Please enter your email address.
Please enter a valid email address.
sending request
Suggest a post:


LIFEHACKER TEAM

Editor-in-Chief:
Adam Pash
| AIM | Twitter

Contributing Editor:
Kevin Purdy
| AIM | Twitter

Senior Writer:
Jason Fitzpatrick
| Twitter

Contributors:
Lowell Heddings
| Twitter
Whitson Gordon
| Twitter

Founding Editor:
Gina Trapani | Twitter

Intern:
Lauren Pon

Contributing Copy Editor: Dustin Luck


Catch up on the best of Lifehacker with Lifehacker Random

Follow Lifehacker on:
Twitter
Facebook

Lifehacker Shop

Google Wave
Buy our new book!
The Complete Guide to Google Wave Upgrade Your Life
Buy our new book!
Upgrade Your Life
The Next iPhone.
A Gizmodo Exclusive.

SUBSCRIBE TO LIFEHACKER RSS



Please confirm your birth date:

Please enter a valid date
Please enter your full birth year
This content is restricted.

How Do You Know If Your Download Really Has a Virus?

How Do You Know If Your Download Really Has a Virus?Antivirus and anti-malware apps fill an important need on our computers, but they're not foolproof (*ahem*, McAfee). More often than you'd think, they're just plain wrong. Here's what to do when you're not sure whether a download has a virus.

Photo by Daquella manera.

On a regular basis, we get email from readers saying that some download we posted contains a virus, and we assure them that said download is clean. (Over the past five years, our track record in this arena is next to spotless.) So how do you know if a download really has a virus or not?

There's no exact science when it comes to figuring out if a file has a virus or is just being detected as a false positive, but today we'll share a little background and some tips that will help you figure out whether a file really contains a virus or not.

What Is a False Positive Exactly?

How Do You Know If Your Download Really Has a Virus?A false positive is when your virus scanner detects a file as a virus, even when it really isn't a virus, and then tries to quarantine or delete that file. If you've read about the recent McAfee fiasco, you'll begin to see the problem—they released a virus definition update that detected internal Windows files as a false positive, deleted them, and then suddenly Windows couldn't boot anymore. Antivirus software is not perfect.

Some virus scanners also employ an additional line of defense called heuristic analysis, which attempts to identify new forms of malware right away by scanning for smaller sections of code that might indicate some bad behavior, even if the virus has never been detected before. Unfortunately, because this method is not exact, it also will detect a lot of files as viruses incorrectly.

Use VirusTotal to Check for False Positives

Whenever there's a possibility that a file you've downloaded might contain a virus, the first thing you should do is upload it to online virus scanning service VirusTotal, which instantly scans the file against 40 different antivirus engines at the same time, and gives you the results.

You can use the VirusTotal Uploader to instantly scan any file via your right-click context menu. (We'd highly recommend installing this small utility.) VirusTotal Uploader will upload any file you choose directly to the VirusTotal web site and run the scan without you having to hassle with annoying web upload forms. Even better, most of the time you don't even have to wait for the file to upload, since before uploading, the app checks your file's hash (a unique identifier, sort of like a fingerprint for files) against their database, so if they've already checked that file, you'll get instant results.
How Do You Know If Your Download Really Has a Virus?

You'll sometimes find that files are caught as viruses by just a single virus scanner out of the 40, which is a good sign that you're dealing with a false positive from one of the more aggressive virus scanners. It should be noted that VirusTotal is not a replacement for using your favorite antivirus application, which offers real-time protection against a variety of attack vectors—but it is a strong supplement.

AutoHotkey and Overly Aggressive Virus Scanners

We're huge fans of the AutoHotkey scripting language around here, because it helps you simplify your life by turning any action into a hotkey. Many of the small utilities that we link to, like our own Lifehacker Code projects, are also written in AutoHotkey, or are provided as both a script and a compiled version.

Since the AutoHotkey language provides the ability to monitor keystrokes and mouse movements, it is often detected by heuristic virus scanners incorrectly as a keylogger or trojan—because those are the same type of internal Windows functions that a trojan might take advantage of to steal your password. This doesn't mean that the file necessarily has a virus.

How Do You Know If Your Download Really Has a Virus?

The great thing about most AutoHotkey applications that we link to is that the source code is usually provided, so you can just open up the .ahk file yourself and see what exactly is going on. In fact, if you have AutoHotkey installed, you can run any .ahk file instead of the provided executable file.

Ask the Developer

You'd be surprised to find out just how easy it is to get in touch with some developers. People email us all the time asking about the false-positive AutoHotkey apps we host on the site, and we do our best to reply. Other developers—who aren't also sorting through hundreds of other tips emails every day—are probably even easier to get a hold of, and if they're legit, they care a great deal about what antivirus apps are saying about their software and will do whatever it takes to help. Again, you shouldn't necessarily trust everything said developer has to say, but if a developer is easy to contact, chances are they're making legit apps. It's the developers who are impossible to get a hold of (because it's in their best interest not to be found) that are a little more worrisome.

Use Your Judgment

If your antivirus software is telling you that a file contains a virus, you shouldn't blindly assume that you're dealing with a false positive; use that opportunity to ask yourself if you really need to install that application. If you do, make sure to check with VirusTotal first, make sure the download is from a reputable place, and then make that judgment call on your own.


So what about you? What do you do when a file is detected as a virus? Share your thoughts in the comments.


The How-To Geek prefers his AutoHotkey scripts in source code form. His geeky articles can be found daily here on Lifehacker, How-To Geek, and Twitter.


Send an email to How-To Geek, the author of this post, at lowell@lifehacker.com.

Get more stories like this in your inbox by signing up for the daily Newsletter here.

Upload an image | Add an image URL ×
×
×
Choose a file to upload:
×
Attribute comment to:
Please enter an email address.
Please enter a valid email address.
Dsmvwl  Admin  Promote to frontpage Approve user Ban user ×
Loading comments ... -/|\
Earlier discussions Paging in progress... | Other discussions | Show all discussions | Show featured discussions only | Expand all replies Collapse all replies
Start a new discussion
By The How-To Geek
Email this
Apr 22, 2010 09:00 AM 90,122 views on this post, 17,926 new visitors90,122 137
Edit » Set to Draft » Invite » Syndicate »

Syndicate this post


Site:
Mode:

sending request
cancel
more about #security
Five Best Password Managers
Best Password Manager?
USB Safeguard Encrypts Portable Flash Drives, Securely Deletes Files
read more: #antivirus, #security, #antivirus, #viruskillers, #privacy, #malware, #virus, #howto, #feature, #top, #gizmodo
add #security to my Fusion
 
  • Archives
  • About
  • Advertising
  • Legal
  • Help
  • Report a Bug
  • FAQ
Original material is licensed under a Creative Commons License permitting non-commercial sharing with attribution.

Login

Enter your username and password.

Please enter a username.
Please enter your password.
logging in
Login via Facebook | Sign Up | Forgot Password?

Reset Password

Please enter your email address to have your password reset.

Please enter your email address.
Please enter a valid email address.
requesting password reset

Register

Registering will give you a user profile and the ability to add other users as friends. To become a commenter, however, you need to audition.

Want to know more? Consult the Comment FAQ and legal terms.

Please enter a username.
Please enter a password.
Please confirm your password.
Passwords are not identical.
Please enter a valid email address.
registration sent, waiting for reply

Register

One last thing!

While we don't require an email address to sign up, consider adding one to your account. This will give you the ability to reset a lost or stolen password.

Please enter a valid email address.
registration sent, waiting for reply

Submit Your Comment

You don't need to login to comment. Just enter your email address below.

See how your address will be displayed in the Comment FAQ.

Please enter a valid email address.
Please enter a valid email address.
logging in

Login with your Facebook or Lifehacker account.

Sign up here.



Send An Invitation

To invite commenters to this page, paste in a list of comma-separated email addresses, and then select send invites.

Please enter at least one email address.
Please use valid email addresses.
Please use unique email addresses.
Please enter fewer addresses.
requesting invites

Send a link

Send a link to this post 'How Do You Know If Your Download Really Has a Virus?' via email:

Please enter your name.
Please enter your email address.
Please enter a valid email address.
Please enter your recipient's email address.
Please enter a valid email address.
Please enter your message.
Sending message