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

Fix Velociraptor Loader Windows root filesystem detection #490

Merged
merged 6 commits into from
Dec 28, 2023

Conversation

Zawadidone
Copy link
Contributor

Mount volumes that represent drives before the volume shadow copies, otherwise a volume shadow copy is used as root filesystem.

for fs in target.filesystems:
if fs.exists("/windows/system32") or fs.exists("/winnt"):
return fs

Mount volumes that represent drives before the volume shadow copies,
otherwise a volume shadow copy is used as root filesystem.
@Zawadidone Zawadidone changed the title Fix Velociraptor Loader VSS recognized as root filesystem Fix Velociraptor Loader Windows root filesystem detection Dec 27, 2023
@Zawadidone Zawadidone requested a review from Schamper December 27, 2023 16:52
This was always the case but not documented.
Copy link

codecov bot commented Dec 28, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ca0e797) 73.99% compared to head (a517632) 74.05%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #490      +/-   ##
==========================================
+ Coverage   73.99%   74.05%   +0.05%     
==========================================
  Files         260      260              
  Lines       21066    21070       +4     
==========================================
+ Hits        15588    15603      +15     
+ Misses       5478     5467      -11     
Flag Coverage Δ
unittests 74.05% <100.00%> (+0.05%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@Zawadidone Zawadidone requested a review from Schamper December 28, 2023 12:05
@Schamper Schamper merged commit 502d16b into fox-it:main Dec 28, 2023
@Zawadidone Zawadidone deleted the fix/velociraptor_loader_vss branch December 28, 2023 16:14
JSCU-CNI pushed a commit to JSCU-CNI/dissect.target that referenced this pull request Jan 2, 2024
Zawadidone added a commit to Zawadidone/dissect.target that referenced this pull request Apr 5, 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

Successfully merging this pull request may close these issues.

2 participants