Skip to content

Exploit doesn't work #10

Description

@Salah-Code-Lab

The Exploit doesn't work
even with all core defenses down
even without the definitions update
even with multiple other builds
your exploit fails
basically a piece of garbage
Yeah talk about
even after running it as system and editing the code to make it run as system

bool IsRunningAsLocalSystem()
{

HANDLE htoken = NULL;
if (!OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &htoken)) {
	printf("OpenProcessToken failed, error : %d\n", GetLastError());
	return false;
}
TOKEN_USER* tokenuser = (TOKEN_USER*)malloc(MAX_SID_SIZE + sizeof(TOKEN_USER));
DWORD retsz = 0;
bool res = GetTokenInformation(htoken, TokenUser, tokenuser, MAX_SID_SIZE + sizeof(TOKEN_USER), &retsz);
CloseHandle(htoken);
if (!res)
	return false;

return false;

}

talk about a miss or miss

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions