Categories: Kali Linux

Rehex : Reverse Engineers’ Hex Editor

Rehex is a cross-platform (Windows, Linux, Mac) hex editor for reverse engineering, and everything else.

Features

  • Large (1TB+) file support
  • Decoding of integer/floating point value types
  • Disassembly of machine code
  • Highlighting and annotation of ranges of bytes
  • Side by side comparision of selections

Installation

The Releases page has standalone packages for Windows and Mac, as well as installable packages for popular Linux distributions, or you can install them from a distribution package repository as described below.

The same packages are also produced for Git commits (look for the tick), if you want to try the development/unreleased versions.

Debian

First, you will need to add my APT signing key to your system:

wget -qO – https://repos.solemnwarning.net/debian-key.gpg | sudo apt-key add –

Add the following lines to your /etc/apt/sources.list file:

deb http://repos.solemnwarning.net/debian/ CODENAME main
deb-src http://repos.solemnwarning.net/debian/ CODENAME main

Replace CODENAME with the version you’re running (e.g. buster or stretch).

Finally, you can install the package:

$ sudo apt-get update
$ sudo apt-get install rehex

Ubuntu

First, you will need to add my APT signing key to your system:

wget -qO – https://repos.solemnwarning.net/ubuntu-key.gpg | sudo apt-key add –

Add the following lines to your /etc/apt/sources.list file:

deb http://repos.solemnwarning.net/ubuntu/ CODENAME main
deb-src http://repos.solemnwarning.net/ubuntu/ CODENAME main

Replace CODENAME with the version you’re running (e.g. groovy for 20.10 or focal for 20.04).

Finally, you can install the package:

$ sudo apt-get update
$ sudo apt-get install rehex

NOTE: Ubuntu users must have the “Universe” package repository enabled to install some of the dependencies.

Fedora

$ sudo dnf copr enable solemnwarning/rehex
$ sudo dnf install rehex

CentOS

$ sudo dnf install epel-release
$ sudo dnf copr enable solemnwarning/rehex
$ sudo dnf install rehex

openSUSE

$ sudo zypper ar obs://editors editors
$ sudo zypper ref
$ sudo zypper in rehex

Building

If you want to compile on Linux, just check out the source and run make. You will need Jansson, wxWidgets and capstone installed, along with their development packages (Install build-essential, git, libwxgtk3.0-dev, libjansson-dev and libcapstone-dev on Ubuntu).

The resulting build can be installed using make install, which accepts all the standard environment variables.

For Windows or Mac build instructions, see the relevant README: README.Windows.md README.OSX.md

R K

Recent Posts

Shadow-rs : Harnessing Rust’s Power For Kernel-Level Security Research

shadow-rs is a Windows kernel rootkit written in Rust, demonstrating advanced techniques for kernel manipulation…

1 week ago

ExecutePeFromPngViaLNK – Advanced Execution Of Embedded PE Files via PNG And LNK

Extract and execute a PE embedded within a PNG file using an LNK file. The…

2 weeks ago

Red Team Certification – A Comprehensive Guide To Advancing In Cybersecurity Operations

Embark on the journey of becoming a certified Red Team professional with our definitive guide.…

3 weeks ago

CVE-2024-5836 / CVE-2024-6778 : Chromium Sandbox Escape via Extension Exploits

This repository contains proof of concept exploits for CVE-2024-5836 and CVE-2024-6778, which are vulnerabilities within…

3 weeks ago

Rust BOFs – Unlocking New Potentials In Cobalt Strike

This took me like 4 days (+2 days for an update), but I got it…

3 weeks ago

MaLDAPtive – Pioneering LDAP SearchFilter Parsing And Security Framework

MaLDAPtive is a framework for LDAP SearchFilter parsing, obfuscation, deobfuscation and detection. Its foundation is…

3 weeks ago