11/12 free views
Script
Script
Penetration Testing & Red Teaming

posh-discovery

by giuliocomi

0stars
2forks
1watchers
Updated almost 7 years ago
About

posh-discovery is a toolkit designed to map the attack surface of a compromised Windows OS by identifying open ports and live hosts.

[alpha] A set of scripts useful to run on a compromised Windows OS to map the attack surface (find of open ports, live hosts, etc.) from that Pivot. This toolkit aims to be complementary to framework that directly play with Active Directory objects.

Primary Use Case

This tool is primarily used by penetration testers and red teamers to assess the security posture of a compromised system. It helps in gathering critical information that can be leveraged for further exploitation or defense strategies.

Key Features
  • Network monitoring
  • Identification of open ports
  • Discovery of live hosts
  • Complementary to Active Directory frameworks

Installation

  • Clone the repository using 'git clone https://github.com/giuliocomi/posh-discovery.git'
  • Navigate to the cloned directory
  • Run the scripts as needed

Usage

>_ Invoke-Discovery

Runs the main discovery script to map the attack surface.

>_ Get-LiveHosts

Identifies live hosts on the network.

>_ Get-OpenPorts

Scans for open ports on the compromised machine.

Security Frameworks
Reconnaissance
Initial Access
Execution
Discovery
Credential Access
Usage Insights
  • Can be chained with Metasploit for automated exploitation
  • Useful for continuous security monitoring in CI/CD pipelines
  • Integrate with SIEM tools for real-time alerting on discovered vulnerabilities
  • Consider developing a GUI for easier use by less technical team members
  • Implement logging and reporting features to track the effectiveness of scans

Docs Take 2 Hours. AI Takes 10 Seconds.

Ask anything about posh-discovery. Installation? Config? Troubleshooting? Get answers trained on real docs and GitHub issues—not generic ChatGPT fluff.

This tool hasn't been indexed yet. Request indexing to enable AI chat.

Admin will review your request within 24 hours

Security Profile
Red Team80%
Blue Team30%
Purple Team50%
Details
LanguagePowerShell
Open Issues0
Topics
powershell
network-security
host-discovery
csharp
arp-scanner
portscanner
pingscan