Splunk Enterprise

Powershell and exception policy on UF

jariw
Path Finder

L.s.,

 

At our company we deploy the Windows UF on all the vdi machine's. For security reason we make use of the security policy where powershell is prohibited to run.

On a vdi machine with the command Get-ExecutionPolicy -List | Format-Table -AutoSize i get below:

Scope ExecutionPolicy
----- ---------------
MachinePolicy Undefined
UserPolicy Undefined
Process Undefined
CurrentUser Undefined
LocalMachine Restricted

The last part is where the problem is.. it restricts the local system account from executing the scripts in the universal forwarder bin folder.  It gives an error for the splunk-powershell.ps1 script and then consumes a lot of cpu.

jariw_0-1642753354362.png

 

What can we do to use the scripts and use the secutiry policy? The policy is a demand in our company, so we can't dump that one.

 

Thanx in advance..

Labels (2)
0 Karma

jariw
Path Finder

Hi SinghK

Thanx for the idea, i will look at that., could be the way to go.

 

But why is the UF calling the splunk-powershell.ps1 script in de bin foder, what is its purpose..

0 Karma

SinghK
Builder
0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Update (ESCU) | New Releases

In December, the Splunk Threat Research Team had 1 release of new security content via the Enterprise Security ...

Why am I not seeing the finding in Splunk Enterprise Security Analyst Queue?

(This is the first of a series of 2 blogs). Splunk Enterprise Security is a fantastic tool that offers robust ...

Index This | What are the 12 Days of Splunk-mas?

December 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...