About this post: Thanks to MalwareHunterTeam for flagging this sample. This analysis and write-up were produced by Claude (Opus 5.5), working as an agent in Claude Code on a REMnux analysis VM. Tools used: Malcat, capa, objdump and a sandboxed run against a local test server.
TL;DR
This is a small Linux program that calls itself sysmond 1.2.4, a "System monitoring daemon". It is actually a remote access trojan (RAT). Its own code calls the server side "Return Home C2". Once it runs, it checks in with a command-and-control (C2) server over HTTP every few seconds and carries out whatever the operator sends. The surprising part is the server address written into this copy: 127.0.0.1:8080, which is the infected machine itself.
- What it is: a custom backdoor for 64-bit Linux, written in C. It does not match any malware family we know, and we found no public reporting on it.
- What the operator can do: run commands, browse and copy files, steal SSH keys and password hashes, set up five kinds of persistence, and use the machine as a stepping stone with a SOCKS5 proxy or port forwards.
- Privilege escalation playbook: a built-in scanner lists ways to become root, with more than 50 CVEs (up to 2026) and 80+ GTFOBins tricks. It prints the exact commands to try.
- Where it talks to: plain HTTP to
127.0.0.1:8080, so no outside address is stored in the file. - What we confirmed: we ran it in an isolated sandbox against a fake server on that address. It registered, took six commands and reported back exactly as the code says.
A fake system monitor
The file is a 100,568-byte Linux program built with GCC 11.4 on Ubuntu 22.04. It is not packed or encrypted. Run with --version, it answers sysmond 1.2.4, and --help prints a plausible usage line, sysmond [--daemon] [--config FILE]. The --config option is for show; nothing in the code reads a config file.
Started with --daemon, it detaches from the terminal and keeps running in the background. Otherwise it waits a fraction of a second and starts working right away. On its own it does nothing visible: no files, no persistence, no scanning. Everything after the first check-in depends on what the operator sends.

How it talks to its server
The agent speaks a simple web API: JSON over HTTP, the "name: value" text format most web services use (Application Layer Protocol: Web Protocols, T1071.001). First it registers with POST /api/v1/register, sending a short random ID, the username, hostname, internal IP address, process name, PID and whether it runs as root. Then it asks GET /api/v1/tasks/<id> for work every 5 seconds, by default.
A task comes back as a small binary record: a task ID, the command name and its arguments. The agent runs it and sends the output to POST /api/v1/results, base64-encoded (a way to carry any bytes as plain text). Every request claims to come from Chrome 125 on Linux. The user-agent string is cut short, though: it lacks the "KHTML, like Gecko" and "Safari" parts a real browser sends. The agent puts it together from pieces at runtime, so searching the file for the full string finds nothing.

The code can also use TLS (HTTPS) by loading the system’s OpenSSL library at runtime. In this copy that switch is off.
Calling home to… itself
The C2 address is set once, in the program’s start-up code: 127.0.0.1, port 8080, no TLS. No other code changes it, and the agent reads no environment variable, argument or file that could override it. 127.0.0.1 is "localhost", the machine talking to itself.
That leaves two plausible readings, and the file alone can’t tell them apart:
- A test or default build. The operator’s build tool may simply have left the default address in place.
- A tunnelled deployment. The operator may forward local port 8080 to the real server, for example with an SSH remote port forward. The real C2 address then never touches the disk. On an infected machine, look for whatever is listening on, or forwarding, port 8080.
What the operator can do
The agent has its own help screen, "Linux Agent Commands", and a few commands that are not on it. In groups:
- Shell and files: run any shell command. Anything the agent doesn’t recognise as one of its own commands is also run as a shell command, so the operator can type ordinary Linux commands directly. It can also change directory, list, read, copy, move, delete and change permissions on files. It can also upload files to the machine and download them from it (up to 50 MB), and fetch a URL with curl, wget or its own small HTTP client (Ingress Tool Transfer, T1105).
- Discovery: system, network, process and container details (Docker, Kubernetes, LXC), plus a TCP port scanner (Network Service Discovery, T1046).
- Credentials: read
/etc/shadow, the file of password hashes, when running as root (OS Credential Dumping: /etc/passwd and /etc/shadow, T1003.008). It also collects SSH private keys from every home directory, plus the server’s own SSH host keys (Unsecured Credentials: Private Keys, T1552.004). - Persistence (only when ordered, under a name and path the operator chooses): a cron job, a systemd user service, a line in
.bashrc/.zshrc/.profile, a hidden desktop autostart entry, or the operator’s own SSH key added toauthorized_keys(Scheduled Task/Job: Cron, T1053.003; Account Manipulation: SSH Authorized Keys, T1098.004). - Pivoting: a SOCKS5 proxy and up to eight port forwards, so the operator can reach other machines on the victim’s network through this one (Proxy, T1090).
- Housekeeping: change the check-in interval, or exit.
A privilege escalation cheat sheet
The biggest part of the program is a scanner that announces itself as "Linux Privilege Escalation Scanner (2016-2026 CVEs) | 50+ CVEs | 80+ GTFOBins | 15 Scanners". Privilege escalation means going from a normal account to root. GTFOBins is a public list of ordinary Linux tools that can be misused to do that when they are set up carelessly.
The scanner checks the things penetration testers check:
- sudo rules and old sudo versions;
- programs with the SUID bit (run with their owner’s rights), matched against GTFOBins;
- writable system files such as
/etc/passwdor/etc/ld.so.preload; - risky group memberships such as
dockerordisk; - Linux capabilities, NFS exports and writable PATH directories;
- wildcards in cron jobs;
- container escape routes.
It also compares the kernel version with a list of kernel CVEs. That list runs from Dirty COW (2016) to bugs published in 2026.
The scanner does not exploit anything itself. It reports what it found and prints the command an operator would type next. For example, for a writable /etc/passwd it prints the line that adds a new root account. In practice that makes the operator’s next step very short.
What we couldn’t see
We don’t know where this file came from, how it reached a machine, or what server sits behind 127.0.0.1:8080. The file contains no outside address, so there is no infrastructure to follow. The public Linux sandboxes available to us could not run it usefully, so our only run was the local sandboxed one described above.
Advice
For Linux users and admins:
- Treat an unfamiliar process called
sysmond(the operator can rename the file, so don’t rely on the name alone) with suspicion, especially if it doesn’t belong to an installed package (dpkg -Sorrpm -qfon its path). - Check for crontab lines under a
# Updatescomment, shell profile lines under# Initthat end indisown, unknown files in~/.config/systemd/user/and~/.config/autostart/, and keys inauthorized_keysyou don’t recognise. - If you find it, assume SSH keys, password hashes and cloud credentials on that machine are stolen, and rotate them.
For defenders:
- On the network, look for the URI paths
/api/v1/register,/api/v1/tasks/and/api/v1/resultstogether with the shortened Chrome 125 user agent below. Tunnelled copies will show this traffic on the loopback interface, if at all. - Hunt for processes listening on, or forwarding to, local port 8080 on hosts where this file was found.
Indicators of compromise
| Type | Value |
|---|---|
| SHA256 | 3229dd1e29fc26fd99dff313ef5039afab699c89bd1f295311d380c8031ac2fd |
| MD5 | 12388b33a2c9f8e652ac47e454c9697f |
| C2 (as configured) | 127.0.0.1:8080 (localhost; reached through a tunnel, or a test build) |
| URI paths | /api/v1/register, /api/v1/tasks/<8 hex>, /api/v1/results |
| User agent | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 Chrome/125.0.0.0 |
| Version banner | sysmond 1.2.4 |
| Cron marker | # Updates followed by @reboot <path> and */10 * * * * <path> |
| Shell profile marker | # Init followed by (nohup <path> >/dev/null 2>&1 &) disown |
| Temp file | /tmp/.cron_bak |
Closing
This backdoor is not complicated, but it is complete: remote command execution, credential theft, persistence, pivoting and a privilege escalation guide in one 100 KB file. The localhost address is a reminder that "no C2 in the binary" does not mean "no C2". If you have seen this agent with a real address in it, or know what "Return Home C2" is, we’d like to hear from you.