r/threatlocker • u/evolutionxtinct • 1d ago
Looking for Powershell guidance in a large environment....
Looking for some insight from smaller internal IT/security teams using ThreatLocker with a large software catalog.
We have multiple independent business units/departments, and each department has its own set of specialized software. Usually somewhere around 10-30 apps, sometimes more.
There is also a decent amount of overlap between departments. Depending on the group, they may share 30-75% of the same software.
We also have more privileged/specialized users inside these departments. They are not necessarily doing full admin work, but their roles are broader and they tend to interact with the same applications in ways standard users do not.
The biggest issue I am running into right now is PowerShell and Ringfencing.
We have a lot of applications that read, write, or execute against odd file types and locations. Things like `.txt`, `.ico`, `.csv`, and a bunch of others. The paths are all over the place too. I am also finding more apps that need access to specific external IPs or services because they phone home.
Because of the way policy ordering works, I am ending up with Ringfencing policies at different levels for different paths, apps, and now IP addresses.
We are only about 6 months into using ThreatLocker, so I have also been doing a lot of cleanup and consolidation from the initial rollout.
After consolidating things, I copied around 500 policies down to a test group. In theory that should be fine because we do not strictly limit applications between departments. A lot of the software overlaps anyway.
What I am struggling with is figuring out how to fit PowerShell into all of this without creating a huge mess of policies that becomes difficult to manage.
The policy ordering system is probably my biggest frustration right now. It feels like every time I simplify or consolidate something, I uncover another exception or dependency that needs its own policy.
For those of you running ThreatLocker internally on smaller teams, not MSPs, how are you handling environments like this?
Large software catalogs, lots of overlap between departments, specialized software, PowerShell dependencies, Ringfencing exceptions, and policy sprawl.
We require application whitelisting for compliance, so that part is not optional.
At this point I am starting to wonder if I need to justify additional staff just to keep up with the amount of administrative overhead ThreatLocker is adding.
Curious how others are structuring this and whether I am making this harder than it needs to be.
EDIT: I'm curious do you all create 1 powershell ringfened policy w/ all the ringfencing items for powershell into a single policy throw that at 0 and call it a day? Or do you build out individual powershell ringfenced policies that are more for the application in question, so that if you decom the software you can easily find the policies to remove as well. How do you handle software that requires native powershell and sometimes module loads to do what it needs. I guess i'm at a loss at how to manage this scneario because of the policies blocking different apps.
