Analysis

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

    arch:amd64arch:i386image:ubuntu2204-amd64-20240611-enkernel:5.15.0-105-genericlocale:en-usos:ubuntu-22.04-amd64system
  • submitted
    29-07-2024 20:57

General

  • Target

    5fb3a167cd8e1d7bf2fa5aba1885d6fe_JaffaCakes118

  • Size

    1.1MB

  • MD5

    5fb3a167cd8e1d7bf2fa5aba1885d6fe

  • SHA1

    f41e8f5d9bf939d06ce68e0178200af96ec0752b

  • SHA256

    5ed4f4153647ba4ba860a06b80748786524a6c923f7323fac9e0033faa673682

  • SHA512

    21767a0fdf7953d9ffc592cee989cf0796bb31fc2916dd3c0de8eaa62c5a1a61a9fcaffa1fa9134d6918a139ec5f69634c394752024d1371a5fb35fae1aed294

  • SSDEEP

    24576:4vRE7caCfKGPqVEDNLFxKsfajI+gIGYuuCol7r:4vREKfPqVE5jKsfajRHGVo7r

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/5fb3a167cd8e1d7bf2fa5aba1885d6fe_JaffaCakes118
    /tmp/5fb3a167cd8e1d7bf2fa5aba1885d6fe_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:1559
    • /bin/sh
      sh -c "ln -s /etc/init.d/QsystemsshMmt /etc/rc1.d/S97QsystemsshMmt"
      2⤵
        PID:1574
        • /usr/bin/ln
          ln -s /etc/init.d/QsystemsshMmt /etc/rc1.d/S97QsystemsshMmt
          3⤵
            PID:1575
        • /bin/sh
          sh -c "ln -s /etc/init.d/QsystemsshMmt /etc/rc2.d/S97QsystemsshMmt"
          2⤵
            PID:1576
            • /usr/bin/ln
              ln -s /etc/init.d/QsystemsshMmt /etc/rc2.d/S97QsystemsshMmt
              3⤵
                PID:1577
            • /bin/sh
              sh -c "ln -s /etc/init.d/QsystemsshMmt /etc/rc3.d/S97QsystemsshMmt"
              2⤵
                PID:1578
                • /usr/bin/ln
                  ln -s /etc/init.d/QsystemsshMmt /etc/rc3.d/S97QsystemsshMmt
                  3⤵
                    PID:1579
                • /bin/sh
                  sh -c "ln -s /etc/init.d/QsystemsshMmt /etc/rc4.d/S97QsystemsshMmt"
                  2⤵
                    PID:1580
                    • /usr/bin/ln
                      ln -s /etc/init.d/QsystemsshMmt /etc/rc4.d/S97QsystemsshMmt
                      3⤵
                        PID:1581
                    • /bin/sh
                      sh -c "ln -s /etc/init.d/QsystemsshMmt /etc/rc5.d/S97QsystemsshMmt"
                      2⤵
                        PID:1582
                        • /usr/bin/ln
                          ln -s /etc/init.d/QsystemsshMmt /etc/rc5.d/S97QsystemsshMmt
                          3⤵
                            PID:1583
                        • /bin/sh
                          sh -c "mkdir -p /usr/bin/bsd-port"
                          2⤵
                            PID:1584
                            • /usr/bin/mkdir
                              mkdir -p /usr/bin/bsd-port
                              3⤵
                              • Reads runtime system information
                              PID:1585
                          • /bin/sh
                            sh -c "cp -f /tmp/5fb3a167cd8e1d7bf2fa5aba1885d6fe_JaffaCakes118 /usr/bin/bsd-port/knerl"
                            2⤵
                              PID:1586
                              • /usr/bin/cp
                                cp -f /tmp/5fb3a167cd8e1d7bf2fa5aba1885d6fe_JaffaCakes118 /usr/bin/bsd-port/knerl
                                3⤵
                                • Write file to user bin folder
                                • Reads runtime system information
                                PID:1587
                            • /bin/sh
                              sh -c /usr/bin/bsd-port/knerl
                              2⤵
                                PID:1589
                                • /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:1590
                                  • /bin/sh
                                    sh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"
                                    4⤵
                                      PID:1605
                                      • /usr/bin/ln
                                        ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux
                                        5⤵
                                          PID:1606
                                      • /bin/sh
                                        sh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"
                                        4⤵
                                          PID:1607
                                          • /usr/bin/ln
                                            ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux
                                            5⤵
                                              PID:1608
                                          • /bin/sh
                                            sh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"
                                            4⤵
                                              PID:1609
                                              • /usr/bin/ln
                                                ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux
                                                5⤵
                                                  PID:1610
                                              • /bin/sh
                                                sh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"
                                                4⤵
                                                  PID:1611
                                                  • /usr/bin/ln
                                                    ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux
                                                    5⤵
                                                      PID:1613
                                                  • /bin/sh
                                                    sh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"
                                                    4⤵
                                                      PID:1614
                                                      • /usr/bin/ln
                                                        ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux
                                                        5⤵
                                                          PID:1615
                                                      • /bin/sh
                                                        sh -c "mkdir -p /usr/bin/dpkgd"
                                                        4⤵
                                                          PID:1616
                                                          • /usr/bin/mkdir
                                                            mkdir -p /usr/bin/dpkgd
                                                            5⤵
                                                            • Reads runtime system information
                                                            PID:1617
                                                        • /bin/sh
                                                          sh -c "cp -f /bin/lsof /usr/bin/dpkgd/lsof"
                                                          4⤵
                                                            PID:1618
                                                            • /usr/bin/cp
                                                              cp -f /bin/lsof /usr/bin/dpkgd/lsof
                                                              5⤵
                                                              • Write file to user bin folder
                                                              • Reads runtime system information
                                                              PID:1619
                                                          • /bin/sh
                                                            sh -c "mkdir -p /bin"
                                                            4⤵
                                                              PID:1621
                                                              • /usr/bin/mkdir
                                                                mkdir -p /bin
                                                                5⤵
                                                                • Reads runtime system information
                                                                PID:1622
                                                            • /bin/sh
                                                              sh -c "cp -f /usr/bin/bsd-port/knerl /bin/lsof"
                                                              4⤵
                                                                PID:1623
                                                                • /usr/bin/cp
                                                                  cp -f /usr/bin/bsd-port/knerl /bin/lsof
                                                                  5⤵
                                                                  • Writes file to system bin folder
                                                                  • Reads runtime system information
                                                                  PID:1624
                                                              • /bin/sh
                                                                sh -c "chmod 0755 /bin/lsof"
                                                                4⤵
                                                                  PID:1626
                                                                  • /usr/bin/chmod
                                                                    chmod 0755 /bin/lsof
                                                                    5⤵
                                                                      PID:1627
                                                                  • /bin/sh
                                                                    sh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"
                                                                    4⤵
                                                                      PID:1628
                                                                      • /usr/bin/cp
                                                                        cp -f /bin/ps /usr/bin/dpkgd/ps
                                                                        5⤵
                                                                        • Write file to user bin folder
                                                                        • Reads runtime system information
                                                                        PID:1629
                                                                    • /bin/sh
                                                                      sh -c "mkdir -p /bin"
                                                                      4⤵
                                                                        PID:1630
                                                                        • /usr/bin/mkdir
                                                                          mkdir -p /bin
                                                                          5⤵
                                                                          • Reads runtime system information
                                                                          PID:1631
                                                                      • /bin/sh
                                                                        sh -c "cp -f /usr/bin/bsd-port/knerl /bin/ps"
                                                                        4⤵
                                                                          PID:1632
                                                                          • /usr/bin/cp
                                                                            cp -f /usr/bin/bsd-port/knerl /bin/ps
                                                                            5⤵
                                                                            • Writes file to system bin folder
                                                                            • Reads runtime system information
                                                                            PID:1633
                                                                        • /bin/sh
                                                                          sh -c "chmod 0755 /bin/ps"
                                                                          4⤵
                                                                            PID:1635
                                                                            • /usr/bin/chmod
                                                                              chmod 0755 /bin/ps
                                                                              5⤵
                                                                                PID:1636
                                                                            • /bin/sh
                                                                              sh -c "mkdir -p /usr/bin"
                                                                              4⤵
                                                                                PID:1637
                                                                                • /usr/bin/mkdir
                                                                                  mkdir -p /usr/bin
                                                                                  5⤵
                                                                                  • Reads runtime system information
                                                                                  PID:1638
                                                                              • /bin/sh
                                                                                sh -c "cp -f /usr/bin/bsd-port/knerl /usr/bin/lsof"
                                                                                4⤵
                                                                                  PID:1639
                                                                                  • /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:1640
                                                                                • /bin/sh
                                                                                  sh -c "chmod 0755 /usr/bin/lsof"
                                                                                  4⤵
                                                                                    PID:1641
                                                                                    • /usr/bin/chmod
                                                                                      chmod 0755 /usr/bin/lsof
                                                                                      5⤵
                                                                                        PID:1642
                                                                                    • /bin/sh
                                                                                      sh -c "mkdir -p /usr/bin"
                                                                                      4⤵
                                                                                        PID:1643
                                                                                        • /usr/bin/mkdir
                                                                                          mkdir -p /usr/bin
                                                                                          5⤵
                                                                                          • Reads runtime system information
                                                                                          PID:1644
                                                                                      • /bin/sh
                                                                                        sh -c "cp -f /usr/bin/bsd-port/knerl /usr/bin/ps"
                                                                                        4⤵
                                                                                          PID:1646
                                                                                          • /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:1647
                                                                                        • /bin/sh
                                                                                          sh -c "chmod 0755 /usr/bin/ps"
                                                                                          4⤵
                                                                                            PID:1648
                                                                                            • /usr/bin/chmod
                                                                                              chmod 0755 /usr/bin/ps
                                                                                              5⤵
                                                                                                PID:1649
                                                                                            • /bin/sh
                                                                                              sh -c "insmod /usr/lib/xpacket.ko"
                                                                                              4⤵
                                                                                                PID:1650
                                                                                                • /usr/sbin/insmod
                                                                                                  insmod /usr/lib/xpacket.ko
                                                                                                  5⤵
                                                                                                  • Reads runtime system information
                                                                                                  PID:1651
                                                                                          • /bin/sh
                                                                                            sh -c "mkdir -p /usr/bin"
                                                                                            2⤵
                                                                                              PID:1592
                                                                                              • /usr/bin/mkdir
                                                                                                mkdir -p /usr/bin
                                                                                                3⤵
                                                                                                • Reads runtime system information
                                                                                                PID:1593
                                                                                            • /bin/sh
                                                                                              sh -c "cp -f /tmp/5fb3a167cd8e1d7bf2fa5aba1885d6fe_JaffaCakes118 /usr/bin/.sshd"
                                                                                              2⤵
                                                                                                PID:1594
                                                                                                • /usr/bin/cp
                                                                                                  cp -f /tmp/5fb3a167cd8e1d7bf2fa5aba1885d6fe_JaffaCakes118 /usr/bin/.sshd
                                                                                                  3⤵
                                                                                                  • Write file to user bin folder
                                                                                                  • Reads runtime system information
                                                                                                  PID:1595
                                                                                              • /bin/sh
                                                                                                sh -c /usr/bin/.sshd
                                                                                                2⤵
                                                                                                  PID:1597
                                                                                                  • /usr/bin/.sshd
                                                                                                    /usr/bin/.sshd
                                                                                                    3⤵
                                                                                                    • Executes dropped EXE
                                                                                                    • Reads runtime system information
                                                                                                    • Writes file to tmp directory
                                                                                                    PID:1598
                                                                                                • /bin/sh
                                                                                                  sh -c "insmod /usr/lib/xpacket.ko"
                                                                                                  2⤵
                                                                                                    PID:1600
                                                                                                    • /usr/sbin/insmod
                                                                                                      insmod /usr/lib/xpacket.ko
                                                                                                      3⤵
                                                                                                      • Reads runtime system information
                                                                                                      PID:1601

                                                                                                Network

                                                                                                MITRE ATT&CK Enterprise v15

                                                                                                Replay Monitor

                                                                                                Loading Replay Monitor...

                                                                                                Downloads

                                                                                                • /etc/init.d/QsystemsshMmt

                                                                                                  Filesize

                                                                                                  64B

                                                                                                  MD5

                                                                                                  5422f34fc81d5be76c3a9e0340981ca7

                                                                                                  SHA1

                                                                                                  4c2525452e689c74d35249ff22d1ec162a3e8984

                                                                                                  SHA256

                                                                                                  6fd625405f72afb1426780779d745643320714dd6e7c3c0110e8b75ca6d6f58a

                                                                                                  SHA512

                                                                                                  e940453072b66f9f7ca2fc83588defb676cd6165878054537e86a6ba344fcebbadd5be5fa6f169699e9a6c722f1d7ef3489515848b30c13a5e7c8972b811c9fe

                                                                                                • /etc/init.d/selinux

                                                                                                  Filesize

                                                                                                  36B

                                                                                                  MD5

                                                                                                  caa27b819c9303446f702929874a00e8

                                                                                                  SHA1

                                                                                                  d24199c0e376edea3f822b215148cc0dc78364bf

                                                                                                  SHA256

                                                                                                  da9b535a14c6d9152857e211f14fb8da9056e84ba1b8d4dc27ab79c98264050b

                                                                                                  SHA512

                                                                                                  dcd9413eb2cb24d77f637edfc00ca0bb42229a1a3b0d84e29eff94a7b91aee6ee8c126c286a4b4103e01834d1c6aec9de09ffab3927e8de8015421005f31446e

                                                                                                • /tmp/Dest.cfg

                                                                                                  Filesize

                                                                                                  4B

                                                                                                  MD5

                                                                                                  3a20f62a0af1aa152670bab3c602feed

                                                                                                  SHA1

                                                                                                  062dd0f773cd5999a09714a371e1f8017163e2a1

                                                                                                  SHA256

                                                                                                  c649b15e769148e6b199b7a671140d60c77847fce6fe17277723dc91f0b27d4c

                                                                                                  SHA512

                                                                                                  419f66b1afde60779300c3cb662c238c1bfad252c9db934512fa5af99f598c27dffdb1b3514fc254dc947a0080a0484a84ff12ed9aae5ca491091fec39989b86

                                                                                                • /tmp/conf.n

                                                                                                  Filesize

                                                                                                  69B

                                                                                                  MD5

                                                                                                  98f7868b1d672db13c553f8961abc70d

                                                                                                  SHA1

                                                                                                  591895eb33e70d40cf634980b573c9bbdc5f25c7

                                                                                                  SHA256

                                                                                                  19725ae3b1111de5679167fe037808ba436dccc5a742bd388ed4c5159539542a

                                                                                                  SHA512

                                                                                                  413a0fb82873659678b9dfbfc93ffdc39562bb3b7f4ab387e4e17586fc9a5eeb43a09f9f68fe44d16d9167cce3a48f2ae09bea10d2f1db141668a1fb57ea9560

                                                                                                • /tmp/notify.file

                                                                                                  Filesize

                                                                                                  51B

                                                                                                  MD5

                                                                                                  3f70f7496dbe61a06bf3c44852611c21

                                                                                                  SHA1

                                                                                                  7643042a6bcaf2d76e4572ce4f5a4329c5bc0742

                                                                                                  SHA256

                                                                                                  cf16c0c8501cf4423d20ef42e979d980b93adfc8c3b6460f69c2e8d3cf8a462c

                                                                                                  SHA512

                                                                                                  62d915af249f6b49527fd4d6e2c30b7d5ab429ba8d3f7d2d63ca7f44bf9d4cda8902173fc8ce4201cd3abc0d98bdd5f801e327ddd038b586a918c20b92a4adac

                                                                                                • /usr/bin/bsd-port/knerl

                                                                                                  Filesize

                                                                                                  1.1MB

                                                                                                  MD5

                                                                                                  5fb3a167cd8e1d7bf2fa5aba1885d6fe

                                                                                                  SHA1

                                                                                                  f41e8f5d9bf939d06ce68e0178200af96ec0752b

                                                                                                  SHA256

                                                                                                  5ed4f4153647ba4ba860a06b80748786524a6c923f7323fac9e0033faa673682

                                                                                                  SHA512

                                                                                                  21767a0fdf7953d9ffc592cee989cf0796bb31fc2916dd3c0de8eaa62c5a1a61a9fcaffa1fa9134d6918a139ec5f69634c394752024d1371a5fb35fae1aed294

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