Skip to content

nickvourd/SugarFree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SugarFree

Less sugar (entropy) for your binaries



GitHub License GitHub Repo stars
GitHub forks GitHub watchers GitHub contributors

Description

SugarFree is an open-source tool designed to analyze and reduce the entropy of a provided PE file.

Static Badge Static Badge

SugarFree uses two different techniques (strategies) to reduce the entropy of a PE file:

  • zero: Appends null bytes (0x00) to the end of the file, increasing its size while lowering entropy.
  • word: Appends random English words in byte format to the end of the file, increasing its size while lowering entropy.

The following list explains the meaning of each SugarFree command:

  • info: Calculates the entropy of a PE file and its sections.
  • free: Lowers the overall entropy of a PE file.

SugarFree is written in Golang, a cross-platform language, enabling its use on both Windows and Linux systems.

If you find any bugs, don’t hesitate to report them. Your feedback is valuable in improving the quality of this project!

Disclaimer

The authors and contributors of this project are not liable for any illegal use of the tool. It is intended for educational purposes only. Users are responsible for ensuring lawful usage.

Table of Contents

Acknowledgement

This project created with ❤️ by @nickvourd && @IAMCOMPROMISED.

Special thanks to my friend Marios Gyftos for inspiring the concept of automated stages.

Installation

You can use the precompiled binaries, or you can manually install SugarFree by following the next steps:

  1. Clone the repository by executing the following command:
git clone https://github.com/nickvourd/SugarFree.git
  1. Once the repository is cloned, navigate into the SugarFree directory:
cd SugarFree
  1. Install the third-party dependencies:
go mod download
  1. Build SugarFree with the following command:
go build SugarFree

Usage

ℹ️ Please refer to the SugarFree Wiki for detailed usage instructions and examples of commands.

███████╗██╗   ██╗ ██████╗  █████╗ ██████╗ ███████╗██████╗ ███████╗███████╗
██╔════╝██║   ██║██╔════╝ ██╔══██╗██╔══██╗██╔════╝██╔══██╗██╔════╝██╔════╝
███████╗██║   ██║██║  ███╗███████║██████╔╝█████╗  ██████╔╝█████╗  █████╗  
╚════██║██║   ██║██║   ██║██╔══██║██╔══██╗██╔══╝  ██╔══██╗██╔══╝  ██╔══╝  
███████║╚██████╔╝╚██████╔╝██║  ██║██║  ██║██║     ██║  ██║███████╗███████╗
╚══════╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝     ╚═╝  ╚═╝╚══════╝╚══════╝                                                        

SugarFree v2.0 - Less sugar (entropy) for your binaries.
SugarFree is an open source tool licensed under MIT.
Written with <3 by @nickvourd && @IAMCOMPROMISED...
Please visit https://github.com/nickvourd/SugarFree for more...

Usage:
  SugarFree [flags]
  SugarFree [command]

Aliases:
  SugarFree, sugarfree, SUGARFREE, sf

Available Commands:
  free        Free command
  help        Help about any command
  info        Info command

Flags:
  -h, --help      help for SugarFree
  -v, --version   Show SugarFree current version

References