Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
polychrome-rs — A PoC on how to use a Compute Shader as Payload | Kitploit
Tools/GitHubGitHub/dovelus/polychrome-rs
Defensive ToolsEncryption/Decryption ToolsPayload GenerationExploitationShellcodeMalware AnalysisRed TeamingPayload Development
GitHubdovelus/polychrome-rs

polychrome-rs

A PoC on how to use a Compute Shader as Payload

View Repository
4244 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Polychrome

This is a example on how to embed a payload into a compute shader. The payload is encrypted and decrypted on the GPU.

This is not by any means a complete implementation it misses crucial OPSEC considerations.

Usage

Generate a payload using your preferred method i used the classic calc.exe as an example. Then use the python script polychrome.py to generate the shader code.

root@kitploit:~
python3 polychrome.py <path_to_payload> -t both --meta -n payload

Then you should have a shader file like a.hlsl To use it we need to compile it first.

root@kitploit:~
fxc /T cs_5_0 /E CSMain /O3 /Fo payload.cso payload.hlsl

Move the payload.cso file and payload.meta.json file to the resources directory.

The compile the rust project, the payload is embedded into the exectable:

root@kitploit:~
cargo build --release

Example output:

Download Tool