File name:

curl.sh

Full analysis: https://app.any.run/tasks/9f0d7eb2-62fa-4fe7-8d71-0a8d671d04eb
Verdict: Malicious activity
Analysis date: January 05, 2025, 12:55:23
OS: Ubuntu 22.04.2 LTS
Tags:
scan
ssh
sshscan
Indicators:
MIME: text/x-shellscript
File info: POSIX shell script, ASCII text executable
MD5:

7989FCBAAFD25D78DA62B7B5E0D82004

SHA1:

CABFA5666534B6E849C03090D2EAA8D728F28587

SHA256:

9C3DB05B2E1917E2D8F089CCA8A6A0E4329F6E2CBB440231E445F19A0A0F0AEA

SSDEEP:

12:2QDFhQ41FhQBFhQCFhQLCzFhQ/zFhQKFhQUFhQ5FhQ2FFhQn7FhQNrFM:20bh1bKbJb8Czb4bJb/bGbdb4bare

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

    • Attempting to connect via SSH

      • dvrEncoder (PID: 39033)
    • SSHSCAN has been detected (SURICATA)

      • dvrEncoder (PID: 39033)
    • Attempting to scan the network

      • dvrEncoder (PID: 39033)
  • SUSPICIOUS

    • Reads /proc/mounts (likely used to find writable filesystems)

      • curl (PID: 38813)
      • curl (PID: 39102)
      • dvrEncoder (PID: 39030)
    • Modifies file or directory owner

      • sudo (PID: 38761)
    • Reads network configuration

      • dash (PID: 38766)
      • o (PID: 39029)
    • Potential Corporate Privacy Violation

      • curl (PID: 38813)
      • dvrEncoder (PID: 39033)
    • Gets active TCP connections

      • dash (PID: 38766)
      • o (PID: 39029)
    • Connects to the server without a host name

      • curl (PID: 38813)
      • curl (PID: 39102)
    • Executes the "rm" command to delete files or directories

      • dash (PID: 38766)
  • 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
318
Monitored processes
108
Malicious processes
7
Suspicious processes
0

Behavior graph

Click at the process to see the details
start dash no specs sudo no specs systemctl no specs chown no specs chmod no specs sudo no specs dash no specs locale-check no specs cp no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs dumpe2fs no specs snap-update-ns no specs dash no specs dumpe2fs no specs systemctl no specs chmod no specs dash no specs cp no specs rm no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs chmod no specs dash no specs cp no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs chmod no specs dash no specs cp no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs chmod no specs dash no specs cp no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs chmod no specs dash no specs cp no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs chmod no specs dash no specs cp no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs tracker-extract-3 no specs chmod no specs dash no specs cp no specs rm no specs snap no specs snap-seccomp no specs snap-confine no specs snap-confine no specs chmod no specs o no specs dvrencoder no specs dvrencoder no specs dvrencoder no specs #SSHSCAN dvrencoder dvrencoder cp no specs rm no specs snap no specs snap-seccomp no specs chmod no specs dash no specs cp no specs rm no specs snap no specs snap-seccomp no specs chmod no specs dash no specs cp no specs rm no specs snap no specs snap-seccomp no specs chmod no specs dash no specs cp no specs rm no specs curl snap-seccomp no specs snap-confine no specs snap-confine no specs chmod no specs dash no specs

Process information

PID
CMD
Path
Indicators
Parent process
38760/bin/sh -c "sudo chown user /home/user/Desktop/curl\.sh && chmod +x /home/user/Desktop/curl\.sh && DISPLAY=:0 sudo -iu user /home/user/Desktop/curl\.sh "/usr/bin/dashany-guest-agent
User:
user
Integrity Level:
UNKNOWN
Exit code:
32512
38761sudo chown user /home/user/Desktop/curl.sh/usr/bin/sudodash
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
38762systemctl --user --global is-enabled snap.snapd-desktop-integration.snapd-desktop-integration.service/usr/bin/systemctlsnapd
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
38763chown user /home/user/Desktop/curl.sh/usr/bin/chownsudo
User:
root
Integrity Level:
UNKNOWN
Exit code:
0
38764chmod +x /home/user/Desktop/curl.sh/usr/bin/chmoddash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
38765sudo -iu user /home/user/Desktop/curl.sh/usr/bin/sudodash
User:
root
Integrity Level:
UNKNOWN
Exit code:
32512
38766/bin/sh /home/user/Desktop/curl.sh/usr/bin/dashsudo
User:
user
Integrity Level:
UNKNOWN
Exit code:
32512
38767/usr/bin/locale-check C.UTF-8/usr/bin/locale-checkdash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
38768cp /bin/busybox busybox/usr/bin/cpdash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
38769rm -rf o/usr/bin/rmdash
User:
user
Integrity Level:
UNKNOWN
Exit code:
0
Executable files
0
Suspicious files
1
Text files
0
Unknown types
0

Dropped files

PID
Process
Filename
Type
39001cp/home/user/busyboxbinary
MD5:
SHA256:
Download PCAP, analyze network streams, HTTP content and a lot more at the full report
HTTP(S) requests
24
TCP/UDP connections
3 405
DNS requests
65
Threats
90

HTTP requests

PID
Process
Method
HTTP Code
IP
URL
CN
Type
Size
Reputation
GET
204
185.125.190.98:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
GET
185.125.190.98:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
GET
185.125.190.98:80
http://connectivity-check.ubuntu.com/
unknown
whitelisted
GET
200
87.121.112.16:80
http://87.121.112.16/arm
unknown
malicious
38813
curl
GET
200
87.121.112.16:80
http://87.121.112.16/arm5
unknown
malicious
GET
200
87.121.112.16:80
http://87.121.112.16/arm6
unknown
malicious
GET
200
87.121.112.16:80
http://87.121.112.16/arm7
unknown
malicious
GET
200
87.121.112.16:80
http://87.121.112.16/mips
unknown
malicious
GET
200
87.121.112.16:80
http://87.121.112.16/mpsl
unknown
malicious
GET
200
87.121.112.16:80
http://87.121.112.16/ppc
unknown
malicious
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.98:80
connectivity-check.ubuntu.com
Canonical Group Limited
GB
whitelisted
195.181.170.18:443
odrs.gnome.org
Datacamp Limited
DE
whitelisted
195.181.175.40:443
odrs.gnome.org
Datacamp Limited
DE
whitelisted
185.125.188.55:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
185.125.188.59:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
185.125.188.58:443
api.snapcraft.io
Canonical Group Limited
GB
whitelisted
87.121.112.16:80
Neterra Ltd.
BG
malicious
38813
curl
87.121.112.16:80
Neterra Ltd.
BG
malicious
39033
dvrEncoder
197.18.161.204:23
TUNISIANA
TN
unknown

DNS requests

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

Threats

PID
Process
Class
Message
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
Potential Corporate Privacy Violation
ET POLICY Executable and linking format (ELF) file download Over HTTP
38813
curl
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
38813
curl
Potential Corporate Privacy Violation
ET POLICY Executable and linking format (ELF) file download Over HTTP
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
Potential Corporate Privacy Violation
ET POLICY Executable and linking format (ELF) file download Over HTTP
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
Potential Corporate Privacy Violation
ET POLICY Executable and linking format (ELF) file download Over HTTP
Potentially Bad Traffic
ET HUNTING curl User-Agent to Dotted Quad
Potential Corporate Privacy Violation
ET POLICY Executable and linking format (ELF) file download Over HTTP
No debug info