• 18107@aussie.zone
    link
    fedilink
    English
    arrow-up
    156
    arrow-down
    1
    ·
    21 hours ago

    I wrote a program (not a virus) on my computer. Windows deleted the exe immediately after I compiled it because it was “an unverified application from an unknown source”.

    It didn’t bother deleting the batch script I downloaded from an email that would delete all files if run. Apparently that one was fine.

    • Honytawk@discuss.tchncs.de
      link
      fedilink
      arrow-up
      1
      ·
      8 hours ago

      You mean it was flagged as malware? You must have written something that was deemed very suspicious. Or it is one of the few false positives.

      Also, that batch script would be flagged the moment it ran.

      • 18107@aussie.zone
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 hours ago

        The exe was flagged immediately, even before running. I did not feel like running the batch script to be certain.

        The exe had absolutely nothing harmful. It didn’t interact with any files or do anything with drivers. It was entirely self contained.
        I don’t remember exactly what it was, but it can’t have been any more complicated than a game of snake in a terminal.

        • Axolotl@feddit.it
          link
          fedilink
          arrow-up
          1
          ·
          8 hours ago

          If it does requests to a website it can be flagged too, i was doing a web scrapper for some sites, since i had to test it, i runned it often while developing, windows decided to delete the exe

    • pivot_root@lemmy.world
      link
      fedilink
      arrow-up
      19
      ·
      18 hours ago

      What language was it written in? I read that Microsoft Defender likes to flag the baked-in runtime of some languages as malware because they commonly shows up in actual nalware.

        • pivot_root@lemmy.world
          link
          fedilink
          arrow-up
          13
          ·
          17 hours ago

          That is incredibly ironic.

          It relies on the .NET runtime already existing on the system, so it can’t even be excused as a false positive mistaking an embedded language runtime as malware.

      • luciferofastora@feddit.org
        link
        fedilink
        arrow-up
        2
        ·
        11 hours ago

        My mom is a verified source too, but that doesn’t mean I should be trusted not to break your PC…

        (By which I mean formatting the disc and installing Mint. The data loss is your fault, really, for not having backups.)