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
124s -
platform
linux_amd64 -
resource
ubuntu-amd64 -
submitted
24-11-2020 11:08
Static task
static1
Behavioral task
behavioral1
Sample
spy-agent-setup-linux.run
Resource
ubuntu-amd64
Behavioral task
behavioral2
Sample
spy-agent-setup-linux.run
Resource
debian9-mipsel
Behavioral task
behavioral3
Sample
spy-agent-setup-linux.run
Resource
debian9-mipsbe
General
-
Target
spy-agent-setup-linux.run
-
Size
97KB
-
MD5
213c6443b2bd78c4e0aad54ec8338214
-
SHA1
264bd2b6d809a519b4348dbfc5791d3fc9342af8
-
SHA256
e9bd299eec7dbee7d4f5c97ccf8ab27a7b77388eaa649f353e41df8b7b1df755
-
SHA512
5dd067120c4371ad48123c8c2b21e679196c0fb7a4607cb3bd2c5cc35eee491164685bd566469649bc273460729073c4e4cbc24b1970fc5739f9b383291149e6
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 10 IoCs
Reads data from /proc virtual filesystem.
description ioc Process /proc/filesystems /proc/filesystems id /proc/filesystems /proc/filesystems cp /proc/self/mountinfo /proc/self/mountinfo df /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 -
Writes file to tmp directory 12 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process /tmp/spy-agent/~/.cache/gnome-software/gnome-shell-extensions/rtp.dat /tmp/spy-agent/~/.cache/gnome-software/gnome-shell-extensions/rtp.dat rm /tmp/spy-agent/setup.sh /tmp/spy-agent/setup.sh rm /tmp/spy-agent/gnome-shell-ext.sh /tmp/spy-agent/gnome-shell-ext.sh rm /tmp/spy-agent/gnome-shell-ext /tmp/spy-agent/gnome-shell-ext rm /tmp/spy-agent/~/.cache /tmp/spy-agent/~/.cache rm /tmp/spy-agent/~/.cache/gnome-software /tmp/spy-agent/~/.cache/gnome-software rm /tmp/spy-agent/~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext /tmp/spy-agent/~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext rm /tmp/spy-agent /tmp/spy-agent rm /tmp/spy-agent/rtp.dat /tmp/spy-agent/rtp.dat rm /tmp/spy-agent/~ /tmp/spy-agent/~ rm /tmp/spy-agent/~/.cache/gnome-software/gnome-shell-extensions /tmp/spy-agent/~/.cache/gnome-software/gnome-shell-extensions rm /tmp/spy-agent/~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh /tmp/spy-agent/~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh rm
Processes
-
./spy-agent-setup-linux.run./spy-agent-setup-linux.run1⤵PID:563
-
/usr/bin/idid -u2⤵
- Reads runtime system information
PID:565
-
-
/usr/bin/ttytty -s2⤵PID:566
-
-
/bin/mkdirmkdir -p spy-agent2⤵
- Reads runtime system information
PID:567
-
-
/usr/bin/basenamebasename /usr/bin/md5sum2⤵PID:578
-
-
/usr/bin/exprexpr 1 + 12⤵PID:600
-
-
/usr/bin/exprexpr 12780 + 872432⤵PID:601
-
-
/bin/chgrpchgrp -R 0 .2⤵PID:629
-
-
/usr/bin/exprexpr 12780 + 872432⤵PID:633
-
-
./setup.sh./setup.sh2⤵PID:634
-
/bin/mkdirmkdir -p "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:635
-
-
/bin/cpcp ./gnome-shell-ext "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:636
-
-
/bin/cpcp ./gnome-shell-ext.sh "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:637
-
-
/bin/cpcp ./rtp.dat "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:638
-
-
/bin/chmodchmod +x "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext"3⤵PID:639
-
-
/bin/chmodchmod +x "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:640
-
-
/bin/grepgrep -q "0-59 * * * * ~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:642
-
-
/usr/bin/crontabcrontab -l3⤵PID:641
-
-
/usr/bin/crontabcrontab -u root -3⤵PID:645
-
-
/usr/bin/crontabcrontab -u root -l3⤵PID:643
-
-
/bin/rmrm -rf -- /tmp/spy-agent3⤵
- Writes file to tmp directory
PID:651
-
-
/usr/bin/nohupnohup "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:649
-
-
~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:649
-
/bin/pidofpidof gnome-shell-ext4⤵PID:652
-
-
~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext"~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext"4⤵PID:657
-
-
-
-
/usr/bin/whichwhich md5sum1⤵
- Write file to user bin folder
PID:570
-
/usr/bin/trtr -d " "1⤵PID:574
-
/usr/bin/wcwc -c1⤵PID:573
-
/usr/bin/headhead -n 522 ./spy-agent-setup-linux.run1⤵PID:572
-
/usr/bin/cutcut "-d " -f11⤵PID:577
-
/usr/bin/cutcut "-d " -f11⤵PID:581
-
/usr/bin/cutcut -b-321⤵PID:585
-
/usr/bin/exprexpr 4194304 / 41⤵PID:587
-
/usr/bin/md5sum/usr/bin/md5sum1⤵PID:586
-
/usr/bin/exprexpr 1048576 / 41⤵PID:588
-
/usr/bin/exprexpr 262144 / 41⤵PID:589
-
/usr/bin/exprexpr 87243 / 655361⤵PID:590
-
/usr/bin/exprexpr 87243 "%" 655361⤵PID:591
-
/bin/dddd "ibs=12780" "skip=1"1⤵PID:593
-
/usr/bin/exprexpr 0 + 655361⤵PID:594
-
/bin/dddd "bs=65536" "count=1"1⤵PID:595
-
/usr/bin/exprexpr 87243 / 1001⤵PID:596
-
/usr/bin/exprexpr 65536 / 8721⤵PID:597
-
/usr/bin/exprexpr 65536 + 655361⤵PID:598
-
/bin/dddd "bs=21707" "count=1"1⤵PID:599
-
/usr/bin/trtr -d " "1⤵PID:605
-
/usr/bin/wcwc -c1⤵PID:604
-
/usr/bin/headhead -n 522 ./spy-agent-setup-linux.run1⤵PID:603
-
/usr/bin/awkawk "{ if (\$4 ~ /%/) {print \$3} else {print \$4} }"1⤵PID:610
-
/usr/bin/tailtail -11⤵PID:609
-
/bin/dfdf -kP spy-agent1⤵
- Reads runtime system information
PID:608
-
/bin/tartar xpvf -1⤵
- Reads runtime system information
PID:614
-
/bin/gzipgzip -cd1⤵PID:615
-
/usr/bin/exprexpr 4194304 / 41⤵PID:616
-
/usr/bin/exprexpr 1048576 / 41⤵PID:617
-
/usr/bin/exprexpr 262144 / 41⤵PID:618
-
/usr/bin/exprexpr 87243 / 655361⤵PID:619
-
/usr/bin/exprexpr 87243 "%" 655361⤵PID:620
-
/bin/dddd "ibs=12780" "skip=1"1⤵PID:622
-
/usr/bin/exprexpr 0 + 655361⤵PID:623
-
/bin/dddd "bs=65536" "count=1"1⤵PID:624
-
/usr/bin/exprexpr 87243 / 1001⤵PID:625
-
/usr/bin/exprexpr 65536 / 8721⤵PID:626
-
/usr/bin/exprexpr 65536 + 655361⤵PID:627
-
/bin/dddd "bs=21707" "count=1"1⤵PID:628
-
/usr/bin/idid -u1⤵
- Reads runtime system information
PID:630
-
/bin/chownchown -R 0 .1⤵PID:631
-
/usr/bin/idid -g1⤵
- Reads runtime system information
PID:632
-
/bin/catcat1⤵PID:647
-
/usr/bin/whoamiwhoami1⤵PID:646
-
/usr/bin/whoamiwhoami1⤵PID:648