-
Notifications
You must be signed in to change notification settings - Fork 123
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
Install of ie11 and adobepdf hangs on process kill step #197
Comments
I also think something similar happens to the pillow install. The Click.exe runs but only after the installer is already closed. Secondly it would make sense to allow people to still install python2.7 for older tools. I know the agent is pushed to 3 with good reason for when cuckoo 3 finally gets opensource but like for instance tools like pillow only run on 2.7 |
I have a feeling all of this has to do with the async/cucksync not working properly. Because of this most installs work fine as the installers actually exit. However the process it waits for in ie11 and adobe won't exit on it's own and it will never reach the kill task as it won't do the async. Same goes for the pillow/click. The pillow installer requires that input from click but it won't launch the click as the async is not working as expected. I tried to figure out how the async works in the agent but can't seem to find the place where it is actually considered async by the machine. |
From Python3.7 and up "async" is a keyword. This commit renames it to cucksync
The issue is rooted on pull request #195 beeing incomplete The remote control of the VM works as follows: https://github.com/hatching/vmcloak/blob/main/vmcloak/agent.py is used to send commands to the VM via http. Agent.exe will only run a command async, if it receives a post request with the parameter As agent.exe is close sourced (or at least I didn't find its code), this problem can't be easily fixed. As an (ugly) work around, I changed the post-Method of the Agent class in agent.py to change the cucksync parameter into async just before sending the post request. |
Hello,
During testing of dependencies on win7x64 image i noticed that ie11 install and Adobepdf hangs when doing the def _run_once(self): function.
I did the same install on the VM using screen output and you can see it never kills the process. Manually killing it makes the script continue but ofcourse this doesn't work in no screen mode. And it also breaks automatization.
I tried by lowering and highering the sleep as well as doing a self.a.killprocess("AcroRd32.exe", force=True) instead of false.
This didn't solve the issue. Then i commented out the full function which worked.
I understand this is most likely not the correct way of fixing the install but i can't seem to find the exact issue.
Running in Linux (ubuntu 20.04)
The text was updated successfully, but these errors were encountered: