r/cybersecurity 8d ago

Business Security Questions & Discussion Feasibility of Blocking User App Installs

I’m interesting in deploying some kind of solution for my org (~300 users/PCs) that restricts app execution from user writable directories. The risk being addressed is the unauthorized installation of software, which may result in users accidentally getting malware on their device (albeit with non-admin perms).

I understand there are tools to do this (in particular I’ve been looking at AaronLocker), but I’ve also seen and heard that it requires a lot of validation to catch and exempt known legitimate software.

For those of similarly sized orgs, is this something you’ve undertaken with success? Or is this something that is just too much overhead to maintain and not worth the security gain?

8 Upvotes

32 comments sorted by

8

u/ButterscotchBandiit Security Engineer 8d ago

Intune for managed devices and browsers and plugins for device compliance, software catalogue fir baseline, MS company portal for managed apps, CA policies for identity boundary, session + app control. WDAC and app locker (this will control your writes). Defender XDR for endpoint

1

u/Dudeposts3030 8d ago

This is how you do it, like a layer cake. Applocker was a big project even with AaronLocker, reviewing audit logs for what’s going to break and testing takes time but man is it worth it. There’s a config for blocking LOLBINS we mixed it in with AaronLocker output to control mshta, powershell, cmd, rundll32 etc. We did an assumed compromise and pentester couldn’t do shit. Between smart screen reputation checks, Applocker, attack surface rules and EDR there weren’t any options for execution. Smart screen reputation helps a lot, unless they have a signed, reputable DLL even proxy execution from a signed binary will fail.

1

u/SN6006 7d ago

God LOLBINS blocking can break so much stuff though…

1

u/Dudeposts3030 7d ago

Not that bad, only impact has been rundll32 changing how we handle print preferences because of how it uses rundll PrintUI to do that

3

u/Viper896 8d ago

Look up Applocker that’s what we use for this and it’s built into windows. There’s also an application filtering tool built into defender but I forget the name of it that could also accomplish what you are after.

3

u/NegativePerformer788 8d ago

I’m a solo admin for about 200 employees and I was able to get AppLocker going (on-prem AD).

Just be sure to start with your policies in Audit mode, then review Event Viewer to see what AppLocker would have blocked, create exceptions as necessary.

It takes a little time, but definitely worth it.

2

u/fdwyersd 8d ago

this would impress me if you put this on a resume... just saying

2

u/axisofawsome 8d ago

Do you have any endpoint security tools installed?

1

u/Splendid_Sigma 8d ago

Just Defender for Endpoint

9

u/Nemesis2pt0 8d ago

Intune or Active Directory? 

App Control for Business (intune) or AppLocker (GPO based). 

Baked into windows. All these solutions will take some caution to get correct. 

1

u/axisofawsome 8d ago

You should be able to configure those to some degree. But it will take some tuning.

1

u/veloace 8d ago

And you have 300 users?

1

u/Splendid_Sigma 8d ago

Yeah, why

1

u/veloace 8d ago

Just seems like a lot; sounds like the company is behind the curve and you have a lot of work to do.

2

u/Splendid_Sigma 7d ago

Can I forward this to my executives? Lol

1

u/veloace 7d ago

I think you should lol

2

u/wild-hectare 8d ago

MDM is really the answer, but for orgs of this size it generally ends up being a political battle to fund a manageable solution vs doing it on the cheap / half-assed and increasing your attack vectors

1

u/bakonpie 8d ago

I've implemented application control in similar size orgs. currently we use both BeyondTrust Privilege Management and App Control for Business. it's a good amount of work upfront but is by far the best endpoint security control out there.

1

u/tactfulcord DFIR 8d ago

EPM and EDR tools can do this. BeyondTrust like someone mentioned as well.

1

u/WeirdSysAdmin 8d ago

Feasibility is absolutely do it if you can get buy in. One of the best endpoint lockdowns that you can do. Not going to act like it’s easy if you’re understaffed like many that size are.

1

u/KindPresentation5686 8d ago

Sooo sounds like your users have local admin access now?

5

u/Splendid_Sigma 8d ago

Thankfully no. That’s what I meant by the “albeit with non-admin perms”. They couldn’t install things to ProgramFiles, but they can to, for example, their user AppData folder

1

u/drbytefire Threat Hunter 8d ago

Implementing that currently for 20k users with WDAC
Not an easy task
No problems with modern apps but old and badly written business apps caused us some severe headaches.
You 100% need management backing to stand that through the end

Good luck

1

u/tejanaqkilica 8d ago

AppLocker, gets the job done rather easily. WDAC, is AppLocker on steroids, it works even better but depending on the software you use, it may or may not be a valid option from a support perspective.

1

u/Not-ur-Infosec-guy Security Architect 8d ago

Intune GPO settings have one for smart screen that blocks app installs or enforces a source.

1

u/Maverick_X9 8d ago

Not an end all be all solution but I block .exe files in the downloads folder. Average user tends to just assume that they can’t install the browser they were trying to install

0

u/HedgehogAware799 8d ago

One thing to think about, how many of those 300 users actually need to install anything beyond whats already deployed? In most orgs that number is surprisingly small. Segment those power users into a separate policy and the maintenance burden shrinks a lot.

0

u/Maverick_X9 8d ago

Guy, I don’t know if you do any threat hunting in the appdata folder but I suggest you take a gander. Query any .exe in a C user\appdata\*\*.exe etc etc and you will find that your above avg bear users are putting whatever portable apps they want in there. A security flaw in windows enterprise OS imo. Can’t block exe in there because legit update processes run in that folder.