Telnet process-map filtering and downloader intent with a shell syntax-error reply
Mixed protocols across ETHERNET, IPV4, TCP
A 95-packet Telnet honeypot capture pairs preliminary shell and writable-file tests with a process-selection loop and a fallback downloader command. The distinguishing feature is the submitted use of /proc/[0-9]*/maps to select processes lacking library-path markers, followed by a visible shell syntax error rather than evidence of a completed download.
Observed activity
- Five TCP epochs include preliminary connections, a failed-login exchange and two command-bearing sessions. The captured payloads reassemble without gaps or conflicting overlaps.
- Frames 38–48 contain a shell marker, BusyBox applet check and directory-error replies. Frames 71 and 75 request a temporary-file write and listing; server frame 77 returns a file-listing-style response for
/tmp/.testfile. - Client frame 85 submits a loop over numeric process directories. The text checks readable
mapsfiles, clears a flag on/lib/,/lib64/or.somatches, and requestskill -9for processes still flagged. The same command continues with cleanup,wget/curl/BusyBox fallback retrieval ofMugen.shascat.sh, permission changes and attempted script invocation. - Server frame 87 echoes the command and returns
syntax error: unexpected end of file. Client frame 89 sends a follow-up marker; frame 91 returnsWGET_CHECK. That marker is not proof of retrieval, process termination or script execution. These are honeypot terminal replies, not an independently observed host execution trace.
Research value
The readable process-map heuristic provides a concrete detection example distinct from generic downloader chains and from the existing hex-staged script that inspects deleted executable symlinks. It also demonstrates why submitted command intent must be separated from returned errors.
Packet references
Use tcp.port == 23. Focus on client frame 85 and server frame 87; frames 71–77 provide the writable-file-test context. Frame numbers refer to the unchanged original capture.