Время на прочтение4 мин
Количество просмотров31K
Допустим, вы независимый разработчик и выпустили своё приложение. Чтобы упростить установку, вы создаёте установщик и начинаете его распространять. Какой-нибудь смелый экспериментатор загружает, запускает инсталлятор — но видит строгое предупреждение:
Windows SmartScreen блокирует запуск исполняемого файла
Действительно, в текущем окружении Windows активно блокирует запуск бинарных файлов через функцию SmartScreen.
Но что такое SmartScreen?
SmartScreen собирает установочные данные от всех пользователей Windows, чтобы определить «репутацию» приложения. Если у программы нет хорошей репутации, вы получаете такое предупреждение. Большинство пользователей в такой ситуации удалят .exe, посчитав его вредоносной программой, но SmartScreen можно обойти, нажав на кнопку «Подробнее», а потом «Запустить в любом случае».
Рэкет с цифровой подписью
Но как создать себе репутацию? Прежде всего, Microsoft должна иметь возможность собирать информацию о том, кто опубликовал приложение, а это делается с помощью сертификата подписи кода. Самый очевидный вывод заключается в том, что неподписанные приложения всегда будут вызывать SmartScreen. Более коварный вывод заключается в том, что приобретение сертификата подписи кода — большие расходы для отдельного разработчика. В настоящее время нет никакого эквивалента Let’s Encrypt для подписи кода, поэтому вам придётся покупать сертификат у авторитетных центров сертификации. Диапазон цен широк, но сертификат на один год обычно стоит около $100.
SSL.com предлагает один из самых «дешёвых» сертификатов подписи кода на рынке, по цене $129 в год
Предположим, вы клюнули на крючок, купили себе переоцененный ряд простых чисел, перемноженных компьютером, подписали свой код и повторно опубликовали своё приложение. Теперь пользователи начнут устанавливать ваше приложение, правильно? Неправильно.
Создание репутации — это уловка 22
Даже с цифровой подписью SmartScreen всё равно сработает. В конце концов, вы — неизвестный новый издатель, а процесс «создания репутации» SmartScreen — это абсолютный чёрный ящик. Итак, вот уловка 22: чтобы создать репутацию, вам нужно, чтобы люди устанавливали ваше программное обеспечение — и Microsoft собирала данные со статистикой установок. Но чтобы заставить пользователей установить ваше программное обеспечение, нужно избавиться от сообщения, которое явно предполагает, что ваш код повредит их компьютерам.
Дальше хуже.
Если вы попытаетесь опубликовать своё программное обеспечения с помощью пакетного менеджера WinGet (в двух словах: когда выйдет из бета-версии, этот скопированный с AppGet менеджер, вероятно, заменит Windows Store), то получите такое сообщение от Microsoft:
Microsoft WinGet считает запуск SmartScreen «ошибкой», а ваше программное обеспечение классифицируется как «вредоносное»
По словам Microsoft, ваше приложение считается вредоносным, если оно запускает SmartScreen. Они рекомендуют отправить файл для рассмотрения по специальной ссылке. Если вы проследуете этому процессу, то получите такой ответ:
Мы рассмотрели вашу заявку и подтвердили, что представленные файлы чистые. Антивирус Windows Defender не реагирует на вредоносные программы.
Сообщение, которое вы заметили, является уведомлением от программы SmartScreen. Оно указывает, что у приложения нет известной репутации в нашей системе.
Предупреждения о репутации приложений предназначены для информирования конечных пользователей, когда приложения не имеют известной положительной репутации. Это не означает, что приложение является вредоносным, только то, что оно «неизвестно». Обратите внимание, что пользователи всё ещё могут загрузить и запустить приложение.
В большинстве случаев приложение с цифровой подписью органично создаёт репутацию, если только не произошло чего-то такого, что могло бы очернить существующую репутацию, например, использование сертификата для подписи вредоносных программ. Мы проведём дальнейшее расследование этого вопроса и свяжемся с вами, если нам понадобится дополнительная информация.
По сути: ваше приложение чистое, но мы ничего не будем делать с ошибкой SmartScreen. Наши повелители облачных ботов решат, когда вам можно доверять.
И дальше ещё хуже.
Допустим, вас наконец-то одобрят алгоритмы в качестве надёжного издателя. Срок действия вашего сертификата истекает, и вы его продлеваете. Обычное дело в интернете. Но в мире программного обеспечения Windows ваша репутация обнулится. SmartScreen не распознаёт обновления сертификатов, он считает вас новым издателем, и вам придётся снова пройти через этот болезненный процесс.
Это можно смягчить, купив сертификат с более длительным сроком действия, но тогда стоимость становится просто непреодолимым барьером для большинства независимых разработчиков.
Сертификаты подписи кода EV
Для независимых разработчиков это конец пути. Для издателей существует ещё одно решение: сертификат расширенной проверки для подписи кода (EV). Подписывая код с помощью одного из них, вы автоматически обходите SmartScreen. Он зарезервирован только для корпораций и, как следует из названия, предусматривает дополнительную проверку информации. Её проводят центры сертификации.
Популярный центр сертификации Digicert.com продаёт такие сертификаты за колоссальные $699 в год.
Независимому разработчику придётся пройти через трудности образования юридического лица и раскошелиться на возмутительные цены за эти сертификаты. Конечно, для большинства это не реалистично.
«Разработчики, разработчики, разработчики!»
«Разработчики, разработчики, разработчики!» — кричал Стив Балмер со сцены. Одно из легендарных выступлений генерального директора Microsoft. Эти печально известные слова были произнесены ещё в 2006 году. Четырнадцать лет спустя Microsoft при Сатье Наделле хвалят за то, что компания стала более открытой, чем когда-либо. Но по иронии судьбы выходит так, что Microsoft сделала свою среду Windows чрезвычайно враждебной по отношению к своим любимым разработчикам. Чтобы исправить эту ужасную ситуацию, необходимо изменить SmartScreen или то, как работают сертификаты подписи кода.
Table of contents
- What Is Smartscreen on Windows?
- How Does SmartScreen Work?
- Is It Safe to Disable Windows Defender Smartscreen?
- Before Disabling: Adjust SmartScreen Settings
- How to Disable Windows Defender SmartScreen
- Troubleshooting Tips for Disabling Microsoft Defender SmartScreen
- Can’t find or access SmartScreen settings
- SmartScreen turns back on automatically
- Issues after disabling SmartScreen
- Windows Defender SmartScreen: Explained
- FAQ
However, as helpful as SmartScreen is, it may occasionally misidentify and flag legitimate apps and files as dangerous. In this case, you may need to disable Windows SmartScreen.
What Is Smartscreen on Windows?
SmartScreen is a built-in security feature in Windows. Its job is to protect Windows users from phishing and malware websites .
SmartScreen achieves this by checking websites you visit and files you download against a database of known phishing, malicious software sites, and applications.
Also read: Here is How to Report Malware Websites in Google Chrome
How Does SmartScreen Work?
SmartScreen will send out an alert if it discovers a website or newly downloaded file that contains potentially harmful content. You will have a choice to make:
- you can ignore the warning and go ahead with your browsing or download (generally not advised due to security concerns),
- or listen to the alert and halt the process.
With the release of Windows 10 and Windows 11, SmartScreen has expanded its functionality across the OS and Microsoft Edge browser. It now also checks the files you receive via email, and more. The feature runs in the background, and most users will only notice its presence when it identifies a potential threat.
Also read: Does Windows 10 Need Antivirus?
Is It Safe to Disable Windows Defender Smartscreen?
No, it is generally not recommended to disable Smartscreen.
While it might be tempting to disable SmartScreen if it occasionally blocks something you know is safe, or if you find its warnings intrusive, you should know that doing so exposes your system to a higher risk of malware infection and other security threats.
Disabling SmartScreen might be necessary for certain scenarios, such as software development or if SmartScreen is causing significant issues with legitimate software. However, for most users, SmartScreen provides a valuable layer of security that helps protect against phishing, malware, and other threats.
So, instead of disabling SmartScreen entirely, you may want to consider using the tool’s built-in options to “let in” specific content on a case-by-case basis. This will help keep your standard security shield while allowing for more flexibility to manage individual websites and apps.
PRO TIP
Have a reliable anti-malware solution running on your PC at all times, especially if you choose to disable SmartScreen. Auslogics Anti-Malware will keep your system safe from even the rarest malicious items.
Before Disabling: Adjust SmartScreen Settings
Before considering disabling Windows Defender SmartScreen altogether, adjusting its settings might provide a more balanced approach, allowing you to tailor its protection features to better suit your needs while maintaining a level of security.
Here’s how you can adjust SmartScreen settings in Windows:
For Microsoft Edge:
- Open Microsoft Edge and click on the three dots (…) in the upper right corner to open the menu.
- Select Settings.
- Navigate to Privacy, search, and services on the left panel.
- Scroll down to find the Security section.
- Here, you can adjust the SmartScreen settings under Microsoft Defender SmartScreen.
For Windows 10 and Windows 11:
- Open Windows Security by searching for it in the Start menu or clicking on the shield icon in the taskbar.
- Select App & browser control.
- Select Reputation-based protection.
- You’ll see options for Check apps and files, SmartScreen for Microsoft Edge, and SmartScreen for Microsoft Store apps.
- Each of these options can be set to Warn (default), Block, or Off.
- Adjusting these settings allows you to customize how SmartScreen reacts to unrecognized apps and files, potentially harmful web content, and downloads from the Microsoft Store.
Pay attention to these settings:
- Check apps and files
Controls whether SmartScreen checks files and applications from the web against a list of known malware sites and programs. Setting it to warn or block provides a good level of protection.
- SmartScreen for Microsoft Edge
Adjusts how aggressively SmartScreen filters out dangerous websites and downloads in Microsoft Edge.
- SmartScreen for Microsoft Store apps
Determines whether SmartScreen checks apps from the Microsoft Store for potential risks.
Adjusting these settings instead of completely disabling SmartScreen allows you to fine-tune the balance between usability and security based on your personal or organizational security policy and comfort level.
How to Disable Windows Defender SmartScreen
If you decide that you have valid reasons to disable Windows Defender SmartScreen, despite the risks involved, you can follow these steps.
Warning
Keep in mind that turning off SmartScreen reduces your protection against malicious apps, files, and websites. It’s recommended to proceed with caution and ensure you have other security measures in place.
Windows 10 and 11:
- Search for Windows Security in the Start menu and open it.
- Click on App & browser control.
- Under Reputation-based protection, click on Reputation-based protection settings.
- Here, you’ll find options to disable SmartScreen for:
- Check apps and files (turn this off to stop SmartScreen from checking apps and files from the web).
- SmartScreen for Microsoft Edge (turn this off to stop SmartScreen from checking websites and downloads in Edge).
- SmartScreen for Microsoft Store apps (turn this off to stop SmartScreen from checking apps from the Microsoft Store).
Important considerations:
- Before making changes to your security settings, ensure your data is backed up.
- Consider alternative or additional security measures if you disable SmartScreen, such as a reliable third-party antivirus or anti-malware solution.
- Keep your operating system and applications updated to reduce vulnerabilities.
Troubleshooting Tips for Disabling Microsoft Defender SmartScreen
If you encounter issues while trying to disable Windows Defender SmartScreen or after having disabled it, here are some troubleshooting tips that might help:
Can’t find or access SmartScreen settings
- Ensure your Windows OS is up to date . Some settings or their locations might change with updates.
- Make sure you’re logged in with an account that has administrative privileges . Some settings are only accessible to administrators.
SmartScreen turns back on automatically
- If you’re on a network managed by an organization, group policies might revert your changes. Contact your IT department or check the Group Policy Editor (gpedit.msc) if you have access, to see if SmartScreen settings are enforced.
- For Windows 10 Pro or Enterprise users, you can use the Group Policy Editor to permanently disable SmartScreen by navigating to Computer Configuration -> Administrative Templates -> Windows Components -> File Explorer and Microsoft Edge , then configure SmartScreen settings.
- Similar to Group Policy, registry settings might enforce SmartScreen settings. Be cautious with registry edits and back up the registry before making changes.
Issues after disabling SmartScreen
- If you notice unusual system behavior or suspect a malware infection after disabling SmartScreen, run a full system scan with Windows Defender or Auslogics Anti-Malware .
Download Auslogics Anti-Malware
Detects malware, spyware and viruses, then safely removes them from your PC to help keep it as secure as possible. The program is made to complement your main antivirus.
If software was blocked by SmartScreen and continues to be blocked after disabling it, check if Windows Defender Antivirus or another security feature is causing the block. Ensure the software you’re trying to run is from a trusted source.
Windows Defender SmartScreen: Explained
With its seamless integration into Windows, Microsoft Defender SmartScreen acts as a vital defense against online dangers by striking a balance between security and convenience.
It isn’t perfect, though; occasionally it blocks legitimate files because it thinks they pose a threat.
Luckily, you now know how to adjust or turn off SmartScreen to make sure it meets your needs without jeopardizing your online security. In the end, you are in charge: modify SmartScreen to best suit your needs, keeping the digital gates safe but accessible to reputable tools you can rely on.
FAQ
Can I report a false warning to Microsoft Defender SmartScreen?
Yes, you can report false positives to Microsoft. For websites, use the “Report that this site does not contain threats” option on the warning page. For files, submit them for analysis via the Microsoft Security Intelligence website under “Submit a file for malware analysis” with the option “My submission is a false positive.”
What should I do if Microsoft Defender SmartScreen flags a safe website or file as unsafe?
- Review the warning: Understand why it was flagged.
- Proceed with caution: If sure it’s safe, you might be able to bypass the warning.
- Report false positive: Use Microsoft’s feedback options to report inaccuracies.
- Maintain security: Keep your system and software updated.
Always exercise caution and verify the safety of content before bypassing SmartScreen warnings.