Analysis

  • max time kernel
    149s
  • max time network
    149s
  • 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
    29-07-2024 19:51

General

  • Target

    5c45c50ba79bbf2b6b16a5cc68e34db1_JaffaCakes118

  • Size

    1.1MB

  • MD5

    5c45c50ba79bbf2b6b16a5cc68e34db1

  • SHA1

    b41a8b9a6c8968596e86fe20858c47b2c6d49150

  • SHA256

    50c5701fdd522d200d157989a20053b7df18bd4113e166ff42416961895d17da

  • SHA512

    9b769ddf3dc9ff033ae2d62bad298496dd9e606146264cfc7fecd9a4a4a7d7f3735ff7a38e8a0e8188b2c9931869c1e8d13766fd1a5c29a9c696da57de723502

  • SSDEEP

    24576:4vRE7caCfKGPqVEDNLFxKsfaKI+gIGYuuCol7r:4vREKfPqVE5jKsfaKRHGVo7r

Malware Config

Signatures

  • MrBlack Trojan

    IoT botnet which infects routers to be used for DDoS attacks.

  • MrBlack trojan 1 IoCs
  • Executes dropped EXE 2 IoCs
  • Modifies init.d 1 TTPs 2 IoCs

    Adds/modifies system service, likely for persistence.

  • Reads system routing table 1 TTPs 1 IoCs

    Gets active network interfaces from /proc virtual filesystem.

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

    Uses contents of /proc filesystem to enumerate network settings.

  • Reads runtime system information 24 IoCs

    Reads data from /proc virtual filesystem.

  • Writes file to tmp directory 8 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/5c45c50ba79bbf2b6b16a5cc68e34db1_JaffaCakes118
    /tmp/5c45c50ba79bbf2b6b16a5cc68e34db1_JaffaCakes118
    1⤵
    • Modifies init.d
    • Reads system routing table
    • Write file to user bin folder
    • Checks CPU configuration
    • Reads system network configuration
    • Reads runtime system information
    • Writes file to tmp directory
    PID:1565
    • /bin/sh
      sh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc1.d/S97VsystemsshMdt"
      2⤵
        PID:1577
        • /usr/bin/ln
          ln -s /etc/init.d/VsystemsshMdt /etc/rc1.d/S97VsystemsshMdt
          3⤵
            PID:1578
        • /bin/sh
          sh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc2.d/S97VsystemsshMdt"
          2⤵
            PID:1579
            • /usr/bin/ln
              ln -s /etc/init.d/VsystemsshMdt /etc/rc2.d/S97VsystemsshMdt
              3⤵
                PID:1580
            • /bin/sh
              sh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc3.d/S97VsystemsshMdt"
              2⤵
                PID:1581
                • /usr/bin/ln
                  ln -s /etc/init.d/VsystemsshMdt /etc/rc3.d/S97VsystemsshMdt
                  3⤵
                    PID:1582
                • /bin/sh
                  sh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc4.d/S97VsystemsshMdt"
                  2⤵
                    PID:1583
                    • /usr/bin/ln
                      ln -s /etc/init.d/VsystemsshMdt /etc/rc4.d/S97VsystemsshMdt
                      3⤵
                        PID:1584
                    • /bin/sh
                      sh -c "ln -s /etc/init.d/VsystemsshMdt /etc/rc5.d/S97VsystemsshMdt"
                      2⤵
                        PID:1585
                        • /usr/bin/ln
                          ln -s /etc/init.d/VsystemsshMdt /etc/rc5.d/S97VsystemsshMdt
                          3⤵
                            PID:1586
                        • /bin/sh
                          sh -c "mkdir -p /usr/bin/bsd-port"
                          2⤵
                            PID:1587
                            • /usr/bin/mkdir
                              mkdir -p /usr/bin/bsd-port
                              3⤵
                              • Reads runtime system information
                              PID:1588
                          • /bin/sh
                            sh -c "cp -f /tmp/5c45c50ba79bbf2b6b16a5cc68e34db1_JaffaCakes118 /usr/bin/bsd-port/knerl"
                            2⤵
                              PID:1589
                              • /usr/bin/cp
                                cp -f /tmp/5c45c50ba79bbf2b6b16a5cc68e34db1_JaffaCakes118 /usr/bin/bsd-port/knerl
                                3⤵
                                • Write file to user bin folder
                                • Reads runtime system information
                                PID:1590
                            • /bin/sh
                              sh -c /usr/bin/bsd-port/knerl
                              2⤵
                                PID:1592
                                • /usr/bin/bsd-port/knerl
                                  /usr/bin/bsd-port/knerl
                                  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:1593
                                  • /bin/sh
                                    sh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"
                                    4⤵
                                      PID:1608
                                      • /usr/bin/ln
                                        ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux
                                        5⤵
                                          PID:1609
                                      • /bin/sh
                                        sh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"
                                        4⤵
                                          PID:1610
                                          • /usr/bin/ln
                                            ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux
                                            5⤵
                                              PID:1611
                                          • /bin/sh
                                            sh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"
                                            4⤵
                                              PID:1612
                                              • /usr/bin/ln
                                                ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux
                                                5⤵
                                                  PID:1613
                                              • /bin/sh
                                                sh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"
                                                4⤵
                                                  PID:1615
                                                  • /usr/bin/ln
                                                    ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux
                                                    5⤵
                                                      PID:1616
                                                  • /bin/sh
                                                    sh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"
                                                    4⤵
                                                      PID:1617
                                                      • /usr/bin/ln
                                                        ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux
                                                        5⤵
                                                          PID:1618
                                                      • /bin/sh
                                                        sh -c "mkdir -p /usr/bin/dpkgd"
                                                        4⤵
                                                          PID:1619
                                                          • /usr/bin/mkdir
                                                            mkdir -p /usr/bin/dpkgd
                                                            5⤵
                                                            • Reads runtime system information
                                                            PID:1620
                                                        • /bin/sh
                                                          sh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"
                                                          4⤵
                                                            PID:1622
                                                            • /usr/bin/cp
                                                              cp -f /bin/lsof /usr/bin/dpkgd/lsof
                                                              5⤵
                                                              • Write file to user bin folder
                                                              • Reads runtime system information
                                                              PID:1623
                                                          • /bin/sh
                                                            sh -c "mkdir -p /bin"
                                                            4⤵
                                                              PID:1625
                                                              • /usr/bin/mkdir
                                                                mkdir -p /bin
                                                                5⤵
                                                                • Reads runtime system information
                                                                PID:1626
                                                            • /bin/sh
                                                              sh -c "cp -f /usr/bin/bsd-port/knerl /bin/lsof"
                                                              4⤵
                                                                PID:1627
                                                                • /usr/bin/cp
                                                                  cp -f /usr/bin/bsd-port/knerl /bin/lsof
                                                                  5⤵
                                                                  • Writes file to system bin folder
                                                                  • Reads runtime system information
                                                                  PID:1628
                                                              • /bin/sh
                                                                sh -c "chmod 0755 /bin/lsof"
                                                                4⤵
                                                                  PID:1629
                                                                  • /usr/bin/chmod
                                                                    chmod 0755 /bin/lsof
                                                                    5⤵
                                                                      PID:1630
                                                                  • /bin/sh
                                                                    sh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"
                                                                    4⤵
                                                                      PID:1632
                                                                      • /usr/bin/cp
                                                                        cp -f /bin/ps /usr/bin/dpkgd/ps
                                                                        5⤵
                                                                        • Write file to user bin folder
                                                                        • Reads runtime system information
                                                                        PID:1633
                                                                    • /bin/sh
                                                                      sh -c "mkdir -p /bin"
                                                                      4⤵
                                                                        PID:1635
                                                                        • /usr/bin/mkdir
                                                                          mkdir -p /bin
                                                                          5⤵
                                                                          • Reads runtime system information
                                                                          PID:1636
                                                                      • /bin/sh
                                                                        sh -c "cp -f /usr/bin/bsd-port/knerl /bin/ps"
                                                                        4⤵
                                                                          PID:1637
                                                                          • /usr/bin/cp
                                                                            cp -f /usr/bin/bsd-port/knerl /bin/ps
                                                                            5⤵
                                                                            • Writes file to system bin folder
                                                                            • Reads runtime system information
                                                                            PID:1638
                                                                        • /bin/sh
                                                                          sh -c "chmod 0755 /bin/ps"
                                                                          4⤵
                                                                            PID:1639
                                                                            • /usr/bin/chmod
                                                                              chmod 0755 /bin/ps
                                                                              5⤵
                                                                                PID:1640
                                                                            • /bin/sh
                                                                              sh -c "mkdir -p /usr/bin"
                                                                              4⤵
                                                                                PID:1641
                                                                                • /usr/bin/mkdir
                                                                                  mkdir -p /usr/bin
                                                                                  5⤵
                                                                                  • Reads runtime system information
                                                                                  PID:1642
                                                                              • /bin/sh
                                                                                sh -c "cp -f /usr/bin/bsd-port/knerl /usr/bin/lsof"
                                                                                4⤵
                                                                                  PID:1643
                                                                                  • /usr/bin/cp
                                                                                    cp -f /usr/bin/bsd-port/knerl /usr/bin/lsof
                                                                                    5⤵
                                                                                    • Write file to user bin folder
                                                                                    • Reads runtime system information
                                                                                    PID:1644
                                                                                • /bin/sh
                                                                                  sh -c "chmod 0755 /usr/bin/lsof"
                                                                                  4⤵
                                                                                    PID:1645
                                                                                    • /usr/bin/chmod
                                                                                      chmod 0755 /usr/bin/lsof
                                                                                      5⤵
                                                                                        PID:1646
                                                                                    • /bin/sh
                                                                                      sh -c "mkdir -p /usr/bin"
                                                                                      4⤵
                                                                                        PID:1647
                                                                                        • /usr/bin/mkdir
                                                                                          mkdir -p /usr/bin
                                                                                          5⤵
                                                                                          • Reads runtime system information
                                                                                          PID:1648
                                                                                      • /bin/sh
                                                                                        sh -c "cp -f /usr/bin/bsd-port/knerl /usr/bin/ps"
                                                                                        4⤵
                                                                                          PID:1649
                                                                                          • /usr/bin/cp
                                                                                            cp -f /usr/bin/bsd-port/knerl /usr/bin/ps
                                                                                            5⤵
                                                                                            • Write file to user bin folder
                                                                                            • Reads runtime system information
                                                                                            PID:1650
                                                                                        • /bin/sh
                                                                                          sh -c "chmod 0755 /usr/bin/ps"
                                                                                          4⤵
                                                                                            PID:1651
                                                                                            • /usr/bin/chmod
                                                                                              chmod 0755 /usr/bin/ps
                                                                                              5⤵
                                                                                                PID:1652
                                                                                            • /bin/sh
                                                                                              sh -c "insmod /usr/lib/xpacket.ko"
                                                                                              4⤵
                                                                                                PID:1653
                                                                                                • /usr/sbin/insmod
                                                                                                  insmod /usr/lib/xpacket.ko
                                                                                                  5⤵
                                                                                                  • Reads runtime system information
                                                                                                  PID:1654
                                                                                          • /bin/sh
                                                                                            sh -c "mkdir -p /usr/bin"
                                                                                            2⤵
                                                                                              PID:1595
                                                                                              • /usr/bin/mkdir
                                                                                                mkdir -p /usr/bin
                                                                                                3⤵
                                                                                                • Reads runtime system information
                                                                                                PID:1596
                                                                                            • /bin/sh
                                                                                              sh -c "cp -f /tmp/5c45c50ba79bbf2b6b16a5cc68e34db1_JaffaCakes118 /usr/bin/pythno"
                                                                                              2⤵
                                                                                                PID:1597
                                                                                                • /usr/bin/cp
                                                                                                  cp -f /tmp/5c45c50ba79bbf2b6b16a5cc68e34db1_JaffaCakes118 /usr/bin/pythno
                                                                                                  3⤵
                                                                                                  • Write file to user bin folder
                                                                                                  • Reads runtime system information
                                                                                                  PID:1598
                                                                                              • /bin/sh
                                                                                                sh -c /usr/bin/pythno
                                                                                                2⤵
                                                                                                  PID:1600
                                                                                                  • /usr/bin/pythno
                                                                                                    /usr/bin/pythno
                                                                                                    3⤵
                                                                                                    • Executes dropped EXE
                                                                                                    • Reads runtime system information
                                                                                                    • Writes file to tmp directory
                                                                                                    PID:1601
                                                                                                • /bin/sh
                                                                                                  sh -c "insmod /usr/lib/xpacket.ko"
                                                                                                  2⤵
                                                                                                    PID:1603
                                                                                                    • /usr/sbin/insmod
                                                                                                      insmod /usr/lib/xpacket.ko
                                                                                                      3⤵
                                                                                                      • Reads runtime system information
                                                                                                      PID:1604

                                                                                                Network

                                                                                                MITRE ATT&CK Enterprise v15

                                                                                                Replay Monitor

                                                                                                Loading Replay Monitor...

                                                                                                Downloads

                                                                                                • /etc/init.d/VsystemsshMdt

                                                                                                  Filesize

                                                                                                  64B

                                                                                                  MD5

                                                                                                  5dfcd687354ef319b73a2af531e36355

                                                                                                  SHA1

                                                                                                  f28900dea9a1cabaa4c3e14274bb610ab3e0d6d1

                                                                                                  SHA256

                                                                                                  a3ebb5ef7f9fa6e8331a4e39e650d689ee568b30024c02e8d2ccbeb923415ea4

                                                                                                  SHA512

                                                                                                  c08b27080536ffe98a6a7cefa89627a8e9f8c002aeeae06f8d8c6be469c31348f026551a370d812a8bd54838480c11608dbb70e9764fac672af0c2eabe543dc4

                                                                                                • /etc/init.d/selinux

                                                                                                  Filesize

                                                                                                  36B

                                                                                                  MD5

                                                                                                  caa27b819c9303446f702929874a00e8

                                                                                                  SHA1

                                                                                                  d24199c0e376edea3f822b215148cc0dc78364bf

                                                                                                  SHA256

                                                                                                  da9b535a14c6d9152857e211f14fb8da9056e84ba1b8d4dc27ab79c98264050b

                                                                                                  SHA512

                                                                                                  dcd9413eb2cb24d77f637edfc00ca0bb42229a1a3b0d84e29eff94a7b91aee6ee8c126c286a4b4103e01834d1c6aec9de09ffab3927e8de8015421005f31446e

                                                                                                • /tmp/conf.n

                                                                                                  Filesize

                                                                                                  69B

                                                                                                  MD5

                                                                                                  63a301ad97bab469e885ce5e67cc0de6

                                                                                                  SHA1

                                                                                                  f9e2900df797be2ff4911b7d36788412e3bf4748

                                                                                                  SHA256

                                                                                                  9279e7b6573b4b9fe816982608f2cf9f9f0b47068eaf547fa7b2eeae2ef82dd3

                                                                                                  SHA512

                                                                                                  53fe0c43cefb9a3ec9a2d1131d2bff886e74c666c40e34893db6c5357e2af38e723fc11690d9a9778209349bef793cedf0c335f1176029956e104adfc0fbf4fd

                                                                                                • /tmp/idus.log

                                                                                                  Filesize

                                                                                                  4B

                                                                                                  MD5

                                                                                                  1bc0249a6412ef49b07fe6f62e6dc8de

                                                                                                  SHA1

                                                                                                  61f348dbfc99215070417b9d49da662cfd0671ef

                                                                                                  SHA256

                                                                                                  2f57a2e309c463513b962750096f4389e229001dccc19afcb95ff98c70e14d09

                                                                                                  SHA512

                                                                                                  e51fc38acc801d470d658cb9ec9f66f4a8cbcd96fb613c20bc43bbd4162ccd6c7bd223a5832f7e8eeadaa3a946a587b76c3c2e1eb1d16e6eb63ece3cbec0aa1c

                                                                                                • /tmp/notify.file

                                                                                                  Filesize

                                                                                                  51B

                                                                                                  MD5

                                                                                                  3ff1291df61d05b9ef6439d9e5eb879c

                                                                                                  SHA1

                                                                                                  615add0601a8580311a61213f21860ec20dc6097

                                                                                                  SHA256

                                                                                                  9a15246a48da10d66eac55450945c4233dd2ccebe830294fa13eb67e913867bc

                                                                                                  SHA512

                                                                                                  78b1dbc45af7afa128a8725f0bcca41890c41b2dca98ade9497c14318d9488de0d585f4988571f3fd6d053062dd57b573feb1c826636b0b95b44a6a06c45fc9d

                                                                                                • /tmp/vga.conf

                                                                                                  Filesize

                                                                                                  4B

                                                                                                  MD5

                                                                                                  be53ee61104935234b174e62a07e53cf

                                                                                                  SHA1

                                                                                                  150afba2f606bf3e450d7dbfba16c6673580cb77

                                                                                                  SHA256

                                                                                                  a9ffbdf317b2dabf198f59653da551149ad51173b2014ae1df5d183c2ddfcf26

                                                                                                  SHA512

                                                                                                  be6aab77ff13b95b184c78f1e5fd75e661c1d5817b96d9c914f32e016ce9de260423934e48ec592bc8a0caf5f39e79fb584be0f779fe51c4b991afde8b623428

                                                                                                • /usr/bin/bsd-port/knerl

                                                                                                  Filesize

                                                                                                  1.1MB

                                                                                                  MD5

                                                                                                  5c45c50ba79bbf2b6b16a5cc68e34db1

                                                                                                  SHA1

                                                                                                  b41a8b9a6c8968596e86fe20858c47b2c6d49150

                                                                                                  SHA256

                                                                                                  50c5701fdd522d200d157989a20053b7df18bd4113e166ff42416961895d17da

                                                                                                  SHA512

                                                                                                  9b769ddf3dc9ff033ae2d62bad298496dd9e606146264cfc7fecd9a4a4a7d7f3735ff7a38e8a0e8188b2c9931869c1e8d13766fd1a5c29a9c696da57de723502

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