when downloading movies, series and anime they mostly come in those formats. Can they contain virus? if yes, do they get detected with antivirus?
Sure. Whether they’re effective and actually able to execute is another question.
A simple way might simply be to put an actual executable in the file instead, and when a user double clicks to open it it’ll run instead. Or there’s stuff to hide in metadata that could exploit particular players, or even some OS preview systems, and get execution that way.
But……really pretty unlikely. Possible definitely, but you’d have to go through a lot of effort to get hit by something.
Hypothetically yes. But consider that much like a virus growing in a petri dish, it needs an appropriate environment. A mp4/mkv/whatever file sitting on your hard drive that you never access is not going to be problematic. Even when you do access it, it is probably is not going to do anything unless you also open it in the viewer that the malware author intended the payload for. There is no general purpose video decoding malware. They target the players.
as a reminder: in systems on Linux, remember to check the permissions of non executable files if you’re extracting them from a zip folder or similar, since those tends to preserve file permissions before you double-click them.
Also for Linux: If you’re paranoid about getting hit by a video-player exploit, I think you could thwart most attempts by throwing your player into firejail (maybe a properly configured flatpak could also do the trick?)
oh there is a way without the user accessing it espcially on Windows: Anti virus scanner
since most of them scan all downloaded files a zero day exploit for these software might be automatically executed
bonus points: Anti virus software typically has system permissions too(likelyhood is still hilariously low)
Yes.
Depends on the virus, but unlikely.
The thing about viruses is that it is an arms race. It’s almost impossible to get a virus from playing media on your computer. Why? Well, let me explain in a 3 easy steps:
-
Viruses have specific goals. They want to spy on you, encrypt your files, use your computer on a botnet, access ads with your computer, etc. In order to do that, they must gain access within your system to do those things.
-
Since they need access, the easiest way to get access is just by simply asking you. Which is why executables (software and games) are the riskiest stuff to pirate. But it’s possible to get viruses from other sources, they do that by exploring flaws in the software. For example, a while ago they managed to insert viruses through VLC media player subtitles.
-
However, simply exploiting a flaw isn’t enough because flaws get fixed. Following the VLC Media player example, few days after the virus was distributed, VLC launched a new version that corrected the flaw, making the virus useless. Therefore, it’s necessary that the virus either explores a 0-day (a flaw that hasn’t been widely discovered - this kind of information is sold for a lot of money on the deep web and is usually used to hack governments and bit corporations) or targets people using old software on their machines.
In conclusion: you can catch Aids having sex with condoms, maybe it had a tear, maybe you had a small bleeding on your mouth, etc, but you aren’t getting aids using condoms unless you’re extremely unlucky. In the same vein, it’s possible to catch viruses from media files, but if your software is updated, it’s extremely unlikely.
-
Yes they can, exploits in codecs are not unheard-of. Antivirus detect known malware, regardless of file type
deleted by creator