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

Handle Leak due to missing InternetCloseHandle #1892

Open
parzel opened this issue Feb 17, 2025 · 0 comments
Open

Handle Leak due to missing InternetCloseHandle #1892

parzel opened this issue Feb 17, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@parzel
Copy link

parzel commented Feb 17, 2025

Describe the bug
I identified a [handle leak]((mjwhitta/win#3) in mjwhitta's WinINet/WinHTTP library, which leads to a state where the library cannot connect anymore due to being out of handles. As the unpatched code is used in sliver, this should also be an issue when using wininet as driver and lead to dying implants.

To Reproduce
There is a minimal example to observe the handle leak in this issue. Theoretically when running an implant long enough without the go HTTP library, behavior should be the same and the implant should die.

Expected behavior
The opened handles must be closed properly. There has been a fix in the library.

Desktop (please complete the following information):

  • OS: Windows
  • Version: N/A
@moloch-- moloch-- added the bug Something isn't working label Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants