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

Initial support for parsing WMI repository #103

Merged
merged 16 commits into from
Feb 5, 2024
Merged

Initial support for parsing WMI repository #103

merged 16 commits into from
Feb 5, 2024

Conversation

puffyCid
Copy link
Owner

@puffyCid puffyCid commented Feb 5, 2024

This PR adds initial support for parsing the WMI repository. Currently it parses the repo to extract data related to WMI persistence.

Future work may be done to allow users to extract any class from WMI repo.

Right only classes related to WMI persistence are extracted
(this was way more difficult than expected T.T)

Copy link

codecov bot commented Feb 5, 2024

Codecov Report

Attention: 533 lines in your changes are missing coverage. Please review.

Comparison is base (8cb89b5) 85.25% compared to head (e4562ed) 82.80%.
Report is 7 commits behind head on main.

Files Patch % Lines
...is-core/src/artifacts/os/windows/wmi/namespaces.rs 48.10% 123 Missing ⚠️
artemis-core/src/artifacts/os/windows/wmi/class.rs 78.88% 114 Missing ⚠️
...emis-core/src/artifacts/os/windows/wmi/instance.rs 60.71% 110 Missing ⚠️
...rc/artifacts/os/windows/wmi/wmindows_management.rs 61.20% 97 Missing ⚠️
...rtemis-core/src/artifacts/os/windows/wmi/parser.rs 55.22% 30 Missing ⚠️
artemis-core/src/artifacts/os/windows/artifacts.rs 48.48% 17 Missing ⚠️
...temis-core/src/artifacts/os/windows/wmi/objects.rs 92.39% 14 Missing ⚠️
artemis-core/src/artifacts/os/windows/wmi/error.rs 0.00% 11 Missing ⚠️
cli/src/collector/windows.rs 11.11% 8 Missing ⚠️
artemis-core/src/artifacts/windows_collection.rs 60.00% 4 Missing ⚠️
... and 3 more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #103      +/-   ##
==========================================
- Coverage   85.25%   82.80%   -2.45%     
==========================================
  Files         423      383      -40     
  Lines       47726    42797    -4929     
==========================================
- Hits        40690    35440    -5250     
- Misses       7036     7357     +321     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@puffyCid puffyCid linked an issue Feb 5, 2024 that may be closed by this pull request
@puffyCid puffyCid merged commit 5e2b682 into main Feb 5, 2024
6 of 10 checks passed
@puffyCid puffyCid deleted the wmi branch February 5, 2024 05:22
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

Successfully merging this pull request may close these issues.

Add support for parsing Windows WMI database files
1 participant