• @0x4E4F@infosec.pub
    link
    fedilink
    English
    34
    edit-2
    7 months 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
      link
      fedilink
      48
      edit-2
      7 months 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
        237 months 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
        197 months 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
          97 months 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]
        cake
        link
        fedilink
        English
        157 months 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
        77 months 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 🤷…

    • @RidcullyTheBrown@lemmy.world
      cake
      link
      fedilink
      157 months 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
        37 months 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.

    • Baut [she/her] auf.
      link
      fedilink
      37 months 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.