analyzing-powershell-empire-artifacts

analyzing-powershell-empire-artifacts is a skill for Claude Code from killvxk/cybersecurity-skills-zh. It costs 69 tokens per session (583 once invoked), scanned A, original, Apache-2.0.

A guide for finding PowerShell Empire traces in Windows event logs. PowerShell Empire is a post-compromise framework that attackers can use to control Windows systems after breaking in.

In plain words
What is it for?
Use it to scan Windows event logs or exported EVTX files, decode matching payloads, build a suspicious-event timeline, and map findings to MITRE ATT&CK techniques.
Why use it?
It helps investigators spot suspicious encoded commands, download activity, known Empire modules, and staging URLs in collected logs.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the cybersecurity-skills-zh plugin — 58 skills shipped together

Good fit Use it to scan Windows event logs or exported EVTX files, decode matching payloads, build a suspicious-event timeline, and map findings to MITRE ATT&CK techniques.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/killvxk/cybersecurity-skills-zh/analyzing-powershell-empire-artifacts
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add killvxk/cybersecurity-skills-zh --skill analyzing-powershell-empire-artifacts
Clone the repo
git clone --depth 1 https://github.com/killvxk/cybersecurity-skills-zh

Made for: Claude Code.

Or install cybersecurity-skills-zh, the plugin that ships this one along with the rest of its 58 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for analyzing-powershell-empire-artifacts

README.md
[![agentmods](https://agentmods.dev/badge/skills/killvxk/cybersecurity-skills-zh/analyzing-powershell-empire-artifacts/github.svg)](https://agentmods.dev/skills/killvxk/cybersecurity-skills-zh/analyzing-powershell-empire-artifacts)
Your own site
<a href="https://agentmods.dev/skills/killvxk/cybersecurity-skills-zh/analyzing-powershell-empire-artifacts"><img src="https://agentmods.dev/badge/skills/killvxk/cybersecurity-skills-zh/analyzing-powershell-empire-artifacts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for analyzing-powershell-empire-artifacts

Your own site · 80×15
<a href="https://agentmods.dev/skills/killvxk/cybersecurity-skills-zh/analyzing-powershell-empire-artifacts"><img src="https://agentmods.dev/badge/skills/killvxk/cybersecurity-skills-zh/analyzing-powershell-empire-artifacts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 583 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.00583
Opus 5 $0.00034 $0.00292
Sonnet 5 $0.00014 $0.00117
Haiku 4.5 $0.00007 $0.00058

Measured 9d ago against content hash a0ce84315be2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

analyzing-powershell-empire-artifacts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/agent.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/analyzing-powershell-empire-artifacts/SKILL.md · 35 lines

What it actually says

分析 PowerShell Empire 工件

概述

PowerShell Empire 是一个由监听器(listener)、stager 和 agent 组成的后渗透框架。其工件在 Windows 事件日志中留有可检测的痕迹,尤其是 PowerShell 脚本块日志(Script Block Logging,事件 ID 4104)和模块日志(Module Logging,事件 ID 4103)。本技能分析事件日志中 Empire 的默认启动器字符串(powershell -noP -sta -w 1 -enc)、包含 System.Net.WebClientFromBase64String 的 Base64 编码 payload、已知模块调用(Invoke-Mimikatz、Invoke-Kerberoast、Invoke-TokenManipulation)以及暂存 URL 模式。

前置条件

  • Python 3.9+,可访问 Windows 事件日志或导出的 EVTX 文件
  • 通过组策略启用 PowerShell 脚本块日志(事件 ID 4104)
  • 启用模块日志(事件 ID 4103)以实现全面覆盖

关键检测模式

  1. 默认启动器powershell -noP -sta -w 1 -enc 后跟 Base64 编码块
  2. Stager 失陷指标System.Net.WebClientDownloadDataDownloadStringFromBase64String
  3. 模块签名 — Invoke-Mimikatz、Invoke-Kerberoast、Invoke-TokenManipulation、Invoke-PSInject、Invoke-DCOM
  4. User-Agent 字符串 — HTTP 监听器配置中的默认 Empire User-Agent
  5. 暂存 URL/login/process.php/admin/get.php 及类似的默认 URI 模式

输出

JSON 报告,包含匹配的 IOC、解码后的 Base64 payload、可疑事件时间线、MITRE ATT&CK 技术映射以及严重性评分。

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 35 lines · 69 tokens per session scan A a0ce84315be2

Subscribe to this mod's changes

analyzing-powershell-empire-artifacts is a skill published in the GitHub repository killvxk/cybersecurity-skills-zh (44 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 69 tokens to every session and 583 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

analyzing-powershell-empire-artifacts

Detect PowerShell Empire post-exploitation framework artifacts in Windows Script Block Logging (Event ID 4104) and Module Logging (Event ID 4103), including the default launcher string, Base64-encoded WebClient/FromBase64String payloads, known module invocations (Invoke-Mimikatz, Invoke-Kerberoast), and staging URL…

mukul975/Anthropic-Cybersecurity-Skills · 99 tokens

analyzing-powershell-empire-artifacts

Detect PowerShell Empire framework artifacts in Windows event logs by identifying Base64 encoded launcher patterns, default user agents, staging URL structures, stager IOCs, and known Empire module signatures in Script Block Logging events.

adriannoes/awesome-agentic-ai · 54 tokens

analyzing-powershell-empire-artifacts

Detect PowerShell Empire framework artifacts in Windows event logs by identifying Base64 encoded launcher patterns, default user agents, staging URL structures, stager IOCs, and known Empire module signatures in Script Block Logging events.

autohandai/community-skills · 54 tokens

analyzing-powershell-empire-artifacts

Detect PowerShell Empire framework artifacts in Windows event logs by identifying Base64 encoded launcher patterns, default user agents, staging URL structures, stager IOCs, and known Empire module signatures in Script Block Logging events.

26zl/cybersec-toolkit · 54 tokens

analyzing-powershell-empire-artifacts

Detect PowerShell Empire framework artifacts in Windows event logs by identifying Base64 encoded launcher patterns, default user agents, staging URL structures, stager IOCs, and known Empire module signatures in Script Block Logging events.

pinkpixel-dev/skills-collection-1 · 54 tokens

analyzing-powershell-empire-artifacts

Detect PowerShell Empire framework artifacts in Windows event logs by identifying Base64 encoded launcher patterns, default user agents, staging URL structures, stager IOCs, and known Empire module signatures in Script Block Logging events.

marysatasselshaped667/skills-collection-1 · 54 tokens