you are viewing a single comment's thread
view the rest of the comments
[–] 178 points 6 months ago (10 children)

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.

  • source
  • hideshow 10 child comments
  • [–] 24 points 6 months ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 5 months ago (2 children)

    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.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 5 months ago (1 child)

    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.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 5 months 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

  • source
  • parent