Misconfiguration Manager 是一个集中式知识库,收录了所有已知的 Microsoft Configuration Manager 攻防技术与相关的防御及加固指南。
<p align="center">
<a href="https://github.com/subat0mik/Misconfiguration-Manager">
<img src="https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/specterops/.github/main/config/shield.json&style=flat"
alt="Sponsored by SpecterOps"/></a>
<a href="https://join.slack.com/t/bloodhoundhq/shared_invite/zt-1tgq6ojd2-ixpx5nz9Wjtbhc3i8AVAWw">
<img src="https://img.shields.io/badge/Slack-%23sccm-blueviolet?logo=slack" alt="Slack"/></a>
<a href="https://twitter.com/subat0mik">
<img src="https://img.shields.io/twitter/follow/subat0mik?style=social"
alt="@subat0mik on Twitter"/></a>
<a href="https://twitter.com/_Mayyhem">
<img src="https://img.shields.io/twitter/follow/_Mayyhem?style=social"
alt="@_Mayyhem on Twitter"/></a>
<a href="https://twitter.com/unsigned_sh0rt">
<img src="https://img.shields.io/twitter/follow/unsigned_sh0rt?style=social"
alt="@unsigned_sh0rt on Twitter"/></a>
</p>
---
# Misconfiguration Manager

# 修复快速入门
1. 查看已知且已记录的[攻击技术](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/README.md)列表及对应的[防御技术](https://github.com/subat0mik/misconfiguration-manager/blob/main/defense-techniques/README.md),以识别您的环境中可能存在的问题以及如何修复它们
- 请参阅此[项目介绍](https://www.youtube.com/watch?v=GhT6nPes1h0&t=12s&pp=ygUYbWlzY29uZmlndXJhdGlvbiBtYW5hZ2Vy)
2. 免费运行 [ConfigManBearPig](https://github.com/SpecterOps/ConfigManBearPig) 并在 [BloodHound](https://github.com/SpecterOps/BloodHound) 中可视化结果
- 请参阅此[操作演示](https://specterops.io/blog/2026/01/13/introducing-configmanbearpig-a-bloodhound-opengraph-collector-for-sccm/)
3. 或者,运行 [MisconfigurationManager.ps1](https://github.com/subat0mik/Misconfiguration-Manager/blob/main/MisconfigurationManager.ps1)
- 请参阅此[操作演示](https://posts.specterops.io/rooting-out-risky-sccm-configs-with-misconfiguration-manager-0beecaab1af3)
4. 针对已识别的错误配置实施缓解措施
- 请参阅此[操作演示](https://github.com/subat0mik/Misconfiguration-Manager/blob/main/presentations/The_Admin's_Guide_to_Preventing_SCCM_Attacks.pdf)(或[此录像](https://www.youtube.com/watch?v=Rc2J6fmhcJ4)([幻灯片](https://github.com/subat0mik/Misconfiguration-Manager/blob/main/presentations/SO-CON%202025%20-%20Admins%20Guide%20to%20Preventing%20SCCM%20Attacks.pdf)))
# 概述
本仓库是一个中心化知识库,汇集了所有已知的 Microsoft Configuration Manager(又称 MCM、ConfigMgr、System Center Configuration Manager 或 SCCM)攻防技术与相关的防御和加固指导。我们的目标是帮助揭开 SCCM 攻防技术的神秘面纱,为防御者简化 SCCM 攻击路径管理,同时向攻击性安全专业人员普及这一模糊的攻击面。本仓库旨在超越白皮书的静态特性,作为一个持续更新的仓库,记录已知的 SCCM 错误配置及其滥用方式,并鼓励社区持续贡献以增强其相关性和实用性。
我们精心策划了本仓库,以提高对快速演变的 SCCM 威胁态势的认识,灵感来源于 [MITRE ATT&CK 框架](https://attack.mitre.org/matrices/enterprise/),并做了一些调整。我们还深受 Push Security 的 [SaaS 攻击技术矩阵](https://github.com/pushsecurity/saas-attacks/tree/main)以及 Will Schroeder 和 Lee Chagolla-Christensen 的 [Certified Pre-Owned](https://specterops.io/wp-content/uploads/sites/3/2022/06/Certified_Pre-Owned.pdf) 白皮书的影响。
我们的方法不仅限于对已知对手战术的编目,还包括来自渗透测试、红队行动和安全研究领域的贡献。在 SpecterOps,我们已在真实环境中利用了本仓库中重点介绍的许多错误配置,而其他一些则代表了在实验室环境中验证过的实验性和探索性研究项目。
本项目还作为我们所知的所有 [SCCM 攻击与防御资源](https://github.com/subat0mik/misconfiguration-manager/blob/main/RESOURCES.md)的中心参考点。
我们公开邀请您向本项目提交经过验证的和探索性的 SCCM 相关攻击技术、防御策略和资源,并就本仓库中的内容提供任何反馈和建议。
如需更多项目介绍,请参考我们的博客和会议演讲:
- [Misconfiguration Manager: Overlooked and Overprivileged 博客文章](https://specterops.io/blog/2024/03/05/misconfiguration-manager-overlooked-and-overprivileged/)
- [Misconfiguration Manager: Overlooked and Overprivileged (SO-CON 2024)](https://www.youtube.com/watch?v=nvaOszFzXCQ&t=4s&pp=ygUYbWlzY29uZmlndXJhdGlvbiBtYW5hZ2Vy)
- [Misconfiguration Manager: Overlooked and Overprivileged (TROOPERS24)](https://www.youtube.com/watch?v=GhT6nPes1h0&t=12s&pp=ygUYbWlzY29uZmlndXJhdGlvbiBtYW5hZ2Vy)
- [Misconfiguration Manager: Still Overlooked, Still Overprivileged 博客文章](https://specterops.io/blog/2025/06/26/misconfiguration-manager-still-overlooked-still-overprivileged/)
<hr>
<br>
# 如何使用本项目
请参考下方的 SCCM 攻击矩阵和 SCCM 攻击与防御矩阵,它们将攻击技术映射到其 MITRE ATT&CK 框架战术,以及相应的检测和防御策略。
攻击性安全从业人员也可以从查看已知且已记录的[攻击技术](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/README.md)列表中受益,该列表标识了每种技术所需的安全上下文和网络访问权限。
防御者和 IT 管理员可以从查看已知且已记录的[防御技术](https://github.com/subat0mik/misconfiguration-manager/blob/main/defense-techniques/README.md)列表中受益,该列表标识了我们认最有可能参与实施每个项目的管理员角色。
好奇在特定的、大多为默认条件下,一个层级结构如何被完全攻陷?请查看 [TAKEOVER 技术](https://github.com/subat0mik/Misconfiguration-Manager/blob/main/attack-techniques/TAKEOVER/_takeover-techniques-list.md)列表。
如果您不熟悉技术描述中使用的某个术语,请参阅[术语表页面](https://github.com/subat0mik/misconfiguration-manager/blob/main/GLOSSARY.md),其中包含 SCCM 中常用术语的定义。
如果您想在实验室环境中测试这些技术或了解更多关于 SCCM 攻击与防御的信息,请参阅[资源页面](https://github.com/subat0mik/misconfiguration-manager/blob/main/RESOURCES.md),其中包含我们所知的所有 SCCM 实验室和攻击/防御资源的链接,其中许多资源启发并丰富了本仓库中的信息。
我们包含了一个[脚本](https://github.com/subat0mik/misconfiguration-manager/blob/main/MisconfigurationManager.ps1),它将审计本仓库中包含的许多错误配置。有关该脚本及其使用方法的更多信息,请参阅我们的[博客文章](https://posts.specterops.io/rooting-out-risky-sccm-configs-with-misconfiguration-manager-0beecaab1af3)。
如果我们遗漏了任何内容或缺少对先前工作的署名,请联系我们或提交拉取请求,我们将很乐意进行更新。
<hr>
<br>
# SCCM 攻击矩阵| Initial Access | Execution | Persistence | Privilege Escalation | Defense Evasion | Credential Access | Discovery | Lateral Movement | Collection | Command and Control | Exfiltration |
| :----------------------------------------------------------------------: | :------------------------------------------------------------------------: | :---------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------: | :-----------------: | :-----------------------------------------------------------------: |
| [PXE Credentials](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/CRED/CRED-1/cred-1_description.md) | [App Deployment](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/EXEC/EXEC-1/exec-1_description.md) | [App Deployment](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/EXEC/EXEC-1/exec-1_description.md) | [Relay to Site System (SMB)](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/ELEVATE/ELEVATE-1/ELEVATE-1_description.md) | [App Deployment](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/EXEC/EXEC-1/exec-1_description.md) | [PXE Credentials](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/CRED/CRED-1/cred-1_description.md) | [LDAP Enumeration](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/RECON/RECON-1/recon-1_description.md) | [Relay to Site DB (MSSQL)](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-1/takeover-1_description.md) | [CMPivot](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/RECON/RECON-4/recon-4_description.md) | | [CMPivot](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/RECON/RECON-4/recon-4_description.md) |
| | [Script Deployment](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/EXEC/EXEC-2/exec-2_description.md) | [Script Deployment](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/EXEC/EXEC-2/exec-2_description.md) | [Relay Client Push Installation](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/ELEVATE/ELEVATE-2/ELEVATE-2_description.md) | [Script Deployment](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/EXEC/EXEC-2/exec-2_description.md) | [Policy Request Credentials](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/CRED/CRED-2/cred-2_description.md) | [SMB Enumeration](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/RECON/RECON-2/recon-2_description.md) | [Relay to Site DB (SMB)](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-2/takeover-2_description.md) | | | |
| | | [Relay to AD CS](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-3/takeover-3_description.md) | [Relay to Site DB (MSSQL)](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-1/takeover-1_description.md) | | [DPAPI Credentials](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/CRED/CRED-3/cred-3_description.md) | [HTTP Enumeration](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/RECON/RECON-3/recon-3_description.md) | [Relay Between HA](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-7/takeover-7_description.md) | | | |
| | | [Relay to LDAP](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-8/takeover-8_description.md) | [Relay to LDAP](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-8/takeover-8_description.md) | | [Legacy Credentials](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/CRED/CRED-4/cred-4_description.md) | [CMPivot](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/RECON/RECON-4/recon-4_description.md) | [App Deployment](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/EXEC/EXEC-1/exec-1_description.md) | | | |
| | | | [Relay to Site DB (SMB)](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-2/takeover-2_description.md) | | [Site Database Credentials](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/CRED/CRED-5/cred-5_description.md) | [SMS Provider Enumeration](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/RECON/RECON-5/recon-5_description.md) | [Script Deployment](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/EXEC/EXEC-2/exec-2_description.md) | | | |
| | | | [Relay to ADCS](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-3/takeover-3_description.md) | | [Client Push Installation Account](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/CRED/CRED-6/cred-6_description.md) | [Site Server Enumeration](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/RECON/RECON-6/recon-6_description.md) | [Relay to Site System (SMB)](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/ELEVATE/ELEVATE-1/ELEVATE-1_description.md) | | | |
| | | | [Relay CAS to Child](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-4/takeover-4_description.md) | | [Distribution Point Looting](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/CRED/CRED-6/cred-6_description.md) | [Local File Enumeration](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/RECON/RECON-7/recon-7_description.md) | [Relay Client Push Installation](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/ELEVATE/ELEVATE-2/ELEVATE-2_description.md) | | | |
| | | | [Relay to AdminService](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-5/takeover-5_description.md) | | [AdminService API Credentials](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/CRED/CRED-7/cred-7_description.md) | | [Relay CAS to Child](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-4/takeover-4_description.md) | | | |
| | | | [Relay to SMS Provider (SMB)](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-6/takeover-6_description.md) | | [Policy Creds MP Relay](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/CRED/CRED-8/cred-8_description.md) | | [Relay to SMS Provider (SMB)](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-6/takeover-6_description.md) | | | |
| | | | [Relay Between HA](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-7/takeover-7_description.md) | | | | [SQL Linked as DBA](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-9/takeover-9_description.md) | | | |
| | | | [SQL Linked as DBA](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-9/takeover-9_description.md) | | | | | | | |
| | | | [Relay to Site DB (SMB)](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-2/takeover-2_description.md) | | | | | | | |
| | | | | | | | | | | |
<br>
# SCCM 攻击与防御矩阵
SCCM 攻击与防御矩阵以 [CSV 文件](https://github.com/subat0mik/misconfiguration-manager/blob/main/SCCM_AttackDefenseMatrix.csv) 的形式维护,便于全宽查看,并作为映射关系的权威来源。**矩阵当前截至:** 2026-02-09
| | CRED‑1 | CRED‑2 | CRED‑3 | CRED‑4 | CRED‑5 | CRED‑6 | CRED‑7 | CRED‑8 | ELEVATE‑1 | ELEVATE‑2 | ELEVATE‑3 | ELEVATE‑4 | ELEVATE‑5 | EXEC‑1 | EXEC‑2 | RECON‑1 | RECON‑2 | RECON‑3 | RECON‑4 | RECON‑5 | RECON‑6 | RECON‑7 | TAKEOVER‑1 | TAKEOVER‑2 | TAKEOVER‑3 | TAKEOVER‑4 | TAKEOVER‑5 | TAKEOVER‑6 | TAKEOVER‑7 | TAKEOVER‑8 | TAKEOVER‑9 |
| ---------- | ------ | ------ | ------ | ------ | ------ | ------ | ------ | ------ | --------- | --------- | --------- | --------- | --------- | ------ | ------ | ------- | ------- | ------- | ------- | ------- | ------- | ------- | ---------- | ---------- | ---------- | ---------- | ---------- | ---------- | ---------- | ---------- | ---------- |
| CANARY‑1 | X | X | X | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | |
| DETECT‑1 | | | | | | | | X | X | X | X | | | | | | | | | | | | X | X | X | X | X | X | X | X | |
| DETECT‑2 | | | | | | | | | | | | | | | | X | | | | | | | | | | | | | | | |
| DETECT‑3 | | | | | | | | | X | X | X | | | | | | | | | | | | | | | | | | | | |
| DETECT‑4 | | | | | | | | | | | | | | X | | | | | | | | | | | | | | | | | |
| DETECT‑5 | | | | | | | | | | | | | | | | | | | X | X | | | X | X | | X | X | X | X | | |
| DETECT‑6 | | | | | | | | | | | | | | | | | | | X | X | X | X | X | X | | X | X | X | X | | |
| DETECT‑7 | X | | | | | | | | | | | X | X | | | | | | | | | | | | | | | | | | |
| DETECT‑8 | X | | | | | | | | | | | | | | | | | | | | X | | | | | | | | | | |
| DETECT‑9 | | | | | | | | | | | | | | | | | | | | | | X | | | | | | | | | |
| PREVENT‑1 | | | | | | | | | | X | X | | | | | | | | | | | | | | | | | | | | |
| PREVENT‑2 | | | | | | | | | | X | X | | | | | | | | | | | | | | | | | | | | |
| PREVENT‑3 | X | X | X | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | |
| PREVENT‑4 | | X | X | X | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| PREVENT‑5 | | | | | | | | | | X | X | | | | | | | | | | | | | | | | | | | | |
| PREVENT‑6 | X | | | | | | | | | | | X | X | | | | | | | | | | | | | | | | | | |
| PREVENT‑7 | X | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
| PREVENT‑8 | | X | | | | | | | | X | | | | | | | | | | | | | | | | | | | | | |
| PREVENT‑9 | | | | | | | | | | | | | | X | X | | | | X | X | | | | | | | X | | | | |
| PREVENT‑10 | X | X | X | X | X | X | X | X | | | | | | | | | | | | | | | | | | | | | | | |
| PREVENT‑11 | | | | | | | | | | X | | | | | | | | | | | | | | | X | | | | | X | |
| PREVENT‑12 | | | | | | | | | X | X | X | | | | | | | | | | | | | X | | X | | X | X | | |
| PREVENT‑13 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X | |
---
[Read more](https://github.com/subat0mik/misconfiguration-manager)