Questions tagged [windows-security]

Use with Windows Security, previously called Windows Defender Security Center.

References:
Help protect my device with Windows Security

Related tag:
windows-defender
controlled-folder-access

176 questions
1
vote
1 answer

Attack surface reduction rule blocking application installation

I have an on-prem application (packaged as windows installer and written in .Net) in which I need to provide silent updation i.e., updation to this application should happen in background. I wrote some code in to do that basically first download the…
1
vote
0 answers

Getting TbsCommandBlocked Exception when I run the microsoft/TSS.MSR Authorization sample on UWP

The 'Authorization' sample of TSS.NET of TSS.MSR is running fine as console application, when I run the visual studio in admin mode. But when I use the same code in an UWP application by using Microsoft.TSS nuget, I am getting exception as…
rahul k
  • 53
  • 5
1
vote
0 answers

Windows defender Win32/Persistence.DQ!ml, what is it?

I'm trying to figure out what this generic description of malware means, googling it didn't turn up much https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Behavior%3aWin32%2fPersistence.DQ!ml&threatid=2147737492 I'm…
1
vote
2 answers

.NET Active Directory authorization in 2 tier application

Let's say we have a PC station (windows 10) joined to Active Directory and there is a user that signed in. I have an application (client layer connects straight ahead to database). Currently, The application prompts for login / password upon start,…
John
  • 1,834
  • 5
  • 32
  • 60
1
vote
1 answer

Reading / Writing security properties to objects in Active Directory (the same way Delegation of rights work) C#

I'm looking for a way to read and set security permissions on an object (OU or users/computers) in Active Directory on Windows Server 2008+. The same way that Delegation by using Active Directory Wizard does it? I would like to be able to choose OU…
1
vote
1 answer

How to determine the underlying provider used by Antimalware Scan Interface?

Is there a easy way to see which underlying malware provider is handling the requests for Antimalware Scan Interface? Win32 call or registry key? Windows Server 2019
1
vote
0 answers

How to restrict Windows Shared Memory to user that created it

Basically I want to create my shared memory with the equivalent of UNIX 600 permissions. How would I do this in Windows? I think when I call CreateFileMapping I would need to pass a LPSECURITY_ATTRIBUTES object that I set using…
TreeWater
  • 761
  • 6
  • 13
1
vote
1 answer

Why COM object methods are not visible/accessible in powershell?

As described here, COM objects can be created using New-Object -ComObject ProgID. With the same steps we can create COM object with ProgID wscAPI.WSCProductList.1. But we see no methods are available whereas there are few as per docs here. Why these…
Nilesh
  • 2,089
  • 3
  • 29
  • 53
1
vote
4 answers

ASP.NET impersonation problem

I am trying to get my IIS 7.5 to impersonate the account of the user accessing a site through a browser. If I use... it works just fine. However, if I use... …
1
vote
1 answer

How to prevent NTLM login

I have continues login request on windows server 2016. Each time it requested different IP address,also the countries where we don't have user for sure,because we have only a 10 users in one country in one office only,we sure all in One country . I…
1
vote
1 answer

How show domain name in credential dialog (using CredUIPromptForWindowsCredentials)?

I use CredUIPromptForWindowsCredentials to get user credentials, but credential dialog don't show domain name if user write login like this mydomain\UserName or UserName@mydomain.local. How to show domain name in in credential dialog as at…
Eugen
  • 31
  • 5
1
vote
1 answer

What is the difference between running an application as a service and as an administrator on Windows OS?

I am working on some application that needs to access the windows network shares. I have some functionality broken in my app if I run it as a system service. The same logic works fine when I run my app as an Administrator. This made me curious to…
1
vote
1 answer

Install Windows Security Patches using Powershell scheduled task

I am trying to Install windows security patches on a remote machine using powershell remoting. When i run the script on a local host, the script is successful in installing windows security patches.I have setup both the loaclhost and remote machine…
1
vote
0 answers

Selenium C# Fill Windows Security in webpage

I'm encountering the "Window Security",after entering the url of the webpage. Any way to deal with this using any kind of script or selenium tools? When I use this line the driver stop working cause of the…
1
vote
2 answers

Git hook to preserve windows file permissions

I have a local git repository which is upstream from another local git repository. When I pull from the upstream repository to the downstream one, I want the Windows file permissions on a particular file to be preserved after the update. I attempted…
Sws750
  • 33
  • 3