Star on GitHubStar2.4k stars

Tool

sasquatch

Patches to the unsquashfs utility from squashfs-tools 4.3 that try to read as many vendor-modified SquashFS implementations from embedded firmware as possible. Simple header changes are handled automatically; when a vendor has altered the LZMA compression options or how they are stored in data blocks, it tries to resolve them by brute force with added lzma-adaptive, lzma-alt and lzma-ddwrt decompressors. Extra options let analysts force the decompressor, SquashFS version, endianness and lzma-adaptive parameters and turn on trace output.

Targets
Firmware
Category
Firmware tools
Relationship
Foundation tool
Sources reviewed
Stars
569
Last commit
2021-03-25
Language
Shell

GitHub data as of 2026-11-09

Copy as MarkdownView JSONCite

Requirements & limits

  • The README calls the patch set beta. Open issues report build failures with GCC 10 and later; unblob documents a separate ONEKEY package.
  • build.sh downloads the squashfs-tools 4.3 tarball from SourceForge, applies patches/patch0.txt, builds, and installs with sudo make install; on apt systems it first installs build-essential and the liblzma, liblzo2 and zlib development packages with sudo.
  • Input is a SquashFS image or firmware file the user supplies; the repository commits no firmware images. Its only files are the README, build.sh and the 1.1 MB patch, which adds bundled LZMA SDK decoder copies under their LGPL/CPL texts and, in the lzmalt decoder, a 289-line VxWorks type header (vxTypesOld.h) marked Copyright 1984-1997 Wind River Systems with no license notice.
  • The repository has no license file. squashfs-tools is GPL-licensed; bundled LZMA decoder code has LGPL/CPL terms, and the included VxWorks type header has a copyright notice without a license.

Cite

BibTeX

@misc{sasquatch,
  title = {{sasquatch}},
  howpublished = {\url{https://github.com/devttys0/sasquatch}},
  url = {https://github.com/devttys0/sasquatch},
  urldate = {2026-10-27},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/sasquatch/}}
}

Plain text

sasquatch. https://github.com/devttys0/sasquatch (accessed 2026-10-27). Awesome REA entry: https://awesomerea.org/resources/sasquatch/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · devttys0/sasquatch · Revision bd864a1
  2. build.sh GitHub · devttys0/sasquatch · Revision bd864a1
  3. patches/README.md GitHub · devttys0/sasquatch · Revision bd864a1
  4. patches/patch0.txt GitHub · devttys0/sasquatch · Revision bd864a1
  5. https://github.com/devttys0/sasquatch/pull/34
  6. https://github.com/devttys0/sasquatch/issues/36
  7. docs/installation.md GitHub · onekey-sec/unblob · Revision 0f40c3c

More in Firmware and hardware

All 260 entries in Firmware and hardware

↑↓ move↵ open⌘↵ new tab