FLARE Obfuscated String Solver
Project description
FLARE Obfuscated String Solver
The FLARE Obfuscated String Solver (FLOSS, formerly FireEye Labs Obfuscated String Solver) uses advanced
static analysis techniques to automatically extract and deobfuscate all strings from
malware binaries. You can use it just like strings.exe
to enhance the
basic static analysis of unknown binaries.
Obfuscated Strings
Rather than heavily protecting backdoors with hardcore packers, many
malware authors evade heuristic detections by obfuscating only key
portions of an executable. Often, these portions are strings and resources
used to configure domains, files, and other artifacts of an infection.
These key features will not show up as plaintext in the output of the strings.exe
utility
that we commonly use during basic static analysis.
FLOSS extracts all the following string types:
- static strings: "regular" ASCII and UTF-16LE strings
- stack strings: strings constructed on the stack at run-time
- tight strings: a special form of stack strings, decoded on the stack
- decoded strings: strings decoded in a function
Please review the theory behind FLOSS here.
Our blog post talks more about the motivation behind FLOSS and details how the tool works.
FLOSS version 2.0 updates are detailed in this blog post.
Language-specific Strings
Not all compilers use string formats that the classic strings.exe
algorithm supports. For example, if strings are UTF-8 encoded or stored without a NULL-terminator. FLOSS can identify and extract strings from programs compiled from the following languages:
- Go
- Rust
The strings FLOSS extracts specific to a compiler are much easier to inspect by humans.
Please consult the documentation to learn more about the language-specific string extraction.
Installation
To use FLOSS, download a standalone executable file from the releases page: https://github.com/mandiant/flare-floss/releases
See the installation documentation for a detailed description of all methods to install FLOSS.
Usage Examples
Extract obfuscated strings from a malware binary:
$ floss malware.exe
Only extract stack and tight strings:
$ floss --only stack tight -- suspicious.exe
Do not extract static strings:
$ floss --no static -- backdoor.exe
Display the help/usage screens:
$ floss -h # show core arguments
$ floss -H # show all supported arguments
For a detailed description of using FLOSS, review the documentation here.
Scripts
FLOSS also contains additional Python scripts in the scripts directory which can be used to load its output into other tools such as Binary Ninja or IDA Pro. For detailed description of these scripts review the documentation here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file flare_floss-3.1.1.tar.gz
.
File metadata
- Download URL: flare_floss-3.1.1.tar.gz
- Upload date:
- Size: 15.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f74458bc8263e6c61638c13b27bde3a3791425a555b037b79766413abd77b68 |
|
MD5 | 2a7b97ea5eb76469e1ae806a3adcd372 |
|
BLAKE2b-256 | ac46b39349a883cb45461e39eca577ad0d0f5a5a3a3e0f90deec5057f2b5bc6d |
File details
Details for the file flare_floss-3.1.1-py3-none-any.whl
.
File metadata
- Download URL: flare_floss-3.1.1-py3-none-any.whl
- Upload date:
- Size: 15.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b57fdc932af40ef81912342b1b89df35ce0bc925c94881dc16ba4c9d6106561 |
|
MD5 | d08bc722b0de0b1ab39bac9be335ec08 |
|
BLAKE2b-256 | d4331f7502dc7e1e487d5337012245d6780559690f9668cc12612c05e93eab48 |