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

hunting-for-persistence-mechanisms-in-windows

하는 일

이 도구는 재시작 후에도 악성 프로그램이 Windows 컴퓨터에서 계속 활성 상태로 남는 방법을 찾습니다. 프로그램이 자동으로 시작하도록 숨기 좋은 일반적인 위치를 확인합니다.

사용하는 경우

  • ✓악성 프로그램이 컴퓨터에서 실행 중이라고 의심될 때.
  • ✓보안 사고 후 모든 ‘백도어’가 닫혔는지 확인할 때.
  • ✓Windows와 함께 시작되는 원치 않는 프로그램을 미리 점검하는 경우.

스킬 링크

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-persistence-mechanisms-in-windows/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-persistence-mechanisms-in-windows/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“내 컴퓨터에서 자동으로 시작되지만 있으면 안 되는 프로그램을 찾아 주세요.”

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

작동 방식

이 도구는 프로그램이 스스로 시작되도록 등록할 수 있는 Windows의 여러 위치를 확인합니다. 찾은 것을 알려진 안전한 프로그램 목록과 비교해 이상한 것을 식별합니다.

기술 내용 (원본 SKILL.md)

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

Hunting for Persistence Mechanisms in Windows

When to Use

  • During periodic proactive threat hunts for dormant backdoors
  • After an incident to identify all persistence mechanisms an attacker planted
  • When investigating unusual services, scheduled tasks, or startup entries
  • When threat intel reports describe new persistence techniques in the wild
  • During security posture assessments to identify unauthorized persistent software

Prerequisites

  • Sysmon deployed with Event IDs 12/13/14 (Registry), 19/20/21 (WMI), 1 (Process Creation)
  • Windows Security Event forwarding for 4697 (Service Install), 4698 (Scheduled Task)
  • EDR with registry and file monitoring capabilities
  • PowerShell script block logging enabled (Event ID 4104)
  • Autoruns or equivalent baseline of legitimate persistent entries

Workflow

  1. Enumerate Known Persistence Locations: Build a comprehensive list of Windows persistence points (Run keys, services, scheduled tasks, WMI, startup folder, DLL search order, COM hijacks, AppInit DLLs, Image File Execution Options).
  2. Collect Endpoint Data: Use EDR, Sysmon, or Velociraptor to collect current persistence artifacts from endpoints across the environment.
  3. Baseline Legitimate Persistence: Compare collected data against known-good baselines (Autoruns snapshots, GPO-deployed entries, SCCM configurations).
  4. Identify Anomalies: Flag new, unsigned, or unknown entries in persistence locations that deviate from the baseline.
  5. Investigate Suspicious Entries: For each anomaly, examine the binary it points to, its digital signature, file hash, and creation timestamp.
  6. Correlate with Process Activity: Link persistence entries to process execution, network activity, and user login events.
  7. Document and Remediate: Record findings, remove malicious persistence, and update detection rules.

Key Concepts

Concept Description
T1547.001 Registry Run Keys / Startup Folder
T1543.003 Windows Service (Create or Modify)
T1053.005 Scheduled Task
T1546.003 WMI Event Subscription
T1546.015 Component Object Model (COM) Hijacking
T1546.012 Image File Execution Options Injection
T1546.010 AppInit DLLs
T1547.004 Winlogon Helper DLL
T1547.005 Security Support Provider
T1574.001 DLL Search Order Hijacking
TA0003 Persistence Tactic
Autoruns Sysinternals tool showing persistent entries

Tools & Systems

Tool Purpose
Sysinternals Autoruns Comprehensive persistence enumeration
Velociraptor Endpoint-wide persistence artifact collection
CrowdStrike Falcon Real-time persistence monitoring
Sysmon Registry and WMI event monitoring
OSQuery SQL-based persistence queries
RECmd Registry Explorer for forensic analysis
Splunk SIEM correlation of persistence events

Common Scenarios

  1. Registry Run Key Backdoor: Malware adds HKCU\Software\Microsoft\Windows\CurrentVersion\Run entry pointing to payload in %APPDATA%.
  2. WMI Event Subscription: Adversary creates WMI consumer/filter pair that executes PowerShell on system boot.
  3. Malicious Service: Attacker creates Windows service with sc create pointing to a backdoor binary.
  4. COM Object Hijack: Legitimate COM CLSID InprocServer32 path replaced with malicious DLL.
  5. IFEO Debugger Injection: Image File Execution Options key set with debugger pointing to implant for common utilities.

Output Format

Hunt ID: TH-PERSIST-[DATE]-[SEQ]
Persistence Type: [Registry/Service/Task/WMI/COM/Other]
MITRE Technique: T1547.xxx / T1543.xxx / T1053.xxx
Location: [Full registry key / service name / task path]
Value: [Binary path / command line]
Host(s): [Affected endpoints]
Signed: [Yes/No]
Hash: [SHA256]
Creation Time: [Timestamp]
Risk Level: [Critical/High/Medium/Low]
Verdict: [Malicious/Suspicious/Benign]
자주 묻는 질문

‘지속성 메커니즘’이란 무엇인가요?

프로그램(정상이든 악성이든)이 컴퓨터를 켜거나 사용자가 로그인할 때 자동으로 시작되도록 보장하는 방법입니다.

도구는 어떤 위치를 확인하나요?

레지스트리 키(Run/RunOnce), Windows 서비스, 시작 프로그램 폴더, 예약 작업, WMI 이벤트 구독을 확인합니다.

이 도구가 작동하려면 설치해야 하는 것이 있나요?

도구가 잘 작동하려면 시스템에 Sysmon 같은 모니터링 도구와 특정 보안 설정이 활성화되어 있어야 하며, 정상적으로 시작되어야 하는 프로그램 목록도 필요합니다.

상세 정보

작성자의 원본 설명

Systematically hunts for adversary persistence mechanisms across Windows endpoints, covering registry Run/RunOnce keys, services, startup folders, scheduled tasks, and WMI event subscriptions. Use when performing a broad persistence sweep during incident response or building SIEM detections that cover the full range of Windows persistence techniques (MITRE T1547).

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬