| File name: | xmr.sh |
| Full analysis: | https://app.any.run/tasks/304a84a9-365e-4149-9ec9-069a523cd82a |
| Verdict: | Malicious activity |
| Threats: | Crypto mining malware is a resource-intensive threat that infiltrates computers with the purpose of mining cryptocurrencies. This type of threat can be deployed either on an infected machine or a compromised website. In both cases the miner will utilize the computing power of the device and its network bandwidth. |
| Analysis date: | June 21, 2025, 20:43:21 |
| OS: | Ubuntu 22.04.2 |
| Tags: | |
| Indicators: | |
| MIME: | text/x-shellscript |
| File info: | Bourne-Again shell script, ASCII text executable, with very long lines (496) |
| MD5: | 29F6F1FD52459F0F1C0CCD2AF19A96C2 |
| SHA1: | B7F03A896360BC04A3D8F71BCDC60622D59AC6A2 |
| SHA256: | 2EA999DCB12E952BF0BC739CDD4C1ACB9DA5A68AB3C3D29A4592E3744CCC4DE3 |
| SSDEEP: | 24:t0gxnQtymJEowc4/0wKYcTTjEBzAQoakonTjEBzLW91HTjEBzsBsHTjEBzC+:t0g3AegLW9+QC+ |
| .sh | | | Linux/UNIX shell script (100) |
|---|
PID | CMD | Path | Indicators | Parent process | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 41388 | /bin/sh -c "sudo chown user /tmp/xmr\.sh && chmod +x /tmp/xmr\.sh && DISPLAY=:0 sudo -iu user /tmp/xmr\.sh " | /usr/bin/dash | — | UbvyYXL4x2mYa65Q | |||||||||||
User: root Integrity Level: UNKNOWN Exit code: 0 Modules
| |||||||||||||||
| 41389 | sudo chown user /tmp/xmr.sh | /usr/bin/sudo | — | dash | |||||||||||
User: root Integrity Level: UNKNOWN Exit code: 0 Modules
| |||||||||||||||
| 41390 | chown user /tmp/xmr.sh | /usr/bin/chown | — | sudo | |||||||||||
User: root Integrity Level: UNKNOWN Exit code: 0 Modules
| |||||||||||||||
| 41391 | chmod +x /tmp/xmr.sh | /usr/bin/chmod | — | dash | |||||||||||
User: root Integrity Level: UNKNOWN Exit code: 0 Modules
| |||||||||||||||
| 41392 | sudo -iu user /tmp/xmr.sh | /usr/bin/sudo | — | dash | |||||||||||
User: root Integrity Level: UNKNOWN Exit code: 0 Modules
| |||||||||||||||
| 41393 | /bin/bash /tmp/xmr.sh | /usr/bin/bash | — | sudo | |||||||||||
User: user Integrity Level: UNKNOWN Exit code: 0 Modules
| |||||||||||||||
| 41394 | /usr/bin/locale-check C.UTF-8 | /usr/bin/locale-check | — | bash | |||||||||||
User: user Integrity Level: UNKNOWN Exit code: 0 Modules
| |||||||||||||||
| 41395 | apt-get update | /usr/bin/apt-get | — | bash | |||||||||||
User: user Integrity Level: UNKNOWN Exit code: 25600 Modules
| |||||||||||||||
| 41396 | /usr/bin/dpkg --print-foreign-architectures | /usr/bin/dpkg | — | apt-get | |||||||||||
User: user Integrity Level: UNKNOWN Exit code: 0 Modules
| |||||||||||||||
| 41397 | /usr/bin/dpkg --print-foreign-architectures | /usr/bin/dpkg | — | apt-get | |||||||||||
User: user Integrity Level: UNKNOWN Exit code: 0 Modules
| |||||||||||||||
PID | Process | Filename | Type | |
|---|---|---|---|---|
| 41395 | apt-get | /tmp/#6029333 (deleted) | text | |
MD5:— | SHA256:— | |||
| 41395 | apt-get | /tmp/#6029335 (deleted) | text | |
MD5:— | SHA256:— | |||
| 41395 | apt-get | /tmp/#6029338 (deleted) | text | |
MD5:— | SHA256:— | |||
| 41395 | apt-get | /tmp/#6029339 (deleted) | text | |
MD5:— | SHA256:— | |||
| 41395 | apt-get | /tmp/#6029358 (deleted) | text | |
MD5:— | SHA256:— | |||
| 41395 | apt-get | /tmp/#6029359 (deleted) | text | |
MD5:— | SHA256:— | |||
| 41395 | apt-get | /tmp/#6029364 (deleted) | text | |
MD5:— | SHA256:— | |||
| 41395 | apt-get | /tmp/#6029378 (deleted) | text | |
MD5:— | SHA256:— | |||
| 41395 | apt-get | /tmp/#6029379 (deleted) | text | |
MD5:— | SHA256:— | |||
| 41395 | apt-get | /tmp/#6029381 (deleted) | text | |
MD5:— | SHA256:— | |||
PID | Process | Method | HTTP Code | IP | URL | CN | Type | Size | Reputation |
|---|---|---|---|---|---|---|---|---|---|
— | — | GET | 204 | 185.125.190.49:80 | http://connectivity-check.ubuntu.com/ | unknown | — | — | whitelisted |
41442 | http | GET | — | 185.125.190.81:80 | http://archive.ubuntu.com/ubuntu/pool/main/libj/libjsoncpp/libjsoncpp25_1.9.5-3_amd64.deb | unknown | — | — | whitelisted |
41442 | http | GET | 404 | 185.125.190.81:80 | http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl3_3.0.2-0ubuntu1.18_amd64.deb | unknown | — | — | whitelisted |
41442 | http | GET | — | 185.125.190.81:80 | http://archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake-data_3.22.1-1ubuntu1.22.04.2_all.deb | unknown | — | — | whitelisted |
41442 | http | GET | — | 185.125.190.81:80 | http://archive.ubuntu.com/ubuntu/pool/main/c/cmake/cmake_3.22.1-1ubuntu1.22.04.2_amd64.deb | unknown | — | — | whitelisted |
41442 | http | GET | — | 185.125.190.81:80 | http://archive.ubuntu.com/ubuntu/pool/main/g/git/git_2.34.1-1ubuntu1.11_amd64.deb | unknown | — | — | whitelisted |
41442 | http | GET | — | 185.125.190.81:80 | http://archive.ubuntu.com/ubuntu/pool/main/r/rhash/librhash0_1.4.2-1ubuntu1_amd64.deb | unknown | — | — | whitelisted |
41442 | http | GET | — | 185.125.190.81:80 | http://archive.ubuntu.com/ubuntu/pool/main/d/dh-elpa/dh-elpa-helper_2.0.9ubuntu1_all.deb | unknown | — | — | whitelisted |
41442 | http | GET | 200 | 185.125.190.81:80 | http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl3_3.0.2-0ubuntu1.18_amd64.deb | unknown | — | — | whitelisted |
41442 | http | GET | 200 | 185.125.190.81:80 | http://archive.ubuntu.com/ubuntu/pool/main/libt/libtool/libtool_2.4.6-15build2_all.deb | unknown | — | — | whitelisted |
PID | Process | IP | Domain | ASN | CN | Reputation |
|---|---|---|---|---|---|---|
— | — | 91.189.91.49:80 | connectivity-check.ubuntu.com | Canonical Group Limited | US | whitelisted |
484 | avahi-daemon | 224.0.0.251:5353 | — | — | — | unknown |
— | — | 185.125.190.49:80 | connectivity-check.ubuntu.com | Canonical Group Limited | GB | whitelisted |
1178 | snap-store | 195.181.170.18: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.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 |
512 | snapd | 185.125.188.59:443 | api.snapcraft.io | Canonical Group Limited | GB | whitelisted |
41442 | http | 185.125.190.81:80 | archive.ubuntu.com | Canonical Group Limited | GB | whitelisted |
41461 | git-remote-http | 140.82.121.4:443 | github.com | GITHUB | US | whitelisted |
Domain | IP | Reputation |
|---|---|---|
connectivity-check.ubuntu.com |
| whitelisted |
google.com |
| whitelisted |
odrs.gnome.org |
| whitelisted |
api.snapcraft.io |
| whitelisted |
_http._tcp.archive.ubuntu.com |
| whitelisted |
archive.ubuntu.com |
| whitelisted |
github.com |
| whitelisted |
10.100.168.192.in-addr.arpa |
| unknown |
dist.libuv.org |
| unknown |
PID | Process | Class | Message |
|---|---|---|---|
41442 | http | Not Suspicious Traffic | ET INFO GNU/Linux APT User-Agent Outbound likely related to package management |
41442 | http | Not Suspicious Traffic | ET INFO GNU/Linux APT User-Agent Outbound likely related to package management |
41442 | http | Not Suspicious Traffic | ET INFO GNU/Linux APT User-Agent Outbound likely related to package management |
41442 | http | Not Suspicious Traffic | ET INFO GNU/Linux APT User-Agent Outbound likely related to package management |
41442 | http | Not Suspicious Traffic | ET INFO GNU/Linux APT User-Agent Outbound likely related to package management |
41442 | http | Not Suspicious Traffic | ET INFO GNU/Linux APT User-Agent Outbound likely related to package management |
41442 | http | Not Suspicious Traffic | ET INFO GNU/Linux APT User-Agent Outbound likely related to package management |
41442 | http | Not Suspicious Traffic | ET INFO GNU/Linux APT User-Agent Outbound likely related to package management |
41442 | http | Not Suspicious Traffic | ET INFO GNU/Linux APT User-Agent Outbound likely related to package management |
41442 | http | Not Suspicious Traffic | ET INFO GNU/Linux APT User-Agent Outbound likely related to package management |