Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

4 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Network Port & Process Auditor

A lightweight PowerShell script designed to audit local network activity by mapping active TCP listening ports directly to their originating processes and executable paths.

๐Ÿš€ Features

  • Port Mapping: Identifies all local TCP addresses and ports currently in a Listen state.
  • Process Resolution: Automatically resolves the process name and Process ID (PID) tied to each active port.
  • Path Tracing: Fetches the absolute file path of the running executable for deeper security verification.
  • Automated Reporting: Generates and exports a cleanly formatted table directly to a text file on your Desktop.

๐Ÿ› ๏ธ Usage

Prerequisites

  • Windows Operating System
  • PowerShell 5.1 or higher
  • Administrator privileges (Highly recommended so the script can resolve paths for restricted system processes)

Running the Script

  1. Open PowerShell as an Administrator.
  2. Clone this repository or copy the script into a file named PortAudit.ps1.
  3. Execute the script:
    .\PortAudit.ps1

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages