LIEF VS pharos

Compare LIEF vs pharos and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
LIEF pharos
4 5
4,137 1,483
2.1% 1.9%
9.4 6.4
23 days ago 2 days ago
C++ C++
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

LIEF

Posts with mentions or reviews of LIEF. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-07-26.
  • What's the Most Portable Way to Include Binary Blobs in an Executable?
    5 projects | news.ycombinator.com | 26 Jul 2022
    My team is working on this problem in the context of creating Node.js single-executable applications. While the naive approach of just appending data at the end of the binary works, it is not friendly with code-signature in macOS and Windows given that signing operates on PE and Mach-O sections.

    We have recently open-sourced a small tool called Postject (https://github.com/postmanlabs/postject), which is able to inject arbitrary data as proper ELF/Mach-O/PE sections for all major operating systems (with AIX support coming). The tool also provides C/C++ cross-platform headers for easily traversing the final binary and introspect whether the segment is present or not.

    The tool is based on the LIEF (https://github.com/lief-project/LIEF) project.

    At Postman, we are making use of this on our custom Node.js single-executable applications and soon on our custom Electron.js builds too.

  • Pefile python module features
    2 projects | /r/Malware | 17 Mar 2022
    https://github.com/lief-project/LIEF https://lief-project.github.io/doc/latest/api/python/index.html
  • Collection of tools for executable packing detection
    6 projects | /r/Malware | 15 Jan 2022
    Bintropy: Entropy-based packing detection featuring multiple modes (whole binary, per section or segment). Based on the awesome LIEF library, therefore supports ELF, PE, Mach-O.
  • rabin2 for scraping ELF to JSON
    2 projects | /r/ELFLinking | 16 Oct 2021
    I've been looking at LIEF toolkit for similar purposes (https://github.com/lief-project/LIEF). It's a python framework for cross platform binary analysis. I'm curious, does rabin2 support dll format?

pharos

Posts with mentions or reviews of pharos. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-14.
  • Any Tips for Reversing x86 C++ Decryption Functions?
    2 projects | /r/securityCTF | 14 Jun 2023
    OOAnalyzer is wonderful for recovering class/function information C++ that makes manual vtable/RTTI perusing relatively moot. I ultimately installed it along with the rest of Pharos on Linux and it was a couple days of figuring before I got things running.
  • Decompiling with AI is going to be revolutionary
    1 project | /r/GameUpscale | 20 Oct 2022
    Something that could be viable is e.g. learning the heuristics in a tool like https://github.com/cmu-sei/pharos instead of hand-crafting them. More coarse information like function partitioning, is this function a constructor etc.
  • Is taking the ASM dump from Ida pro after human correction a good way to re-write the software from scratch?
    2 projects | /r/REGames | 9 Aug 2021
    That's why I eventually started looking for a more automated approach like https://github.com/cmu-sei/pharos.
  • Analysis of large binaries and games in Ghidra-SRE
    1 project | news.ycombinator.com | 28 Jul 2021
    I recently started analysing a game with Ghidra. I found the plugin mentioned was actually fairly useless in my case (but this was version 9, maybe things have changed), instead I used OOAnalyzer [1] and its associated Ghidra plugin - great for bootstrapping a class hierarchy, which is otherwise extremely tedious to do. It took 24 hours and ~100GB of memory, so I ran it on AWS, splitting the analysis in parts according to [2]. Also I’d recommend looking into scripting, it can save you a lot of time in repetitive scenarios.

    [1] https://github.com/cmu-sei/pharos/blob/master/tools/ooanalyz...

  • Pharos\OOAnalyzer - how long is it supposed to run?
    2 projects | /r/ghidra | 5 Feb 2021
    There's no reason to be alarmed just because you've been running for 14 hours and using 11gb of ram. But you should make sure you're not running out of ram. You should also absolutely be following the step-by-step guide which you already found. You don't want to have to restart from scratch if something goes wrong.

What are some alternatives?

When comparing LIEF and pharos you can also consider the following projects:

dll-proxy-generator - Creates a proxy dll which sits between the game and original dll

ddisasm - A fast and accurate disassembler

radare2 - UNIX-like reverse engineering framework and command-line toolset

e9patch - A powerful static binary rewriting tool

tree-sitter-html - HTML grammar for Tree-sitter

Triton - Triton is a dynamic binary analysis library. Build your own program analysis tools, automate your reverse engineering, perform software verification or just emulate code.

pe - A :zap: lightweight Go package to parse, analyze and extract metadata from Portable Executable (PE) binaries. Designed for malware analysis tasks and robust against PE malformations.

sleighcraft - sleigh craft!

vivaldi_modding - Custom modifications for Vivaldi web browser.

pharos - Automated static analysis tools for binary programs

bintropy - Analysis tool for estimating the likelihood that a binary contains compressed or encrypted bytes

Virtuailor - IDAPython tool for creating automatic C++ virtual tables in IDA Pro