AD / GPO – SIMSENblogThings I learn, tools I build, shared with you. Microsoft Intune, Windows, macOS and endpoint security by Simon Hartmann Eriksen.https://www.simsenblog.dk/en-GBMon, 04 Oct 2021 11:00:00 GMTAdmin by Request + MS AppLocker = GREAThttps://www.simsenblog.dk/2021/10/04/admin-by-request_and_ms-applocker/https://www.simsenblog.dk/?p=626Combine Admin by Request with AppLocker to block unapproved apps like shareware or TeamViewer QuickSupport, while still letting users request the ones they need. With a demo video of five common scenarios.Mon, 04 Oct 2021 11:00:00 GMT<p>Companies need to fulfil regulations, to document what specific applications that is running on the PC. Here it can be hard to make sure users don’t download software that is not approved and run ex. Shareware/malware, TeamViewer QuickSupport or Google Chrome. But Companies still want the flexibility to allow some apps to run for special matter. Here Admin by Request can help.</p> <p>The request feature in Admin by Reqeust will “win” over AppLocker to actually give the possibility to do the request and run specific application. AppLocker is a perfect solution to make sure apps from specific vendor, specific version or from Read-Only folders can run.</p> <p>But it can be hard to give back some of this flexibility and still audit this in a smart process.</p> <h2 id="i-have-made-a-demo-video--with-5-common-scenarios">I have made a demo video – with 5 common scenarios.</h2> <p>My AppLocker policy for the demo – very simple.</p> <p><img src="https://www.simsenblog.dk/images/posts/admin-by-request-and-ms-applocker/applocker.png" alt="AppLocker rules allowing Microsoft-signed apps, Program Files and Windows folders, but denying NOTEPAD.EXE for Everyone"></p> <p>In Admin by Request I have activated, so users can do Run As Admin, but need approval.</p> <p><img src="https://www.simsenblog.dk/images/posts/admin-by-request-and-ms-applocker/applocker2.png" alt="Admin By Request Run As Administrator settings with Allow Run As Admin and Require approval both switched on"></p> <p>PC 1</p> <ul> <li>Downloaded TeamviewerQS – and run, NOT Allowed.</li> <li>Downloaded Notepad++ – Request to install, Allowed <ul> <li>Installed in Program Files – Allowed to run</li> </ul> </li> <li>Request TeamviewerQS to run – Allowed.</li> <li>Close TeamviewerQS, try run again, Not allowed(Only single session is approved).</li> </ul> <p>PC 2</p> <ul> <li>Request to install Notepad++, Allowed <ul> <li>Install to <strong>C:\Notepad</strong>\</li> <li>Not allow to Run (Only allowed to run from Program Files and Windows folder)</li> </ul> </li> </ul> <p><video controls preload="metadata" playsinline width="1280" height="958" src="https://www.simsenblog.dk/images/posts/admin-by-request-and-ms-applocker/applocker.mp4"></video></p> <h2 id="conclusion">Conclusion</h2> <p>We now have full control of all executables on the Windows client. Everything is allowed to run from Read-only folders, like Program Files and Windows. Software is typical installed in these folders by MEM/SCCM.</p> <p>All apps that is downloaded – and tried to installed/run will be blocked. Users is able to request install/run on a single session. IT Admins can then from Admin by Request approve single session to run.</p> Simon Hartmann EriksenWindowsToolsAdmin By RequestAppLocker