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
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 10 IoCs
Reads data from /proc virtual filesystem.
description ioc Process /proc/filesystems /proc/filesystems mkdir /proc/filesystems /proc/filesystems cp /proc/filesystems /proc/filesystems cp /proc/filesystems /proc/filesystems cp /proc/filesystems /proc/filesystems tar /proc/filesystems /proc/filesystems id /proc/self/mountinfo /proc/self/mountinfo df /proc/filesystems /proc/filesystems id /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/gnome-shell-ext /tmp/spy-agent/gnome-shell-ext rm /tmp/spy-agent/~ /tmp/spy-agent/~ rm /tmp/spy-agent/~/.cache/gnome-software /tmp/spy-agent/~/.cache/gnome-software 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 /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/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/~/.cache /tmp/spy-agent/~/.cache rm /tmp/spy-agent/~/.cache/gnome-software/gnome-shell-extensions/rtp.dat /tmp/spy-agent/~/.cache/gnome-software/gnome-shell-extensions/rtp.dat rm
Processes
-
./spy-agent-setup-linux.run./spy-agent-setup-linux.run1⤵PID:562
-
/usr/bin/idid -u2⤵
- Reads runtime system information
PID:564
-
-
/usr/bin/ttytty -s2⤵PID:565
-
-
/bin/mkdirmkdir -p spy-agent2⤵
- Reads runtime system information
PID:566
-
-
/usr/bin/basenamebasename /usr/bin/md5sum2⤵PID:577
-
-
/usr/bin/exprexpr 1 + 12⤵PID:599
-
-
/usr/bin/exprexpr 12780 + 872432⤵PID:600
-
-
/bin/chgrpchgrp -R 0 .2⤵PID:628
-
-
/usr/bin/exprexpr 12780 + 872432⤵PID:632
-
-
./setup.sh./setup.sh2⤵PID:633
-
/bin/mkdirmkdir -p "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:634
-
-
/bin/cpcp ./gnome-shell-ext "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:635
-
-
/bin/cpcp ./gnome-shell-ext.sh "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:636
-
-
/bin/cpcp ./rtp.dat "~/.cache/gnome-software/gnome-shell-extensions"3⤵
- Reads runtime system information
PID:637
-
-
/bin/chmodchmod +x "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext"3⤵PID:638
-
-
/bin/chmodchmod +x "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:639
-
-
/bin/grepgrep -q "0-59 * * * * ~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:641
-
-
/usr/bin/crontabcrontab -l3⤵PID:640
-
-
/usr/bin/crontabcrontab -u root -3⤵PID:644
-
-
/usr/bin/crontabcrontab -u root -l3⤵PID:642
-
-
/bin/rmrm -rf -- /tmp/spy-agent3⤵
- Writes file to tmp directory
PID:650
-
-
/usr/bin/nohupnohup "~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:648
-
-
~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext.sh"3⤵PID:648
-
/bin/pidofpidof gnome-shell-ext4⤵PID:651
-
-
~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext"~/.cache/gnome-software/gnome-shell-extensions/gnome-shell-ext"4⤵PID:652
-
-
-
-
/usr/bin/whichwhich md5sum1⤵
- Write file to user bin folder
PID:569
-
/usr/bin/trtr -d " "1⤵PID:573
-
/usr/bin/wcwc -c1⤵PID:572
-
/usr/bin/headhead -n 522 ./spy-agent-setup-linux.run1⤵PID:571
-
/usr/bin/cutcut "-d " -f11⤵PID:576
-
/usr/bin/cutcut "-d " -f11⤵PID:580
-
/usr/bin/cutcut -b-321⤵PID:584
-
/usr/bin/exprexpr 4194304 / 41⤵PID:586
-
/usr/bin/md5sum/usr/bin/md5sum1⤵PID:585
-
/usr/bin/exprexpr 1048576 / 41⤵PID:587
-
/usr/bin/exprexpr 262144 / 41⤵PID:588
-
/usr/bin/exprexpr 87243 / 655361⤵PID:589
-
/usr/bin/exprexpr 87243 "%" 655361⤵PID:590
-
/bin/dddd "ibs=12780" "skip=1"1⤵PID:592
-
/usr/bin/exprexpr 0 + 655361⤵PID:593
-
/bin/dddd "bs=65536" "count=1"1⤵PID:594
-
/usr/bin/exprexpr 87243 / 1001⤵PID:595
-
/usr/bin/exprexpr 65536 / 8721⤵PID:596
-
/usr/bin/exprexpr 65536 + 655361⤵PID:597
-
/bin/dddd "bs=21707" "count=1"1⤵PID:598
-
/usr/bin/trtr -d " "1⤵PID:604
-
/usr/bin/wcwc -c1⤵PID:603
-
/usr/bin/headhead -n 522 ./spy-agent-setup-linux.run1⤵PID:602
-
/usr/bin/awkawk "{ if (\$4 ~ /%/) {print \$3} else {print \$4} }"1⤵PID:609
-
/bin/dfdf -kP spy-agent1⤵
- Reads runtime system information
PID:607
-
/usr/bin/tailtail -11⤵PID:608
-
/bin/tartar xpvf -1⤵
- Reads runtime system information
PID:613
-
/bin/gzipgzip -cd1⤵PID:614
-
/usr/bin/exprexpr 4194304 / 41⤵PID:615
-
/usr/bin/exprexpr 1048576 / 41⤵PID:616
-
/usr/bin/exprexpr 262144 / 41⤵PID:617
-
/usr/bin/exprexpr 87243 / 655361⤵PID:618
-
/usr/bin/exprexpr 87243 "%" 655361⤵PID:619
-
/bin/dddd "ibs=12780" "skip=1"1⤵PID:621
-
/usr/bin/exprexpr 0 + 655361⤵PID:622
-
/bin/dddd "bs=65536" "count=1"1⤵PID:623
-
/usr/bin/exprexpr 87243 / 1001⤵PID:624
-
/usr/bin/exprexpr 65536 / 8721⤵PID:625
-
/usr/bin/exprexpr 65536 + 655361⤵PID:626
-
/bin/dddd "bs=21707" "count=1"1⤵PID:627
-
/usr/bin/idid -u1⤵
- Reads runtime system information
PID:629
-
/bin/chownchown -R 0 .1⤵PID:630
-
/usr/bin/idid -g1⤵
- Reads runtime system information
PID:631
-
/bin/catcat1⤵PID:646
-
/usr/bin/whoamiwhoami1⤵PID:645
-
/usr/bin/whoamiwhoami1⤵PID:647