Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Hijack-service-binaries — PowerShell script that audits Windows service binaries for writable permissions, identifying privilege escalation vectors by checking ACLs on non-system services. | Kitploit
Tools/GitHubGitHub/sec-zone/hijack-service-binaries
Privilege EscalationVulnerability AnalysisPost-ExploitationPenetration TestingRed Teaming
GitHubsec-zone/hijack-service-binaries

Hijack-service-binaries

PowerShell script that audits Windows service binaries for writable permissions, identifying privilege escalation vectors by checking ACLs on non-system services.

Share
View Repository
2348 months agoNot yet reviewed

Hijack-service-binaries

A PowerShell security auditing tool that identifies Windows service binaries that can be modified by the current user—a potential privilege escalation vector.

Overview

This script scans all Windows services (except system32 and svchost) and checks if the current user has write, modify, or full control permissions on the service executable files. If dangerous permissions are detected, it alerts the user with detailed information about the vulnerable service.

Features

  • 🔍 Scans all non-system Windows services
  • 🛡️ Checks file ACLs (Access Control Lists) for dangerous permissions
  • ⚠️ Identifies privilege escalation opportunities
  • 📋 Displays service name, account, path, and permission details
  • 🎯 Filters out system services automatically

How It Works

  1. Retrieves the current user's identity and security principal
  2. Enumerates all Win32 services via CIM (Common Information Model)
  3. Filters out services in system32 and svchost
  4. For each service binary, retrieves the ACL (Access Control List)
  5. Checks if the current user has Write, Modify, or FullControl rights
  6. Reports any services where the current user can modify the binary

Usage

powershell.exe .\hsb.ps1

You can run it with low privilege user.

Output

When a vulnerable service is found:

⚠️ Current user CAN modify service binary!
Service: ServiceName
Runs As: ACCOUNT
Path: C:\Path\To\Service.exe
Matched Identity: DOMAIN\USER
Rights: Write, Modify, FullControl

Security Impact

If a service binary can be modified by a non-administrative user:

  1. The attacker can replace the binary with a malicious version
  2. When the service is restarted, the malicious binary runs with the service's privileges
  3. This can lead to privilege escalation if the service runs as SYSTEM or another high-privilege account

Disclaimer

This tool is intended for authorized security assessments and system administration tasks only. Unauthorized access to computer systems is illegal.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    945
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    555
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    350
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    339
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    338
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    292

Explore all tools

Browse our collection of tools

View all tools →