pharo-project / pharo-launcher

Lets you manage your pharo images and download new ones
https://pharo-project.github.io/pharo-launcher/
MIT License
108 stars 46 forks source link

Check Windows app signing certificate is working well #528

Closed demarey closed 2 years ago

demarey commented 2 years ago

Downloading a freshly signed version of PharoLauncher installer sometimes trigger a Windows Defender SmartScreen alert. Capture d’écran 2021-07-15 à 23 25 21 There is no warning when using a local file but we get a warning when downloading from Internet.

Some context

A locally signed binary and the same signed binary downloaded from internet have both the same size and the same hash. After some downloads, Windows Defender does not warn again on malicious files. According to https://support.microsoft.com/en-us/microsoft-edge/what-is-smartscreen-and-how-can-it-help-protect-me-1c9a874a-6826-be5e-45b1-67fa445a74c8, SmartScreen is a technology based on the downloads of a file by Edge users. Looking on the web for information on "smartscreen signed binary", we found assumptions that the warning is related to the reputation of the binary and so, the binary should be "mass-downloaded" to avoid the warning. https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-smartscreen/microsoft-defender-smartscreen-overview looks like to confirm that. SmastScreen FAQ also gives us some more information: https://fb.smartscreen.microsoft.com/smartscreenfaq.aspx#

What is SmartScreen and how can it help protect me?
Learn how to use the SmartScreen in Microsoft Edge.
Microsoft Defender SmartScreen overview (Windows) - Windows security
Learn how Microsoft Defender SmartScreen protects against phishing or malware websites and applications, and the downloading of potentially malicious files.
demarey commented 2 years ago

Pharo Launcher Installer 2.4 is now trusted. Let's close the issue and archive information to easily debug / fix the pb if it is raise again