16

I am not that familiar with security and malware analysis, but I know it is theoretically possible to embed a malware into files like video, audio ...

Say that someone managed to embed a malware into an mp4 file and send it via gmail.
I have the following questions.

  • Is it easy to bypass the google security that is implemented in gmail so that it will not be detected as virus/malware by gmail?

  • Once, downloaded the video, how to check whether it contains a malware/virus or not (other methods than using virustotal...)?

  • Is it possible that the malware can infect multiple OS (Windows and Linux: mainly Ubuntu)?

1 Answer 1

21

To answer your questions, we have to understand what malware in an mp4 file actually means.

An mp4 file isn't an executable, so it will not run any (malicious) code directly. Therefore, if a mp4 file contains malware that wants to execute instructions, it has to exploit a vulnerability (e.g. a buffer overflow) in the program that plays the file. This can either be a known vulnerability that hasn't been patched or a 0-day.

I will answer your questions inline below:

  • Is it easy to bypass the google security that is implemented in gmail so that it will not be detected as virus/malware by gmail?

Depends on the malware. If it has a known signature or is easily detectable with heuristic methods, it is very likely that it is caught by a malware detection system at gmail. But if you are dealing with a 0-day, chances drop dramatically.

  • Once, downloaded the video, how to check whether it contains a malware/virus or not (other methods than using virustotal...)?

If you are not an expert in reverse engineering, your best bet actually are established malware detection systems like virustotal. In case you REALLY need to play the file and are afraid of infection, use a throw-away OS (e.g. in a hardened virtual machine) to play it and wipe the system afterwards.

  • Is it possible that the malware can infect multiple OS (Windows and Linux: mainly Ubuntu)?

Very unlikely, because the exploit probably uses a memory corruption bug, which is usually platform specific.

3
  • 1
    This is odd. I wonder how anyone would insert code into a video. Going by OP's question of how to detect it, if the video is opened in video editing software like OpenShot, would anything (malware) be visible in the video tracks? Perhaps one way to get rid of malware in a video would be to use a video conversion software to convert maybe an mp4 file to avi or some other format.
    – Nav
    Commented Feb 4, 2021 at 5:11
  • 1
    @Nav While not MP4: security.stackexchange.com/questions/210507/… may be of interest, though this details how to use a video to trigger/propose downloading something else.
    – msanford
    Commented Jul 19, 2021 at 18:28
  • 2
    @Nav, conversion sound good, unless the conversion tool is the software that the exploit aims at.
    – Ale
    Commented Apr 24, 2023 at 8:00

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .