Loading...

Copy executables with execute, but no read permission on Unix systems.
Sometimes when you're on a Unix system where you do not have admin privileges, you can come across programs with strange permissions such as the following: -rwx--x--x 1 root root 56152 Jul 1 12:37 runme. The permissions are set so that anyone can execute this program, but only the file owner can read the program. However, this is not true. If somebody can execute the program, they can copy it by reading it from memory once the program has been loaded. xocopy is a program that can copy executables with execute, but no read permission. It has been tested on FreeBSD and Linux kernels 2.[246].x. Limitations: Does not work with SUID or SGID executables on Linux 2.2.x. However, it works fine on 2.4.x and 2.6.x. Limited to ELF executables. Can only copy programs that have the ELF header and program header table inside a loadable segment. GCC does this by default. Download xocopy.c
Common questions about xocopy including features, pricing, alternatives, and user reviews.
xocopy is Copy executables with execute, but no read permission on Unix systems. It is a Security Operations solution designed to help security teams with Binary Analysis.
Private training course for IoT device pentesting and exploitation
An open source machine code decompiler that converts binary executables into readable C source code across multiple architectures and file formats.