8000 GitHub - fcirillo00/fuzztruction-net
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

fcirillo00/fuzztruction-net

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick start

git clone https://github.com/fcirillo00/fuzztruction-net.git && \
    cd fuzztruction-net && \
    git submodule update --init

./env/build.sh

./env/start.sh

# opens shell
./env/start.sh

### inside container 

# build openvpn
cd my-experiments/build
./build.sh openvpn src deps generator consumer
cd ../..

# initialize system for fuzzing openvpn
./init.sh

# quick test
sudo ./target/debug/fuzztruction ./my-experiments/config/openvpn/openvpn.yml --purge --log-output benchmark -i 5 --log-level trace

# fuzz (im not sure if it can be run as multi-process)
sudo ./target/debug/fuzztruction ./my-experiments/config/openvpn/openvpn.yml --log-output fuzz -j 1 -t 1m --purge --log-level trace 

Other stuff

Everything related to openvpn is in my-experiments.

Problems faced

Dockerfile was broken.

/dev/hwrng was missing and the fuzzer couldn't start.

OpenVPN needs to run in user mode, which requires a pre-created tun0 device and sudo wrapper script for running ip commands. OpenVPN binaries need net capabilities inside Rust "jail".

This is all taken care of in init.sh.

Source code of openvpn has been modified to flush dev tun0/1 at init

Openvpn needs to kill itself after handshake completes.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 65.7%
  • Python 28.8%
  • C++ 3.0%
  • C 1.0%
  • Shell 0.8%
  • Dockerfile 0.6%
  • Other 0.1%
0