Stupid question but is it possible to get a virus from an MKV file that is less than 24 hours old. I was streamed using VLC version 3.0.20 form the repose on Linux.

  • redcalcium@lemmy.institute
    link
    fedilink
    English
    arrow-up
    30
    ·
    7 months ago

    Every once in a while security researchers would discover sophisticated exploits that would allow malwares to take over your computer via multimedia files, but those are actually rarely exploited in the wild by run off the mill malwares.

    Unless you’re an important person being targeted by hackers and three letter agencies, your biggest source of threat is running infected programs from untrusted sources, e.g. cracks downloaded from random torrents or warez sites, shady sites serving ads that trick you to run some executables, etc.

  • Walking Coffin@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    11
    ·
    7 months ago

    Like someone else said, it’s unlikely. However it is possible but it would need to exploit your media player (VLC) and/or your OS. As long as your source is trustworthy you shouldn’t have to worry, that’s why the megathread is there.

      • finley@lemm.ee
        link
        fedilink
        English
        arrow-up
        3
        ·
        7 months ago

        As others have said, it’s technically possible, but it would extremely difficult and would require coordinating a lot of different variables which is extremely unlikely. I’m not sure there’s actually ever been an example of this type of attack outside of a lab.

  • XNX@slrpnk.net
    link
    fedilink
    English
    arrow-up
    10
    ·
    7 months ago

    You’re probably fine it’s extremely unlikely. Dont trust emails that say they recorded you wanking its a scam

  • Sims@lemmy.ml
    link
    fedilink
    English
    arrow-up
    8
    ·
    7 months ago

    There’s imho no stupid questions regarding personal cyber-security. There are only things we don’t know yet.

  • brettvitaz@programming.dev
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    7 months ago

    someone please correct me if I’m wrong but I believe that for it to be possible, the application that plays the mkv file would have to have a remote execution exploit and the code for the virus would be executed through the player. the player would be required to have elevated privileges. I think this is exceptionally unlikely for vlc

    • ReversalHatchery@beehaw.org
      link
      fedilink
      English
      arrow-up
      1
      ·
      7 months ago

      The player does not have to be elevated. With an unelevated player the file exploiting such a vuln would be able to execute code with the privileges and access of the player

  • 🇰 🌀 🇱 🇦 🇳 🇦 🇰 ℹ️@yiffit.net
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    edit-2
    7 months ago

    Afaik, it’s possible for any file to be infected with a virus. Videos themselves can be, and .MKV is a container of other files (video, audio, subtitles). The video source, audio source or even .txt containing the subtitles could be a malicious virus inside the container.

  • Artyom@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 months ago

    Not really, but you can get a virus from movie.mkv.exe, which will probably show up in windows as “movie.mkv” but will actually run a program.

    That being said, I’ve never actually seen this in the wild and it was mainly talked about in the mp3 era.

  • cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    3
    ·
    7 months ago

    Just make sure the file doesn’t have a double extension. That can trick people into running a .exe when the file extension is hidden. That’s really only a problem on windows though.