REMnux provides a curated Linux environment for malware analysis, with tools organized by task: Windows PE analysis, Linux binaries, documents, network interactions, memory forensics, and data gathering. Docker containers extend capabilities for tools like Thug honeyclient, RetDec decompiler, and Radare2.

REMnux Usage Tips for Malware Analysis on Linux - illustration

This cheat sheet outlines the tools and commands for analyzing malware using the REMnux v7 Linux distribution. To print, use the one-page PDF version; you can also edit the Word version for you own needs.

Get Started with REMnux

Operate Your REMnux System

Task Command
Shut down the system shutdown
Reboot the system reboot
Switch to a root shell sudo -s
Renew DHCP lease renew-dhcp
See current IP address myip
Edit a text file code file
View an image file feh file
Start web server httpd start
Start SSH server sshd start

Analyze Windows Executables

Reverse-Engineer Linux Binaries

Investigate Other Forms of Malicious Code

Examine Suspicious Documents

Explore Network Interactions

Gather and Analyze Data

Other Analysis Tasks

Use Docker Containers for Analysis

Interact with Docker Images

Task Command
List local images docker images
Update local image docker pull image
Delete local image docker rmi imageid
Delete unused resources docker system prune
Open a shell inside a transient container docker run --rm -it image bash
Map a local TCP port 80 to container’s port 80 docker run --rm -it -p 80:80 image bash
Map your current directory into container docker run --rm -it -v .:dirimage bash

This cheat sheet for REMnux is distributed according to the Creative Commons v3 “Attribution” License.

About the Author

Lenny Zeltser is a cybersecurity executive with deep technical roots, product management experience, and a business mindset. He has built security products and programs from early stage to enterprise scale. He is also a Faculty Fellow at SANS Institute and the creator of REMnux, a popular Linux toolkit for malware analysis. Lenny shares his perspectives on security leadership and technology at zeltser.com.