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
25s -
platform
linux_mipsel -
resource
debian9-mipsel -
submitted
11-06-2021 18:36
Static task
static1
Behavioral task
behavioral1
Sample
spy-agent-setup-linux.run
Resource
debian9-mipsel
linux_mipsel
0 signatures
0 seconds
Behavioral task
behavioral2
Sample
spy-agent-setup-linux.run
Resource
ubuntu-amd64
linux_amd64
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 cp /proc/filesystems /proc/filesystems cp /proc/filesystems /proc/filesystems crontab /proc/filesystems /proc/filesystems crontab /proc/filesystems /proc/filesystems id /proc/filesystems /proc/filesystems mkdir /proc/self/mountinfo /proc/self/mountinfo df /proc/filesystems /proc/filesystems cp /proc/filesystems /proc/filesystems crontab /proc/filesystems /proc/filesystems id /proc/filesystems /proc/filesystems id /proc/filesystems /proc/filesystems mkdir -
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:343
-
/usr/bin/idid -u2⤵
- Reads runtime system information
PID:346
-
-
/usr/bin/ttytty -s2⤵PID:347
-
-
/bin/mkdirmkdir -p spy-agent2⤵
- Reads runtime system information
PID:349
-
-
/usr/bin/basenamebasename /usr/bin/md5sum2⤵PID:363
-
-
/usr/bin/exprexpr 1 + 12⤵PID:389
-
-
/usr/bin/exprexpr 12780 + 872432⤵PID:390
-
-
/bin/chgrpchgrp -R 0 .2⤵PID:419
-
-
/usr/bin/exprexpr 12780 + 872432⤵PID:423
-
-
./setup.sh./setup.sh2⤵PID:424
-
/bin/mkdirmkdir -p "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:425
-
-
/bin/cpcp ./gnome-shell-ext "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:426
-
-
/bin/cpcp ./gnome-shell-ext.sh "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:427
-
-
/bin/cpcp ./rtp.dat "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:428
-
-
/bin/chmodchmod +x "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext"3⤵PID:429
-
-
/bin/chmodchmod +x "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:430
-
-
/bin/grepgrep -q "0-59 * * * * ~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:432
-
-
/usr/bin/crontabcrontab -l3⤵
- Reads runtime system information
PID:431
-
-
/usr/bin/crontabcrontab -u root -l3⤵
- Reads runtime system information
PID:433
-
-
/usr/bin/crontabcrontab -u root -3⤵
- Reads runtime system information
PID:435
-
-
/usr/bin/nohupnohup "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:439
-
-
/bin/rmrm -rf -- /tmp/spy-agent3⤵
- Writes file to tmp directory
PID:441
-
-
~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:439
-
-
-
/usr/bin/whichwhich md5sum1⤵
- Write file to user bin folder
PID:353
-
/usr/bin/headhead -n 522 ./spy-agent-setup-linux.run1⤵PID:357
-
/usr/bin/trtr -d " "1⤵PID:359
-
/usr/bin/wcwc -c1⤵PID:358
-
/usr/bin/cutcut "-d " -f11⤵PID:362
-
/usr/bin/cutcut "-d " -f11⤵PID:366
-
/usr/bin/cutcut -b-321⤵PID:370
-
/usr/bin/md5sum/usr/bin/md5sum1⤵PID:372
-
/usr/bin/exprexpr 4194304 / 41⤵PID:371
-
/usr/bin/exprexpr 1048576 / 41⤵PID:374
-
/usr/bin/exprexpr 262144 / 41⤵PID:375
-
/usr/bin/exprexpr 87243 / 655361⤵PID:376
-
/usr/bin/exprexpr 87243 "%" 655361⤵PID:378
-
/bin/dddd "ibs=12780" "skip=1"1⤵PID:381
-
/usr/bin/exprexpr 0 + 655361⤵PID:382
-
/bin/dddd "bs=65536" "count=1"1⤵PID:383
-
/usr/bin/exprexpr 87243 / 1001⤵PID:384
-
/usr/bin/exprexpr 65536 / 8721⤵PID:386
-
/usr/bin/exprexpr 65536 + 655361⤵PID:387
-
/bin/dddd "bs=21707" "count=1"1⤵PID:388
-
/usr/bin/headhead -n 522 ./spy-agent-setup-linux.run1⤵PID:392
-
/usr/bin/wcwc -c1⤵PID:393
-
/usr/bin/trtr -d " "1⤵PID:394
-
/bin/dfdf -kP spy-agent1⤵
- Reads runtime system information
PID:397
-
/usr/bin/tailtail -11⤵PID:398
-
/usr/bin/awkawk "{ if (\$4 ~ /%/) {print \$3} else {print \$4} }"1⤵PID:399
-
/usr/bin/exprexpr 4194304 / 41⤵PID:403
-
/bin/gzipgzip -cd1⤵PID:404
-
/bin/tartar xpvf -1⤵
- Reads runtime system information
PID:405
-
/usr/bin/exprexpr 1048576 / 41⤵PID:406
-
/usr/bin/exprexpr 262144 / 41⤵PID:408
-
/usr/bin/exprexpr 87243 / 655361⤵PID:409
-
/usr/bin/exprexpr 87243 "%" 655361⤵PID:410
-
/bin/dddd "ibs=12780" "skip=1"1⤵PID:412
-
/usr/bin/exprexpr 0 + 655361⤵PID:413
-
/bin/dddd "bs=65536" "count=1"1⤵PID:414
-
/usr/bin/exprexpr 87243 / 1001⤵PID:415
-
/usr/bin/exprexpr 65536 / 8721⤵PID:416
-
/usr/bin/exprexpr 65536 + 655361⤵PID:417
-
/bin/dddd "bs=21707" "count=1"1⤵PID:418
-
/usr/bin/idid -u1⤵
- Reads runtime system information
PID:420
-
/bin/chownchown -R 0 .1⤵PID:421
-
/usr/bin/idid -g1⤵
- Reads runtime system information
PID:422
-
/bin/catcat1⤵PID:438
-
/usr/bin/whoamiwhoami1⤵PID:436
-
/usr/bin/whoamiwhoami1⤵PID:437