Skip to content

Conversation

@phra
Copy link
Contributor

@phra phra commented Nov 13, 2019

the current egghunter for win10 wow64 fails to loop through the pages.
this is due to some missing PUSH EBX (0) before NtAccessCheckAndAuditAlarm.
without them, the syscall always fails and last error is set to INVALID_NAME.
tested on QuickZip 4.60 SEH exploit on win10.

after fixing the page loop, we noticed that this was not enough.
the egghunter has to reset EBX every loop with XOR EBX, EBX otherwise it will stop at offset 1 of the current page.

the current egghunter for win10 wow64 fails to loop through the pages.
this is due to some missing PUSH EBX (0) before
NtAccessCheckAndAuditAlarm.
without them, last error will be set to INVALID_NAME.
tested on QuickZip 4.60 SEH exploit on win10.

after fixing the page loop, we noticed that this was not enough.
the egghunter has to reset EBX every loop with XOR EBX, EBX,
otherwise it will stop at offset 1 of the current page.
@phra phra force-pushed the fix/egghunter-win10-wow64 branch from 5ff6382 to 3dc4e2e Compare November 13, 2019 13:29
@phra
Copy link
Contributor Author

phra commented Dec 22, 2019

any updates? :)

@corelanc0d3r
Copy link
Member

hey - sorry for the feedback, I have not forgotten about this - I will look at the issue and your fix very soon - thank you for your help and contribution ! :)

@corelanc0d3r corelanc0d3r merged commit 2afb1e1 into corelan:master Jan 8, 2020
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