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

Fix VMProtect detection #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

rexyrexy
Copy link

Tested for VMProtect 3.9.2 (latest)

Fix for #85

@mrexodia
Copy link
Owner

Do you have a sample that triggers the detection?

@rexyrexy
Copy link
Author

uint64_t result[] = { 0x0, 0x1122334455667788 };
uint64_t* result_addr = (uint64_t*)(((PBYTE)&result) + 1);
const auto status = NtQueryInformationProcess(NtCurrentProcess(), PROCESSINFOCLASS::ProcessDebugObjectHandle, result_addr, sizeof(uint64_t), nullptr);

// No Debugging: STATUS_DATATYPE_MISALIGNMENT - 8800000000000000
// With TitanHide: STATUS_PORT_NOT_SET - 0
printf("[ATTEMPT] - Status: %x - Result: %llx\n", status, *result_addr);

image

Sample:
TestMisalignment.zip

@mrexodia
Copy link
Owner

No I mean an actual VMProtected sample that shows this issue

@rexyrexy
Copy link
Author

If you able to provide me an email address, I can.

@mrexodia
Copy link
Owner

mrexodia () x64dbg.com

@rexyrexy
Copy link
Author

I sent.

@rexyrexy
Copy link
Author

Have you tested the sample?

@mrexodia
Copy link
Owner

mrexodia commented Dec 25, 2024 via email

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

Successfully merging this pull request may close these issues.

2 participants