Resubmissions
11-06-2021 18:36
210611-dgt8yndgw6 1006-01-2021 03:28
210106-k31d8h8dkx 1025-11-2020 08:48
201125-mhfnf9gxta 1024-11-2020 11:08
201124-yfsf7l7s3s 10Analysis
-
max time kernel
0s -
max time network
219s -
platform
linux_mips -
resource
debian9-mipsbe-en-20211208 -
submitted
25-11-2020 08:48
Static task
static1
Behavioral task
behavioral1
Sample
spy-agent-setup-linux.run
Resource
debian9-mipsbe-en-20211208
linux_mips
0 signatures
0 seconds
Behavioral task
behavioral2
Sample
spy-agent-setup-linux.run
Resource
debian9-mipsel-en-20211208
linux_mipsel
0 signatures
0 seconds
General
-
Target
spy-agent-setup-linux.run
-
Size
97KB
-
MD5
213c6443b2bd78c4e0aad54ec8338214
-
SHA1
264bd2b6d809a519b4348dbfc5791d3fc9342af8
-
SHA256
e9bd299eec7dbee7d4f5c97ccf8ab27a7b77388eaa649f353e41df8b7b1df755
-
SHA512
5dd067120c4371ad48123c8c2b21e679196c0fb7a4607cb3bd2c5cc35eee491164685bd566469649bc273460729073c4e4cbc24b1970fc5739f9b383291149e6
Score
7/10
Malware Config
Signatures
-
Write file to user bin folder 1 TTPs 1 IoCs
description ioc Process /usr/bin/which /usr/bin/which which -
Reads runtime system information 13 IoCs
Reads data from /proc virtual filesystem.
description ioc Process /proc/filesystems /proc/filesystems tar /proc/filesystems /proc/filesystems id /proc/filesystems /proc/filesystems mkdir /proc/filesystems /proc/filesystems cp /proc/filesystems /proc/filesystems cp /proc/filesystems /proc/filesystems id /proc/filesystems /proc/filesystems mkdir /proc/filesystems /proc/filesystems cp /proc/filesystems /proc/filesystems crontab /proc/filesystems /proc/filesystems crontab /proc/filesystems /proc/filesystems crontab /proc/self/mountinfo /proc/self/mountinfo df /proc/filesystems /proc/filesystems id -
Writes file to tmp directory 1 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process /tmp/spy-agent /tmp/spy-agent rm
Processes
-
./spy-agent-setup-linux.run./spy-agent-setup-linux.run1⤵PID:324
-
/usr/bin/idid -u2⤵
- Reads runtime system information
PID:326
-
-
/usr/bin/ttytty -s2⤵PID:327
-
-
/bin/mkdirmkdir -p spy-agent2⤵
- Reads runtime system information
PID:328
-
-
/usr/bin/basenamebasename /usr/bin/md5sum2⤵PID:342
-
-
/usr/bin/exprexpr 1 + 12⤵PID:364
-
-
/usr/bin/exprexpr 12780 + 872432⤵PID:365
-
-
/bin/chgrpchgrp -R 0 .2⤵PID:393
-
-
/usr/bin/exprexpr 12780 + 872432⤵PID:397
-
-
./setup.sh./setup.sh2⤵PID:398
-
/bin/mkdirmkdir -p "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:399
-
-
/bin/cpcp ./gnome-shell-ext "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:400
-
-
/bin/cpcp ./gnome-shell-ext.sh "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:401
-
-
/bin/cpcp ./rtp.dat "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:402
-
-
/bin/chmodchmod +x "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext"3⤵PID:403
-
-
/bin/chmodchmod +x "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:404
-
-
/usr/bin/crontabcrontab -l3⤵
- Reads runtime system information
PID:405
-
-
/bin/grepgrep -q "0-59 * * * * ~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:406
-
-
/usr/bin/crontabcrontab -u root -l3⤵
- Reads runtime system information
PID:407
-
-
/usr/bin/crontabcrontab -u root -3⤵
- Reads runtime system information
PID:409
-
-
/usr/bin/nohupnohup "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:413
-
-
/bin/rmrm -rf -- /tmp/spy-agent3⤵
- Writes file to tmp directory
PID:415
-
-
~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:413
-
-
-
/usr/bin/whichwhich md5sum1⤵
- Write file to user bin folder
PID:332
-
/usr/bin/headhead -n 522 ./spy-agent-setup-linux.run1⤵PID:336
-
/usr/bin/trtr -d " "1⤵PID:338
-
/usr/bin/wcwc -c1⤵PID:337
-
/usr/bin/cutcut "-d " -f11⤵PID:341
-
/usr/bin/cutcut "-d " -f11⤵PID:345
-
/usr/bin/cutcut -b-321⤵PID:349
-
/usr/bin/md5sum/usr/bin/md5sum1⤵PID:351
-
/usr/bin/exprexpr 4194304 / 41⤵PID:350
-
/usr/bin/exprexpr 1048576 / 41⤵PID:352
-
/usr/bin/exprexpr 262144 / 41⤵PID:353
-
/usr/bin/exprexpr 87243 / 655361⤵PID:354
-
/usr/bin/exprexpr 87243 "%" 655361⤵PID:355
-
/bin/dddd "ibs=12780" "skip=1"1⤵PID:357
-
/usr/bin/exprexpr 0 + 655361⤵PID:358
-
/bin/dddd "bs=65536" "count=1"1⤵PID:359
-
/usr/bin/exprexpr 87243 / 1001⤵PID:360
-
/usr/bin/exprexpr 65536 / 8721⤵PID:361
-
/usr/bin/exprexpr 65536 + 655361⤵PID:362
-
/bin/dddd "bs=21707" "count=1"1⤵PID:363
-
/usr/bin/headhead -n 522 ./spy-agent-setup-linux.run1⤵PID:367
-
/usr/bin/wcwc -c1⤵PID:368
-
/usr/bin/trtr -d " "1⤵PID:369
-
/bin/dfdf -kP spy-agent1⤵
- Reads runtime system information
PID:372
-
/usr/bin/tailtail -11⤵PID:373
-
/usr/bin/awkawk "{ if (\$4 ~ /%/) {print \$3} else {print \$4} }"1⤵PID:374
-
/usr/bin/exprexpr 4194304 / 41⤵PID:378
-
/bin/gzipgzip -cd1⤵PID:379
-
/bin/tartar xpvf -1⤵
- Reads runtime system information
PID:380
-
/usr/bin/exprexpr 1048576 / 41⤵PID:381
-
/usr/bin/exprexpr 262144 / 41⤵PID:382
-
/usr/bin/exprexpr 87243 / 655361⤵PID:383
-
/usr/bin/exprexpr 87243 "%" 655361⤵PID:384
-
/bin/dddd "ibs=12780" "skip=1"1⤵PID:386
-
/usr/bin/exprexpr 0 + 655361⤵PID:387
-
/bin/dddd "bs=65536" "count=1"1⤵PID:388
-
/usr/bin/exprexpr 87243 / 1001⤵PID:389
-
/usr/bin/exprexpr 65536 / 8721⤵PID:390
-
/usr/bin/exprexpr 65536 + 655361⤵PID:391
-
/bin/dddd "bs=21707" "count=1"1⤵PID:392
-
/usr/bin/idid -u1⤵
- Reads runtime system information
PID:394
-
/bin/chownchown -R 0 .1⤵PID:395
-
/usr/bin/idid -g1⤵
- Reads runtime system information
PID:396
-
/bin/catcat1⤵PID:411
-
/usr/bin/whoamiwhoami1⤵PID:410
-
/usr/bin/whoamiwhoami1⤵PID:412