Misconfiguration Manager è una knowledge base centrale per tutte le tecniche note di Microsoft Configuration Manager e le relative indicazioni difensive e di hardening.
<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

# Guida rapida alla remediation
1. Consulta l'elenco delle [Tecniche di attacco](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/README.md) note e documentate e le corrispondenti [Tecniche di difesa](https://github.com/subat0mik/misconfiguration-manager/blob/main/defense-techniques/README.md) per identificare i problemi che potrebbero essere presenti nel tuo ambiente e come porvi rimedio
- Fai riferimento a questa [introduzione al progetto](https://www.youtube.com/watch?v=GhT6nPes1h0&t=12s&pp=ygUYbWlzY29uZmlndXJhdGlvbiBtYW5hZ2Vy)
2. Esegui [ConfigManBearPig](https://github.com/SpecterOps/ConfigManBearPig) e visualizza i risultati in [BloodHound](https://github.com/SpecterOps/BloodHound) gratuitamente
- Fai riferimento a questa [guida dettagliata](https://specterops.io/blog/2026/01/13/introducing-configmanbearpig-a-bloodhound-opengraph-collector-for-sccm/)
3. In alternativa, esegui [MisconfigurationManager.ps1](https://github.com/subat0mik/Misconfiguration-Manager/blob/main/MisconfigurationManager.ps1)
- Fai riferimento a questa [guida dettagliata](https://posts.specterops.io/rooting-out-risky-sccm-configs-with-misconfiguration-manager-0beecaab1af3)
4. Implementa le mitigazioni per le misconfigurazioni identificate
- Fai riferimento a questa [guida dettagliata](https://github.com/subat0mik/Misconfiguration-Manager/blob/main/presentations/The_Admin's_Guide_to_Preventing_SCCM_Attacks.pdf) (o a [questa registrazione](https://www.youtube.com/watch?v=Rc2J6fmhcJ4) ([slide](https://github.com/subat0mik/Misconfiguration-Manager/blob/main/presentations/SO-CON%202025%20-%20Admins%20Guide%20to%20Preventing%20SCCM%20Attacks.pdf)))
# Panoramica
Questo repository funge da base di conoscenza centrale per tutte le tecniche note relative a Microsoft Configuration Manager (noto anche come MCM, ConfigMgr, System Center Configuration Manager o SCCM) e alle relative indicazioni difensive e di hardening. Il nostro obiettivo è contribuire a demistificare le tecniche di SCCM e semplificare la gestione dei percorsi di attacco SCCM per i difensori, educando al contempo i professionisti della sicurezza offensiva su questa superficie di attacco nebulosa. Progettato per andare oltre la natura statica dei whitepaper, questo repository dinamico documenta le misconfigurazioni SCCM note e i loro abusi e incoraggia contributi continui dalla comunità per migliorarne la rilevanza e l'utilità.
Abbiamo curato questo repository per aumentare la consapevolezza del panorama di minacce SCCM in rapida evoluzione, traendo ispirazione dal [framework MITRE ATT&CK](https://attack.mitre.org/matrices/enterprise/), con alcune deviazioni. Siamo stati inoltre fortemente influenzati dalla [matrice delle tecniche di attacco SaaS](https://github.com/pushsecurity/saas-attacks/tree/main) di Push Security e dal whitepaper [Certified Pre-Owned](https://specterops.io/wp-content/uploads/sites/3/2022/06/Certified_Pre-Owned.pdf) di Will Schroeder e Lee Chagolla-Christensen.
Il nostro approccio si estende oltre la catalogazione delle tattiche degli avversari noti per includere contributi dal mondo del penetration testing, delle operazioni red team e della ricerca sulla sicurezza. In SpecterOps, abbiamo sfruttato molte misconfigurazioni evidenziate in questo repository in ambienti reali, mentre altre rappresentano progetti di ricerca sperimentali ed esplorativi convalidati in un ambiente di laboratorio.
Questo progetto funge anche da punto di riferimento centrale per tutte le [risorse di attacco e difesa SCCM](https://github.com/subat0mik/misconfiguration-manager/blob/main/RESOURCES.md) di cui siamo a conoscenza.
Invitiamo apertamente a inviare a questo progetto sia tecniche di attacco che strategie e risorse difensive incentrate su SCCM, comprovate ed esplorative, e a fornire qualsiasi feedback e raccomandazione sui contenuti di questo repository.
Per ulteriori informazioni introduttive sul progetto, fai riferimento al nostro blog e ai nostri interventi alle conferenze:
- [Misconfiguration Manager: Overlooked and Overprivileged Blog Post](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 Blog Post](https://specterops.io/blog/2025/06/26/misconfiguration-manager-still-overlooked-still-overprivileged/)
<hr>
<br>
# Come utilizzare questo progetto
Fai riferimento alla SCCM Attack Matrix e alla SCCM Attack and Defense Matrix riportate di seguito, che mappano le tecniche di attacco sulle relative tattiche del framework MITRE ATT&CK, nonché sulle relative strategie di rilevamento e prevenzione.
Anche i professionisti della sicurezza offensiva potrebbero trarre vantaggio dalla consultazione dell'elenco delle [Tecniche di attacco](https://github.com/subat0mik/misconfiguration-manager/blob/main/attack-techniques/README.md) note e documentate, che identifica il contesto di sicurezza e l'accesso alla rete richiesti per ciascuna tecnica.
I difensori e gli amministratori IT potrebbero trarre vantaggio dalla consultazione dell'elenco delle [Tecniche di difesa](https://github.com/subat0mik/misconfiguration-manager/blob/main/defense-techniques/README.md) note e documentate, che identifica i ruoli amministrativi che riteniamo più probabilmente coinvolti nell'implementazione di ciascun elemento.
Curioso di sapere come una gerarchia possa essere completamente compromessa in determinate condizioni, per lo più predefinite? Dai un'occhiata all'elenco delle [tecniche TAKEOVER](https://github.com/subat0mik/Misconfiguration-Manager/blob/main/attack-techniques/TAKEOVER/_takeover-techniques-list.md).
Se non hai familiarità con un termine utilizzato nella descrizione di una tecnica, fai riferimento alla [pagina del glossario](https://github.com/subat0mik/misconfiguration-manager/blob/main/GLOSSARY.md), che contiene le definizioni dei termini comunemente usati in SCCM.
Se desideri testare queste tecniche in un ambiente di laboratorio o saperne di più sull'attacco e la difesa di SCCM, fai riferimento alla [pagina delle risorse](https://github.com/subat0mik/misconfiguration-manager/blob/main/RESOURCES.md), che contiene i link a tutte le risorse di laboratorio e di attacco/difesa SCCM di cui siamo a conoscenza, molte delle quali hanno ispirato e informato le informazioni contenute in questo repository.
Abbiamo incluso uno [script](https://github.com/subat0mik/misconfiguration-manager/blob/main/MisconfigurationManager.ps1) che verificherà molte delle misconfigurazioni incluse in questo repository. Per ulteriori informazioni sullo script e su come utilizzarlo, fai riferimento al nostro [blog post](https://posts.specterops.io/rooting-out-risky-sccm-configs-with-misconfiguration-manager-0beecaab1af3).
Se abbiamo trascurato qualcosa o mancano i crediti per lavori precedenti, ti invitiamo a contattarci o a inviare una pull request e saremo lieti di apportare aggiornamenti.
<hr>
<br>
# SCCM Attack Matrix| Accesso Iniziale | Esecuzione | Persistenza | Escalation dei Privilegi | Evasione delle Difese | Accesso alle Credenziali | Discovery | Movimento Laterale | Raccolta | Comando e Controllo | Esfiltrazione |
| :----------------------------------------------------------------------: | :------------------------------------------------------------------------: | :---------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------: | :---------------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------: | :----------------------------------------------------------------------------------------------: | :-----------------------------------------------------------------: | :-----------------: | :-----------------------------------------------------------------: |
| [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>
# Matrice di Attacco e Difesa SCCM
La Matrice di Attacco e Difesa SCCM è mantenuta come [file CSV](https://github.com/subat0mik/misconfiguration-manager/blob/main/SCCM_AttackDefenseMatrix.csv) per la visualizzazione a larghezza intera e come fonte autorevole di verità sulle mappature.**Matrice aggiornata al:** 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 | | | | | | | | | | | | | | | | | | | | | | | |
---
[Read more](https://github.com/subat0mik/misconfiguration-manager)