Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

PyPI - Python Version Last release CI status Downloads License

FLOSS logo

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:

  1. static strings: "regular" ASCII and UTF-16LE strings
  2. stack strings: strings constructed on the stack at run-time
  3. tight strings: a special form of stack strings, decoded on the stack
  4. 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:

  1. Go
  2. 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.

Layout-aware static strings

FLOSS enriches static strings by default with file structure context and tags (global prevalence, open-source libraries, expert rules, and more). Stack, tight, and decoded strings still appear after the layout-aware static listing when deobfuscation is enabled.

$ floss sample.exe
$ floss sample.exe -j

Features:

  • extract ASCII and UTF-16LE strings
  • show strings next to right-aligned, colored context, including tags and file offset
  • render strings within PE section range delimiters
  • annotate strings from known PE structures, like the import table
  • don't show junk strings that overlap with instructions
  • mute strings known to be globally prevalent, via an embedded database
  • mute strings from popular open source libraries, via embedded databases
  • highlight strings that match expert rules, via embedded databases

screenshot 1 screenshot 2

Tag databases and FLIRT signature files are tracked with Git LFS; contributors cloning the repo may need Git LFS installed to fetch those files. Maintenance of tag databases is documented in scripts/tags/README.md and the per-database notes under floss/tags/data/.

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 --string-type stack tight -- suspicious.exe

Do not extract static strings:

$ floss --no-string-type static -- backdoor.exe

Display the help/usage screens:

$ floss -h  # show all supported arguments

Enable tab completion for flags, choice values, and file paths with floss --print-completion bash (also zsh, fish); installation instructions are in doc/usage.md.

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.

Graphical viewer

Explore floss -j output in the hosted web viewer: upload the JSON, filter strings by search term, minimum length, tags, or structures, and copy what you keep.

Emit a standalone HTML report directly and open it in a browser:

floss --html malware.exe > report.html

You can also build the viewer yourself into a single, self-contained offline HTML file, see viewer/README.md.

Documentation

Mailing List

Subscribe to the FLARE mailing list for community announcements by sending an email with the subject "subscribe" to flare-external@google.com.

Metadata

Release files for flare-floss 4.0.0a2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flare-floss 4.0.0a2
File Size Uploaded Provenance Actions
flare_floss-4.0.0a2.tar.gz 852.5 kB With provenance Details for flare_floss-4.0.0a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flare-floss 4.0.0a2
File Interpreter ABI Platform Actions
flare_floss-4.0.0a2-py3-none-any.whl Python 3 none any Details for flare_floss-4.0.0a2-py3-none-any.whl

Total release size: 1.3 MB

Release files / flare_floss-4.0.0a2.tar.gz

Download URL flare_floss-4.0.0a2.tar.gz
Size 852.5 kB
Tags Source
SHA-256 checksum
How to use checksums
4e20b533bcf0474abf1bf24129f11d4340afefad23636ff6b17a114465808f52
BLAKE2b-256 checksum
How to use checksums
9f413034ff4ef5fe582111368c648c98783edcd30667fab35a5588444e87d300
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Release files / flare_floss-4.0.0a2-py3-none-any.whl

Download URL flare_floss-4.0.0a2-py3-none-any.whl
Size 490.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ae7ec731a52a27aa7ad78820446f1014ee5f4a3ea8a887036bb2ae95ece2f8d8
BLAKE2b-256 checksum
How to use checksums
8c9b8b11b6f8a39db198e9a8a0f2668a6fd73242a9d9ea800907db2dce52ae81
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

Security for flare-floss 4.0.0a2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flare_floss-4.0.0a2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page