Live data from Hacker News

Why does my installer get flagged by Windows?

blog.pakkly.com

41–50 of 85 posts

Re: Why does my installer get flagged by Windows?

#41
post #2

It's really annoying we don't have a better solution for this. Even outside of open source, I don't want to spend over $600 up front before I sell a single copy of an app just to stop MS from blocking it. And that's not even mentioning companies like sectigo being terrible at their job. I've spent over a week going in circles with their support about verification: "your license shows address A", "no, the back shows t…

Regular code signing cert is often good enough.

The entire point of the article is that it is not good enough though.

Re: Why does my installer get flagged by Windows?

#42
All this does is train people that they have to fight with someone that "knows better than them" every time they need to do anything useful. The one channel they had to communicate with users and warn them about threats is now gone, I hope they're happy.

Re: Why does my installer get flagged by Windows?

#43
post #3

And that’s before Windows Defender falsely identifies your executable as a random threat and moves it to quarantine without asking. Who do you have to bribe to prevent that?

Reminds me of a Coding Horror (?) story where a client kept asking the developer to have their app window be on top (most visible.) Poor developer kept trying to explain that whatever method they used to be on top, anyone else could use to be also on top of their app. Anyways, there is no general heuristic to distinguish a good actor trying to prove their legitimacy from a bad actor trying to fake legitimacy. This is…

Close - Raymond Chen

https://devblogs.microsoft.com/oldnewthing/20110310-00/?p=11...

Re: Why does my installer get flagged by Windows?

#45
post #7

Earlier quoted context omitted.

Why doesn't Windows (Microsoft) build open source code themselves and sign the source seen, easier to inspect for bad things version?

It's not easy to spot malware, even if you have the source. For example Zoom can capture your screen, start applications, capture mic and camera, and allows remote control of your desktop. Why wouldn't it be blocked as malware even if you could automatically inspect the source?

Automated malware detection typically looks for behavior during installation rather than just the payload. (You can use the payload as a hint, though.) If an installer downloads a PNG and injects the last half of it into another process, and that drops an unsigned EXE into 'all users\startup' that can capture your screen, etc. you can probably block that without pissing too many people off. If you block SCREENCAP.EXE it's a different story.

Re: Why does my installer get flagged by Windows?

#47
post #45

Earlier quoted context omitted.

It's not easy to spot malware, even if you have the source. For example Zoom can capture your screen, start applications, capture mic and camera, and allows remote control of your desktop. Why wouldn't it be blocked as malware even if you could automatically inspect the source?

Automated malware detection typically looks for behavior during installation rather than just the payload. (You can use the payload as a hint, though.) If an installer downloads a PNG and injects the last half of it into another process, and that drops an unsigned EXE into 'all users\startup' that can capture your screen, etc. you can probably block that without pissing too many people off. If you block SCREENCAP.EXE…

That's old news. The race happens every day. AV companies upload samples to explode in a simulated environment, meanwhile malware authors started fighting back using `sleep(10000)` to avoid detection since that's longer than automation is worth running. The bad parts are not being executed until much later. Then the test environments started faking time speed ups.

I think there was a good episode about that in the Risky Business podcast.

Re: Why does my installer get flagged by Windows?

#48

Earlier quoted context omitted.

Reminds me of a Coding Horror (?) story where a client kept asking the developer to have their app window be on top (most visible.) Poor developer kept trying to explain that whatever method they used to be on top, anyone else could use to be also on top of their app. Anyways, there is no general heuristic to distinguish a good actor trying to prove their legitimacy from a bad actor trying to fake legitimacy. This is…

Close - Raymond Chen https://devblogs.microsoft.com/oldnewthing/20110310-00/?p=11...

this post is a treasure, thanks for sharing.

walls and ladders - ill remember that.

Re: Why does my installer get flagged by Windows?

#49

Earlier quoted context omitted.

Reminds me of a Coding Horror (?) story where a client kept asking the developer to have their app window be on top (most visible.) Poor developer kept trying to explain that whatever method they used to be on top, anyone else could use to be also on top of their app. Anyways, there is no general heuristic to distinguish a good actor trying to prove their legitimacy from a bad actor trying to fake legitimacy. This is…

Close - Raymond Chen https://devblogs.microsoft.com/oldnewthing/20110310-00/?p=11...

That's a much better written (and backed up) story than the one I remember, which I recall being in the Coding Horror "fireside tale" style. Maybe Raymond's was the original!
Post reply on HN