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
    30-07-2024 13:28

General

  • Target

    714e87aa41eaacdfa4db58f2a5ff1fd7_JaffaCakes118

  • Size

    1.5MB

  • MD5

    714e87aa41eaacdfa4db58f2a5ff1fd7

  • SHA1

    5e3cde5a8503c727bcb781ffb657b89cf2ec9c37

  • SHA256

    59883c11aa8c0c703b3fc5338a00c90dd79d374f7c3ef214e6f217e601ff4742

  • SHA512

    e80800713412589a0b2fb70b4759d0ce93fc3db0e7984fee9c2b2ddf6faffc6b2f3792bd219aa8687374dada2e2218fa4ad3fdd98c9b02a52578691d6f112226

  • SSDEEP

    24576:GA46TrzJBisiOvhlOHdSbQmHyJgf/kgX0Exb2cyaGpIoiMynnLmYXqSYKKZdTrnD:zRNi6OHdSbQoyJyXpxb2PaGpXiMynLmB

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.

  • Write file to user bin folder 1 TTPs 9 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 2 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 7 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/714e87aa41eaacdfa4db58f2a5ff1fd7_JaffaCakes118
    /tmp/714e87aa41eaacdfa4db58f2a5ff1fd7_JaffaCakes118
    1⤵
    • Modifies init.d
    • Write file to user bin folder
    • Checks CPU configuration
    • Reads system network configuration
    • Reads runtime system information
    • Writes file to tmp directory
    PID:1569
    • /bin/sh
      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"
      2⤵
        PID:1580
        • /usr/bin/ln
          ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt
          3⤵
            PID:1581
        • /bin/sh
          sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"
          2⤵
            PID:1582
            • /usr/bin/ln
              ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt
              3⤵
                PID:1583
            • /bin/sh
              sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"
              2⤵
                PID:1584
                • /usr/bin/ln
                  ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt
                  3⤵
                    PID:1585
                • /bin/sh
                  sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"
                  2⤵
                    PID:1586
                    • /usr/bin/ln
                      ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt
                      3⤵
                        PID:1587
                    • /bin/sh
                      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"
                      2⤵
                        PID:1588
                        • /usr/bin/ln
                          ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt
                          3⤵
                            PID:1589
                        • /bin/sh
                          sh -c "mkdir -p /usr/bin/bsd-port"
                          2⤵
                            PID:1590
                            • /usr/bin/mkdir
                              mkdir -p /usr/bin/bsd-port
                              3⤵
                              • Reads runtime system information
                              PID:1591
                          • /bin/sh
                            sh -c "cp -f /tmp/714e87aa41eaacdfa4db58f2a5ff1fd7_JaffaCakes118 /usr/bin/bsd-port/getty"
                            2⤵
                              PID:1592
                              • /usr/bin/cp
                                cp -f /tmp/714e87aa41eaacdfa4db58f2a5ff1fd7_JaffaCakes118 /usr/bin/bsd-port/getty
                                3⤵
                                • Write file to user bin folder
                                • Reads runtime system information
                                PID:1593
                            • /bin/sh
                              sh -c /usr/bin/bsd-port/getty
                              2⤵
                                PID:1595
                                • /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:1596
                                  • /bin/sh
                                    sh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"
                                    4⤵
                                      PID:1616
                                      • /usr/bin/ln
                                        ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux
                                        5⤵
                                          PID:1617
                                      • /bin/sh
                                        sh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"
                                        4⤵
                                          PID:1618
                                          • /usr/bin/ln
                                            ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux
                                            5⤵
                                              PID:1619
                                          • /bin/sh
                                            sh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"
                                            4⤵
                                              PID:1620
                                              • /usr/bin/ln
                                                ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux
                                                5⤵
                                                  PID:1621
                                              • /bin/sh
                                                sh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"
                                                4⤵
                                                  PID:1622
                                                  • /usr/bin/ln
                                                    ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux
                                                    5⤵
                                                      PID:1623
                                                  • /bin/sh
                                                    sh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"
                                                    4⤵
                                                      PID:1624
                                                      • /usr/bin/ln
                                                        ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux
                                                        5⤵
                                                          PID:1625
                                                      • /bin/sh
                                                        sh -c "mkdir -p /usr/bin/dpkgd"
                                                        4⤵
                                                          PID:1626
                                                          • /usr/bin/mkdir
                                                            mkdir -p /usr/bin/dpkgd
                                                            5⤵
                                                            • Reads runtime system information
                                                            PID:1627
                                                        • /bin/sh
                                                          sh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"
                                                          4⤵
                                                            PID:1628
                                                            • /usr/bin/cp
                                                              cp -f /bin/lsof /usr/bin/dpkgd/lsof
                                                              5⤵
                                                              • Write file to user bin folder
                                                              • Reads runtime system information
                                                              PID:1629
                                                          • /bin/sh
                                                            sh -c "mkdir -p /bin"
                                                            4⤵
                                                              PID:1630
                                                              • /usr/bin/mkdir
                                                                mkdir -p /bin
                                                                5⤵
                                                                • Reads runtime system information
                                                                PID:1631
                                                            • /bin/sh
                                                              sh -c "cp -f /usr/bin/bsd-port/getty /bin/lsof"
                                                              4⤵
                                                                PID:1632
                                                                • /usr/bin/cp
                                                                  cp -f /usr/bin/bsd-port/getty /bin/lsof
                                                                  5⤵
                                                                  • Writes file to system bin folder
                                                                  • Reads runtime system information
                                                                  PID:1633
                                                              • /bin/sh
                                                                sh -c "chmod 0755 /bin/lsof"
                                                                4⤵
                                                                  PID:1634
                                                                  • /usr/bin/chmod
                                                                    chmod 0755 /bin/lsof
                                                                    5⤵
                                                                      PID:1635
                                                                  • /bin/sh
                                                                    sh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"
                                                                    4⤵
                                                                      PID:1636
                                                                      • /usr/bin/cp
                                                                        cp -f /bin/ps /usr/bin/dpkgd/ps
                                                                        5⤵
                                                                        • Write file to user bin folder
                                                                        • Reads runtime system information
                                                                        PID:1637
                                                                    • /bin/sh
                                                                      sh -c "mkdir -p /bin"
                                                                      4⤵
                                                                        PID:1639
                                                                        • /usr/bin/mkdir
                                                                          mkdir -p /bin
                                                                          5⤵
                                                                          • Reads runtime system information
                                                                          PID:1641
                                                                      • /bin/sh
                                                                        sh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"
                                                                        4⤵
                                                                          PID:1642
                                                                          • /usr/bin/cp
                                                                            cp -f /usr/bin/bsd-port/getty /bin/ps
                                                                            5⤵
                                                                            • Writes file to system bin folder
                                                                            • Reads runtime system information
                                                                            PID:1643
                                                                        • /bin/sh
                                                                          sh -c "chmod 0755 /bin/ps"
                                                                          4⤵
                                                                            PID:1644
                                                                            • /usr/bin/chmod
                                                                              chmod 0755 /bin/ps
                                                                              5⤵
                                                                                PID:1645
                                                                            • /bin/sh
                                                                              sh -c "mkdir -p /usr/bin"
                                                                              4⤵
                                                                                PID:1646
                                                                                • /usr/bin/mkdir
                                                                                  mkdir -p /usr/bin
                                                                                  5⤵
                                                                                  • Reads runtime system information
                                                                                  PID:1647
                                                                              • /bin/sh
                                                                                sh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"
                                                                                4⤵
                                                                                  PID:1648
                                                                                  • /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:1649
                                                                                • /bin/sh
                                                                                  sh -c "chmod 0755 /usr/bin/lsof"
                                                                                  4⤵
                                                                                    PID:1650
                                                                                    • /usr/bin/chmod
                                                                                      chmod 0755 /usr/bin/lsof
                                                                                      5⤵
                                                                                        PID:1651
                                                                                    • /bin/sh
                                                                                      sh -c "mkdir -p /usr/bin"
                                                                                      4⤵
                                                                                        PID:1652
                                                                                        • /usr/bin/mkdir
                                                                                          mkdir -p /usr/bin
                                                                                          5⤵
                                                                                          • Reads runtime system information
                                                                                          PID:1653
                                                                                      • /bin/sh
                                                                                        sh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/ps"
                                                                                        4⤵
                                                                                          PID:1654
                                                                                          • /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:1655
                                                                                        • /bin/sh
                                                                                          sh -c "chmod 0755 /usr/bin/ps"
                                                                                          4⤵
                                                                                            PID:1656
                                                                                            • /usr/bin/chmod
                                                                                              chmod 0755 /usr/bin/ps
                                                                                              5⤵
                                                                                                PID:1657
                                                                                            • /bin/sh
                                                                                              sh -c "insmod /usr/lib/xpacket.ko"
                                                                                              4⤵
                                                                                                PID:1658
                                                                                                • /usr/sbin/insmod
                                                                                                  insmod /usr/lib/xpacket.ko
                                                                                                  5⤵
                                                                                                  • Reads runtime system information
                                                                                                  PID:1659
                                                                                          • /bin/sh
                                                                                            sh -c "mkdir -p /usr/bin"
                                                                                            2⤵
                                                                                              PID:1598
                                                                                              • /usr/bin/mkdir
                                                                                                mkdir -p /usr/bin
                                                                                                3⤵
                                                                                                • Reads runtime system information
                                                                                                PID:1599
                                                                                            • /bin/sh
                                                                                              sh -c "cp -f /tmp/714e87aa41eaacdfa4db58f2a5ff1fd7_JaffaCakes118 /usr/bin/.sshd"
                                                                                              2⤵
                                                                                                PID:1600
                                                                                                • /usr/bin/cp
                                                                                                  cp -f /tmp/714e87aa41eaacdfa4db58f2a5ff1fd7_JaffaCakes118 /usr/bin/.sshd
                                                                                                  3⤵
                                                                                                  • Write file to user bin folder
                                                                                                  • Reads runtime system information
                                                                                                  PID:1601
                                                                                              • /bin/sh
                                                                                                sh -c /usr/bin/.sshd
                                                                                                2⤵
                                                                                                  PID:1603
                                                                                                  • /usr/bin/.sshd
                                                                                                    /usr/bin/.sshd
                                                                                                    3⤵
                                                                                                    • Executes dropped EXE
                                                                                                    • Reads runtime system information
                                                                                                    • Writes file to tmp directory
                                                                                                    PID:1604
                                                                                                • /bin/sh
                                                                                                  sh -c "insmod /usr/lib/xpacket.ko"
                                                                                                  2⤵
                                                                                                    PID:1606
                                                                                                    • /usr/sbin/insmod
                                                                                                      insmod /usr/lib/xpacket.ko
                                                                                                      3⤵
                                                                                                      • Reads runtime system information
                                                                                                      PID:1607

                                                                                                Network

                                                                                                MITRE ATT&CK Enterprise v15

                                                                                                Replay Monitor

                                                                                                Loading Replay Monitor...

                                                                                                Downloads

                                                                                                • /etc/init.d/DbSecuritySpt

                                                                                                  Filesize

                                                                                                  64B

                                                                                                  MD5

                                                                                                  6f81a43b1efc1abfa9c6a1bfd1eb6b81

                                                                                                  SHA1

                                                                                                  06fee278dfaa0f887c95e27d23e1c00e76208f3f

                                                                                                  SHA256

                                                                                                  9a9c4935d812c235f89b64b50055d1ebc9830f49332e12d6cd96f58ae468c140

                                                                                                  SHA512

                                                                                                  629e2a89afc1a4002e6dc7c7a0b97eedfc0b0597f82d6fb970b3e7fedca30a626fcf203f7c85e2625651a7f48bf8548996ff181ed3bf9a23933c319463e6e0d0

                                                                                                • /etc/init.d/selinux

                                                                                                  Filesize

                                                                                                  36B

                                                                                                  MD5

                                                                                                  993cc15058142d96c3daf7852c3d5ee8

                                                                                                  SHA1

                                                                                                  0950b8b391b04dd3895ea33cd3141543ebd2525d

                                                                                                  SHA256

                                                                                                  8171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208

                                                                                                  SHA512

                                                                                                  0c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928

                                                                                                • /tmp/gates.lock

                                                                                                  Filesize

                                                                                                  4B

                                                                                                  MD5

                                                                                                  7949e456002b28988d38185bd30e77fd

                                                                                                  SHA1

                                                                                                  8eac9d03673ad3fa86c1c815275470ec81580e0a

                                                                                                  SHA256

                                                                                                  3a481e728390d89c6843c180dc18ca8d693de5f5421e6240711c5dad483c72b3

                                                                                                  SHA512

                                                                                                  86ffa374c2572cf61c670ec5469b80a9f71db097a87e45393aac98ac96a1c019325f360ccbaa6509acd366045c871b0e2ce76503942603228cf87b5c18105586

                                                                                                • /tmp/moni.lock

                                                                                                  Filesize

                                                                                                  4B

                                                                                                  MD5

                                                                                                  f18a6d1cde4b205199de8729a6637b42

                                                                                                  SHA1

                                                                                                  2fdd02f8f1222ac5b66ec221c8ff66d62695b11c

                                                                                                  SHA256

                                                                                                  5909daa6fb5cf239d52027367f111ecd9c280866d73f8bd47cda43ef5495af6a

                                                                                                  SHA512

                                                                                                  3407704df3075afe3710ea8c7b64a54f572e311c24de4299fafb95203ac100326b1a9aec57289285ad641b51de049eb2b3ee66180b74c7bfda1b82b8664b9fc2

                                                                                                • /tmp/notify.file

                                                                                                  Filesize

                                                                                                  51B

                                                                                                  MD5

                                                                                                  dbf5045a24ccaea770f56d8304afb6fa

                                                                                                  SHA1

                                                                                                  4d54fef90b9363e96c86491b1cd8ef58778993dc

                                                                                                  SHA256

                                                                                                  00af843cb25afe1a668f86ca8b70dc7dec720da89a7578a4f6ca329aa3280ce9

                                                                                                  SHA512

                                                                                                  45b9fdae6e49d52aa260efe94686c46c1fc0c9340187522b9b3525021f09b71b83b1fccde6b36974f916b7e465559bbd3c8d0c756284dedc9233199b05a5850e

                                                                                                • /usr/bin/bsd-port/getty

                                                                                                  Filesize

                                                                                                  1.5MB

                                                                                                  MD5

                                                                                                  714e87aa41eaacdfa4db58f2a5ff1fd7

                                                                                                  SHA1

                                                                                                  5e3cde5a8503c727bcb781ffb657b89cf2ec9c37

                                                                                                  SHA256

                                                                                                  59883c11aa8c0c703b3fc5338a00c90dd79d374f7c3ef214e6f217e601ff4742

                                                                                                  SHA512

                                                                                                  e80800713412589a0b2fb70b4759d0ce93fc3db0e7984fee9c2b2ddf6faffc6b2f3792bd219aa8687374dada2e2218fa4ad3fdd98c9b02a52578691d6f112226

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