Analysis

  • max time kernel
    146s
  • max time network
    153s
  • 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
    23-03-2024 02:38

General

  • Target

    fab8944e3f0541c0ff149306ea74137f7c1e9c081670906844769a45aa7171b4.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/fab8944e3f0541c0ff149306ea74137f7c1e9c081670906844769a45aa7171b4.elf
    /tmp/fab8944e3f0541c0ff149306ea74137f7c1e9c081670906844769a45aa7171b4.elf
    1⤵
      PID:1559
    • /bin/sh
      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"
      1⤵
        PID:1565
        • /bin/ln
          ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt
          2⤵
            PID:1566
        • /bin/sh
          sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"
          1⤵
            PID:1567
            • /bin/ln
              ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt
              2⤵
                PID:1568
            • /bin/sh
              sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"
              1⤵
                PID:1569
                • /bin/ln
                  ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt
                  2⤵
                    PID:1570
                • /bin/sh
                  sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"
                  1⤵
                    PID:1571
                    • /bin/ln
                      ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt
                      2⤵
                        PID:1572
                    • /bin/sh
                      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"
                      1⤵
                        PID:1573
                        • /bin/ln
                          ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt
                          2⤵
                            PID:1574
                        • /bin/sh
                          sh -c "mkdir -p /usr/bin/bsd-port"
                          1⤵
                            PID:1575
                            • /bin/mkdir
                              mkdir -p /usr/bin/bsd-port
                              2⤵
                              • Reads runtime system information
                              PID:1576
                          • /bin/sh
                            sh -c "mkdir -p /usr/bin/bsd-port"
                            1⤵
                              PID:1577
                              • /bin/mkdir
                                mkdir -p /usr/bin/bsd-port
                                2⤵
                                • Reads runtime system information
                                PID:1578
                            • /bin/sh
                              sh -c "cp -f /tmp/fab8944e3f0541c0ff149306ea74137f7c1e9c081670906844769a45aa7171b4.elf /usr/bin/bsd-port/getty"
                              1⤵
                                PID:1579
                                • /bin/cp
                                  cp -f /tmp/fab8944e3f0541c0ff149306ea74137f7c1e9c081670906844769a45aa7171b4.elf /usr/bin/bsd-port/getty
                                  2⤵
                                  • Write file to user bin folder
                                  • Reads runtime system information
                                  PID:1580
                              • /bin/sh
                                sh -c /usr/bin/bsd-port/getty
                                1⤵
                                  PID:1582
                                  • /usr/bin/bsd-port/getty
                                    /usr/bin/bsd-port/getty
                                    2⤵
                                    • Executes dropped EXE
                                    PID:1583
                                • /bin/sh
                                  sh -c "mkdir -p /usr/bin"
                                  1⤵
                                    PID:1585
                                    • /bin/mkdir
                                      mkdir -p /usr/bin
                                      2⤵
                                      • Reads runtime system information
                                      PID:1586
                                  • /bin/sh
                                    sh -c "mkdir -p /usr/bin"
                                    1⤵
                                      PID:1587
                                      • /bin/mkdir
                                        mkdir -p /usr/bin
                                        2⤵
                                        • Reads runtime system information
                                        PID:1588
                                    • /bin/sh
                                      sh -c "cp -f /tmp/fab8944e3f0541c0ff149306ea74137f7c1e9c081670906844769a45aa7171b4.elf /usr/bin/.sshd"
                                      1⤵
                                        PID:1589
                                        • /bin/cp
                                          cp -f /tmp/fab8944e3f0541c0ff149306ea74137f7c1e9c081670906844769a45aa7171b4.elf /usr/bin/.sshd
                                          2⤵
                                          • Write file to user bin folder
                                          • Reads runtime system information
                                          PID:1590
                                      • /bin/sh
                                        sh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"
                                        1⤵
                                          PID:1591
                                          • /bin/ln
                                            ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux
                                            2⤵
                                              PID:1592
                                          • /bin/sh
                                            sh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"
                                            1⤵
                                              PID:1593
                                              • /bin/ln
                                                ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux
                                                2⤵
                                                  PID:1594
                                              • /bin/sh
                                                sh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"
                                                1⤵
                                                  PID:1595
                                                  • /bin/ln
                                                    ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux
                                                    2⤵
                                                      PID:1596
                                                  • /bin/sh
                                                    sh -c /usr/bin/.sshd
                                                    1⤵
                                                      PID:1598
                                                      • /usr/bin/.sshd
                                                        /usr/bin/.sshd
                                                        2⤵
                                                        • Executes dropped EXE
                                                        PID:1599
                                                    • /bin/sh
                                                      sh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"
                                                      1⤵
                                                        PID:1600
                                                        • /bin/ln
                                                          ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux
                                                          2⤵
                                                            PID:1601
                                                        • /bin/sh
                                                          sh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"
                                                          1⤵
                                                            PID:1602
                                                            • /bin/ln
                                                              ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux
                                                              2⤵
                                                                PID:1603
                                                            • /bin/sh
                                                              sh -c "mkdir -p /usr/bin/dpkgd"
                                                              1⤵
                                                                PID:1604
                                                                • /bin/mkdir
                                                                  mkdir -p /usr/bin/dpkgd
                                                                  2⤵
                                                                  • Reads runtime system information
                                                                  PID:1605
                                                              • /bin/sh
                                                                sh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"
                                                                1⤵
                                                                  PID:1606
                                                                  • /bin/cp
                                                                    cp -f /bin/ps /usr/bin/dpkgd/ps
                                                                    2⤵
                                                                    • Write file to user bin folder
                                                                    • Reads runtime system information
                                                                    PID:1607
                                                                • /bin/sh
                                                                  sh -c "mkdir -p /bin"
                                                                  1⤵
                                                                    PID:1608
                                                                    • /bin/mkdir
                                                                      mkdir -p /bin
                                                                      2⤵
                                                                      • Reads runtime system information
                                                                      PID:1609
                                                                  • /bin/sh
                                                                    sh -c "mkdir -p /bin"
                                                                    1⤵
                                                                      PID:1610
                                                                      • /bin/mkdir
                                                                        mkdir -p /bin
                                                                        2⤵
                                                                        • Reads runtime system information
                                                                        PID:1611
                                                                    • /bin/sh
                                                                      sh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"
                                                                      1⤵
                                                                        PID:1612
                                                                        • /bin/cp
                                                                          cp -f /usr/bin/bsd-port/getty /bin/ps
                                                                          2⤵
                                                                          • Writes file to system bin folder
                                                                          • Reads runtime system information
                                                                          PID:1613
                                                                      • /bin/sh
                                                                        sh -c "chmod 0755 /bin/ps"
                                                                        1⤵
                                                                          PID:1614
                                                                          • /bin/chmod
                                                                            chmod 0755 /bin/ps
                                                                            2⤵
                                                                              PID:1615
                                                                          • /bin/sh
                                                                            sh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"
                                                                            1⤵
                                                                              PID:1616
                                                                              • /bin/cp
                                                                                cp -f /bin/ss /usr/bin/dpkgd/ss
                                                                                2⤵
                                                                                • Write file to user bin folder
                                                                                • Reads runtime system information
                                                                                PID:1617
                                                                            • /bin/sh
                                                                              sh -c "mkdir -p /bin"
                                                                              1⤵
                                                                                PID:1618
                                                                                • /bin/mkdir
                                                                                  mkdir -p /bin
                                                                                  2⤵
                                                                                  • Reads runtime system information
                                                                                  PID:1619
                                                                              • /bin/sh
                                                                                sh -c "mkdir -p /bin"
                                                                                1⤵
                                                                                  PID:1620
                                                                                  • /bin/mkdir
                                                                                    mkdir -p /bin
                                                                                    2⤵
                                                                                    • Reads runtime system information
                                                                                    PID:1621
                                                                                • /bin/sh
                                                                                  sh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"
                                                                                  1⤵
                                                                                    PID:1622
                                                                                    • /bin/cp
                                                                                      cp -f /usr/bin/bsd-port/getty /bin/ss
                                                                                      2⤵
                                                                                      • Writes file to system bin folder
                                                                                      • Reads runtime system information
                                                                                      PID:1623
                                                                                  • /bin/sh
                                                                                    sh -c "chmod 0755 /bin/ss"
                                                                                    1⤵
                                                                                      PID:1624
                                                                                      • /bin/chmod
                                                                                        chmod 0755 /bin/ss
                                                                                        2⤵
                                                                                          PID:1625
                                                                                      • /bin/sh
                                                                                        sh -c "cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof"
                                                                                        1⤵
                                                                                          PID:1626
                                                                                          • /bin/cp
                                                                                            cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof
                                                                                            2⤵
                                                                                            • Write file to user bin folder
                                                                                            • Reads runtime system information
                                                                                            PID:1627
                                                                                        • /bin/sh
                                                                                          sh -c "mkdir -p /usr/bin"
                                                                                          1⤵
                                                                                            PID:1628
                                                                                            • /bin/mkdir
                                                                                              mkdir -p /usr/bin
                                                                                              2⤵
                                                                                              • Reads runtime system information
                                                                                              PID:1629
                                                                                          • /bin/sh
                                                                                            sh -c "mkdir -p /usr/bin"
                                                                                            1⤵
                                                                                              PID:1630
                                                                                              • /bin/mkdir
                                                                                                mkdir -p /usr/bin
                                                                                                2⤵
                                                                                                • Reads runtime system information
                                                                                                PID:1631
                                                                                            • /bin/sh
                                                                                              sh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"
                                                                                              1⤵
                                                                                                PID:1632
                                                                                                • /bin/cp
                                                                                                  cp -f /usr/bin/bsd-port/getty /usr/bin/lsof
                                                                                                  2⤵
                                                                                                  • Write file to user bin folder
                                                                                                  • Reads runtime system information
                                                                                                  PID:1633
                                                                                              • /bin/sh
                                                                                                sh -c "chmod 0755 /usr/bin/lsof"
                                                                                                1⤵
                                                                                                  PID:1634
                                                                                                  • /bin/chmod
                                                                                                    chmod 0755 /usr/bin/lsof
                                                                                                    2⤵
                                                                                                      PID:1635
                                                                                                  • /bin/sh
                                                                                                    sh -c "insmod /usr/bin/bsd-port/xpacket.ko"
                                                                                                    1⤵
                                                                                                      PID:1638
                                                                                                      • /sbin/insmod
                                                                                                        insmod /usr/bin/bsd-port/xpacket.ko
                                                                                                        2⤵
                                                                                                        • Reads runtime system information
                                                                                                        PID:1639
                                                                                                    • /bin/sh
                                                                                                      sh -c "insmod /tmp/xpacket.ko"
                                                                                                      1⤵
                                                                                                        PID:1649
                                                                                                        • /sbin/insmod
                                                                                                          insmod /tmp/xpacket.ko
                                                                                                          2⤵
                                                                                                          • Reads runtime system information
                                                                                                          PID:1650

                                                                                                      Network

                                                                                                      MITRE ATT&CK Enterprise v15

                                                                                                      Replay Monitor

                                                                                                      Loading Replay Monitor...

                                                                                                      Downloads

                                                                                                      • /etc/init.d/DbSecuritySpt

                                                                                                        Filesize

                                                                                                        86B

                                                                                                        MD5

                                                                                                        6e66ffc5f7f51102becb5b87898c881f

                                                                                                        SHA1

                                                                                                        b1e46e32d34936f895aad0f47e97bc8a2aacf4bc

                                                                                                        SHA256

                                                                                                        f8e3164ce0e3ee2be4125269072aba42dd2aa71da0ac463b062fb79fad1eeaa8

                                                                                                        SHA512

                                                                                                        5e1b5630a6a634918c84107afa1342e3ce14338d3e0d37453d1408b37902e4d2797d4af0814179fdc17177267bc5eaf5488335f3cdfeef7be44635d938ee996f

                                                                                                      • /etc/init.d/selinux

                                                                                                        Filesize

                                                                                                        36B

                                                                                                        MD5

                                                                                                        993cc15058142d96c3daf7852c3d5ee8

                                                                                                        SHA1

                                                                                                        0950b8b391b04dd3895ea33cd3141543ebd2525d

                                                                                                        SHA256

                                                                                                        8171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208

                                                                                                        SHA512

                                                                                                        0c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928

                                                                                                      • /tmp/gates.lod

                                                                                                        Filesize

                                                                                                        4B

                                                                                                        MD5

                                                                                                        3a20f62a0af1aa152670bab3c602feed

                                                                                                        SHA1

                                                                                                        062dd0f773cd5999a09714a371e1f8017163e2a1

                                                                                                        SHA256

                                                                                                        c649b15e769148e6b199b7a671140d60c77847fce6fe17277723dc91f0b27d4c

                                                                                                        SHA512

                                                                                                        419f66b1afde60779300c3cb662c238c1bfad252c9db934512fa5af99f598c27dffdb1b3514fc254dc947a0080a0484a84ff12ed9aae5ca491091fec39989b86

                                                                                                      • /tmp/moni.lod

                                                                                                        Filesize

                                                                                                        4B

                                                                                                        MD5

                                                                                                        1c54985e4f95b7819ca0357c0cb9a09f

                                                                                                        SHA1

                                                                                                        85d0662ad5825ba33f4259d0d06ac035abac67bf

                                                                                                        SHA256

                                                                                                        245db7164aace830256c713e17486f1785096c86049d6409349fff5f810da253

                                                                                                        SHA512

                                                                                                        f24fb250d43bbe3ef3f28dfb1c6f8f553540c0d43023a88a718e2d38db9a18eac926cf44bcc3f1840cc8a29b2bdfec41dd0527abdc77aecde0e165742319a232

                                                                                                      • /tmp/notify.file

                                                                                                        Filesize

                                                                                                        73B

                                                                                                        MD5

                                                                                                        aa5a037c067beacea61245aee3e85606

                                                                                                        SHA1

                                                                                                        49e3379bb8f615a63b888fc1844c869e5d4ab594

                                                                                                        SHA256

                                                                                                        526eff9a2c0c2b1ff0d05630d79ba0365586e6af830279396709fb413e589641

                                                                                                        SHA512

                                                                                                        995302503a93c3474151bf8154526456c6ea44f5c9b3a98647c1060aa9e4df8fe78cb458899c2f9f37284bcc2638a58890c96424a83655b44ccad61e1ccf942e

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

                                                                                                        Filesize

                                                                                                        73B

                                                                                                        MD5

                                                                                                        6cd455165a6413ec7cf19488ca44838a

                                                                                                        SHA1

                                                                                                        d5810f05839689c2e35fbf16dc6a3030c9ac4a2e

                                                                                                        SHA256

                                                                                                        8daee42374a208a89fbb370e08b46a2f85d67e07c01d1e5dac6f22deaaf29bcf

                                                                                                        SHA512

                                                                                                        a9f83b845a15cbd5078555e07943b56bcd7e66dcb78d95b952b82b7fcefbbef036359dfc90d88e61e64308937ca5d747ac31b5fb8f3bd5904444ae2f4868003a

                                                                                                      • /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