Applications

SAND : Decoupling Sanitization From Fuzzing For Low Overhead

SAND is a novel tool designed to enhance the efficiency of software fuzzing by decoupling sanitization from the fuzzing process.

Fuzzing, a widely used software testing technique, often suffers from overhead caused by sanitizer instrumentation.

SAND addresses this issue by separating the sanitization and fuzzing workflows, allowing for low-overhead and high-performance testing.

Core Functionality

SAND operates by utilizing two separate binaries during its workflow:

  1. Native Binary (Non-Sanitized): This binary is built without any sanitizer instrumentation and is used by SAND to collect coverage data during each fuzzing loop.
  2. Sanitizer Instrumented Binary (Without AFL Instrumentation): This binary includes sanitization but excludes AFL instrumentation. It is used to verify whether interesting inputs trigger sanitizer checks.

By decoupling these processes, SAND reduces the runtime overhead typically associated with sanitizer-enabled fuzzing, while still ensuring comprehensive error detection.

  • sand Branch: Contains the reference implementation used in the paper’s evaluation, forked from AFL++ version 4.05c.
  • upstream Branch: Represents efforts to port SAND to the latest version of AFL++.

To use SAND:

  1. Build the native binary using afl-clang-fast.
  2. Build the sanitizer instrumented binary with AFL_SAN_NO_INST=1 and AFL_USE_ASAN=1.
  3. Run SAND with the following command:
   AFL_NO_UI=1 AFL_SKIP_CPUFREQ=1 afl-fuzz -i <input_dir> -o <output_dir> -a <sanitized_binary> -- <native_binary> -f @@

SAND can be built using Docker for ease of reproduction:

docker build -t sand .

Alternatively, users can follow instructions in the original AFL++ README if Docker is unavailable.

For evaluation reproduction, detailed instructions are provided in the evaluation folder of the repository.

SAND’s approach is simple and adaptable to other fuzzers. For example, it has been applied to Fuzzilli, demonstrating its versatility. SAND represents a significant improvement in fuzzing efficiency by decoupling sanitization from fuzzing.

Its low-overhead design ensures faster execution while maintaining robust error detection capabilities, making it a valuable tool for software testing and security research.

Varshini

Varshini is a Cyber Security expert in Threat Analysis, Vulnerability Assessment, and Research. Passionate about staying ahead of emerging Threats and Technologies.

Recent Posts

ScrapeGraphAI : Revolutionizing Web Scraping With LLM And Graph Logic

ScrapeGraphAI is an innovative Python library designed to streamline web scraping by leveraging large language…

19 minutes ago

Neovide : Revolutionizing Text Editing With Rust And Neovim

Neovide is a graphical user interface (GUI) for Neovim, a modernized and extensible version of…

19 minutes ago

Arch : Revolutionizing Agentic Applications With Intelligent Infrastructure And LLM Integration

Arch is a versatile tool designed to enhance the functionality and efficiency of agentic applications…

20 minutes ago

BOAZ Evasion And Antivirus Testing Tool (For Educational Purpose)

The BOAZ Evasion and Antivirus Testing Tool is a sophisticated framework designed for educational purposes…

20 minutes ago

Microsoft-Analyzer-Suite v1.2.0 : Enhanced Data Analysis Tools For Microsoft 365 And Entra ID

The Microsoft-Analyzer-Suite v1.2.0 is a powerful collection of PowerShell scripts designed for analyzing data from…

2 hours ago

AIGoat : A Deliberately Vulnerable AI Infrastructure

AI-Goat is an innovative open-source platform designed to address the growing need for hands-on training…

2 hours ago