-
Notifications
You must be signed in to change notification settings - Fork 21
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
Unable to resolve thread_handle from KERNEL32 #2
Comments
Thanks @rasta-mouse - we'll try and take a look into this. |
Hey, apologies for the slow response over xmas etc. I'm not able to reproduce this with a fresh build from the Not working: I appreciate "it works on my machine" isn't helpful but maybe just double check the files are named correctly in terms of architecture and have another go. I used make with mingw32 on WSL to build the dependencies if it helps. Feel free to ping me on twitter/discord (am on the HTB server with the same name) if you want to dive into it a bit and we can re-open this if we confirm issues. |
Unable to reproduce locally but issue confirmed on @rasta-mouse 's build. Looking into it but have published working builds as a release in the interim. |
Your build works with both the published BOF and my BOF. Issue certainly appears to be in my build of RunOF. |
Trying to implement this in a .net agent, and getting the same issue as rasta. Made some modifications to the code (mostly to change parsed_args to a dictionary rather than an object and removed debug messages) In case it matters I'm running modified RunOF in an executable on .NET 7 |
Update when I use this code to steal the embedded resource from your release, and use that it works fine lmao
So, I think Rasta's issue has something to do with the Makefile, or the compilation environment? |
Hmm that's interesting aye 🤔and I assume if you build the beacon_funcs and use that you also hit the error? |
yep exactly, I built the beacon_funcs on an ubuntu 20.04 box using the Makefile and got the same issue as Rasta. |
Re-examining this, I compiled it in a more up to date Linux machine (Ubuntu 22.04) and it compiled and ran without issue. So it definitely seems like it's down to the version being run. |
The text was updated successfully, but these errors were encountered: