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

hunting-for-lolbins-execution-in-endpoint-logs

하는 일

이 도구는 방어를 속이기 위해 악의적으로 사용되는 정상 Windows 프로그램을 찾습니다. 이 프로그램들이 어떻게 실행되었는지 분석해 의심스러운 활동을 찾습니다.

사용하는 경우

  • ✓공격에 일반적인 Windows 프로그램이 사용되었는지 조사할 때.
  • ✓공격자가 시스템 도구를 사용해 숨으려는 것 같을 때.
  • ✓보안 시스템이 이런 도구의 오용을 탐지할 수 있는지 확인하는 경우.

스킬 링크

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

AI에게 요청하는 예시

“프로세스 로그에서 certutil, mshta, rundll32, regsvr32의 의심스러운 사용을 검색해 주세요.”

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

작동 방식

이 도구는 이런 프로그램이 정상적으로 사용되어야 하는 방식과 실제 사용 방식을 로그에서 비교합니다. 프로그램이 이상한 위치에서 호출되거나 다른 명령이 사용되는 등 이상한 패턴이 있으면 문제가 있을 수 있음을 나타냅니다.

기술 내용 (원본 SKILL.md)

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

Hunting for LOLBins Execution in Endpoint Logs

When to Use

  • When hunting for fileless attack techniques that abuse built-in Windows binaries
  • After threat intelligence indicates LOLBin-based campaigns targeting your industry
  • When investigating alerts for suspicious use of certutil, mshta, rundll32, or regsvr32
  • During purple team exercises testing detection of defense evasion techniques
  • When assessing endpoint detection coverage for MITRE ATT&CK T1218 sub-techniques

Prerequisites

  • Sysmon Event ID 1 (Process Creation) with full command-line logging
  • Windows Security Event ID 4688 with command-line auditing enabled
  • EDR telemetry with parent-child process relationships
  • SIEM platform for query and correlation (Splunk, Elastic, Microsoft Sentinel)
  • LOLBAS project reference (lolbas-project.github.io) for known abuse patterns

Workflow

  1. Build LOLBin Watchlist: Compile a list of high-risk LOLBins from the LOLBAS project, prioritizing: certutil.exe, mshta.exe, rundll32.exe, regsvr32.exe, msbuild.exe, installutil.exe, cmstp.exe, wmic.exe, wscript.exe, cscript.exe, bitsadmin.exe, and powershell.exe.
  2. Baseline Normal Usage: Establish what normal LOLBin usage looks like in your environment by profiling command-line arguments, parent processes, and user contexts for each binary over 30 days.
  3. Hunt for Anomalous Arguments: Search for LOLBins executed with unusual command-line arguments indicating abuse -- certutil with -urlcache -decode -encode, mshta with URL arguments, rundll32 loading DLLs from temp/user directories, regsvr32 with /s /n /u /i:URL.
  4. Analyze Parent-Child Relationships: Identify unexpected parent processes spawning LOLBins -- for example, outlook.exe spawning mshta.exe, or winword.exe spawning certutil.exe indicates weaponized document delivery.
  5. Check Execution from Unusual Paths: LOLBins executed from non-standard paths (copies placed in %TEMP%, user profile directories) suggest renamed binary abuse.
  6. Correlate with Network Activity: Map LOLBin execution to outbound network connections (Sysmon Event ID 3) to identify download cradles and C2 callbacks.
  7. Score and Prioritize: Rank findings by anomaly severity, combining suspicious arguments, unusual parent process, non-standard path, and network activity indicators.

Key Concepts

Concept Description
T1218 System Binary Proxy Execution
T1218.001 Compiled HTML File (mshta.exe)
T1218.003 CMSTP
T1218.005 Mshta
T1218.010 Regsvr32 (Squiblydoo)
T1218.011 Rundll32
T1127.001 MSBuild
T1197 BITS Jobs (bitsadmin.exe)
T1140 Deobfuscate/Decode Files (certutil.exe)
T1059.001 PowerShell
T1059.005 Visual Basic (wscript/cscript)
LOLBAS Living Off the Land Binaries, Scripts and Libraries project

Tools & Systems

Tool Purpose
Sysmon Process creation with command-line and hash logging
CrowdStrike Falcon EDR with LOLBin detection analytics
Microsoft Defender for Endpoint Built-in LOLBin abuse detection
Splunk SPL-based process hunting and anomaly detection
Elastic Security Pre-built LOLBin detection rules
LOLBAS Project Reference database of LOLBin abuse techniques
Sigma Rules Community detection rules for LOLBin abuse

Detection Queries

Splunk -- High-Risk LOLBin Execution

index=sysmon EventCode=1
| where match(Image, "(?i)(certutil|mshta|rundll32|regsvr32|msbuild|installutil|cmstp|bitsadmin)\.exe$")
| eval suspicious=case(
    match(CommandLine, "(?i)certutil.*(-urlcache|-decode|-encode)"), "certutil_download_decode",
    match(CommandLine, "(?i)mshta.*(http|https|javascript|vbscript)"), "mshta_remote_exec",
    match(CommandLine, "(?i)rundll32.*\\\\(temp|appdata|users)"), "rundll32_unusual_dll",
    match(CommandLine, "(?i)regsvr32.*/s.*/n.*/u.*/i:"), "regsvr32_squiblydoo",
    match(CommandLine, "(?i)msbuild.*\\\\(temp|appdata|users)"), "msbuild_unusual_project",
    match(CommandLine, "(?i)bitsadmin.*/transfer"), "bitsadmin_download",
    match(CommandLine, "(?i)cmstp.*/s.*/ni"), "cmstp_uac_bypass",
    1=1, "normal"
)
| where suspicious!="normal"
| table _time Computer User Image CommandLine ParentImage ParentCommandLine suspicious

KQL -- Microsoft Sentinel LOLBin Hunting

DeviceProcessEvents
| where Timestamp > ago(7d)

…
자주 묻는 질문

‘LOLBins’란 무엇인가요?

‘Living Off the Land Binaries’의 약자로, 새 도구를 설치하지 않고 악의적인 행동을 하기 위해 공격자가 사용하는 정상 Windows 프로그램입니다.

어떤 프로그램이 LOLBins에 해당하나요?

certutil.exe, mshta.exe, rundll32.exe, regsvr32.exe 등이 대표적이며, LOLBAS 프로젝트 참고 자료에 나열된 다른 프로그램도 있습니다.

MITRE T1218이란 무엇인가요?

시스템 바이너리를 사용해 악성 코드를 실행하고, 흔히 탐지를 피하는 공격 기법을 설명하는 MITRE ATT&CK의 분류입니다.

상세 정보

작성자의 원본 설명

Hunts for LOLBins (Living Off the Land Binaries) abuse, mapped to MITRE T1218, by analyzing endpoint process-creation logs for suspicious execution patterns of legitimate Windows system binaries used for malicious purposes. Use when reviewing endpoint process telemetry for LOLBins-based defense evasion or building detections for signed-binary proxy execution.

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

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

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬