Solved

Windows GPO Applocker - Allow Execution from Path - with wildcards?

Posted on 2013-06-07
9
1,453 Views
Last Modified: 2013-06-10
Hello,

I am wondering if it is possible to restrict the execution of a Service User.
Our Software Deployment tool needs - for obvious reasons Administrative Rights on all Client machines. I want to limit the execution of any file that this user does to a certain path on the machine AND from a certain share.

Since the Software has its own Synchronization mechanism, I can't set up a DFS... I have a Share that is located on many computers, and I want to create an allow rule that restricts a certain user to execution only from this share.

The ALLOW rule Applocker should apply would be a Path rule similar to this: \\*\Share
 
I know I can use a wildcard at the end - \\server\share\* - but am I able to substitute the Servername?

Thanks in advance!
David
0
Comment
Question by:Smighty
  • 5
  • 4
9 Comments
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
Hi.
Why would you want to do that? Normally, service accounts have complex passwords that cannot be compromised, so all your effort would be in vain.
0
 
LVL 4

Author Comment

by:Smighty
Comment Utility
This is the account that logs on locally to install software, not only msi files... but click-dummies as well... though I'm able to lock the input through the software most of the time, the user still is logged on and may be compromised....
0
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
Please describe in detail how this account is used: is it used interactively or scripted? And where do you see possibilities to compromise it? Where would a user have access to visible processes (=windows) that are started as that account?

Also, if that account were compromised, wouldn't it be able to change those applocker rules?
Ok, not too many questions at once, but please reply to all, one by one.
For the wildcard question: how many servers are there? Hundreds? :) Why not list those shares one by one and deploy this setting as a policy?
0
 
LVL 4

Author Comment

by:Smighty
Comment Utility
The Account either runs as a secondary session or is logged on the machine. It will then execute scripts and/or installation routines such as MSI, Wise Installer, InstallShield, InnoSetup, etc.

Some Software I have to deploy does not have a setup does not have a silent-switch or an unattended mechanism. In that case I would have to have a window open where my Software Deployment Software (Baramundi Management Suite) can use its click-dummy to go through the setup.

As long as the Account is logged in, it poses a risk. I want to use applocker to lock down the execution of all EXE or MSI files that are not stored in special paths.

No, I want to use a Group Policy object, but not a local one.

Yes, there are hundreds, to be precise, 150 machines, but we will hit 200 very soon. Since I want to do this in a group policy, I don't want to change that policy everytime I deploy a new machine that serves as an distributed installation point (DIP)

for the wildcards: \\*\DIP$ would be generic but would do. \\DIP*\DIP$ would be possible as well, since many of them are already set up starting with these 3 letters.
Also: is it possible to use the other Wildcard (?) as well? \\??DIP*\DIP$ would be another that I could to use for some machines...
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 53

Accepted Solution

by:
McKnife earned 500 total points
Comment Utility
You know what, I tried it out, you can stick to your plan. \\*\sharename\* works as exception.
0
 
LVL 4

Author Closing Comment

by:Smighty
Comment Utility
Thanks. You had the time I had not :)
0
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
Hi again.

Please think about this quote from the FAQ: "B grade means the solution given lacked some information or required you to do a good amount of extra work to resolve the problem. When closing the question, the asker should explain why a B grade was awarded."

Taken from http://support.experts-exchange.com/customer/portal/articles/481419
No bad feelings, just to let you know what B is meant for.
0
 
LVL 4

Author Comment

by:Smighty
Comment Utility
sorry, I didn't know that... in this case it should be A - can I change that?
0
 
LVL 53

Expert Comment

by:McKnife
Comment Utility
No need to. Next time :)
0

Featured Post

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
This is a guide to the following problem (not exclusive but here) on Windows: Users need our support and we supporters often use global administrative accounts to do this. Using these accounts safely is a real challenge. Any admin who takes se…
This video discusses moving either the default database or any database to a new volume.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now