Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dump Failed #1

Open
crisprss opened this issue Sep 3, 2022 · 3 comments
Open

Dump Failed #1

crisprss opened this issue Sep 3, 2022 · 3 comments

Comments

@crisprss
Copy link

crisprss commented Sep 3, 2022

HI, the technique seems cool:)
However I failed the test in the virtual machine,the system version is Win10 1809 17763.1577, and I've set the DumpType in registry

image

@crisprss
Copy link
Author

crisprss commented Sep 3, 2022

Besides, lsass is not set in PPL as protect

@spicy-bear
Copy link

dump still failing

image
image

@DayJun
Copy link

DayJun commented Dec 11, 2024

look at kernel32!WerpReportFaultInternal, the message structure is a little bit different.
In some versions, it's size if 0xf0. But in newer versions, it is 0xf8
@crisprss @spicy-bear

typedef struct _MappedViewStruct
{
    DWORD Size;
    DWORD TargetProcessPid;
    DWORD TargetThreadTid;
    DWORD Filler0[39];
    EXCEPTION_POINTERS* ExceptionPointers;
#ifndef _WIN64
    DWORD Filler1;
#endif
    DWORD NtErrorCode;
    DWORD Filler2;
    HANDLE hTargetProcess;
#ifndef _WIN64
    DWORD Filler3;
#endif
    HANDLE hTargetThread;
#ifndef _WIN64
    DWORD Filler4;
#endif
    HANDLE hRecoveryEvent;
#ifndef _WIN64
    DWORD Filler5;
#endif
    HANDLE hCompletionEvent;
#ifndef _WIN64
    DWORD Filler6;
#endif
    DWORD Filler7;
    DWORD Filler8;
    DWORD Null01;
    DWORD Null02;
    DWORD NtStatusErrorCode;
    DWORD Null03;
    DWORD TickCount;
    DWORD Unk101;
} MappedViewStruct, *PMappedViewStruct;

After delete Null01 and Null02, the code runs correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants