プロジェクト
GitHubで見る
deepinstinct/Dirty-Vanity
概要
Windows の fork API を悪用して EDR を回避する、新しいインジェクション手法の概念実証です。https://www.blackhat.com/eu-22/briefings/schedule/index.html#dirty-vanity-a-new-approach-to-code-injection--edr-bypass-28417
Web・アプリ開発計測したスター増加
- 24時間
- 0
- 7日間
- +1
- 15日間
- +2
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルDirty Vanity
A POC for the new injection technique, abusing windows fork API to evade EDRs.
Usage
DirtyVanity.exe [TARGET_PID_TO_REFLECT]
Runtime steps
- Allocate and write shellcode to [TARGET_PID_TO_REFLECT]
- Fork [TARGET_PID_TO_REFLECT] to a new process
- Set the forked process's start address to the cloned shellcode
Shellcode
The reflected shellcode works with ntdll API. It is generated from the included generation project shellcode_template,
curtesy of https://github.com/rainerzufalldererste/windows_x64_shellcode_template
Shellcode customization
To customize the shellcode with ease:
- Edit the
shellcode_templatefunction inside theshellcode_templateproject, according to the instructions in https://github.com/rainerzufalldererste/windows_x64_shellcode_template - Compile it
- Crop the
shellcode_templatefunction bytes using your faivorite PE parsing tool (eg IDA) - Those bytes are position independet shellcode. place them in
DirtyVanity.cpp - Execute DirtyVanity to watch them get Reflected
関連プロジェクトを探す
読み込み中…