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

Working with WMI queries is hard, perhaps a get-wmiobject approach? #1915

Open
directionless opened this issue Oct 25, 2024 · 0 comments
Open
Assignees

Comments

@directionless
Copy link
Contributor

Ages ago, I built the kolide_wmi table to get at WMI data. It uses the WMI query interface, and actually putting it into use requires a lot of weird query work. More and more, I'm seeing the internet provide get-wmiobject based shell snippets. And I wonder, is that a viable path for us?

I don't think we should exec it, but I wonder if there's a better C call we could be doing that looks more like get-wmiobject and less like wmi queries.

@RebeccaMahany RebeccaMahany self-assigned this Nov 19, 2024
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

2 participants