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

Processes created via WMI are not hooked? #45

Open
acalarch opened this issue Apr 20, 2017 · 7 comments
Open

Processes created via WMI are not hooked? #45

acalarch opened this issue Apr 20, 2017 · 7 comments

Comments

@acalarch
Copy link

I am using Cuckoo R2. I ran a office dropper that used WMI to create a process via WMI (
https://msdn.microsoft.com/en-us/library/aa389388(v=vs.85).aspx) . The sample didn't have any behavioral details in the report for the process (powershell) created via WMI. So, this could be a way to bypass certain parts of cuckoo's monitoring.

SAMPLE MD5: 9572b94b6a635a7b8347caf73fe1afd1

@jbremer
Copy link
Member

jbremer commented Apr 20, 2017

Ah yes, I believe I see the issue. Just to confirm, what version of Office do you have in your VM?

@acalarch
Copy link
Author

2013

@acalarch
Copy link
Author

image

Normally I get parent-child no problem

@jbremer
Copy link
Member

jbremer commented Apr 20, 2017

Hm, that changes things actually, because I think on my local setup (office 2007) it doesn't work for a different reason. I'll have to investigate a bit further :-)
For what it's worth, this technique should normally work just fine (following WMI processes), so I'll be interested to see what's going wrong here.

@acalarch
Copy link
Author

Ah yep, I guess I should've checked general creation VIA WMI. It is showing for VBS scripts.

@jbremer
Copy link
Member

jbremer commented Apr 20, 2017

Well, regardless of whether it works with VBS, it clearly doesn't work in this scenario :-) Anyway, to be continued.

@ne1llee
Copy link

ne1llee commented Jun 14, 2019

@jbremer
wmi.c:The call to init_co_create_instance() in the _locate_wbem_services function fails and does not clear the is_hooked.

image

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

No branches or pull requests

3 participants