| File name: | sh.sh |
| Full analysis: | https://app.any.run/tasks/610fd3db-358f-46ee-a6f7-707d1712d4ec |
| 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: | November 24, 2024, 07:06:40 |
| OS: | Ubuntu 22.04.2 LTS |
| Tags: | |
| Indicators: | |
| MIME: | text/x-shellscript |
| File info: | Bourne-Again shell script, ASCII text executable |
| MD5: | 5A86127D998B5C3496802959AC0A3D11 |
| SHA1: | 21D05B5A016CDD8245E24778E479BF6330867C3F |
| SHA256: | AED29398112AD074B8FD8A2E25020FB01DB1F8CDAFF86326222529DBEBA5746B |
| SSDEEP: | 24:Oz2zUSLN9AltrM35BFRDD6n0LY83H0tfhhp5wEliodZYDYc7QW:OyASLitonmzfvJlBZY6W |
| .sh | | | Linux/UNIX shell script (100) |
|---|
PID | CMD | Path | Indicators | Parent process |
|---|---|---|---|---|
| 38747 | /bin/sh -c "sudo chown user /home/user/Desktop/sh\.sh && chmod +x /home/user/Desktop/sh\.sh && DISPLAY=:0 sudo -iu user /home/user/Desktop/sh\.sh " | /usr/bin/dash | — | any-guest-agent |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 38748 | sudo chown user /home/user/Desktop/sh.sh | /usr/bin/sudo | — | dash |
User: root Integrity Level: UNKNOWN Exit code: 0 | ||||
| 38749 | chown user /home/user/Desktop/sh.sh | /usr/bin/chown | — | sudo |
User: root Integrity Level: UNKNOWN Exit code: 0 | ||||
| 38750 | chmod +x /home/user/Desktop/sh.sh | /usr/bin/chmod | — | dash |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 38752 | sudo -iu user /home/user/Desktop/sh.sh | /usr/bin/sudo | — | dash |
User: root Integrity Level: UNKNOWN Exit code: 0 | ||||
| 38753 | /bin/bash /home/user/Desktop/sh.sh | /usr/bin/bash | — | sudo |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 38754 | /usr/bin/locale-check C.UTF-8 | /usr/bin/locale-check | — | bash |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 38755 | /bin/bash /home/user/Desktop/sh.sh | /usr/bin/bash | — | bash |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 38756 | cat /proc/mounts | /usr/bin/cat | — | bash |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 38757 | grep noexec | /usr/bin/grep | — | bash |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
PID | Process | Filename | Type | |
|---|---|---|---|---|
| 38772 | dd | /home/user/.testfile2 (deleted) | binary | |
MD5:— | SHA256:— | |||
| 38774 | wget | /home/user/clean | text | |
MD5:— | SHA256:— | |||
| 38843 | wget | /home/user/x86_64 | binary | |
MD5:— | SHA256:— | |||
PID | Process | Method | HTTP Code | IP | URL | CN | Type | Size | Reputation |
|---|---|---|---|---|---|---|---|---|---|
— | — | GET | 204 | 91.189.91.98:80 | http://connectivity-check.ubuntu.com/ | unknown | — | — | whitelisted |
— | — | GET | 204 | 91.189.91.98:80 | http://connectivity-check.ubuntu.com/ | unknown | — | — | whitelisted |
38774 | wget | GET | 200 | 45.202.35.190:80 | http://45.202.35.190/clean | unknown | — | — | unknown |
38843 | wget | GET | 200 | 45.202.35.190:80 | http://45.202.35.190/x86_64 | unknown | — | — | unknown |
— | — | GET | 200 | 37.19.194.81:443 | https://odrs.gnome.org/1.0/reviews/api/ratings | unknown | binary | 1.61 Mb | whitelisted |
— | — | POST | 200 | 185.125.188.58:443 | https://api.snapcraft.io/v2/snaps/refresh | unknown | tss | 43.7 Kb | whitelisted |
— | — | POST | 200 | 185.125.188.55:443 | https://api.snapcraft.io/v2/snaps/refresh | unknown | tss | 43.7 Kb | whitelisted |
— | — | POST | 200 | 185.125.188.59:443 | https://api.snapcraft.io/v2/snaps/refresh | unknown | — | — | whitelisted |
— | — | POST | 200 | 185.125.188.54:443 | https://api.snapcraft.io/v2/snaps/refresh | unknown | tss | 43.7 Kb | whitelisted |
— | — | GET | 200 | 195.181.175.40:443 | https://odrs.gnome.org/1.0/reviews/api/ratings | unknown | binary | 1.61 Mb | whitelisted |
PID | Process | IP | Domain | ASN | CN | Reputation |
|---|---|---|---|---|---|---|
— | — | 185.125.190.49:80 | connectivity-check.ubuntu.com | Canonical Group Limited | GB | whitelisted |
— | — | 91.189.91.98:80 | connectivity-check.ubuntu.com | Canonical Group Limited | US | whitelisted |
484 | avahi-daemon | 224.0.0.251:5353 | — | — | — | unknown |
— | — | 195.181.170.18:443 | odrs.gnome.org | Datacamp Limited | DE | whitelisted |
488 | NetworkManager | 185.125.190.18:80 | connectivity-check.ubuntu.com | 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.55:443 | api.snapcraft.io | Canonical Group Limited | GB | whitelisted |
512 | snapd | 185.125.188.58:443 | api.snapcraft.io | Canonical Group Limited | GB | whitelisted |
38774 | wget | 45.202.35.190:80 | — | MULTA-ASN1 | MU | unknown |
38843 | wget | 45.202.35.190:80 | — | MULTA-ASN1 | MU | unknown |
Domain | IP | Reputation |
|---|---|---|
connectivity-check.ubuntu.com |
| whitelisted |
odrs.gnome.org |
| whitelisted |
google.com |
| whitelisted |
api.snapcraft.io |
| whitelisted |
75.100.168.192.in-addr.arpa |
| unknown |
moneroed.net |
| unknown |
PID | Process | Class | Message |
|---|---|---|---|
38774 | wget | Misc Attack | ET DROP Spamhaus DROP Listed Traffic Inbound group 5 |
38843 | wget | Potential Corporate Privacy Violation | ET POLICY Executable and linking format (ELF) file download Over HTTP |
38851 | .redtail | Misc Attack | ET TOR Known Tor Relay/Router (Not Exit) Node Traffic group 312 |
38851 | .redtail | Misc Attack | ET TOR Known Tor Relay/Router (Not Exit) Node Traffic group 196 |
38851 | .redtail | Potential Corporate Privacy Violation | ET POLICY Cryptocurrency Miner Checkin |
38851 | .redtail | Misc Attack | ET DROP Spamhaus DROP Listed Traffic Inbound group 8 |
38851 | .redtail | Crypto Currency Mining Activity Detected | MINER [ANY.RUN] CoinMiner Agent CnC Initial Connection |
38851 | .redtail | Potential Corporate Privacy Violation | ET POLICY Cryptocurrency Miner Checkin |