Conversation
What is this?RDP Bitmap Cache contains 64x64 pixel tiles — screen fragments that are cached by the RDP client to optimize data transfer. These files may contain:
Cache file location on Windows: InstallationDependenciespip install pillowInstalling the NetExec moduleCopy # Linux
cp rdpcache.py ~/.nxc/modules/
# Or locate the modules directory
nxc --help # check the config pathUsageNetExec module# Basic usage
nxc smb <target> -u <user> -p <password> -M rdpcache
# With options
nxc smb 192.168.1.100 -u admin -p 'P@ssw0rd' -M rdpcache -o OUTPUT=/tmp/rdp_output
# Specify specific users
nxc smb 192.168.1.100 -u admin -p 'P@ssw0rd' -M rdpcache -o USERS=john,admin
# Without creating a collage
nxc smb 192.168.1.100 -u admin -p 'P@ssw0rd' -M rdpcache -o COLLAGE=False
# Multiple targets
nxc smb targets.txt -u admin -p 'P@ssw0rd' -M rdpcacheModule parameters:
Standalone parser# Parse a single file
python rdpcache.py Cache0001.bin -o ./output
# With brightness sorting
python rdpcache.py Cache0001.bin --smart
# With custom collage width
python rdpcache.py Cache0001.bin --cols 30
# Tiles only, no collage
python rdpcache.py Cache0001.bin --no-collageParameters:
Output structureSupported formats
CollageThe collage combines all extracted tiles into a single image for quick review. Brightness sorting (Smart Collage)The Security and legality
Using it without authorization is illegal. Links |
|
Thanks for the PR. While the core of the idea is cool, it looks like large amount has been AI generated, especially considering the previous PR: #1074. While this is not necessarily bad, AI produces a ton of bloat so there is still quite a lot to do in this PR to get it ready for merging. Please:
|
Description
This PR adds a new module
rdpcachefor extracting and analyzing RDP Bitmap Cache files from remote Windows machines.What it does:
Use case: Digital forensics and authorized penetration testing - RDP cache contains screen fragments that can reveal user activity, file names, command outputs, and other sensitive information.
Related: No existing issue, this is a new feature.
Dependencies:
pillow(PIL) - optional, required only for image extractionType of Change
How Has This Been Tested?
Environment:
Test targets:
Steps: