Jump to content

Recommended Posts

Posted

I've got an Applocker policy to replace SRP, which specifically Denys users from running Powershell (powershell.exe)

 

However, if they search for it, they can run it ok. Other Applocker restrictions seem to be applying but powershell is still allowed to run. I've checked that the executable name running under the restricted account is still showing as powershell.exe.

 

Odd behaviour this, anyone else blocking powershell with Applocker had any issues?

Posted (edited)

Have you blocked all four of them?

 

C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell_ise.exe

Edited by Arthur
Posted

I just used a simple Path rule - and it seems like the default rule to Allow C:\Windows\System32 allows Powershell to run, even if there is a specific Deny for that path.

 

I put Powershell.exe as an exception to that default rule and it now stops it running - I always thought the Deny rules tool precedence over the Allow, as they did in SRP?

Posted
I've tried with the exact path specified and it still allows it to run - the only way it works as expected is if I add the path as an exception in the default Allow rule for C:\windows. Not the behaviour I was expecting.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...