Sxshashing
No description available
Install / Use
/learn @stolenbytes/SxshashingREADME
sxshashing
This is sample code for the technique described in the article SXS, hashing and persistence.
To build and test code you will need Visual Studio Build tools 2013, 2015 or 2017, either standalone or one integrated with Visual Studio, and cmake:
Navigate to the folder where you have cloned this repository from Build tools command prompt and type (if cmake.exe is in your %PATH%):
cmake.bat
This will compile sxshashing.exe, by running it it will create sxshashing.exe.local which will have full winsxs path inside, and relaunch itself. If everything went fine it will display messagebox saying that comctl32.dll is loaded from .local folder.
sxshashing.py is python script which can be used to extract the first dependent assembly from the embeded manifest, and will also generate name for faked version. You will need pefile for python.
Example:
#sxshashing.py calc.exe
Full WinSXS path:
x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.0.0_none_346120bcec3f883c
Winners key:
x86_microsoft.windows.common-controls_6595b64144ccf1df_none_aaab8e0a9f4bd480
Full WinSXS path fake version:
x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.65535.65535_none_02695abd61c0090
or to fake with different version:
#sxshashng.py calc.exe 6.0.65535.1000
Full WinSXS path:
x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.0.0_none_346120bcec3f883c
Winners key:
x86_microsoft.windows.common-controls_6595b64144ccf1df_none_aaab8e0a9f4bd480
Full WinSXS path fake version:
x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.65535.1000_none_972634cc7771ad3d
Related Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
