Skip to content

pale-knight/redteam-skill / skills/edr-bypass

edr-bypass

Verified

Endpoint defense evasion after an operator-selected chain already has a valid execution path but AV/EDR/AMSI/WDAC/PPL/memory/kernel telemetry blocks the intended action. Originating modules include /web-attack /ad-attack /cloud-attack /k8s /cicd /service-attack /phishing /privesc-win /privesc-linux /creds /post /shell. Success is the blocked action becoming executable, then resume the originating module — not obtaining a shell here.

references/static-payload.md

View on GitHub
# Static / On-write Evasion

阻断发生在 **文件落地或 image load 之前**。

---

## 1. 确认

```text
exe/dll 一写就被隔离
rundll32 加载失败
MOTW / SmartScreen 拦下载
```

脚本被拦 → `script-runtime.md`。进程起来后才死 → `memory-execution.md`。

---

## 2. 分离加载

不要把最终 payload 以明文 PE 落地。

```bash
# Donut: PE/.NET → 位置无关 shellcode
git clone https://github.com/TheWover/donut.git

# ScareCrow / Freeze:生成带签名伪装或 syscall stub 的 loader
# github.com/optiv/ScareCrow
# github.com/Optiv/Freeze
```

流程:

```text
最终 exe → Donut shellcode
→ loader(加密 + 运行时解密 + 非 CRT 注入)
→ loader 用允许的宿主执行(见 application-control.md)
```

---

## 3. MOTW

从浏览器/邮件下来的文件带 Zone.Identifier。

```powershell
Get-Item payload.exe -Stream Zone.Identifier -ErrorAction SilentlyContinue
Unblock-File .\payload.exe   # 仅当文件已在手且策略允许;钓鱼链应避免依赖这个
```

钓鱼侧优先 **不落地**(ClickFix 剪贴板执行)或 **无 MOTW 的执行路径**(Explorer 地址栏 FileFix)。那属于 `/phishing`,本模块只在 payload 已被拦时改 loader。

---

## 4. 签名 / 侧载

合法签名程序 + 可写目录 DLL 侧载。需要:

```text
目标机已有或你能投放该签名 EXE
DLL 搜索顺序可控
侧载 DLL 导出被 EXE 调用
```

没有具体 EXE/DLL 组合就不要编侧载命令。

---

## 5. 成功

```text
After: loader 能在目标落地并进入执行(或内存执行不再被静态拦)
仍被拦: 可能已经进入行为层,转 process/memory
Resume: 原 Attack 模块
```
writing-skillsobra/superpowersUse when creating new skills, editing existing skills, or verifying skills work before deploymentStars: 322kUpdated Claude CodeCodexVerifiedInstall
xlsxanthropics/skillsUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing .xlsx, .xlsm, .xltx, .csv, or .tsv file (e.g., adding columns, computing formulas, formatting, charting, cleaning messy data); create a new spreadsheet from scratch or from other data sources; or convert between tabular file formats. Trigger especially when the user references a spreadsheet file by name or path — even casually (like "the xlsx in my downloads") — and wants something done to it or produced from it. Also trigger for cleaning or restructuring messy tabular data files (malformed rows, misplaced headers, junk data) into proper spreadsheets. The deliverable must be a spreadsheet file. Do NOT trigger when the primary deliverable is a Word document, HTML report, standalone Python script, database pipeline, or Google Sheets API integration, even if tabular data is involved.Stars: 198kUpdated Claude CodeCodexVerifiedInstall
shipping-and-launchaddyosmani/agent-skillsPrepares production launches. Use when preparing to deploy to production, or when asking what needs to be in place before shipping. Use when you need a pre-launch checklist, when setting up monitoring, when planning a staged rollout, or when you need a rollback strategy.Stars: 119kUpdated Claude CodeCodexVerifiedInstall
childhoodthedotmack/claude-memBabysit a shipped release after merge, publication, or deployment. Verify published packages, production behavior, installed plugins, and late CI or user reports until the observation window is clean; use babysit for PR readiness before release.Stars: 118kUpdated Claude CodeCodexVerifiedInstall