8000 GitHub - ShiroiBoushi/NetBase: A Powershell script to make a baseline of network connections.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ShiroiBoushi/NetBase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

NetBase

NetBase or Network Baseline is a Powershell script to make a baseline of network connections.

How it works?

Netbase will create a baseline of the processes establishing a TCP connection with the remote IP address and remote port. The format of the csv file is :

"Remote IP","Remote Port","Path","timestamp"

How to use?

Run the script with admin privileges.

.\NetBase.ps1 -b to create a baseline or update the current one.

.\NetBase.ps1 -l C:\path\ to choose the location of the csv files.

.\NetBase.ps1 -t to add a timestamp to suspect connections.

.\NetBase.ps1 normal mode. It will compare current established connections with the baseline.

You can create a scheduled task to run .\NetBase.ps1 every 5 minutes to update suspect.csv"

Use cases

You can use this script to find malicious IPs, reverse shells and programs that are not supposed to connect to a certain port.

To do and ideas

Add an option to append suspect.csv to baseline.csv. For now you can copy manually.

Add the API of AbuseIPDB and block malicious IPs in the firewall

About

A Powershell script to make a baseline of network connections.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0