Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    ubuntu-22.04_amd64
  • resource
    ubuntu2204-amd64-20240611-en
  • resource tags

    arch:amd64arch:i386image:ubuntu2204-amd64-20240611-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system
  • submitted
    24-08-2024 12:45

General

  • Target

    be9e6e33ce58d7572b0a089a9be20dd0_JaffaCakes118

  • Size

    1.1MB

  • MD5

    be9e6e33ce58d7572b0a089a9be20dd0

  • SHA1

    5f3788156d48b1e1865a471a9a34019aa63f1a1b

  • SHA256

    1ea1b4edcc7e1ba2ba0e549ff3fcdd35efabd69f4e671b905a7d38ec97a7d9d9

  • SHA512

    8b20ab73a1aa5ad3c1cf09af600e538cfb519a509c599ea76a6b07189d04e679112e2c273ed2e8ae1de677af614c74b4332ab973542e0c6bb8d5b5968aa97b07

  • SSDEEP

    24576:4vRE7caCfKGPqVEDNLFxKsfa4I+gIGYuuCol7r:4vREKfPqVE5jKsfa4RHGVo7r

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
  • 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 8 IoCs
  • Writes file to system bin folder 1 TTPs 2 IoCs
  • Checks CPU configuration 1 TTPs 2 IoCs

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

  • Reads system network configuration 1 TTPs 4 IoCs

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 24 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 8 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/be9e6e33ce58d7572b0a089a9be20dd0_JaffaCakes118
    /tmp/be9e6e33ce58d7572b0a089a9be20dd0_JaffaCakes118
    1⤵
    • Modifies init.d
    • Reads system routing table
    • Write file to user bin folder
    • Checks CPU configuration
    • Reads system network configuration
    • Reads runtime system information
    • Writes file to tmp directory
    PID:1554
    • /bin/sh
      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"
      2⤵
        PID:1575
        • /usr/bin/ln
          ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt
          3⤵
            PID:1576
        • /bin/sh
          sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"
          2⤵
            PID:1577
            • /usr/bin/ln
              ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt
              3⤵
                PID:1578
            • /bin/sh
              sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"
              2⤵
                PID:1579
                • /usr/bin/ln
                  ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt
                  3⤵
                    PID:1580
                • /bin/sh
                  sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"
                  2⤵
                    PID:1581
                    • /usr/bin/ln
                      ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt
                      3⤵
                        PID:1582
                    • /bin/sh
                      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"
                      2⤵
                        PID:1583
                        • /usr/bin/ln
                          ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt
                          3⤵
                            PID:1584
                        • /bin/sh
                          sh -c "mkdir -p /usr/bin/bsd-port"
                          2⤵
                            PID:1585
                            • /usr/bin/mkdir
                              mkdir -p /usr/bin/bsd-port
                              3⤵
                              • Reads runtime system information
                              PID:1586
                          • /bin/sh
                            sh -c "cp -f /tmp/be9e6e33ce58d7572b0a089a9be20dd0_JaffaCakes118 /usr/bin/bsd-port/getty"
                            2⤵
                              PID:1587
                              • /usr/bin/cp
                                cp -f /tmp/be9e6e33ce58d7572b0a089a9be20dd0_JaffaCakes118 /usr/bin/bsd-port/getty
                                3⤵
                                • Write file to user bin folder
                                • Reads runtime system information
                                PID:1588
                            • /bin/sh
                              sh -c /usr/bin/bsd-port/getty
                              2⤵
                                PID:1590
                                • /usr/bin/bsd-port/getty
                                  /usr/bin/bsd-port/getty
                                  3⤵
                                  • Executes dropped EXE
                                  • Modifies init.d
                                  • Write file to user bin folder
                                  • Checks CPU configuration
                                  • Reads system network configuration
                                  • Reads runtime system information
                                  PID:1591
                                  • /bin/sh
                                    sh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"
                                    4⤵
                                      PID:1607
                                      • /usr/bin/ln
                                        ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux
                                        5⤵
                                          PID:1608
                                      • /bin/sh
                                        sh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"
                                        4⤵
                                          PID:1609
                                          • /usr/bin/ln
                                            ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux
                                            5⤵
                                              PID:1610
                                          • /bin/sh
                                            sh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"
                                            4⤵
                                              PID:1611
                                              • /usr/bin/ln
                                                ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux
                                                5⤵
                                                  PID:1612
                                              • /bin/sh
                                                sh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"
                                                4⤵
                                                  PID:1613
                                                  • /usr/bin/ln
                                                    ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux
                                                    5⤵
                                                      PID:1614
                                                  • /bin/sh
                                                    sh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"
                                                    4⤵
                                                      PID:1615
                                                      • /usr/bin/ln
                                                        ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux
                                                        5⤵
                                                          PID:1616
                                                      • /bin/sh
                                                        sh -c "mkdir -p /usr/bin/dpkgd"
                                                        4⤵
                                                          PID:1617
                                                          • /usr/bin/mkdir
                                                            mkdir -p /usr/bin/dpkgd
                                                            5⤵
                                                            • Reads runtime system information
                                                            PID:1618
                                                        • /bin/sh
                                                          sh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"
                                                          4⤵
                                                            PID:1620
                                                            • /usr/bin/cp
                                                              cp -f /bin/lsof /usr/bin/dpkgd/lsof
                                                              5⤵
                                                              • Write file to user bin folder
                                                              • Reads runtime system information
                                                              PID:1621
                                                          • /bin/sh
                                                            sh -c "mkdir -p /bin"
                                                            4⤵
                                                              PID:1622
                                                              • /usr/bin/mkdir
                                                                mkdir -p /bin
                                                                5⤵
                                                                • Reads runtime system information
                                                                PID:1623
                                                            • /bin/sh
                                                              sh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"
                                                              4⤵
                                                                PID:1624
                                                                • /usr/bin/cp
                                                                  cp -f /usr/bin/bsd-port/getty /bin/lsof
                                                                  5⤵
                                                                  • Writes file to system bin folder
                                                                  • Reads runtime system information
                                                                  PID:1625
                                                              • /bin/sh
                                                                sh -c "chmod 0755 /bin/lsof"
                                                                4⤵
                                                                  PID:1627
                                                                  • /usr/bin/chmod
                                                                    chmod 0755 /bin/lsof
                                                                    5⤵
                                                                      PID:1628
                                                                  • /bin/sh
                                                                    sh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"
                                                                    4⤵
                                                                      PID:1629
                                                                      • /usr/bin/cp
                                                                        cp -f /bin/ps /usr/bin/dpkgd/ps
                                                                        5⤵
                                                                        • Write file to user bin folder
                                                                        • Reads runtime system information
                                                                        PID:1630
                                                                    • /bin/sh
                                                                      sh -c "mkdir -p /bin"
                                                                      4⤵
                                                                        PID:1631
                                                                        • /usr/bin/mkdir
                                                                          mkdir -p /bin
                                                                          5⤵
                                                                          • Reads runtime system information
                                                                          PID:1632
                                                                      • /bin/sh
                                                                        sh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"
                                                                        4⤵
                                                                          PID:1634
                                                                          • /usr/bin/cp
                                                                            cp -f /usr/bin/bsd-port/getty /bin/ps
                                                                            5⤵
                                                                            • Writes file to system bin folder
                                                                            • Reads runtime system information
                                                                            PID:1635
                                                                        • /bin/sh
                                                                          sh -c "chmod 0755 /bin/ps"
                                                                          4⤵
                                                                            PID:1636
                                                                            • /usr/bin/chmod
                                                                              chmod 0755 /bin/ps
                                                                              5⤵
                                                                                PID:1637
                                                                            • /bin/sh
                                                                              sh -c "mkdir -p /usr/bin"
                                                                              4⤵
                                                                                PID:1638
                                                                                • /usr/bin/mkdir
                                                                                  mkdir -p /usr/bin
                                                                                  5⤵
                                                                                  • Reads runtime system information
                                                                                  PID:1639
                                                                              • /bin/sh
                                                                                sh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"
                                                                                4⤵
                                                                                  PID:1640
                                                                                  • /usr/bin/cp
                                                                                    cp -f /usr/bin/bsd-port/getty /usr/bin/lsof
                                                                                    5⤵
                                                                                    • Write file to user bin folder
                                                                                    • Reads runtime system information
                                                                                    PID:1641
                                                                                • /bin/sh
                                                                                  sh -c "chmod 0755 /usr/bin/lsof"
                                                                                  4⤵
                                                                                    PID:1642
                                                                                    • /usr/bin/chmod
                                                                                      chmod 0755 /usr/bin/lsof
                                                                                      5⤵
                                                                                        PID:1643
                                                                                    • /bin/sh
                                                                                      sh -c "mkdir -p /usr/bin"
                                                                                      4⤵
                                                                                        PID:1644
                                                                                        • /usr/bin/mkdir
                                                                                          mkdir -p /usr/bin
                                                                                          5⤵
                                                                                          • Reads runtime system information
                                                                                          PID:1645
                                                                                      • /bin/sh
                                                                                        sh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"
                                                                                        4⤵
                                                                                          PID:1646
                                                                                          • /usr/bin/cp
                                                                                            cp -f /usr/bin/bsd-port/getty /usr/bin/ps
                                                                                            5⤵
                                                                                            • Write file to user bin folder
                                                                                            • Reads runtime system information
                                                                                            PID:1647
                                                                                        • /bin/sh
                                                                                          sh -c "chmod 0755 /usr/bin/ps"
                                                                                          4⤵
                                                                                            PID:1648
                                                                                            • /usr/bin/chmod
                                                                                              chmod 0755 /usr/bin/ps
                                                                                              5⤵
                                                                                                PID:1649
                                                                                            • /bin/sh
                                                                                              sh -c "insmod /usr/lib/xpacket.ko"
                                                                                              4⤵
                                                                                                PID:1650
                                                                                                • /usr/sbin/insmod
                                                                                                  insmod /usr/lib/xpacket.ko
                                                                                                  5⤵
                                                                                                  • Reads runtime system information
                                                                                                  PID:1651
                                                                                          • /bin/sh
                                                                                            sh -c "mkdir -p /etc/ssh"
                                                                                            2⤵
                                                                                              PID:1593
                                                                                              • /usr/bin/mkdir
                                                                                                mkdir -p /etc/ssh
                                                                                                3⤵
                                                                                                • Reads runtime system information
                                                                                                PID:1594
                                                                                            • /bin/sh
                                                                                              sh -c "cp -f /tmp/be9e6e33ce58d7572b0a089a9be20dd0_JaffaCakes118 /etc/ssh/bashpa"
                                                                                              2⤵
                                                                                                PID:1595
                                                                                                • /usr/bin/cp
                                                                                                  cp -f /tmp/be9e6e33ce58d7572b0a089a9be20dd0_JaffaCakes118 /etc/ssh/bashpa
                                                                                                  3⤵
                                                                                                  • Reads runtime system information
                                                                                                  PID:1596
                                                                                              • /bin/sh
                                                                                                sh -c /etc/ssh/bashpa
                                                                                                2⤵
                                                                                                  PID:1598
                                                                                                  • /etc/ssh/bashpa
                                                                                                    /etc/ssh/bashpa
                                                                                                    3⤵
                                                                                                    • Executes dropped EXE
                                                                                                    • Reads runtime system information
                                                                                                    • Writes file to tmp directory
                                                                                                    PID:1599
                                                                                                • /bin/sh
                                                                                                  sh -c "insmod /usr/lib/xpacket.ko"
                                                                                                  2⤵
                                                                                                    PID:1601
                                                                                                    • /usr/sbin/insmod
                                                                                                      insmod /usr/lib/xpacket.ko
                                                                                                      3⤵
                                                                                                      • Reads runtime system information
                                                                                                      PID:1602

                                                                                                Network

                                                                                                MITRE ATT&CK Enterprise v15

                                                                                                Replay Monitor

                                                                                                Loading Replay Monitor...

                                                                                                Downloads

                                                                                                • /etc/init.d/DbSecuritySpt

                                                                                                  Filesize

                                                                                                  64B

                                                                                                  MD5

                                                                                                  5005b7a92750528d3c312db7d154d447

                                                                                                  SHA1

                                                                                                  c79d13a8a71e35a3034e5f1ef9ad6c1395af40eb

                                                                                                  SHA256

                                                                                                  22d69231f74de26ae9acd9bc8a270cfe8672124707f3d601ec1dfa9f0bac0ec7

                                                                                                  SHA512

                                                                                                  5f731a47c15adda97dd9cce9989e15c669ff1527c553fcc5a56c95933b96684c3fce9991a9b5a306a44bae3ff8adb0d0b0afd309719586d88c78f5a5ed4a2887

                                                                                                • /etc/init.d/selinux

                                                                                                  Filesize

                                                                                                  36B

                                                                                                  MD5

                                                                                                  993cc15058142d96c3daf7852c3d5ee8

                                                                                                  SHA1

                                                                                                  0950b8b391b04dd3895ea33cd3141543ebd2525d

                                                                                                  SHA256

                                                                                                  8171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208

                                                                                                  SHA512

                                                                                                  0c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928

                                                                                                • /tmp/conf.n

                                                                                                  Filesize

                                                                                                  69B

                                                                                                  MD5

                                                                                                  2930859241efab3842629a18ef4f5b31

                                                                                                  SHA1

                                                                                                  250c45f7c6c6985bf7e8222365bf01396e458bd3

                                                                                                  SHA256

                                                                                                  d0aacf9dd6643c0d186b1d9412c72c81ba33135441d64a659a302e15aac03782

                                                                                                  SHA512

                                                                                                  ab2a27dc6c66ebfbb865bab522d80b46c7a138ee8b05692abdbfe3b86fbac7cba6810b353ef91a20cce63f3e88df7e206d493ea4b33ee2b162b33b0c4b711498

                                                                                                • /tmp/gates.lock

                                                                                                  Filesize

                                                                                                  4B

                                                                                                  MD5

                                                                                                  b2dd140336c9df867c087a29b2e66034

                                                                                                  SHA1

                                                                                                  9f7f230b6748530889d6d498ff5f5e2934fdbe69

                                                                                                  SHA256

                                                                                                  2ae7ffb0ec4d1bccf01b12233aaced6949cc5808a4a173315ee508abbbaaaa1c

                                                                                                  SHA512

                                                                                                  4140f3a8f3bd58f4e2e4c071d097d6401a78187340dd6f63f7e157d3fcd2a4f78d65f3b6b34c352c8f35cdb2983d054b76f4d8ea49586e260ab81c0463a31c9b

                                                                                                • /tmp/moni.lock

                                                                                                  Filesize

                                                                                                  4B

                                                                                                  MD5

                                                                                                  9e984c108157cea74c894b5cf34efc44

                                                                                                  SHA1

                                                                                                  0c774d8e1e30b273143a93836f845a4d3f44a60f

                                                                                                  SHA256

                                                                                                  b458944d9ec4322f9ff0de2885ce82d580341fcf0fd688422e9929b6e7ce3b2d

                                                                                                  SHA512

                                                                                                  aeb9c3cdd81ee2439338d9c994a1150abf17fedc07542fb625f0dc70cf5d160e5b9827cbc875552d7bdc14d9372ee6b2525ac8e80d0f4a0fa88fcb86b79bd2fc

                                                                                                • /tmp/notify.file

                                                                                                  Filesize

                                                                                                  51B

                                                                                                  MD5

                                                                                                  9bfaf207ca1136de452606fefdef1573

                                                                                                  SHA1

                                                                                                  63396cf573c9cda57e18a0efa5088d0a68e96559

                                                                                                  SHA256

                                                                                                  0b68cae078cfeaf9b897c31498823ae71d1634dfdecaea82bdeaf2b00993bdb3

                                                                                                  SHA512

                                                                                                  657f867fbdc3a279fac37968aae0ed099853f056abeddd8ae6bba1ea63a6ad8c025f1406e6e6db8266322674ebc09b054af923c851566786af5fa5d1ada90ef4

                                                                                                • /usr/bin/bsd-port/getty

                                                                                                  Filesize

                                                                                                  1.1MB

                                                                                                  MD5

                                                                                                  be9e6e33ce58d7572b0a089a9be20dd0

                                                                                                  SHA1

                                                                                                  5f3788156d48b1e1865a471a9a34019aa63f1a1b

                                                                                                  SHA256

                                                                                                  1ea1b4edcc7e1ba2ba0e549ff3fcdd35efabd69f4e671b905a7d38ec97a7d9d9

                                                                                                  SHA512

                                                                                                  8b20ab73a1aa5ad3c1cf09af600e538cfb519a509c599ea76a6b07189d04e679112e2c273ed2e8ae1de677af614c74b4332ab973542e0c6bb8d5b5968aa97b07

                                                                                                • /usr/bin/dpkgd/lsof

                                                                                                  Filesize

                                                                                                  163KB

                                                                                                  MD5

                                                                                                  ab57b66cc531ae0f996963223e632b60

                                                                                                  SHA1

                                                                                                  bf7e5becd33f21c2539f5a75ffa0ab61c49c8795

                                                                                                  SHA256

                                                                                                  2484863a7bfda7f97b90bfd5dfceed4ec9f27dd51f9c5158c8daabbf4309b1df

                                                                                                  SHA512

                                                                                                  908acef13f3c1d80b7169ec3b16bb67006013453348fff75550bc3c6c2137e798b21d7990edbd5be63d756d9c41b06160aebf38aa80547e4bafa3a62596057f6

                                                                                                • /usr/bin/dpkgd/ps

                                                                                                  Filesize

                                                                                                  138KB

                                                                                                  MD5

                                                                                                  8146139c2ad7e550b1d1f49480997446

                                                                                                  SHA1

                                                                                                  074db8890c3227bd8a588417f5b9bde637bcf3af

                                                                                                  SHA256

                                                                                                  207df9d438f75185ab3af2ab1173d104831a6631c28ef40d38b2ab43de27b40f

                                                                                                  SHA512

                                                                                                  b6d71d537f593b9af833e6f798e412e95fc486a313414ed8cca9639f61be7ac9dca700e9f861c0d07c7f65b3783127a67f829f422472cad8938ba01d397ab9de