Skip to content

KOSEC-LLC/ChainVeil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChainVeil Logo
_________ .__           .__     ____   ____     .__.__   
\_   ___ \|  |__ _____  |__| ___\   \ /   /____ |__|  |  
/    \  \/|  |  \\__  \ |  |/    \   Y   // __ \|  |  |  
\     \___|   Y  \/ __ \|  |   |  \     /\  ___/|  |  |__
 \______  /___|  (____  /__|___|  /\___/  \___  >__|____/
        \/     \/     \/        \/            \/         
  

Rust JavaScript License GitHub stars

ChainVeil is a Rust-powered C2 Framework for generating custom JavaScript payloads that interact with Ethereum. ChainVeil is designed to demonstrate how threat actors leverage decentralized technology for its flexibility and robustness.


⚡ Features

  • Rust-powered payload creation — ultra-lightweight, fast, and cross-platform.
  • Custom JS generation — generate JavaScript that fetches data from Ethereum addresses.
  • Portable execution — compile a single binary or run via script so no heavy dependencies.
  • Community templates — contribute your own templates to expand functionality.

🛠 Usage

  1. Clone the repository:
git clone https://github.com/KOSEC-LLC/ChainVeil.git
cd ChainVeil
  1. Build the Rust binary:
cargo build --release
  1. Run ChainVeil with your Ethereum address:
./target/release/ChainVeil \
  --content "0x000000000000000000000000000000000000dEaD" \
  --template templates/downloader.js \
  --output output/example.js \
  --payload payloads/payload.ps1
  1. Open or run the generated output/example.js in your JS environment to fetch and log data.

📂 File Structure

ChainVeil/
├── src/
│   └── main.rs          # Rust script that powers JS generation
├── templates/
│   └── downloader.js    # JS template with placeholder
├── output/              # Generated JS files
├── payloads/
│   └── payload.ps1      # PowerShell payload placeholder
├── assets/
│   └── logo.png         # Logo for README
├── Cargo.toml           # Rust dependencies
└── README.md

🎨 Customization

  • Swap templates in templates/ for your own JS payloads.
  • Swap payloads in payloads/ for your own customized payloads.
  • Inject multiple addresses by extending the Rust script.
  • Integrate with your security tooling workflow or Ethereum research projects.

⚠️ Disclaimer

ChainVeil is intended for educational, research, and internal security purposes only. Do not deploy against external systems without permission. KOSEC assumes no liability for misuse.

About

On-Chain Dead Drop Resolver

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors