• 0x4E4F@infosec.pub
    link
    fedilink
    English
    arrow-up
    37
    arrow-down
    6
    ·
    edit-2
    1 year ago

    True story, Linux sees MIME types, so if Hot.Chick.Blows.Brother.mp4 is a virus, it shows up with a Windows (MZ) binary icon, not a media icon 😉… unlike Windows which only recognizes extensions 😒.

    • SuperDuper@lemmy.world
      link
      fedilink
      arrow-up
      47
      ·
      edit-2
      1 year ago

      Microsoft, in their infinite wisdom, also decided that file extensions should be hidden by default. So you won’t even see that you downloaded TaylorSwift_1989_TaylorsVersion.exe instead of TaylorSwift_1989_TaylorsVersion.mp3 unless you changed that setting ahead of time.

      • otp@sh.itjust.works
        link
        fedilink
        arrow-up
        21
        ·
        1 year ago

        Or worse, Numb_LinkinPark.mp3.exe just shows up as Numb_LinkinPark.mp3, making it look like it’s DEFINITELY a legit MP3!

      • Sidhean@lemmy.world
        link
        fedilink
        arrow-up
        17
        arrow-down
        1
        ·
        1 year ago

        Wait… Real?? I guess its always been a part of the first round of changes I’ve always made to Windows. Crazy how much I’ve normalized fighting the software I use.

        Anyway, that’s wild. What a just bad and unsafe decision.

        • 0x4E4F@infosec.pub
          link
          fedilink
          English
          arrow-up
          9
          ·
          1 year ago

          See, this is mostly because of 2 things. One, when changing filenames, users make the stupid mistake of changing the extension as well (having no extension that is), which of course, in Windows, it means the file won’t be recognized as a media file. Two, blind you from the truth - you don’t want users that can think, that’s not what our bysiness is about 😏. Also the reason behind why Windows has less and less options and people that want to change something have to revert to registery hacks to do so.

      • Fushuan [he/him]@lemm.ee
        link
        fedilink
        English
        arrow-up
        15
        ·
        1 year ago

        It’s even worse, since exe files can have custom icons, the malware will have a mp3 player icon in their exe file, making it totes confusing.

      • 0x4E4F@infosec.pub
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 year ago

        And this only gets worse, since audio file tags (and I believe video files as well 🤔) include album art nowadays, so it has an icon that is the album art… exe’s also have custom icons, so 🤷…

    • Baut [she/her] auf.@lemmy.blahaj.zone
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      My memory is fuzzy and I don’t know the correct words to research it, but I am pretty sure that depends on the DE.
      Either KDE Plasma (dolphin) or GNOME (nautilus) uses the extension iirc. Maybe that changed though.

    • RidcullyTheBrown@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      That’s not a Linux thing. It’s just whatever desktop shell you chose to use and various shells behave in various ways. The reason this might be safer in most Linux distros is that you’re discouraged from executing things under a privileged user which means that malware can’t make significant changest to your system easily. If you do the same in windows, you’d be just as safe.

      • 0x4E4F@infosec.pub
        link
        fedilink
        English
        arrow-up
        0
        arrow-down
        1
        ·
        1 year ago

        Not exactly… I mean, yes, you’re right about the privileges thing, but Windows has a lot more security holes than Linux (or any POSIX based OS for that matter). The root of the problem, as always is the distant Windows relative, DOS… no user space notion whatsoever… and Windows NT has dragged these issues for decades now, all because MS made (bought) DOS and distributed it.