본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트35k · #7954

hunting-for-dcom-lateral-movement

하는 일

이 도구는 DCOM이라는 기술을 사용해 다른 사람의 컴퓨터에서 명령을 실행하는 악성 방식을 찾는 데 도움을 줍니다. 공격자가 네트워크를 가로질러 옆으로 이동하려는 의심스러운 활동을 찾습니다.

사용하는 경우

  • ✓누군가 허가 없이 네트워크의 다른 컴퓨터에 접근하려 한다고 의심될 때.
  • ✓mmc.exe나 dllhost.exe처럼 실행된 이상한 프로세스를 조사할 때.
  • ✓이런 유형의 공격에 취약한 보안 허점이 있는지 확인하는 경우.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-dcom-lateral-movement/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-dcom-lateral-movement/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“측면 이동을 나타낼 수 있는 의심스러운 DCOM 활동을 찾아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 Windows 이벤트 로그와 네트워크 트래픽을 분석해, 특정 DCOM 객체가 원격 명령 실행에 잘못 쓰이는 경우를 식별합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Hunting for DCOM Lateral Movement

Authorized Testing Disclaimer: The offensive techniques and attack simulations described in this skill are intended exclusively for authorized penetration testing, red team engagements, purple team exercises, and security research conducted with explicit written permission from the system owner. Unauthorized use of these techniques against systems you do not own or have permission to test is illegal and unethical. Always operate within the scope of your engagement and comply with applicable laws and regulations.

Overview

Distributed Component Object Model (DCOM) enables remote execution of COM objects across a network using RPC. Adversaries abuse specific DCOM objects -- MMC20.Application (CLSID {49B2791A-B1AE-4C90-9B8E-E860BA07F889}), ShellBrowserWindow (CLSID {C08AFD90-F2A1-11D1-8455-00A0C91F3880}), and ShellWindows (CLSID {9BA05972-F6A8-11CF-A442-00A0C90A8F39}) -- to execute commands on remote hosts without dropping files, making this a stealthy lateral movement technique mapped to MITRE ATT&CK T1021.003. This skill provides detection strategies using Sysmon telemetry, Windows Security Event correlation, network monitoring, and SIEM detection rules to identify DCOM abuse in enterprise environments.

When to Use

  • Proactively hunting for lateral movement in Active Directory environments where DCOM is enabled
  • Investigating alerts for suspicious mmc.exe, dllhost.exe, or explorer.exe child process creation on servers
  • Building detection rules for MITRE ATT&CK T1021.003 (Remote Services: Distributed Component Object Model)
  • Correlating Sysmon Event ID 1 (Process Create) and Event ID 3 (Network Connection) to trace DCOM-based command execution chains
  • Auditing DCOM exposure across the domain to reduce lateral movement attack surface
  • During purple team exercises validating detection coverage for DCOM-based techniques

Do not use as a replacement for EDR-based lateral movement detection, without Sysmon or equivalent process telemetry deployed on endpoints, or in isolation without correlating network-level and host-level indicators.

Prerequisites

  • Sysmon deployed on endpoints with configuration capturing Event ID 1 (Process Create), Event ID 3 (Network Connection), Event ID 7 (Image Loaded), and Event ID 10 (Process Access)
  • Windows Security Event Logs forwarded to SIEM (Event IDs 4624, 4672, 4688)
  • SIEM platform (Splunk, Elastic, Microsoft Sentinel) with correlation capability
  • Network monitoring for RPC traffic (TCP 135 and dynamic high ports 49152-65535)
  • Baseline inventory of legitimate DCOM usage in the environment
  • Understanding of MITRE ATT&CK Lateral Movement tactic (TA0008) and T1021.003

Workflow

Step 1: Understand DCOM Lateral Movement Attack Vectors

DCOM lateral movement exploits three primary COM objects. Each has distinct forensic artifacts.

MMC20.Application -- The attacker instantiates the MMC snap-in remotely and calls ExecuteShellCommand to run arbitrary commands on the target. This spawns mmc.exe as a child of svchost.exe (DcomLaunch service) on the target.

ShellBrowserWindow -- Uses the Document.Application.ShellExecute method to execute commands through an existing explorer.exe process. Unlike MMC20, this does not create a new process for the COM server itself, making it stealthier.

ShellWindows -- Similar to ShellBrowserWindow, it activates within an existing explorer.exe instance and executes child processes from explorer.exe. The absence of a new COM server process makes it harder to detect without proper telemetry.

# ATTACK SIMULATION (authorized testing only)
# These commands demonstrate what adversaries execute -- use only in lab environments

# MMC20.Application lateral movement
# $dcom = [System.Activator]::CreateInstance(
#     [Type]::GetTypeFromProgID("MMC20.Application", "TARGET_IP"))
# $dcom.Document.ActiveView.ExecuteShellCommand(
#     "cmd.exe", $null, "/c whoami > C:\temp\output.txt", "7")

# ShellWindows lateral movement
# $dcom = [System.Activator]::CreateInstance(
#     [Type]::GetTypeFromCLSID(
#         [guid]"9BA05972-F6A8-11CF-A442-00A0C90A8F39", "TARGET_IP"))
# $dcom.item().Document.Application.ShellExecute(
#     "cmd.exe", "/c calc.exe", "C:\windows\system32", $null, 0)

# ShellBrowserWindow lateral movement
# $dcom = [System.Activator]::CreateInstance(
#     [Type]::GetTypeFromCLSID(
#         [guid]"C08AFD90-F2A1-11D1-8455-00A0C91F3880", "TARGET_IP"))

…
자주 묻는 질문

DCOM이란 무엇인가요?

한 컴퓨터의 프로그램이 네트워크로 연결된 다른 컴퓨터의 프로그램을 제어할 수 있게 해 주는 기술입니다.

‘측면 이동’이란 무엇인가요?

공격자가 한 컴퓨터에 침입한 뒤, 같은 네트워크의 다른 컴퓨터로 이동하는 것입니다.

이 기법이 왜 위험한가요?

파일을 설치하지 않고도 다른 컴퓨터에서 명령을 실행할 수 있어, 탐지하기가 더 어렵기 때문입니다.

상세 정보

작성자의 원본 설명

Hunt for DCOM-based lateral movement (MITRE ATT&CK T1021.003) by detecting abuse of MMC20.Application, ShellBrowserWindow, and ShellWindows COM objects via Sysmon Event ID 1/3 correlation, WMI event analysis, and RPC endpoint mapper traffic on port 135. Use when investigating suspicious mmc.exe/dllhost.exe child processes, building T1021.003 detections, or auditing DCOM exposure during purple-team

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#7954
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬