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/defense-assessment.md

View on GitHub
# Defense Assessment — 先定位阻断层

本文件只做判断。判断完立刻进对应技术文件动手,不要停在“建议换马”。

---

## 1. 必填输入

```text
Originating module:
Blocked action (exact):
OS / build / arch:
Privilege / integrity:
EDR product (if known):
What happened:
  file disappeared / toast / process killed / exit 0xC0000428 /
  AMSI / AppLocker 8004 / PPL 0x5 / hang
```

---

## 2. 分层探针(低影响 → 高影响)

### 2.1 落地

```powershell
# 写一个无害 marker
Set-Content C:\Windows\Temp\rt-marker.txt 'rt'
Get-Content C:\Windows\Temp\rt-marker.txt
```

被删/隔离 → 静态扫描 / 写拦截 → `static-payload.md`

### 2.2 进程创建

```cmd
cmd.exe /c whoami > C:\Windows\Temp\rt-whoami.txt
```

cmd 被拦、谁ami 没文件 → 进程创建 / 命令行 → `process-execution.md` + `native-api-syscalls.md`

### 2.3 脚本

```powershell
powershell -NoP -C "whoami"
```

PS 被拦但 cmd 可以 → AMSI/CLM/脚本规则 → `script-runtime.md` 或 `application-control.md`

### 2.4 内存

原 payload 落地成功、进程起来、几秒内被杀 → 内存扫描 / 行为链 → `memory-execution.md` + `callstack-telemetry.md`

### 2.5 应用控制

Event Viewer:

```powershell
Get-WinEvent -LogName 'Microsoft-Windows-AppLocker/EXE and DLL' -MaxEvents 20
Get-WinEvent -LogName 'Microsoft-Windows-Windows Defender/Operational' -MaxEvents 20
```

8004 / CI 3077 → `application-control.md`

### 2.6 PPL / 内核

对 lsass 的 OpenProcess 返回 ACCESS_DENIED,或驱动加载 577/5771 → `credential-access-evasion.md` / `kernel-edr.md`

---

## 3. 产品指纹(有就记,没有也继续)

```powershell
Get-Service | ? { $_.Name -match 'CSFalcon|Sentinel|Cylance|CbDefense|elastic|WinDefend|Sense' }
Get-Process | ? { $_.Name -match 'MsMpEng|CSFalcon|Sentinel|elastic|CrowdStrike' }
```

产品名用来选已知绕过,**不是**“没识别就不能打”。未知 EDR 仍按阻断层打。

---

## 4. 路由

```text
静态/落地          → static-payload.md
AMSI/脚本          → script-runtime.md
进程树/命令行/hook → process-execution.md + native-api-syscalls.md
内存/注入          → memory-execution.md
调用栈/sleep       → callstack-telemetry.md
WDAC/AppLocker     → application-control.md
PPL/驱动/EDR 进程  → kernel-edr.md
凭据 dump 被拦     → credential-access-evasion.md
```

输出一句给操作者:

```text
Layer: AMSI
Next file: script-runtime.md
Then resume: /phishing ClickFix callback
```
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