Old School Obfuscation

0 min read


Hello Stackers, In this case, I will use bash obfuscation in explaining it because there are some things (sometimes) we often encounter when solving CTF challenge problems.

In software developmentobfuscation is the act of creating source or machine code that is difficult for humans or computers to understand.

wikipedia

Bashfuscator

Bashfuscator is a modular and extendable Bash obfuscation framework written in Python 3. It provides numerous different ways of making Bash one-liners or scripts much more difficult to understand. It accomplishes this by generating convoluted, randomized Bash code that at runtime evaluates to the original input and executes it. Bashfuscator makes generating highly obfuscated Bash commands and scripts easy, both from the command line and as a Python library.

The purpose of this project is to give Red Team the ability to bypass static detections on a Linux system, and the knowledge and tools to write better Bash obfuscation techniques.

Quickstart

sudo apt-get update && sudo apt-get install python3 python3-pip python3-argcomplete xclip

Okay, that’s all folks, for the full docs please refer to here

Bima Sena

Leave a Reply

Your email address will not be published. Required fields are marked *