# 终极 WDAC 绕过列表
一个集中式资源,汇集了此前记录的 WDAC/Device Guard/UMCI 绕过技术,以及用于构建/管理/测试 WDAC 策略的资料
- 注意:WDAC(Windows Defender 应用程序控制)已被 Microsoft 更名为“应用程序控制”或“企业应用程序控制”
*许多 LOLBIN 都包含在[可绕过 WDAC 的应用程序列表](https://learn.microsoft.com/en-us/windows/security/application-security/application-control/windows-defender-application-control/design/applications-that-can-bypass-wdac)中,该列表以前称为“Microsoft 推荐阻止规则列表”
- `专业提示`:如果应用阻止规则策略,别忘了删除前两条文件规则:`ID_ALLOW_A_1` 和 `ID_ALLOW_A_2`
*本仓库的灵感来自 [Oddvar Moe](https://twitter.com/Oddvarmoe) 的 [终极 AppLocker 绕过列表](https://github.com/api0cradle/UltimateAppLockerByPassList)
*一如既往,这仍在不断完善中……
------------------------------
### 可绕过 WDAC 的应用程序——“LOLBIN”文章
#### addinprocess.exe
- 作者:James Forshaw (@tiraniddo)
- Windows 10 S 上的 DG:执行任意代码
- https://www.tiraniddo.dev/2017/07/dg-on-windows-10-s-executing-arbitrary.html
#### addinprocess32.exe
- 作者:James Forshaw (@tiraniddo)
- Windows 10 S 上的 DG:执行任意代码
- https://www.tiraniddo.dev/2017/07/dg-on-windows-10-s-executing-arbitrary.html
#### addinutil.exe
- 作者:未知(由 @McKinleyMike 和 @TheLatteri 记录)
- AddinUtil.exe 中的不安全反序列化
- https://www.blue-prints.blog/content/blog/posts/lolbin/addinutil-lolbas.html
#### aspnet_compiler.exe
- 作者:cpl (@cpl3h)
- Aspnet_Compiler.exe 的奇特案例
- https://ijustwannared.team/2020/08/01/the-curious-case-of-aspnet_compiler-exe/
#### bginfo.exe
- 作者:Oddvar Moe (@Oddvarmoe)
- 使用 BGInfo 绕过应用程序白名单
- https://msitpros.com/?p=3831
#### cdb.exe
- 作者:Matt Graeber (@mattifestation)
- 使用 WinDbg/CDB 作为 Shellcode 运行器绕过应用程序白名单
- http://www.exploit-monday.com/2016/08/windbg-cdb-shellcode-runner.html
#### csi.exe
- 作者:Casey Smith (@subTee)
- 应用程序白名单绕过 - CSI.EXE C# 脚本
- https://web.archive.org/web/20161008143428/http://subt0x10.blogspot.com/2016/09/application-whitelisting-bypass-csiexe.html
#### dbghost.exe
- 作者:Casey Smith (@subTee)
- dbghost.exe - 幽灵与黑暗
- https://web.archive.org/web/20170926164017/http://subt0x10.blogspot.com/2017/09/dbghostexe-ghost-in-darkness.html
#### dbgsrv.exe
- 作者:Casey Smith (@subTee)、Ross Wolf (@rw_access)
- 如何使用 dbgsrv.exe 绕过 WDAC
- https://fortynorthsecurity.com/blog/how-to-bypass-wdac-with-dbgsrv-exe/
- 精彩的紅隊攻击及如何发现它们
- https://i.blackhat.com/USA-19/Thursday/us-19-Smith-Fantastic-Red-Team-Attacks-And-How-To-Find-Them.pdf
#### dnx.exe
- 作者:Matt Nelson (@enigma0x3)
- 使用 DNX.EXE 绕过应用程序白名单
- https://enigma0x3.net/2016/11/17/bypassing-application-whitelisting-by-using-dnx-exe/
#### dotnet.exe
- 作者:Jimmy Bayne (@bohops)
- DotNet Core:AWL 绕过与防御规避的载体
- https://bohops.com/2019/08/19/dotnet-core-a-vector-for-awl-bypass-defense-evasion/
#### fsi.exe
- 作者:Nick Tyrer (@NickTyrer) [文章:Jimmy Bayne (@bohops)]
- GitHub Gist:fsi.exe 内联执行
- https://gist.github.com/NickTyrer/51eb8c774a909634fa69b4d06fc79ae1
- https://twitter.com/NickTyrer/status/904273264385589248
- 探索 WDAC Microsoft 推荐阻止规则(第二部分):Wfc.exe、Fsi.exe 和 FsiAnyCpu.exe
- https://bohops.com/2020/11/02/exploring-the-wdac-microsoft-recommended-block-rules-part-ii-wfc-fsi/
#### fsiAnyCpu.exe
- 作者:Nick Tyrer(@NickTyrer),通过 fsi.exe 内联执行 [文章:Jimmy Bayne(@bohops)]
- GitHub Gist:fsi.exe 内联执行
- https://gist.github.com/NickTyrer/51eb8c774a909634fa69b4d06fc79ae1
- https://twitter.com/bohops/status/1319096336441090050
- 探索 WDAC 微软推荐阻止规则(第二部分):Wfc.exe、Fsi.exe 和 FsiAnyCpu.exe
- https://bohops.com/2020/11/02/exploring-the-wdac-microsoft-recommended-block-rules-part-ii-wfc-fsi/
#### infdefaultinstall.exe
- 作者:Kyle Hanslovan(@KyleHanslovan)、Chris Bisnett(@chrisbisnett)
- 规避 Autoruns - DerbyCon 7.0
- https://github.com/huntresslabs/evading-autoruns
- 回复:在 Windows 10 上规避 Autoruns 的概念验证
- https://medium.com/@KyleHanslovan/re-evading-autoruns-pocs-on-windows-10-dd810d7e8a3f
#### InstallUtil.exe
- 作者:James Forshaw(@tiraniddo)
- Windows 10 S 上的 DG:滥用 InstallUtil
- https://www.tiraniddo.dev/2017/08/dg-on-windows-10-s-abusing-installutil.html
#### IntuneWindowsAgent.exe(Microsoft.Management.Services.IntuneWindowsAgent.exe)
- 作者:Kim Oppalfens(@TheWMIGuy)
- Intune Windows 代理绕过说明
- https://github.com/bohops/UltimateWDACBypassList/issues/1
#### kill.exe
- 作者:@hyp3rlinx
- 微软进程终止实用工具 "kill.exe" - SEH 缓冲区溢出
- http://hyp3rlinx.altervista.org/advisories/MS-KILL-UTILITY-BUFFER-OVERFLOW.txt
- https://twitter.com/bohops/status/1324563760967753730
#### microsoft.Workflow.Compiler.exe
- 作者:Matt Graeber(@mattifestation)
- Microsoft.Workflow.Compiler.exe 中的任意未签名代码执行向量
- https://posts.specterops.io/arbitrary-unsigned-code-execution-vector-in-microsoft-workflow-compiler-exe-3d9294bc5efb
#### msbuild.exe
- 作者:Casey Smith(@subTee)
- 使用 MSBuild.exe 绕过应用程序白名单 - Device Guard 示例与缓解措施
- https://web.archive.org/web/20160920161634/http://subt0x10.blogspot.com/2016/09/bypassing-application-whitelisting.html
#### mshta.exe
- 作者:未知(由 @conscioushacker 记录)
- 应用程序白名单绕过:mshta.exe
- https://web.archive.org/web/20171118145940/http://blog.conscioushacker.io/index.php/2017/11/17/application-whitelisting-bypass-mshta-exe/
#### powershellcustomhost.exe
- 作者:Lasse Trolle Borup(@TrolleBorup)
- 一个简单的 Device Guard 绕过
- https://danishcyberdefence.dk/blog/device-guard-powershellcustomhost
#### rcsi.exe
- 作者:Matt Nelson(@enigma0x3)
- 使用 RCSI.EXE 绕过应用程序白名单
- https://enigma0x3.net/2016/11/21/bypassing-application-whitelisting-by-using-rcsi-exe/
#### runscripthelper.exe
- 作者:Matt Graeber(@mattifestation)
- 使用 runscripthelper.exe 绕过应用程序白名单
- https://posts.specterops.io/bypassing-application-whitelisting-with-runscripthelper-exe-1906923658fc
#### texttransform.exe
- 作者:未知
- TextTransformer - 工具用例 [由 Casey Smith(@_subTee)记录]
- https://github.com/secdev02/TextTransformer
- TextTransform Shellcode 注入模板 [由 Chris Sphen(@ConsciousHacker)记录]
- https://gist.github.com/ConsciousHacker/40dfd14b9ecefec49803c509712346a9
- 占位参考(即将推出)
#### visualuiaverifynative.exe
- 作者:Lee Christensen(@tifkin_)[文章:Jimmy Bayne(@bohops)]
- 探索 WDAC 微软推荐阻止规则:VisualUiaVerifyNative
- https://bohops.com/2020/10/15/exploring-the-wdac-microsoft-recommended-block-rules-visualuiaverifynative/
#### wfc.exe
- 由 MSRC 和 Matt Graeber(@mattifestation)提供线索 [文章:Jimmy Bayne(@bohops)]
- 探索 WDAC 微软推荐阻止规则(第二部分):Wfc.exe、Fsi.exe 和 FsiAnyCpu.exe
- https://bohops.com/2020/11/02/exploring-the-wdac-microsoft-recommended-block-rules-part-ii-wfc-fsi/
#### windbg.exe
- 作者:Matt Graeber(@mattifestation)
- 使用 WinDbg/CDB 作为 Shellcode 运行器绕过应用程序白名单
- http://www.exploit-monday.com/2016/08/windbg-cdb-shellcode-runner.html
#### wmic.exe
- 作者:Casey Smith(@subTee)
- WMIC.EXE 白名单绕过 - 以风格进行黑客攻击,样式表
- https://web.archive.org/web/20190814201250/https://subt0x11.blogspot.com/2018/04/wmicexe-whitelisting-bypass-hacking.html
#### WSL 系列 - bash.exe、lxrun.exe、wsl.exe、wslconfig.exe、wslhost.exe
- 作者:Alex Ionescu(@aionescu)
- 玩转 Windows Subsystem for Linux
- https://github.com/ionescu007/lxss
#### 在阻止列表中 - 尚未记录……
- dbgsvc.exe
- kd.exe
- ntkd.exe
- ntsd.exe
- HVCIScan.exe
#### 列表中的库(独立使用可能/可能不有趣)
- Microsoft.Build.dll
- Microsoft.Build.Framework.dll
- msbuild.dll
- lxssmanager.dll
- system.management.automation.dll
- webclnt.dll/davsvc.dll
- mfc40.dll
------------------------------
### 其他“未签名代码执行”LOLBIN/PowerShell(不在列表中)
#### texttransformcore.exe
- https://github.com/LOLBAS-Project/LOLBAS/pull/496(即将推出)
#### microsoft.xsldebugger.host.exe
- https://github.com/LOLBAS-Project/LOLBAS/pull/496(即将推出)
#### WinDbgX.exe
- 作者:Cerbersec(@cerbersec)
- 绕过 WDAC WinDbg Preview
- https://cerbersec.com/2025/04/07/bypass-wdac-windbg-preview.html
#### PSNativeCmdDevKit(PowerShell)
- 作者:Matt Nelson(@enigma0x3)
- https://gist.github.com/enigma0x3/22d6fc84956f154faf338966cd6d9bb0
- https://x.com/enigma0x3/status/2100628652664787319
------------------------------
### PowerShell
#### 使用 PSWORKFLOWUTILITY 绕过 UMCI:CVE-2017-0215
- 作者:Matt Nelson(@enigma0x3)
- https://enigma0x3.net/2017/10/19/umci-bypass-using-psworkflowutility-cve-2017-0215/
#### 击败 DEVICE GUARD:深入探究 CVE-2017-0007
- 作者:Matt Nelson(@enigma0x3)
- https://enigma0x3.net/2017/04/03/defeating-device-guard-a-look-into-cve-2017-0007/
#### 利用 PowerShell 代码注入漏洞绕过受限语言模式
- 作者:Matt Graeber(@mattifestation)
- http://www.exploit-monday.com/2017/08/exploiting-powershell-code-injection.html
#### 深入探究 CVE-2017-8715:使用 POWERSHELL 模块清单绕过 CVE-2017-0218
- 作者:Matt Nelson(@enigma0x3)
- https://enigma0x3.net/2017/11/06/a-look-at-cve-2017-8715-bypassing-cve-2017-0218-using-powershell-module-manifests/
#### CVE-2018-8212:使用 MSFT_SCRIPTRESOURCE 绕过 DEVICE GUARD/CLM
- 作者:Matt Nelson(@enigma0x3)
- https://enigma0x3.net/2018/10/10/cve-2018-8212-device-guard-clm-bypass-using-msft_scriptresource/
#### Invoke-History 受限语言模式绕过
- 作者:Matt Graeber(@mattifestation)
- https://twitter.com/mattifestation/status/1095416185053696000
------------------------------
### 新颖的离地攻击/COM/Microsoft Office/活动脚本语言(jscript.dll、msxml3.dll、msxml6.dll)
#### 使用 .NET 程序集编译方法绕过 Device Guard
- 作者:Matt Graeber(@mattifestation)
- http://www.exploit-monday.com/2017/07/bypassing-device-guard-with-dotnet-methods.html
#### 悄悄绕过 Device Guard(+ CVE-2018-8417)
- 作者:Philip Tsukerman(@PhilipTsukerman)
- https://conference.hitb.org/hitbsecconf2019ams/materials/D2T1%20-%20Sneaking%20Past%20Device%20Guard%20-%20Philip%20Tsukerman.pdf
#### WLDP CLSID 策略 .NET COM 实例化 UMCI 绕过
- 作者:James Forshaw(@tiraniddo)
- https://bugs.chromium.org/p/project-zero/issues/detail?id=1514&q=
#### WSH 注入:案例研究
- 作者:Matt Nelson(@enigma0x3)
- https://enigma0x3.net/2017/08/03/wsh-injection-a-case-study/
#### winrm.vbs 中的应用程序白名单绕过与任意未签名代码执行技术
- 作者:Matt Graeber(@mattifestation)
- https://posts.specterops.io/application-whitelisting-bypass-and-arbitrary-unsigned-code-execution-technique-in-winrm-vbs-c8c24fb40404
#### COM XSL 转换:绕过 Microsoft 应用程序控制解决方案 (CVE-2018-8492)
- 作者 Jimmy Bayne (@bohops)
- https://bohops.com/2019/01/10/com-xsl-transformation-bypassing-microsoft-application-control-solutions-cve-2018-8492/
#### 滥用目录卫生以绕过应用程序白名单
- 作者:Jimmy Bayne (@bohops)
- https://bohops.com/2019/05/04/abusing-catalog-file-hygiene-to-bypass-application-whitelisting/
#### 使用 CHM 绕过 Device Guard UMCI – CVE-2017-8625
- 作者:Oddvar Moe (@Oddvarmoe)、Matt Nelson (@enigma0x3)
- https://oddvar.moe/2017/08/13/bypassing-device-guard-umci-using-chm-cve-2017-8625/
#### UMCI 对决 Internet Explorer:探索 CVE-2017-8625
- 作者:Matt Nelson (@enigma0x3)
- https://enigma0x3.net/2017/08/24/umci-vs-internet-explorer-exploring-cve-2017-8625/
#### 利用旧版已签名脚本宿主和签名目录文件绕过 WDAC
- 作者:William Easton (@strawgate)
- https://github.com/strawgate/Advisories/blob/main/Microsoft/VULN-051861.md
------------------------------
### 新型漏洞利用/自带易受攻击应用程序(BYVA)
#### 使用 Loki C2 绕过 Windows Defender 应用程序控制(通过 NodeJS-Electron 应用)
- 作者:Bobby Cooke (0xBoku)
- https://www.ibm.com/think/x-force/bypassing-windows-defender-application-control-loki-c2
#### 将浏览器漏洞利用武器化以绕过 Windows Defender 应用程序控制(WDAC)
- 作者:Valentina Palmiotti (@chompie1337)
- https://www.ibm.com/think/x-force/operationalizing-browser-exploits-to-bypass-wdac
-------------------------------
### 防御、策略创建、测试与研究
#### AppControl.ai 博客
- 关于 App Control/WDAC 管理、部署策略以及克服差距和风险的优秀博客
- 作者:Kim Oppalfens (@TheWMIGuy)
- https://www.appcontrol.ai/blog
#### WDAC Twitch 直播
- 精彩的视频合集,涵盖 WDAC 策略创建/强制执行/绕过/审计等
- 作者:Matt Graeber (@mattifestation)
- https://www.youtube.com/playlist?list=PL2Xx-q-W5pKUNaNkakjZkLmfsNvMWPdNB
#### WDAC 策略向导
- 用于访问 Windows Defender 应用程序控制(WDAC)技术的文档和工具
- 作者:Microsoft Docs
- https://github.com/MicrosoftDocs/WDAC-Toolkit
#### WDACTools
- 一个 PowerShell 模块,用于协助构建、配置、部署和审计 Windows Defender 应用程序控制(WDAC)策略
- 作者:Matt Graeber (@mattifestation)
- https://github.com/mattifestation/WDACTools
#### WDACPolicies
- 一组 Windows 软件基线说明及相应的 Windows Defender 应用程序控制(WDAC)策略
- 作者:Matt Graeber (@mattifestation)
- https://github.com/mattifestation/WDACPolicies
#### 构建 Windows Defender 应用程序控制实验环境
- 作者:FortyNorth Security (@FortyNorthSec)
- https://fortynorthsecurity.com/blog/building-a-windows-defender-application-control-lab/
#### 以艰难方式记录和攻击 Windows Defender 应用程序控制功能——安全研究方法论案例研究
- 作者:Matt Graeber (@mattifestation)
- https://posts.specterops.io/documenting-and-attacking-a-windows-defender-application-control-feature-the-hard-way-a-case-73dd1e11be3a
#### WinAWL
- Windows 应用程序控制说明和示例策略
- 作者:Brian in Pittsburgh (@arekfurt)
- https://github.com/arekfurt/WinAWL
#### Exploit Monday 博客
- 作者:Matt Graeber (@mattifestation)
- http://www.exploit-monday.com/
#### 部署策略和设置 WDAC 测试机的快速步骤
- 作者:Jimmy Bayne (@bohops)
- 限制性策略:https://gist.github.com/bohops/bd763d87187b79c0c749da6be7be8a42
- 扫描策略:https://gist.github.com/bohops/148375490c5ead713ed8a433b466182f
#### 20H2 中的 Windows Defender 应用程序控制(WDAC)更新以及构建简单、安全的仅限 Windows 策略
- 作者:Matt Graeber (@mattifestation)
- https://mattifestation.medium.com/windows-defender-application-control-wdac-updates-in-20h2-and-building-a-simple-secure-4fd4ee86de4
#### 强化 Windows 安全:WDAC 笔记
- 作者:HotCakeX (@HotCakeX)
- https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDAC-Notes
#### WDAC 笔记
- 作者:Chad Duffey (@duff22b)
- https://www.chadduffey.com/wdac/2021/01/26/WDAC-notes.html