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

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
LVL 4
SmightyAsked:
Who is Participating?
 
McKnifeConnect With a Mentor Commented:
You know what, I tried it out, you can stick to your plan. \\*\sharename\* works as exception.
0
 
McKnifeCommented:
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
 
SmightyAuthor Commented:
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
Protect Your Employees from Wi-Fi Threats

As Wi-Fi growth and popularity continues to climb, not everyone understands the risks that come with connecting to public Wi-Fi or even offering Wi-Fi to employees, visitors and guests. Download the resource kit to make sure your safe wherever business takes you!

 
McKnifeCommented:
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
 
SmightyAuthor Commented:
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
 
SmightyAuthor Commented:
Thanks. You had the time I had not :)
0
 
McKnifeCommented:
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
 
SmightyAuthor Commented:
sorry, I didn't know that... in this case it should be A - can I change that?
0
 
McKnifeCommented:
No need to. Next time :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.