Offensive Security Tools Collection

March 11, 2026 ยท View on GitHub

This repository is a curated collection of binaries, scripts, and frameworks used during OSCP preparation and various CTF challenges. It is organized by attack phase to allow for quick access during engagements.

Important

Submodules have been removed. All tools are now hosted directly within this repository for easier portability.

๐Ÿš€ Quick Start

Clone the repository:

git clone https://github.com/hardsoftsecurity/Offensive-Security-Tools.git
cd Offensive-Security-Tools

Tools List

๐Ÿ—๏ธ Active Directory (AD)

ToolDescription
BadSuccessor.ps1PowerShell script for AD exploitation/enumeration
Certipy.exeTool for enumerating and exploiting Active Directory Certificate Services (AD CS)
DFSCoerceTool to coerce authentication via DFSRP
gMSADumper.pyExtracts passwords from Group Managed Service Accounts (gMSA)
kerbruteRapid Active Directory enumeration and brute force via Kerberos Pre-Authentication
krbrelayxToolkit for Kerberos relay attacks (includes addspn, dnstool, and printerbug)
ntlm_theftGenerates multiple types of NTLMv2 hash theft files (xlsx, docx, lnk, etc.)
PetitPotamTool to coerce Windows hosts to authenticate to other machines via MS-EFSRPC
PKINITtoolsUtilities for PKINIT and certificate-based auth (gettgtpkinit, gets4uticket)
PowermadPowerShell tools for AD MachineAccountQuota exploitation and DNS updates
PowerView.ps1Situational awareness tool for Windows domains
pyLAPSPython tool to retrieve LAPS passwords from AD
pywhiskerPython tool for Shadow Credentials exploitation
Rubeus.exeToolset for raw Kerberos interaction and abuses
SharpDPAPI.exeC# port of Mimikatz DPAPI functionality for credential/backup key extraction
SharpHoundBloodHound ingestors (C# and PowerShell versions)
SpoolSample.exeTool to coerce Windows hosts to authenticate via the Print Spooler service
targetedKerberoastPython script for targeted Kerberoasting attacks
username_generatorScript to generate potential AD usernames based on naming conventions
winrmexecWinRM shell execution and lateral movement tool

๐Ÿ“œ Custom Scripts

Personal automation scripts designed for rapid enumeration, discovery, and environment checks.

ToolDescription
checkDisabledFunc.phpPHP script to identify disabled functions in restricted web environments
InitialScanOSCP.pyAutomation script for initial target reconnaissance
pingHostDiscovery.pyPython-based ICMP scanner for identifying live hosts on a network
portscan.shLightweight bash script for quick port discovery
smbEnumerationShares.pyScript to automate the discovery and listing of SMB shares
uncommonWinPorts.ps1PowerShell script to identify non-standard open ports on Windows targets

๐Ÿ” Enumeration & Scouting

This section covers tools for web path discovery, system configuration auditing, and network scanning.

ToolDescription
dirsearchAdvanced web path brute-forcing tool with custom wordlists and threading
Get-ServiceAcl.ps1PowerShell script to enumerate ACLs of Windows services
gobusterTool used to discover URIs, DNS subdomains, and virtual host names
linpeas.shPrivilege escalation path finder for Linux/Unix systems
nmapIndustry-standard network scanner (Linux & Windows binaries included)
pspy64Monitor Linux processes in real-time without root permissions
SetAclAdvanced tool for managing Windows permissions (x64 and x86 versions)
SysinternalsFull suite of Microsoft troubleshooting and security utilities (AccessChk, PsExec, etc.)
winPEASWindows Privilege Escalation Awesome Scripts (Batch and .exe versions)

๐Ÿƒ Lateral Movement & GPO Abuse

Tools focused on pivoting through the domain, exploiting Group Policy Objects, and switching user contexts.

ToolDescription
GPOwnedPython tool to identify and exploit insecure GPOs by searching for sensitive information
Group3r.exeTool for finding vulnerabilities in AD Group Policy from a user's perspective
RunasCs.exeA better runas for Windows, allowing command execution with different credentials including networking
SharpGPOAbuse.exeC# tool to abuse GPO permissions (e.g., adding a local admin or a startup script)
SharpGPO.exeUtility to enumerate and interact with Group Policies
Whisker.exeC# tool for Shadow Credentials exploitation to take over accounts

๐Ÿ“ฆ Miscellaneous Utilities

A collection of wordlists, debugging scripts, and specialized data-dumping tools.

ToolDescription
directoryListsTargeted wordlists for API endpoints, SNMP, and web directory fuzzing (IIS, Raft, etc.)
gdb_commandsPython scripts and .gdbinit for binary analysis (pattern generation, checksec)
git-dumperA tool to dump a git repository from a website when the .git folder is exposed
ntlm_theftGenerates malicious templates (docx, lnk, etc.) to capture NTLM hashes over the network
passwordListHigh-probability password lists (e.g., Top 1 Million list)

๐ŸŽฃ Phishing & Initial Access

Tools for generating malicious documents and weaponized office files to obtain initial foot-holds.

ToolDescription
badodfPython tool to create malicious ODT files that trigger NTLM credential theft or execute commands
macro_reverse_shellAutomation script to generate weaponized Office macros for reverse shell connectivity

๐Ÿงฑ Pivoting & Tunneling

Essential tools for bypassing firewalls, creating network tunnels, and routing traffic through compromised hosts.

ToolDescription
chiselFast TCP/UDP tunnel over HTTP, secured via SSH. Includes Linux and Windows (x64/x86) binaries
ligolo-ngAdvanced tunneling tool that uses a TUN interface to simulate a real network connection (Agent & Proxy)
plink.exePuTTY command-line connection utility, used for SSH remote port forwarding on Windows
socatMultipurpose relay tool (the "Netcat on steroids") for port forwarding and complex networking

๐Ÿ Post-Exploitation & Credential Dumping

Tools for extracting secrets, escalating privileges, and auditing system security after an initial compromise.

ToolDescription
DecryptAutoLogon.exeRecovers cleartext credentials from Windows AutoLogon registry keys
mimikatzThe industry-standard tool for credential dumping (includes trunk versions for x86/x64 and PowerShell)
pamLogger / pamspyLinux-based tools to intercept and log credentials via the PAM (Pluggable Authentication Modules)
PowerUp / PrivescCheckPowerShell scripts for finding common Windows misconfigurations and PrivEsc vectors
RemotePotato0Tool to achieve local privilege escalation from a domain user to SYSTEM via NTLM relay
RunasCsAdvanced runas replacement (includes .NET 2.0 version for legacy compatibility)
Seatbelt.exeC# project for performing local system "safety checks" for privilege escalation
SharpHoundBloodHound collectors (Current v2.5+ and Legacy versions included for varying .NET environments)
unix-privesc-checkShell script to find common privilege escalation vectors on Unix/Linux systems

๐Ÿš Reverse Shells & Web Shells

A versatile collection of payloads for establishing command execution across various web technologies and operating systems.

ToolDescription
demontimeObfuscated PowerShell reverse shell templates designed to bypass basic AV signatures
forward-shellPython-based "Forward Shell" for environments where reverse/bind shells are impossible (uses command execution via web requests)
JWT_Forward_ShellSpecialized forward shell that utilizes JSON Web Tokens for command transport
nc / NetcatThe "TCP/IP Swiss Army Knife" (includes Linux and Windows x86/x64 binaries)
pentestmonkeyThe classic, reliable PHP reverse shell and various one-liners
powercat.ps1A PowerShell-native implementation of Netcat
PowerShellGeneratorsAutomation scripts to generate custom, encoded PowerShell reverse shell strings
Web ShellsMulti-platform web shells including .aspx (IIS), .jsp (Tomcat/Java), and .js (Node.js)
mssql_shell.pySpecialized script for obtaining a shell via MSSQL xp_cmdshell exploitation

๐Ÿฅ” Token Exploitation & Potato Attacks

Specialized tools for local privilege escalation (LPE) via service account token impersonation.

ToolDescription
FullPowers.exeRecovers "hidden" default privileges in a service trace (e.g., getting SeImpersonate back)
GodPotato-NET4.exeModern impersonation exploit targeting .NET 4 environments; effective on newer Windows builds
JuicyPotato / NGThe classic BITS service exploit (NG version is optimized for newer OS versions)
PrintSpoofer64.exeAbuse of the Print Spooler service for SYSTEM escalation (extremely reliable on Server 2016/2019)
SharpEfsPotato.exeC# implementation of the EFS-based impersonation exploit
SweetPotato.exeA collection of various Potato-style exploits (Juicy, PrintSpoofer, etc.) in a single binary

๐Ÿงฐ General Frameworks & Power Tools

Foundational tools for protocol interaction, password manipulation, and specialized service scanning.

ToolDescription
clipBoardMonitor.ps1Stealthy PowerShell script to monitor and log clipboard contents for credentials
CrackMapExec (CME)The ultimate post-exploitation tool for AD; automates credential spraying, dumping, and lateral movement
evil-winrmThe best shell for WinRM exploitation; supports file uploads, command history, and script loading
impacketFull suite of Python classes for working with network protocols (SMB, MSSQL, Kerberos, etc.)
joomscanSpecialized vulnerability scanner for identifying flaws in Joomla CMS installations
KeeThief / KeeTheftTools for extracting KeePass master keys from the memory of a running process
kerbruteHigh-performance Kerberos brute-forcing and enumeration (Linux binary)
maskprocessorHigh-performance word generator based on character masks for advanced password cracking
kwprocessorAdvanced keyboard-walk generator (e.g., "qwerty") for creating custom dictionaries

Usage

To use any of these tools, simply navigate to the appropriate directory and execute the binary or script. Ensure that you have the necessary permissions and environment set up for each tool to function correctly.

Acknowledgements

This configuration was inspired by various tools and configurations available online. Special thanks to the offensive security community for their contributions and shared knowledge.


Feel free to contribute to this repository by opening issues or submitting pull requests with improvements and suggestions.