Analysis

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

    arch:amd64arch:i386image:ubuntu1804-amd64-20240729-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    29-07-2024 08:55

General

  • Target

    3df5c5e26e2d9fd4946c8121299cd513_JaffaCakes118

  • Size

    1.2MB

  • MD5

    3df5c5e26e2d9fd4946c8121299cd513

  • SHA1

    efaa2e397773a5eda58a68ddce1d9e17a90fdbd3

  • SHA256

    a17ca067bd6f74817a0516e6083c0739fc9b9e36aafd95b74fddc84343972cda

  • SHA512

    9574af57a2984065c6c348f7242533211051c5e9e03c74d6926023c64f61805b4d28698a3c77c3c33ffe33b84f0224f308889a5071bfeca3557fd58043dcca78

  • SSDEEP

    24576:e845rGHu6gVJKG75oFpA0VWeX4q2y1q2rJp0:745vRVJKGtSA0VWeoJu9p0

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 25 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/3df5c5e26e2d9fd4946c8121299cd513_JaffaCakes118
    /tmp/3df5c5e26e2d9fd4946c8121299cd513_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:1503
    • /bin/sh
      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"
      2⤵
        PID:1515
        • /bin/ln
          ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt
          3⤵
            PID:1516
        • /bin/sh
          sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"
          2⤵
            PID:1517
            • /bin/ln
              ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt
              3⤵
                PID:1518
            • /bin/sh
              sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"
              2⤵
                PID:1519
                • /bin/ln
                  ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt
                  3⤵
                    PID:1520
                • /bin/sh
                  sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"
                  2⤵
                    PID:1521
                    • /bin/ln
                      ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt
                      3⤵
                        PID:1522
                    • /bin/sh
                      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"
                      2⤵
                        PID:1523
                        • /bin/ln
                          ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt
                          3⤵
                            PID:1524
                        • /bin/sh
                          sh -c "mkdir -p /usr/bin/bsd-port"
                          2⤵
                            PID:1525
                            • /bin/mkdir
                              mkdir -p /usr/bin/bsd-port
                              3⤵
                              • Reads runtime system information
                              PID:1526
                          • /bin/sh
                            sh -c "mkdir -p /usr/bin/bsd-port"
                            2⤵
                              PID:1527
                              • /bin/mkdir
                                mkdir -p /usr/bin/bsd-port
                                3⤵
                                • Reads runtime system information
                                PID:1528
                            • /bin/sh
                              sh -c "cp -f /tmp/3df5c5e26e2d9fd4946c8121299cd513_JaffaCakes118 /usr/bin/bsd-port/getty"
                              2⤵
                                PID:1529
                                • /bin/cp
                                  cp -f /tmp/3df5c5e26e2d9fd4946c8121299cd513_JaffaCakes118 /usr/bin/bsd-port/getty
                                  3⤵
                                  • Write file to user bin folder
                                  • Reads runtime system information
                                  PID:1530
                              • /bin/sh
                                sh -c /usr/bin/bsd-port/getty
                                2⤵
                                  PID:1532
                                  • /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:1533
                                    • /bin/sh
                                      sh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"
                                      4⤵
                                        PID:1541
                                        • /bin/ln
                                          ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux
                                          5⤵
                                            PID:1542
                                        • /bin/sh
                                          sh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"
                                          4⤵
                                            PID:1543
                                            • /bin/ln
                                              ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux
                                              5⤵
                                                PID:1544
                                            • /bin/sh
                                              sh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"
                                              4⤵
                                                PID:1545
                                                • /bin/ln
                                                  ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux
                                                  5⤵
                                                    PID:1546
                                                • /bin/sh
                                                  sh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"
                                                  4⤵
                                                    PID:1547
                                                    • /bin/ln
                                                      ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux
                                                      5⤵
                                                        PID:1548
                                                    • /bin/sh
                                                      sh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"
                                                      4⤵
                                                        PID:1549
                                                        • /bin/ln
                                                          ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux
                                                          5⤵
                                                            PID:1550
                                                        • /bin/sh
                                                          sh -c "mkdir -p /usr/bin/dpkgd"
                                                          4⤵
                                                            PID:1551
                                                            • /bin/mkdir
                                                              mkdir -p /usr/bin/dpkgd
                                                              5⤵
                                                              • Reads runtime system information
                                                              PID:1552
                                                          • /bin/sh
                                                            sh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"
                                                            4⤵
                                                              PID:1553
                                                              • /bin/cp
                                                                cp -f /bin/ps /usr/bin/dpkgd/ps
                                                                5⤵
                                                                • Write file to user bin folder
                                                                • Reads runtime system information
                                                                PID:1554
                                                            • /bin/sh
                                                              sh -c "mkdir -p /bin"
                                                              4⤵
                                                                PID:1558
                                                                • /bin/mkdir
                                                                  mkdir -p /bin
                                                                  5⤵
                                                                  • Reads runtime system information
                                                                  PID:1559
                                                              • /bin/sh
                                                                sh -c "mkdir -p /bin"
                                                                4⤵
                                                                  PID:1560
                                                                  • /bin/mkdir
                                                                    mkdir -p /bin
                                                                    5⤵
                                                                    • Reads runtime system information
                                                                    PID:1561
                                                                • /bin/sh
                                                                  sh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"
                                                                  4⤵
                                                                    PID:1562
                                                                    • /bin/cp
                                                                      cp -f /usr/bin/bsd-port/getty /bin/ps
                                                                      5⤵
                                                                      • Writes file to system bin folder
                                                                      • Reads runtime system information
                                                                      PID:1563
                                                                  • /bin/sh
                                                                    sh -c "chmod 0755 /bin/ps"
                                                                    4⤵
                                                                      PID:1564
                                                                      • /bin/chmod
                                                                        chmod 0755 /bin/ps
                                                                        5⤵
                                                                          PID:1565
                                                                      • /bin/sh
                                                                        sh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"
                                                                        4⤵
                                                                          PID:1566
                                                                          • /bin/cp
                                                                            cp -f /bin/ss /usr/bin/dpkgd/ss
                                                                            5⤵
                                                                            • Write file to user bin folder
                                                                            • Reads runtime system information
                                                                            PID:1567
                                                                        • /bin/sh
                                                                          sh -c "mkdir -p /bin"
                                                                          4⤵
                                                                            PID:1568
                                                                            • /bin/mkdir
                                                                              mkdir -p /bin
                                                                              5⤵
                                                                              • Reads runtime system information
                                                                              PID:1569
                                                                          • /bin/sh
                                                                            sh -c "mkdir -p /bin"
                                                                            4⤵
                                                                              PID:1570
                                                                              • /bin/mkdir
                                                                                mkdir -p /bin
                                                                                5⤵
                                                                                • Reads runtime system information
                                                                                PID:1571
                                                                            • /bin/sh
                                                                              sh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"
                                                                              4⤵
                                                                                PID:1572
                                                                                • /bin/cp
                                                                                  cp -f /usr/bin/bsd-port/getty /bin/ss
                                                                                  5⤵
                                                                                  • Writes file to system bin folder
                                                                                  • Reads runtime system information
                                                                                  PID:1573
                                                                              • /bin/sh
                                                                                sh -c "chmod 0755 /bin/ss"
                                                                                4⤵
                                                                                  PID:1574
                                                                                  • /bin/chmod
                                                                                    chmod 0755 /bin/ss
                                                                                    5⤵
                                                                                      PID:1575
                                                                                  • /bin/sh
                                                                                    sh -c "cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof"
                                                                                    4⤵
                                                                                      PID:1576
                                                                                      • /bin/cp
                                                                                        cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof
                                                                                        5⤵
                                                                                        • Write file to user bin folder
                                                                                        • Reads runtime system information
                                                                                        PID:1577
                                                                                    • /bin/sh
                                                                                      sh -c "mkdir -p /usr/bin"
                                                                                      4⤵
                                                                                        PID:1578
                                                                                        • /bin/mkdir
                                                                                          mkdir -p /usr/bin
                                                                                          5⤵
                                                                                          • Reads runtime system information
                                                                                          PID:1579
                                                                                      • /bin/sh
                                                                                        sh -c "mkdir -p /usr/bin"
                                                                                        4⤵
                                                                                          PID:1580
                                                                                          • /bin/mkdir
                                                                                            mkdir -p /usr/bin
                                                                                            5⤵
                                                                                            • Reads runtime system information
                                                                                            PID:1581
                                                                                        • /bin/sh
                                                                                          sh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"
                                                                                          4⤵
                                                                                            PID:1582
                                                                                            • /bin/cp
                                                                                              cp -f /usr/bin/bsd-port/getty /usr/bin/lsof
                                                                                              5⤵
                                                                                              • Write file to user bin folder
                                                                                              • Reads runtime system information
                                                                                              PID:1583
                                                                                          • /bin/sh
                                                                                            sh -c "chmod 0755 /usr/bin/lsof"
                                                                                            4⤵
                                                                                              PID:1584
                                                                                              • /bin/chmod
                                                                                                chmod 0755 /usr/bin/lsof
                                                                                                5⤵
                                                                                                  PID:1585
                                                                                              • /bin/sh
                                                                                                sh -c "insmod /usr/bin/bsd-port/xpacket.ko"
                                                                                                4⤵
                                                                                                  PID:1588
                                                                                                  • /sbin/insmod
                                                                                                    insmod /usr/bin/bsd-port/xpacket.ko
                                                                                                    5⤵
                                                                                                    • Reads runtime system information
                                                                                                    PID:1589
                                                                                            • /bin/sh
                                                                                              sh -c "mkdir -p /usr/bin"
                                                                                              2⤵
                                                                                                PID:1535
                                                                                                • /bin/mkdir
                                                                                                  mkdir -p /usr/bin
                                                                                                  3⤵
                                                                                                  • Reads runtime system information
                                                                                                  PID:1536
                                                                                              • /bin/sh
                                                                                                sh -c "mkdir -p /usr/bin"
                                                                                                2⤵
                                                                                                  PID:1537
                                                                                                  • /bin/mkdir
                                                                                                    mkdir -p /usr/bin
                                                                                                    3⤵
                                                                                                    • Reads runtime system information
                                                                                                    PID:1538
                                                                                                • /bin/sh
                                                                                                  sh -c "cp -f /tmp/3df5c5e26e2d9fd4946c8121299cd513_JaffaCakes118 /usr/bin/.sshd"
                                                                                                  2⤵
                                                                                                    PID:1539
                                                                                                    • /bin/cp
                                                                                                      cp -f /tmp/3df5c5e26e2d9fd4946c8121299cd513_JaffaCakes118 /usr/bin/.sshd
                                                                                                      3⤵
                                                                                                      • Write file to user bin folder
                                                                                                      • Reads runtime system information
                                                                                                      PID:1540
                                                                                                  • /bin/sh
                                                                                                    sh -c /usr/bin/.sshd
                                                                                                    2⤵
                                                                                                      PID:1556
                                                                                                      • /usr/bin/.sshd
                                                                                                        /usr/bin/.sshd
                                                                                                        3⤵
                                                                                                        • Executes dropped EXE
                                                                                                        • Writes file to tmp directory
                                                                                                        PID:1557
                                                                                                    • /bin/sh
                                                                                                      sh -c "insmod /tmp/xpacket.ko"
                                                                                                      2⤵
                                                                                                        PID:1593
                                                                                                        • /sbin/insmod
                                                                                                          insmod /tmp/xpacket.ko
                                                                                                          3⤵
                                                                                                          • Reads runtime system information
                                                                                                          PID:1594

                                                                                                    Network

                                                                                                    MITRE ATT&CK Enterprise v15

                                                                                                    Replay Monitor

                                                                                                    Loading Replay Monitor...

                                                                                                    Downloads

                                                                                                    • /etc/init.d/DbSecuritySpt

                                                                                                      Filesize

                                                                                                      64B

                                                                                                      MD5

                                                                                                      d5aac2e5a475fe0482af6b886b1498c2

                                                                                                      SHA1

                                                                                                      9660a6162a015a06d49ad89c116ee5bf26d82bb0

                                                                                                      SHA256

                                                                                                      bbf30353b38bbf0d9bb23e47a21aa9f04173e35c4f59220219494402ba0b8bf1

                                                                                                      SHA512

                                                                                                      2896d4c9601c1ad47a90d1955dd778cf0ef7e8b549cde30e636c1ca6b32e1d326dd9d277132797d8697bcb9d172edf060a2cf2fbb82830403f8697eb1a3d50a8

                                                                                                    • /etc/init.d/selinux

                                                                                                      Filesize

                                                                                                      36B

                                                                                                      MD5

                                                                                                      993cc15058142d96c3daf7852c3d5ee8

                                                                                                      SHA1

                                                                                                      0950b8b391b04dd3895ea33cd3141543ebd2525d

                                                                                                      SHA256

                                                                                                      8171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208

                                                                                                      SHA512

                                                                                                      0c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928

                                                                                                    • /tmp/gates.lod

                                                                                                      Filesize

                                                                                                      4B

                                                                                                      MD5

                                                                                                      49b8b4f95f02e055801da3b4f58e28b7

                                                                                                      SHA1

                                                                                                      cf9e834770ba6c82d76e63220ee31818c4752951

                                                                                                      SHA256

                                                                                                      3ec13115817a014a621e22b052993c86ed03ed69114f8413888f302d70e2d216

                                                                                                      SHA512

                                                                                                      938a677a2bc46d49b94ed854509e0dd9011531be60a84d5adb3dc2da442f3dea627908ae967e346c7b0defeaa938888108a501573a3a7824f2421142f9316ecf

                                                                                                    • /tmp/moni.lod

                                                                                                      Filesize

                                                                                                      4B

                                                                                                      MD5

                                                                                                      8f19793b2671094e63a15ab883d50137

                                                                                                      SHA1

                                                                                                      a20f01a742a1c4e4a9a79543bcd5388bd2244696

                                                                                                      SHA256

                                                                                                      c0bfde62b169890693f8a776ba2577b9522c6d1aa9dd96c65f50042f1f018616

                                                                                                      SHA512

                                                                                                      94caa095d9361f5384c8c3c9571277609826089a688326743a96c431d7554ca7525291776ae3eff3cf3b2cd267004c067279bcd7944f460b2e0e66a19af38a30

                                                                                                    • /tmp/notify.file

                                                                                                      Filesize

                                                                                                      51B

                                                                                                      MD5

                                                                                                      7b68b9fd9091d5de2a6f40adccb7952a

                                                                                                      SHA1

                                                                                                      c49c87369e5dc43e7fdd95d73f0c94d03e5618e0

                                                                                                      SHA256

                                                                                                      f0e7888bcf789ebae1df8f855570d0f5f470d67df345d42b07473fa09708084b

                                                                                                      SHA512

                                                                                                      1f4da5cbc3d9a420eac856b25988150f10e49866c1f59bf90280cf7dccdd88d8d810eaf94ef36362eb463af0420a12aba7176fb7e84ded71e206b767dfecad71

                                                                                                    • /usr/bin/bsd-port/getty

                                                                                                      Filesize

                                                                                                      1.2MB

                                                                                                      MD5

                                                                                                      3df5c5e26e2d9fd4946c8121299cd513

                                                                                                      SHA1

                                                                                                      efaa2e397773a5eda58a68ddce1d9e17a90fdbd3

                                                                                                      SHA256

                                                                                                      a17ca067bd6f74817a0516e6083c0739fc9b9e36aafd95b74fddc84343972cda

                                                                                                      SHA512

                                                                                                      9574af57a2984065c6c348f7242533211051c5e9e03c74d6926023c64f61805b4d28698a3c77c3c33ffe33b84f0224f308889a5071bfeca3557fd58043dcca78

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