Stupid question but is it possible to get a virus from an MKV file. - eviltoast

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.

  • Charadon@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    6 months ago

    In theory, you could make a fake executable with the mkv file extension on a unix system, by making it a shell script with a bunch of garbage data at the end, marking it executable, and distributing it with a tarball. But the chances someone will do that is insanely low.

    Also it has caveats:

    1. It’d rely on your double clicking it, and having your file manager not warning you about it.
    2. Video players wouldn’t run the shell script code, if it’d run the file at all.