guitmz / memrun

Small tool to run ELF binaries from memory with a given process name

Home Page:https://www.guitmz.com/running-elf-from-memory/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

memrun

Small tool written in Golang to run ELF (x86_64) binaries from memory with a given process name. Works on Linux where kernel version is >= 3.17 (relies on the memfd_create syscall).

Usage

Build it with $ go build memrun.go and execute it. The first argument is the process name (string) you want to see in ps auxww output for example. Second argument is the path for the ELF binary you want to run from memory.

Usage: memrun process_name elf_binary

About

Small tool to run ELF binaries from memory with a given process name

https://www.guitmz.com/running-elf-from-memory/

License:MIT License


Languages

Language:Assembly 95.0%Language:Go 5.0%