I'm downloading an AVI file via a torrent, but my anti-virus detects something. Is it possible that the AVI file contains a virus?
It is quite weird since the torrent has many positive reviews.
|
TL;DRAn AVI file is a video, and therefore not executable, so the operating system can/will not run the file. As such, it cannot be a virus in its own right, but it can indeed contain a virus. HistoryIn the past, only executable (i.e., "runnable") file would be viruses. Later, Internet worms started using social-engineering to trick people into running viruses. Specifically, they would rename an executable to include other extensions like This was not only social-engineering (tricking the user), but also an early exploit. It exploited the limited display of filenames of email clients to pull of its trick. TechnicalLater, more advanced exploits came on. Malware writers would examine a disassembled listing of a program and look for certain exploitable instructions. These instructions often take the form of some sort of user input. For example, a login dialog box on an OS or web-site may not perform error-checking and except the user to enter only appropriate data. If you then enter data that it does not expect (or in most cases, too much data), then you can end up putting the data in part of the memory that it should not be. Normally, the user-data should be contained only in a variable, but by exploiting poor error-checking and memory-management, it is possible to put it in a part of memory that can be executed. A common, and well-known method is the buffer-overflow which puts more data in the variable than it can handle, thus overwriting other parts of memory. Media files are the same. They can be made so that they contain a bit of machine code and exploit the viewer program so that the machine code ends up running. What's worse with media files is that unlike a login which is obviously bad (e.g., Yes, media files (and for that matter, any file) can contain a virus by exploiting vulnerabilities in the program that opens/views the file. The problem is that exploits are fragile. They usually only affect one media player or another as opposed to all players, and even then, they are not guaranteed to work for different versions of the same program (that's why operating systems issue updates to patch vulnerabilities). Because of this, malware writers usually only bother to spend their time cracking systems/programs in wide use or of high value (e.g., Windows, bank systems, etc.) This is particularly true since hacking has gained in popularity as a business with criminals trying to get money and is no longer just the domain of nerds trying to get glory. ApplicationIf your video file is infected, then it will likely only infect you if you happen to use the media player(s) that it is specifically crafted to exploit. If not, then it may crash, fail to open, play with corruption, or even play just fine (which is the worst because then gets flagged as okay and gets spread to others who may get infected). Anti-malware programs usually use signatures and/or heuristics to detect malware. Signatures look for patterns of bytes in the files that usually correspond to instructions in well-known viruses. The problem is that because of polymorphic viruses that can change each time they reproduce, signatures become less effective. Heuristics observe behavior patterns like editing specific files or reading specific data. These usually only apply once the malware is already running (but can be more effective than signatures). In both cases, anti-malware programs can, and do, report false-positives. Obviously the most important step in computing safety is to get your files from trusted sources. If the torrent you are using is from somewhere you trust, then presumably it should be okay. If not, then you may want to think twice about it, especially since there are groups who purposely release torrents containing fakes or even malware. |
|||||||||||||||||||
|
|
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. |
|||
|
|
|
An avi file extension is not a guarantee that the file is a video file. You could get any .exe virus and rename it to .avi(this makes you download the virus, what is half of the path to infect your computer). If there are any exploit open on your machine that allow the virus to run, then you would be affected. If you think it is a malware, just stop download and delete it, never execute it before an antivirus scan. |
|||||||||||||||||||||
|
|
Yes, it is possible. AVI files, like every file, can be specially crafted to take advantage of known bugs in the software that manage those files. Antivirus software detect know patterns in the files, like executable code in binary files, or specific JavaScript constructions in HTML pages, that are possibly virus. |
||||
|
|
|
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. |
|||
|
|
|
Quick answer: YES. Slightly longer answer:
HOWEVER ...
|
|||||||
|
|
Most popular from of 'AVI' viruses I have heard have been, The user typically forgets that later fact and assumes the file is AVI. After that, its been oddly transcoded AVI files that require you to download a new 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
A short malware prevention reading: P2P or File Sharing |
||||
|
|
|
Still, there is one commonly exploted angle left out. Given a variety of codecs available and no restrictions on including them in container files, there are common protocols to prompt a user for installing the necessary codec and it doesn't help that media players may be configured to automatically attempt codec lookup and installation. Ultimately codecs are executable (minus a small array of ones that are plugin-based) and could contain malicious code. |
|||
|
|
|
Technically, not from downloading the file. But once the file is opened, it's fair game depending on the player and the codec implementation. |
|||
|
|
|
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 |
||||
|
|
|
If the download isn't complete yet, wait before it completes before you decide what to do. When the download is only partially complete, the missing parts of the file are essentially noise and quite prone to produce false positives when checked for malware. As @Synetech explained in detail, it's possible to spread malware through video files, possibly before the download even finishes. But that it's possible doesn't mean that it's likely. From my personal experience, the odds of a false positive during an ongoing download are much higher. |
|||||||||||||||||
|
|
Short answer, yes. A longer answer follows the basic tutorial Tropical PC Solutions: How to hide a virus! and make one for yourself. |
|||||
|
|
Having spent time assisting users resolve malware issues, I can testify that usual exploitation mechanism used by scammers is more social than technical. The file is simply named as *.avi.exe and the default setting in windows does not reveal common file extensions. The executable file is simply assigned a AVI file icon. This is similar to tactics used to distribute *.doc.exe viruses where the file has winword's icon. I have also observed dodgy tactics such as long file names being used in p2p distribution, so the client displays only partial names in the file list. Using shoddy filesIf you need to use the file, always use a sandbox that is configured to stop outgoing internet connections. Windows firewall is badly configured to allow outgoing connections by default. Exploitation is an action, which like any action always has a motivation. Usually, it's performed to siphon browser passwords or cookies, license and transfer the contents to an external resource(such as FTP) owned by an attacker. Hence, if you use a tool such as sandboxie, disable outgoing internet connections. If you use a virtual machine ensure that that it contains no sensitive information and always block outgoing internet access using a firewall rule. If you do not know what you're doing, don't use the file. Be safe and do not take risks that are not worth taking. |
||||
|
|
|
AVI files won't be infected with virus. When you download movies from a torrent, instead of AVI, if the movie is in a RAR package or it is as an EXE file, then surely there is a chance of virus in it. Some of them ask you to download an additional codec from some website to view the movie. These are the suspect ones. But if it is AVI, then you can surely give iy a try playing it in your video player. Nothing will happen. |
|||||||||||
|
|
AVI files cannot have a virus if they are video files. While downloading your browser keeps the download in its own format that is why the antivirus detects it as a virus. When downloading the AVI file make sure after downloading the file is run in a video player if it is an invalid file then it will not play and no prices for guessing it will be a virus then. If you try to double click and run it directly if there is a slight chance of virus then it will come out. Take precautions and you don't need antivirus software. |
|||||||||||||||
|
This question is protected to prevent "thanks!", "me too!", or spam answers by new users. To answer it, you must have earned at least 10 reputation on this site.