Questions tagged [windows-defender]

Use with Windows Security which was formally called Windows Defender Security Center

References:
Help protect my device with Windows Security

Related tag:
Windows-Security

180 questions
27
votes
6 answers

Windows Defender - Add exclusion folder programmatically

I was checking out different keyloggers for research purposes and stumbled upon Refog: https://www.refog.com/keylogger/ This program could catch a lot of system events, but what really caught my attention was something else. The program created a…
Ogglas
  • 62,132
  • 37
  • 328
  • 418
21
votes
2 answers

Android Development which folders to exclude for windows defender?

I excluded the follwing folders in windows defender, but the "Antimalware Service executable" is still using a lot of cpu. C:\Program Files\Android\Android…
Robin Dijkhof
  • 18,665
  • 11
  • 65
  • 116
21
votes
4 answers

Windows Defender Antivirus scan from C# [AccessViolation exception]

We are writing a code to do on-demand scan of a file from C# using Windows Defender APIs. [DllImport(@"C:\Program Files\Windows Defender\MpClient.dll")] public static extern int WDStatus(out bool pfEnabled); …
mlg
  • 1,162
  • 1
  • 14
  • 32
17
votes
1 answer

Windows Defender slowing down Electron startup

Context I have setup a trivial Electron app which shows a plain html file and it consistently takes more than two seconds to start up. The key performance measurements are: 170 ms: a blank window appears on the screen 2800 ms: the window shows the…
aochagavia
  • 5,887
  • 5
  • 34
  • 53
12
votes
1 answer

Windows Defender Antivirus API

Reading the documentation of the windows defender API, for example in MpManagerOpen Function: https://msdn.microsoft.com/en-us/library/windows/desktop/dn920115(v=vs.85).aspx I see that the required include file is MpClient.h. However I couldn't…
macro_controller
  • 1,469
  • 1
  • 14
  • 32
11
votes
4 answers

Windows Defender Real Time Protection Service slowing down Visual Studio etc

Since past two months or so I have been observing a strange phenomenon with the Real Time Protection Service that comes bundled in as a part of Windows Defender on Windows 10. When this service is set to ON Visual Studio builds take an…
Nikhil
  • 3,304
  • 1
  • 25
  • 42
8
votes
2 answers

How to implement IAmsiStream to support running a malware scan on windows on a stream

When implementing an IAmsiStream to perform a scan with Windows Defender, on files larger than ~20MBs it fails with Value does not fall within the expected range.. What is missing from this implementation? public class AmsiStream : IAmsiStream …
Bruno Lopes
  • 2,917
  • 1
  • 27
  • 38
8
votes
6 answers

Antivirus False positive in my VBA Excel Macro

I just ran into an even more annoying problem. Suddenly windows defender started to flag one of my excel files containing VBA macro code(on download from a browser) as being a virus. The specific virus being logged…
David Rogers
  • 2,601
  • 4
  • 39
  • 84
8
votes
2 answers

Pyinstaller .exe throws Windows Defender [no publisher]

I developed a Python code and I converted it to an .exe with pyinstaller but the problem is that there is no publisher so each time a computer runs my program, Windows Defender throws an alert that says that there is no publisher so the program is…
No Braves Studio
  • 151
  • 1
  • 2
  • 12
7
votes
0 answers

Code signing EV certificate only helps with SmartScreen, does nothing for Windows Defender

Our organization recently obtained an EV code signing certificate. It did give us instant SmartScreen trust, but 2 things still happen: A minor annoyance was Chrome that issued a warning file.exe is not commonly downloaded and may be dangerous to…
7
votes
6 answers

create-react-app RangeError: Maximum call stack size exceededat Object.mkdirSync

Today I tried to create new react app using (create-react-app app-name) in CMD and this error appeared : PS C:\Users\ahmed\Desktop\My File\New Folder\New Folder JS\New Folder> create-react-app…
Ahmed
  • 200
  • 1
  • 9
7
votes
0 answers

Bypass restrictions of enabled Folder Access Control of Windows Defender

I've got an application written with C# which is installed via InnoSetup. With enabled Controlled Folder Access of Windows 10's Defender, the setup fails to create a desktop icon (showing the message PersistFile::Save failed, code 0x80070002) --…
7
votes
1 answer

Powershell Set-MpPreference -DisableRealtimeMonitoring $true not working correctly

I must warn you I don't use powershell much. I am trying to turn off windows defender real time protection via powershell I found the command Set-MpPreference -DisableRealtimeMonitoring $true and tried it in admin privileges only to get…
Zach Generic Name
  • 115
  • 1
  • 1
  • 8
5
votes
2 answers

RDP Saved credentials problem, how disable Windows Defender Credential Guard

After Windows updates, there is occurred saved credentials problem, rdp always asks password, cannot be saved.. The reason is Windows Defender Credential Guard. How to solve this issue ?
Mucahid Uslu
  • 367
  • 3
  • 11
5
votes
3 answers

Program installed with Inno Setup seen as Trojan (Wacatac.B!ml)

My software is a .NET application. The original .exe compiled with Visual Studio works fine and Microsoft Defender has nothing to say about it or any of the dependencies. I made an installer with INNO Setup, that has been working fine until now, on…
geriwald
  • 190
  • 1
  • 4
  • 17
1
2 3
11 12