Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
ACEshark — ACEshark 是一款用于快速提取和分析 Windows 服务配置及访问控制项(Access Control Entries)的实用工具,无需依赖 accesschk.exe 或其他非原生二进制文件。 | Kitploit
工具/GitHubGitHub/t3l3machus/aceshark
权限提升漏洞分析配置审计信息收集后渗透利用渗透测试红队
GitHubt3l3machus/aceshark

ACEshark

ACEshark 是一款用于快速提取和分析 Windows 服务配置及访问控制项(Access Control Entries)的实用工具,无需依赖 accesschk.exe 或其他非原生二进制文件。

查看仓库
1482331年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

ACEshark

Python License

它是什么?

ACEshark 是一款旨在快速提取和分析 Windows 服务配置与访问控制项的工具,无需借助 accesschk.exe 或其他非系统原生二进制工具。

为什么?

  • 高效识别和分析服务权限,以发现潜在的权限提升向量(修改服务的 binpath 并重新启动它)。
  • 审计特定用户或所有组和账户的服务权限。

工作原理

运行 ACEshark 会启动一个 HTTP/HTTPS 服务器,作为服务配置与访问控制项的监听器。它会根据指定选项生成一个小型提取脚本,由用户在目标机器上运行。随后 ACEshark 获取并处理这些数据,提供详细的分析结果。

ACEshark 会为每次提取到的服务配置生成日志文件,以便在需要时重新生成报告。

❗重要

  1. 即使根据其 ACE 和配置,某个服务被标记为权限提升的绝佳候选者,其他 Windows 安全功能仍可能阻止你实际利用它。
  2. 该工具可能不会特别隐蔽。
  3. 使用此工具攻击未经明确授权测试的主机是违法的。你需对使用此工具可能造成的任何麻烦负责。

总览

image

aceshark2

安装

  1. 克隆仓库:
root@kitploit:~
git clone https://github.com/t3l3machus/ACEshark
  1. 安装依赖:
root@kitploit:~
cd ACEshark  
pip3 install -r requirements.txt  

一切就绪。

注意:如果提取脚本的自动复制到剪贴板功能失败,你可能需要安装一个复制/粘贴机制,例如 sudo apt-get install xclip 或 sudo apt-get install xselect。

用法

root@kitploit:~
ACEshark.py [-h] [-s SERVER_ADDRESS] [-p PORT] [-c CERTFILE] [-k KEYFILE] [-f FILE_INPUT] [-i] [-g] [-a] [-x CUSTOM_MODE] [-lg] [-gs] [-e] [-z CONFIG_FILENAME] [-d DELIMITER] [-q] [-v]

ACEshark is a utility designed for rapid extraction and analysis of Windows service configurations and Access Control Entries, eliminating the need for tools like accesschk.exe or other non-native binaries.

options:
  -h, --help            show this help message and exit

BASIC OPTIONS:
  -s SERVER_ADDRESS, --server-address SERVER_ADDRESS
                        Your server IP or domain name. This option cannot be used with -f.
  -p PORT, --port PORT  HTTP / HTTPS server port (default: 80 / 443).
  -c CERTFILE, --certfile CERTFILE
                        Optional: Path to the TLS certificate for enabling HTTPS.
  -k KEYFILE, --keyfile KEYFILE
                        Optional: Path to the private key for the TLS certificate.
  -f FILE_INPUT, --file-input FILE_INPUT
                        ACEshark creates log files every time you run the extractor script on a machine (stored in ~/.ACEshark). Use this option to regenerate a services config analysis from a log file. This
                        option cannot be used with -s.

MODES:
  -i, --interesting-only
                        List only those service ACEs that can potentially be abused by your user, based on their SID and group membership, with at least (WRITE_PROPERTY AND CONTROL_ACCESS) or GENERIC_ALL
                        privileges.
  -g, --great-candidates
                        Similar to --interesting-only but with stricter criteria. A service is labeled as a great candidate for privilege escalation if the service's START_TYPE == DEMAND_START AND TYPE ==
                        WIN32_OWN_PROCESS AND your user has (WRITE_PROPERTY AND CONTROL_ACCESS) OR GENERIC_ALL privileges.
  -a, --audit           Audit mode. Analyzes all service ACEs without searching for user-specific abusable services (Long output). This option also downgrades the extractor script, omitting the retrieval of
                        the current user's SID and group membership information. By default, the WRITE_PROPERTY and CONTROL_ACCESS rights are highlighted for simplicity when they are present.
  -x CUSTOM_MODE, --custom-mode CUSTOM_MODE
                        Provide a comma-separated list of integers representing the generic access rights to match. Only service ACEs that your user may be able to abuse, based on their SID and group
                        membership matching the provided rights, will be listed. Use -lg to list all predefined generic access rights.
  -lg, --list-generic   List all predefined generic access rights.

EXTRACTOR MODIFICATIONS:
  -gs, --get-service    This option modifies the extractor script to use Get-Service for listing available services. While cleaner, it may not work with a low-privileged account. The default Get-ChildItem
                        approach, though less elegant, is more likely to succeed in most cases.
  -e, --encode          Generate Base64-encoded services configuration extractor script instead of raw PowerShell.
  -z CONFIG_FILENAME, --config-filename CONFIG_FILENAME
                        Change the temporary filename used to store the extracted services configuration before transferring the data via HTTP (default: sc.txt).
  -d DELIMITER, --delimiter DELIMITER
                        Change the delimiter value used for service config serialization (default: #~). Use this option cautiously. It is rarely needed.

OUTPUT:
  -q, --quiet           Do not print the banner on startup.
  -v, --verbose         Print the user's SID and group membership info as well (not applicable in Audit mode).

特别感谢

  • Marios K. Pappas(又名 Pri3st),感谢他帮助测试该工具!
  • TJ_Null,感谢他进行测试并提供宝贵反馈!
下载工具