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
    28-07-2024 23:03

General

  • Target

    298049890e2f02ba6a507f8d73c7f7dc_JaffaCakes118

  • Size

    1.2MB

  • MD5

    298049890e2f02ba6a507f8d73c7f7dc

  • SHA1

    76ec00fe09b85c2cb1df9363e2919705190f35c5

  • SHA256

    19ba3b2658b0bc0fed89b30286bc28c2d4296cb27c2d758f78596be138317b60

  • SHA512

    1b38b290c3b12078c7cdff7f97a2ce59069671fa0f94ce72d108b0ed366567a1d038e80a0f5e204e578513c1233ca79ff5b655fef92f2ef9767322bb852aed1f

  • SSDEEP

    24576:e845rGHu6gVJKG75oFpA0VWeX402y1q2rJp0:745vRVJKGtSA0VWeobu9p0

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

                                                                                                    Network

                                                                                                    MITRE ATT&CK Enterprise v15

                                                                                                    Replay Monitor

                                                                                                    Loading Replay Monitor...

                                                                                                    Downloads

                                                                                                    • /etc/init.d/DbSecuritySpt

                                                                                                      Filesize

                                                                                                      64B

                                                                                                      MD5

                                                                                                      e47867ffb111644c75f5e21ffb6c256b

                                                                                                      SHA1

                                                                                                      91a569aa94c84e8121e4ffa737a54516c4ace7f4

                                                                                                      SHA256

                                                                                                      87199de381962c9fe7e422cc78e0d2ee8d1553ca49a4c4d69af95cf1ae95b87c

                                                                                                      SHA512

                                                                                                      36a57d305db2124f90a780c4c2e06405c56cb403300b9ee59522e2cbc1fe6565dab8a4a3afec6b88c6a376e9ad47e9a0be94097ce5989d6355e5fa316a6058b6

                                                                                                    • /etc/init.d/selinux

                                                                                                      Filesize

                                                                                                      36B

                                                                                                      MD5

                                                                                                      993cc15058142d96c3daf7852c3d5ee8

                                                                                                      SHA1

                                                                                                      0950b8b391b04dd3895ea33cd3141543ebd2525d

                                                                                                      SHA256

                                                                                                      8171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208

                                                                                                      SHA512

                                                                                                      0c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928

                                                                                                    • /tmp/gates.lod

                                                                                                      Filesize

                                                                                                      4B

                                                                                                      MD5

                                                                                                      81c8727c62e800be708dbf37c4695dff

                                                                                                      SHA1

                                                                                                      42e12cb7198394beb558db2dc1f1a862366e1045

                                                                                                      SHA256

                                                                                                      4091f2c5c45d0cb95c6b43919f9f07f62f7f6c6fb46ca207264b2aee4ee6e4f9

                                                                                                      SHA512

                                                                                                      a6bb8360a59413364b955cde894976b6f7401d2b07296bf964d224eef87032ac500dccc76b01c445d8e85692d555ae28d672929376e32fe9cf80bb721b9d1632

                                                                                                    • /tmp/moni.lod

                                                                                                      Filesize

                                                                                                      4B

                                                                                                      MD5

                                                                                                      d72fbbccd9fe64c3a14f85d225a046f4

                                                                                                      SHA1

                                                                                                      348e495881ef4526fe8e38dba4ceaa49b829b8b2

                                                                                                      SHA256

                                                                                                      8cca04ee02b8915f60a6b72c1faf19923aa12aafb5af89bc4bfd403dc60a836b

                                                                                                      SHA512

                                                                                                      02107aa7dc8942af948b790560f406445e172eff5c838b73d0eb8d86e3021ff4bcbb310a5f3290b3ff6e46170cd36e2df76fc373b47e3b8e9f219c6f6e22d85f

                                                                                                    • /tmp/notify.file

                                                                                                      Filesize

                                                                                                      51B

                                                                                                      MD5

                                                                                                      24e3af5a5a141b05b55f5819599c7610

                                                                                                      SHA1

                                                                                                      b27dbfa658c4dc98de080d017c159669c191345b

                                                                                                      SHA256

                                                                                                      1d4feb162c8fea7b97ab25c407869dea5c1c7e96d4d80b7dfee2791ef0712b44

                                                                                                      SHA512

                                                                                                      383f3381d3cda0155cd14e90d81dce186ec96356887b82554af4a426e9492d976892a1cad46e7fc6e8b6b9b064156a1d43022fdd470f4323272bcabdb29b6f7b

                                                                                                    • /usr/bin/bsd-port/getty

                                                                                                      Filesize

                                                                                                      1.2MB

                                                                                                      MD5

                                                                                                      298049890e2f02ba6a507f8d73c7f7dc

                                                                                                      SHA1

                                                                                                      76ec00fe09b85c2cb1df9363e2919705190f35c5

                                                                                                      SHA256

                                                                                                      19ba3b2658b0bc0fed89b30286bc28c2d4296cb27c2d758f78596be138317b60

                                                                                                      SHA512

                                                                                                      1b38b290c3b12078c7cdff7f97a2ce59069671fa0f94ce72d108b0ed366567a1d038e80a0f5e204e578513c1233ca79ff5b655fef92f2ef9767322bb852aed1f

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