Can you get a virus from downloading a .avi file? (say from torrent)

link|improve this question

36% accept rate
feedback

8 Answers

Yes.

See my answer here.

http://superuser.com/questions/22271/is-it-possible-to-spread-virus-through-online-embedded-video/22272#22272

link|improve this answer
its possible, but not common rigth? – user3183 Aug 19 '09 at 1:26
Correct, it's possible but not that common. There were a lot of AVI virus's floating around a few years ago. But as soon as the AV companies started catching them they mostly went away. – mrdenny Aug 19 '09 at 3:36
I use vlan to view, and never have to get a codec to view it. – user3183 Aug 19 '09 at 23:04
1  
@user3183 VideoLAN uses it's own codecs internally. There is nothing stopping one of its own codecs from having an error that a malicious virus writer could exploit. – GAThrawn Jan 5 '11 at 12:08
feedback

I won't say it's impossible, but it would be difficult. The virus writer would have to craft the AVI to trigger a bug in your media player, and then somehow exploit that to run code on your operating system -- without knowing what media player or OS you are running. If you keep your software up to date, and/or if you run something other than Windows Media Player or iTunes (as the biggest platforms, they will be the best targets), you should be pretty safe.

However, there is a related risk that is very real. Movies on the internet these days use a variety of codecs, and the general public doesn't understand what a codec is -- all they know is "it's something I sometimes have to download so the movie will play". This is a genuine attack vector. If you download something and are told "to view this, you need the codec from [some website]", then we very sure you know what you're doing because you could infect yourself.

link|improve this answer
feedback

It's possible, yes, but very unlikely. You are more likely to try and view a WMV and have it auto-load a URL or ask you to download a license, which in turn pops up a browser window which could exploit your machine if it's not fully patched.

link|improve this answer
feedback

Most popular from of 'AVI' viruses I have heard have been,
something.avi.exe files downloaded on a windows machine
that is configured to hide the file extensions in explorer.

The user typically forgets that later fact and assumes the file is AVI.
Coupled to their expectation of an associated player, a double-click actually launches the EXE.


After that, its been oddly transcoded AVI files that require you to download a new codec to see them.
The so-called codec is usually the real 'virus' here.


I have also heard of AVI buffer-overflow exploits, but a few good references would be useful.

My bottom line: culprit is usually one of the following rather than the AVI file itself

  • The codec installed on your system to handle the AVI
  • The player being used
  • The file-sharing tool used to get the AVI file


A short malware prevention reading: P2P or File Sharing

link|improve this answer
feedback

Technically, not from downloading the file. But once the file is opened, it's fair game depending on the player and the codec implementation.

link|improve this answer
feedback

My Avast Antivirus just informed me that there was a trojan embedded in one of my downloaded movie AVIs. When I tried to quarantine it, it said the file is too big and cannot be moved, so I had to delete it instead.

The virus is called WMA.wimad [susp] and is apparenty a medium threat virus that does some sort of browser hijack stuff. Not exactly system breaking, but it does prove that you can get viruses from AVI files.

link|improve this answer
feedback

AVI files wont be affected with virus. When u download movies from torrent, instead of AVI, if the movie is in a rar package or it is as a exe file, then surely there is a chance of virus in it.

Some of them ask u to download additional codec from some website to view the movie. These are the suspectible ones. But if it is AVI, then u can surely give a try playing it in ur Video Player. Nothing will happen.

link|improve this answer
could merely un-raring the file give you a virus? – user3183 Aug 19 '09 at 23:03
feedback

Yes. A code can be embedded in the file. This also happens with gifs jpegs etc. Really quite scary what you ca do

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.