Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Inactive Support Threads
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Security
Guides - Privacy & Security Tips
Windows Home/Pro owner? Use Software Restriction Policies!
Message
<blockquote data-quote="Andy Ful" data-source="post: 560672" data-attributes="member: 32260"><p>It is interesting. Your system is somewhat more restricted than mine for LNK or EXE files.</p><p>I figured out how to minimize LNK execution problem in my setup. Here are all path rules in my SRP configuration:</p><p></p><p>DISALLOWED</p><p>*.lnk</p><p></p><p>UNRESTRICTED</p><p>%HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRoot%</p><p>%HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir (x86)%</p><p>%HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir%</p><p>%LOCALAPPDATA%\Microsoft\Windows\WinX\Group1\*.lnk</p><p>%LOCALAPPDATA%\Microsoft\Windows\WinX\Group2\*.lnk</p><p>%LOCALAPPDATA%\Microsoft\Windows\WinX\Group3\*.lnk</p><p>%USERPROFILE%\Desktop\*.lnk</p><p>C:\ProgramData\Microsoft\Windows\Start Menu\*.lnk</p><p>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\*.lnk</p><p>C:\ProgramData\Microsoft\Windows\Start Menu\Programs\*\*.lnk</p><p></p><p>I simply disallowed LNK files globally, and then whitelisted them in some folders for using 'Power Menu', 'Desktop', and 'Start Menu' shortcuts. Yet, whitelisting LNK locations has the side effect, that now I can run all scripts (BAT, CMD, JS, JSE, PS1, VBS, VBE, WSF, HTA), and configuration files (CPL, MSC, REG) in the User Space, by the shortcut in whitelisted location. This loophole can be made smaller if CMD, WSH, and PowerShell scripts are blocked by the reg tweak.</p><p>Above tweaks works in the same way on my 2 computers - Win 10 Pro (SRP configured by Secpol) and Win 7 Home (configured by reg hack).</p><p>I am curious how the LNK problem looks like on other computers.</p></blockquote><p></p>
[QUOTE="Andy Ful, post: 560672, member: 32260"] It is interesting. Your system is somewhat more restricted than mine for LNK or EXE files. I figured out how to minimize LNK execution problem in my setup. Here are all path rules in my SRP configuration: DISALLOWED *.lnk UNRESTRICTED %HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRoot% %HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir (x86)% %HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir% %LOCALAPPDATA%\Microsoft\Windows\WinX\Group1\*.lnk %LOCALAPPDATA%\Microsoft\Windows\WinX\Group2\*.lnk %LOCALAPPDATA%\Microsoft\Windows\WinX\Group3\*.lnk %USERPROFILE%\Desktop\*.lnk C:\ProgramData\Microsoft\Windows\Start Menu\*.lnk C:\ProgramData\Microsoft\Windows\Start Menu\Programs\*.lnk C:\ProgramData\Microsoft\Windows\Start Menu\Programs\*\*.lnk I simply disallowed LNK files globally, and then whitelisted them in some folders for using 'Power Menu', 'Desktop', and 'Start Menu' shortcuts. Yet, whitelisting LNK locations has the side effect, that now I can run all scripts (BAT, CMD, JS, JSE, PS1, VBS, VBE, WSF, HTA), and configuration files (CPL, MSC, REG) in the User Space, by the shortcut in whitelisted location. This loophole can be made smaller if CMD, WSH, and PowerShell scripts are blocked by the reg tweak. Above tweaks works in the same way on my 2 computers - Win 10 Pro (SRP configured by Secpol) and Win 7 Home (configured by reg hack). I am curious how the LNK problem looks like on other computers. [/QUOTE]
Insert quotes…
Verification
Post reply
Top