-
Notifications
You must be signed in to change notification settings - Fork 71
Add Windows RDP bitmap cache plugin #1080
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
Conversation
|
#1082 might allow this to work on individual files. |
Schamper
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice contribution!
Co-authored-by: Erik Schamper <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.
Files not reviewed (2)
- tests/_data/plugins/os/windows/rdpcache/Cache0000.bin: Language not supported
- tests/_data/plugins/os/windows/rdpcache/bcache24.bmc: Language not supported
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1080 +/- ##
==========================================
+ Coverage 79.27% 79.37% +0.09%
==========================================
Files 346 347 +1
Lines 30793 31004 +211
==========================================
+ Hits 24411 24608 +197
- Misses 6382 6396 +14
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This PR adds functionality to recover bitmaps from the Windows RDP Bitmap Cache. We've based the plugin on bmc-tools. Unlike bmc-tools, this plugin does not support BMC files with a bits-per-pixel other than 32. Such files should be quite rare nowadays.
We did run into an existing problem: we cannot expose the parser easily so it can be run against separate
.binor.bmcfiles that do not reside in an already existing Target (as mentioned in issues such as #789).See the grid export below for example output of the

rdpcache.recoverplugin function.