Skip to content

eneerge/Powershell-Firewall-Block-LOLbins

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

Powershell-Firewall-Block-LOLbins

This PowerShell script will create new firewall rules that will block LOLbins (living-off-the-land binaries) from accessing the network.

For more information about this, you can refer here: https://www.cynet.com/attack-techniques-hands-on/what-are-lolbins-and-how-do-attackers-use-them-in-fileless-attacks/

In brief, this script will prevent built in Windows utilities from accessing the internet. For example, it will prevent the expand.exe from downloading a file from the internet. In most circumstances, using expand.exe to access a remote file is extremely unlikely and would most definitely be frowned upon if required for legitimate reasons.

It would be better to implement AppLocker or Windows Defender Application Control for better protection. However, these rules can be used in lieu of those technologies to offer some basic protection.

I would like to credit these projects:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published