Block a DLL (created in Visual Studio) with Applocker

  • Thread starter Thread starter Oliver_caceres
  • Start date Start date
O

Oliver_caceres

Guest
Hi all,


On my organization we want to implement Applocker to block unauthorized DLLs. So far, I've created a very simple test, I've created an exe file that loads a function stored on a DLL. I created the program using visual studio and C#


After configuring Applocker to Deny access to the Dlls of my test, for my surprise this don't stop my program from loading the function in the DLL. Is there a way to achieve this using Applocker?

OS: Windows Server 2012 R2

My Question is similar to this one, that never got replied

Windows 7 AppLocker and .Net DLLs



Update I've tried to block DLLs for Notepad++, using the same method and when I start Notepad++, I get a message that says "Can't load the dynamic library" So in fact it's working! I'm guessing in the first test my code somehow bypass Applocker rules. Can someone explain what to do in the case of .NET developments?


Regards

Oliver







Continue reading...
 
Back
Top