Skip to content

BigBr41n/MalELFWatch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ELF Binary Parser and Analyzer

Rust License

The ELF Binary Parser and Analyzer is a Rust-based tool designed to parse and analyze ELF (Executable and Linkable Format) binaries. It extracts and examines the ELF header, program headers, section headers, and other critical metadata. Additionally, it identifies suspicious or unusual sections that may indicate potential security risks or anomalies.


Features

  • ELF Header Parsing: Extract and display the ELF header, including the magic number, file type, machine architecture, entry point, and more.
  • Section Header Analysis: Analyze section headers to identify unusual or suspicious sections (e.g., non-standard names, unexpected permissions).
  • Program Header Parsing: Parse program headers to understand memory layout and segment permissions.
  • Entry Point Analysis: Inspect the entry point address and verify its validity.
  • User-Friendly Output: Display parsed data in a human-readable format.

Installation

Prerequisites

  • Rust installed on your system. If not, install it from rustup.rs.

Steps

  1. Clone the repository:

    git clone https://github.com/BigBr41n/elf-parser-analyzer.git
    cd elf-parser-analyzer
  2. Build the project:

        cargo build --release
  3. Run the Tool:

        ./target/release/elf-parser-analyzer /path/to/your/elf/binary

Usage

Basic Usage

Provide the path to the ELF binary as a command-line argument:

./elf-parser-analyzer -f /path/to/your/elf/binary

Example Use Cases

  • Reverse Engineering: Understand the structure of an ELF binary.

  • Malware Analysis: Detect suspicious sections or entry points in potentially malicious binaries.

  • Security Auditing: Verify the integrity and security of ELF binaries.

  • Educational Purposes: Learn about the ELF format and binary analysis

Contributing

Contributions are welcome! If you'd like to contribute, please:

  1. Fork the repository.
  2. Create a new branch for your feature or bugfix.
  3. Submit a pull request.

License

This project is licensed under the MIT LICENSE.

Acknowledgments

  • Inspired by tools like readelf and objdump.
  • built using Rust

About

ELF File Analysis for Detecting Malicious Behavior and Anomalies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages