How can I create an allow policy for a specific PowerShell shell script?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

How can I create an allow policy for a specific PowerShell shell script?

L1 Bithead

We block PowerShell from accessing the internet by default using a policy that restricts internet access. The scripting tools (powershell.exe, cscript.exe, curl.exe etc) are part of an application group.

 

One of our teams have some automated PowerShell scripts that needs to access the internet.

 

I know I can add the IP via Application Access Control, but the IPs do change.

 

I'm sure I can do this by allowing the scrips from the parent process, but not 100% sure.

Some pointed would be helpful.

2 REPLIES 2

L5 Sessionator

Hi @Lewis Hardwick​ ,

 

Did You check the option to create Allow policy for scripts type ?

Make sure this policy has higher priority than the one which blocks the internet access.

In addition, note to have as much as possible properties defined so it will be secured as possible.

 

Field_Content_versions_oct20__068Ht00000UL1UuIAL.png 

Thanks,

Arik

L1 Bithead

Hi Arik,

Thanks for your response. I actually started looking at these not long ago! I think it'll be what I'm looking for, along with tweaking the priority.

 

Thanks for your assistance,

 

-Lewis

  • 200 Views
  • 2 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!