Skip to content

Too early injection issue #122

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

Open
wineggdrop opened this issue Feb 23, 2025 · 0 comments
Open

Too early injection issue #122

wineggdrop opened this issue Feb 23, 2025 · 0 comments
Labels

Comments

@wineggdrop
Copy link

wineggdrop commented Feb 23, 2025

prior to windows server 2019,after R77 installed,the console application with no user32.dll import such as net.exe and others still occasionally fail to run with access denied or other error.I guess the reason is the injected code start running before the console application even initialized.it does not happen all the time but it does happen. The GUI application does not have this issue.I would screenshot it when encounter next time.
If that is the reason,not sure how to check the remote process is fully initialized

using NtQuerySystemInformation to pool process information is 30% faster than using EnumProcess

bandicam.2025-02-26.00-06-20-305.mp4

The Eslapse Time Is every pool(ntquerysysteminformation at first time or EnumProcess at second) taking time,the comparsion won't really take much of time,but the API call does 95% of the time. This pool can take up a lot of CPU time in some VM with very few cords

@bytecode77 bytecode77 added the bug label Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants