Resubmissions

22-03-2024 16:06

240322-tkbewafh2t 10

22-03-2024 16:03

240322-thwb9sfg8t 10

22-03-2024 08:44

240322-km5xtsae28 10

Analysis

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

    arch:amd64arch:i386image:ubuntu1804-amd64-20240226-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    22-03-2024 08:44

General

  • Target

    9c65f61859b4b8ae00c79ddd63abf60d.elf

  • Size

    1.2MB

  • MD5

    9c65f61859b4b8ae00c79ddd63abf60d

  • SHA1

    ddf2c1d0abdef832ec746004dcdfd0cd800048ae

  • SHA256

    fab8944e3f0541c0ff149306ea74137f7c1e9c081670906844769a45aa7171b4

  • SHA512

    ed39ef838a9cdff65e891f65a98800ebd282645e13d9f83a6b620e3bc573a3fae8e5f312136b970977a4cdbdf5a0e600be401cf425a2d673d30c715562ab163e

  • SSDEEP

    24576:e845rGHu6gVJKG75oFpA0VWeX4a2y1q2rJp0:745vRVJKGtSA0VWeoZu9p0

Malware Config

Signatures

  • MrBlack Trojan

    IoT botnet which infects routers to be used for DDoS attacks.

  • MrBlack trojan 1 IoCs
  • Executes dropped EXE 2 IoCs
  • Checks CPU configuration 1 TTPs 1 IoCs

    Checks CPU information which indicate if the system is a virtual machine.

  • Modifies init.d 1 TTPs 2 IoCs

    Adds/modifies system service, likely for persistence.

  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

  • Write file to user bin folder 1 TTPs 9 IoCs
  • Writes file to system bin folder 1 TTPs 2 IoCs
  • Reads system network configuration 1 TTPs 3 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 23 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 5 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/9c65f61859b4b8ae00c79ddd63abf60d.elf
    /tmp/9c65f61859b4b8ae00c79ddd63abf60d.elf
    1⤵
      PID:1575
    • /bin/sh
      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"
      1⤵
        PID:1599
        • /bin/ln
          ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt
          2⤵
            PID:1600
        • /bin/sh
          sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"
          1⤵
            PID:1601
            • /bin/ln
              ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt
              2⤵
                PID:1602
            • /bin/sh
              sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"
              1⤵
                PID:1603
                • /bin/ln
                  ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt
                  2⤵
                    PID:1604
                • /bin/sh
                  sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"
                  1⤵
                    PID:1605
                    • /bin/ln
                      ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt
                      2⤵
                        PID:1606
                    • /bin/sh
                      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"
                      1⤵
                        PID:1607
                        • /bin/ln
                          ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt
                          2⤵
                            PID:1608
                        • /bin/sh
                          sh -c "mkdir -p /usr/bin/bsd-port"
                          1⤵
                            PID:1609
                            • /bin/mkdir
                              mkdir -p /usr/bin/bsd-port
                              2⤵
                              • Reads runtime system information
                              PID:1610
                          • /bin/sh
                            sh -c "mkdir -p /usr/bin/bsd-port"
                            1⤵
                              PID:1611
                              • /bin/mkdir
                                mkdir -p /usr/bin/bsd-port
                                2⤵
                                • Reads runtime system information
                                PID:1612
                            • /bin/sh
                              sh -c "cp -f /tmp/9c65f61859b4b8ae00c79ddd63abf60d.elf /usr/bin/bsd-port/getty"
                              1⤵
                                PID:1613
                                • /bin/cp
                                  cp -f /tmp/9c65f61859b4b8ae00c79ddd63abf60d.elf /usr/bin/bsd-port/getty
                                  2⤵
                                  • Write file to user bin folder
                                  • Reads runtime system information
                                  PID:1614
                              • /bin/sh
                                sh -c /usr/bin/bsd-port/getty
                                1⤵
                                  PID:1616
                                  • /usr/bin/bsd-port/getty
                                    /usr/bin/bsd-port/getty
                                    2⤵
                                    • Executes dropped EXE
                                    PID:1617
                                • /bin/sh
                                  sh -c "mkdir -p /usr/bin"
                                  1⤵
                                    PID:1619
                                    • /bin/mkdir
                                      mkdir -p /usr/bin
                                      2⤵
                                      • Reads runtime system information
                                      PID:1620
                                  • /bin/sh
                                    sh -c "mkdir -p /usr/bin"
                                    1⤵
                                      PID:1621
                                      • /bin/mkdir
                                        mkdir -p /usr/bin
                                        2⤵
                                        • Reads runtime system information
                                        PID:1622
                                    • /bin/sh
                                      sh -c "cp -f /tmp/9c65f61859b4b8ae00c79ddd63abf60d.elf /usr/bin/.sshd"
                                      1⤵
                                        PID:1623
                                        • /bin/cp
                                          cp -f /tmp/9c65f61859b4b8ae00c79ddd63abf60d.elf /usr/bin/.sshd
                                          2⤵
                                          • Write file to user bin folder
                                          • Reads runtime system information
                                          PID:1624
                                      • /bin/sh
                                        sh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"
                                        1⤵
                                          PID:1625
                                          • /bin/ln
                                            ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux
                                            2⤵
                                              PID:1626
                                          • /bin/sh
                                            sh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"
                                            1⤵
                                              PID:1627
                                              • /bin/ln
                                                ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux
                                                2⤵
                                                  PID:1628
                                              • /bin/sh
                                                sh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"
                                                1⤵
                                                  PID:1629
                                                  • /bin/ln
                                                    ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux
                                                    2⤵
                                                      PID:1630
                                                  • /bin/sh
                                                    sh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"
                                                    1⤵
                                                      PID:1631
                                                      • /bin/ln
                                                        ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux
                                                        2⤵
                                                          PID:1632
                                                      • /bin/sh
                                                        sh -c /usr/bin/.sshd
                                                        1⤵
                                                          PID:1635
                                                          • /usr/bin/.sshd
                                                            /usr/bin/.sshd
                                                            2⤵
                                                            • Executes dropped EXE
                                                            PID:1636
                                                        • /bin/sh
                                                          sh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"
                                                          1⤵
                                                            PID:1633
                                                            • /bin/ln
                                                              ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux
                                                              2⤵
                                                                PID:1637
                                                            • /bin/sh
                                                              sh -c "mkdir -p /usr/bin/dpkgd"
                                                              1⤵
                                                                PID:1638
                                                                • /bin/mkdir
                                                                  mkdir -p /usr/bin/dpkgd
                                                                  2⤵
                                                                  • Reads runtime system information
                                                                  PID:1639
                                                              • /bin/sh
                                                                sh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"
                                                                1⤵
                                                                  PID:1640
                                                                  • /bin/cp
                                                                    cp -f /bin/ps /usr/bin/dpkgd/ps
                                                                    2⤵
                                                                    • Write file to user bin folder
                                                                    • Reads runtime system information
                                                                    PID:1641
                                                                • /bin/sh
                                                                  sh -c "mkdir -p /bin"
                                                                  1⤵
                                                                    PID:1642
                                                                    • /bin/mkdir
                                                                      mkdir -p /bin
                                                                      2⤵
                                                                      • Reads runtime system information
                                                                      PID:1643
                                                                  • /bin/sh
                                                                    sh -c "mkdir -p /bin"
                                                                    1⤵
                                                                      PID:1644
                                                                      • /bin/mkdir
                                                                        mkdir -p /bin
                                                                        2⤵
                                                                        • Reads runtime system information
                                                                        PID:1645
                                                                    • /bin/sh
                                                                      sh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"
                                                                      1⤵
                                                                        PID:1646
                                                                        • /bin/cp
                                                                          cp -f /usr/bin/bsd-port/getty /bin/ps
                                                                          2⤵
                                                                          • Writes file to system bin folder
                                                                          • Reads runtime system information
                                                                          PID:1647
                                                                      • /bin/sh
                                                                        sh -c "chmod 0755 /bin/ps"
                                                                        1⤵
                                                                          PID:1648
                                                                          • /bin/chmod
                                                                            chmod 0755 /bin/ps
                                                                            2⤵
                                                                              PID:1649
                                                                          • /bin/sh
                                                                            sh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"
                                                                            1⤵
                                                                              PID:1650
                                                                              • /bin/cp
                                                                                cp -f /bin/ss /usr/bin/dpkgd/ss
                                                                                2⤵
                                                                                • Write file to user bin folder
                                                                                • Reads runtime system information
                                                                                PID:1651
                                                                            • /bin/sh
                                                                              sh -c "mkdir -p /bin"
                                                                              1⤵
                                                                                PID:1654
                                                                                • /bin/mkdir
                                                                                  mkdir -p /bin
                                                                                  2⤵
                                                                                  • Reads runtime system information
                                                                                  PID:1655
                                                                              • /bin/sh
                                                                                sh -c "mkdir -p /bin"
                                                                                1⤵
                                                                                  PID:1656
                                                                                  • /bin/mkdir
                                                                                    mkdir -p /bin
                                                                                    2⤵
                                                                                    • Reads runtime system information
                                                                                    PID:1657
                                                                                • /bin/sh
                                                                                  sh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"
                                                                                  1⤵
                                                                                    PID:1658
                                                                                    • /bin/cp
                                                                                      cp -f /usr/bin/bsd-port/getty /bin/ss
                                                                                      2⤵
                                                                                      • Writes file to system bin folder
                                                                                      • Reads runtime system information
                                                                                      PID:1659
                                                                                  • /bin/sh
                                                                                    sh -c "chmod 0755 /bin/ss"
                                                                                    1⤵
                                                                                      PID:1660
                                                                                      • /bin/chmod
                                                                                        chmod 0755 /bin/ss
                                                                                        2⤵
                                                                                          PID:1661
                                                                                      • /bin/sh
                                                                                        sh -c "cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof"
                                                                                        1⤵
                                                                                          PID:1662
                                                                                          • /bin/cp
                                                                                            cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof
                                                                                            2⤵
                                                                                            • Write file to user bin folder
                                                                                            • Reads runtime system information
                                                                                            PID:1663
                                                                                        • /bin/sh
                                                                                          sh -c "mkdir -p /usr/bin"
                                                                                          1⤵
                                                                                            PID:1664
                                                                                            • /bin/mkdir
                                                                                              mkdir -p /usr/bin
                                                                                              2⤵
                                                                                              • Reads runtime system information
                                                                                              PID:1665
                                                                                          • /bin/sh
                                                                                            sh -c "mkdir -p /usr/bin"
                                                                                            1⤵
                                                                                              PID:1666
                                                                                              • /bin/mkdir
                                                                                                mkdir -p /usr/bin
                                                                                                2⤵
                                                                                                • Reads runtime system information
                                                                                                PID:1667
                                                                                            • /bin/sh
                                                                                              sh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"
                                                                                              1⤵
                                                                                                PID:1668
                                                                                                • /bin/cp
                                                                                                  cp -f /usr/bin/bsd-port/getty /usr/bin/lsof
                                                                                                  2⤵
                                                                                                  • Write file to user bin folder
                                                                                                  • Reads runtime system information
                                                                                                  PID:1669
                                                                                              • /bin/sh
                                                                                                sh -c "chmod 0755 /usr/bin/lsof"
                                                                                                1⤵
                                                                                                  PID:1670
                                                                                                  • /bin/chmod
                                                                                                    chmod 0755 /usr/bin/lsof
                                                                                                    2⤵
                                                                                                      PID:1671
                                                                                                  • /bin/sh
                                                                                                    sh -c "insmod /tmp/xpacket.ko"
                                                                                                    1⤵
                                                                                                      PID:1672
                                                                                                      • /sbin/insmod
                                                                                                        insmod /tmp/xpacket.ko
                                                                                                        2⤵
                                                                                                        • Reads runtime system information
                                                                                                        PID:1673
                                                                                                    • /bin/sh
                                                                                                      sh -c "insmod /usr/bin/bsd-port/xpacket.ko"
                                                                                                      1⤵
                                                                                                        PID:1683
                                                                                                        • /sbin/insmod
                                                                                                          insmod /usr/bin/bsd-port/xpacket.ko
                                                                                                          2⤵
                                                                                                          • Reads runtime system information
                                                                                                          PID:1684

                                                                                                      Network

                                                                                                      MITRE ATT&CK Enterprise v15

                                                                                                      Replay Monitor

                                                                                                      Loading Replay Monitor...

                                                                                                      Downloads

                                                                                                      • /etc/init.d/DbSecuritySpt

                                                                                                        Filesize

                                                                                                        54B

                                                                                                        MD5

                                                                                                        c72f90e3e98d1e442f1c67250d65462e

                                                                                                        SHA1

                                                                                                        1226c9d54cd8f96cd14bdb3145b8e8feb552fac5

                                                                                                        SHA256

                                                                                                        933e302e728da769ffdf8f69c9dd2ed8519ef8bd832c94804446b4ad95f1b55e

                                                                                                        SHA512

                                                                                                        25e3d20741be4ceca8e8320e7853ece8224895f6b7ec3d624b84cb37c7989aff6d9ee83331f55ea42bd07a71840176fe0058c23ea25c792de5ad583d012e58ca

                                                                                                      • /etc/init.d/selinux

                                                                                                        Filesize

                                                                                                        36B

                                                                                                        MD5

                                                                                                        993cc15058142d96c3daf7852c3d5ee8

                                                                                                        SHA1

                                                                                                        0950b8b391b04dd3895ea33cd3141543ebd2525d

                                                                                                        SHA256

                                                                                                        8171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208

                                                                                                        SHA512

                                                                                                        0c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928

                                                                                                      • /tmp/gates.lod

                                                                                                        Filesize

                                                                                                        4B

                                                                                                        MD5

                                                                                                        af5afd7f7c807171981d443ad4f4f648

                                                                                                        SHA1

                                                                                                        00d77b942e978bcc69980155176ddad9534b4118

                                                                                                        SHA256

                                                                                                        da3270018b712b8a4b1841f92c26ff067a088a391dc6031610e6300ee261df15

                                                                                                        SHA512

                                                                                                        86d2ced0c9bfc0c028373b9fb18b5fc0fc224575a73094421e54d7df9e3ff89f359d98b82e442661cefd7de98b0dce7d9302f5595a393d666b14d12c4e536c04

                                                                                                      • /tmp/moni.lod

                                                                                                        Filesize

                                                                                                        4B

                                                                                                        MD5

                                                                                                        207f88018f72237565570f8a9e5ca240

                                                                                                        SHA1

                                                                                                        ca70ca5f6efd8e48f2b4b75b3bd75a5f8fdb12d5

                                                                                                        SHA256

                                                                                                        b3dfc696bb0a50080a047af22f87c0f9a07728ba3095a9aac126123ad1bc24d3

                                                                                                        SHA512

                                                                                                        543d76d42a7a164fad91e612de066ae7a47f1687b343be7c9a08aef10f0b3474c7cfd59e1d6cc326e07212cc3dc1ea04d8ad2334c21d48f9cabb7aead473f6b8

                                                                                                      • /tmp/notify.file

                                                                                                        Filesize

                                                                                                        41B

                                                                                                        MD5

                                                                                                        aada6ae77c35c99d34d3c1fa2bc89bd4

                                                                                                        SHA1

                                                                                                        eef93661c4caa0a32ec663a0462718d60d279fee

                                                                                                        SHA256

                                                                                                        55578939d73ca332c68f76d7e88818a529fee6990dfa757a9bf41a9735a56deb

                                                                                                        SHA512

                                                                                                        781ed7115d089dc7f57e85d2396da1c23041e5738d6e800393b80d2b4971dfcffabec57b1ee06c87228eee832b658a57dfc20cd5a534bd765760cd3d85526d85

                                                                                                      • /usr/bin/bsd-port/conf.n

                                                                                                        Filesize

                                                                                                        73B

                                                                                                        MD5

                                                                                                        a222efd501276a2b13483eb7cc3f267e

                                                                                                        SHA1

                                                                                                        af3d30de695bcdcc5ec823b2832d535d78c734f6

                                                                                                        SHA256

                                                                                                        aaf8ca5eaafc2584c537363742dfacfb5bf4222189028391cfc75ab2ebff936a

                                                                                                        SHA512

                                                                                                        cd5d53230c247a50773929f048d4daa993e14fb0932f3165d291fea946cb23f261282e079195f83f82a562c71c3f027856d36a7a10892454a188b998cfc674b3

                                                                                                      • /usr/bin/bsd-port/getty

                                                                                                        Filesize

                                                                                                        1.2MB

                                                                                                        MD5

                                                                                                        9c65f61859b4b8ae00c79ddd63abf60d

                                                                                                        SHA1

                                                                                                        ddf2c1d0abdef832ec746004dcdfd0cd800048ae

                                                                                                        SHA256

                                                                                                        fab8944e3f0541c0ff149306ea74137f7c1e9c081670906844769a45aa7171b4

                                                                                                        SHA512

                                                                                                        ed39ef838a9cdff65e891f65a98800ebd282645e13d9f83a6b620e3bc573a3fae8e5f312136b970977a4cdbdf5a0e600be401cf425a2d673d30c715562ab163e

                                                                                                      • /usr/bin/dpkgd/lsof

                                                                                                        Filesize

                                                                                                        159KB

                                                                                                        MD5

                                                                                                        e093dc78225e2a0a25e3b137c1c1e442

                                                                                                        SHA1

                                                                                                        c29497cfaae729eb576875e4fdfa400640ab16be

                                                                                                        SHA256

                                                                                                        1190f4dbc7be174de8fd4096c9bf7a28eebfac937d308b7cc533be4a1240d26e

                                                                                                        SHA512

                                                                                                        fe1cc7a65327732eaaee89f427c10239ba822430e34177842f4681068d78d404b1830d808a2a71b1efcc5f126c6d8c053512237421173aaa150e215a672da6f0

                                                                                                      • /usr/bin/dpkgd/ps

                                                                                                        Filesize

                                                                                                        130KB

                                                                                                        MD5

                                                                                                        558edc26f8a38fa9788220b9af8a73e7

                                                                                                        SHA1

                                                                                                        3024d44e580e9c67f32f6c585d50e2a6cc9a7cac

                                                                                                        SHA256

                                                                                                        b76435c80333d2c1fd18e0e7682f1c9dfb5da8d507e93e3c416f54b481c428d5

                                                                                                        SHA512

                                                                                                        edaa425b441044f015e8f68fffa1664e42372d00dd0e7b0924d24ce947aa8e5f96b3bdc326fa2f8b978e3fcf638a1ceca45a223735db73f1607df66990feb56f

                                                                                                      • /usr/bin/dpkgd/ss

                                                                                                        Filesize

                                                                                                        136KB

                                                                                                        MD5

                                                                                                        1dc929b5f2cd12fe6a2fe71140d2a9e3

                                                                                                        SHA1

                                                                                                        f9995a92bb201b1b7738a39a38570ef0c40b52d2

                                                                                                        SHA256

                                                                                                        418aae1da62554afe9f260866267af328fd761b3fd6f90f0ea53d543e2fefc38

                                                                                                        SHA512

                                                                                                        fbed011c595084548db440dfbe485b7d27032a44a6ae9e141fe43f31c8c524ff9347135ab035deb441fca99e5a3794f7bb9194f148aa2f60f1547a7c67d47373