Analysis

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

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

General

  • Target

    37aeb312f99bda9d77797c65efa8235d_JaffaCakes118

  • Size

    1.2MB

  • MD5

    37aeb312f99bda9d77797c65efa8235d

  • SHA1

    ae68f9f5de15748ca8946215b67e4d83dbbd7f1a

  • SHA256

    46fdad450a9e8552e956850fed6b788b82a8f97a43543e0e6d079f44b2570d27

  • SHA512

    9f8a1dd5fae8cd17624ef55afd1c5dad6f2c906c98f68aab78c50c024af967bfa9673e798b56bfd825fcbbaf6576d7d65c4f53e91c078a010b1d5b42b4f3e9dc

  • SSDEEP

    24576:e845rGHu6gVJKG75oFpA0VWIX4O2y1q2rJp0:745vRVJKGtSA0VWIotu9p0

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

                                                                                                    Network

                                                                                                    MITRE ATT&CK Enterprise v15

                                                                                                    Replay Monitor

                                                                                                    Loading Replay Monitor...

                                                                                                    Downloads

                                                                                                    • /etc/init.d/DbSecuritySpt

                                                                                                      Filesize

                                                                                                      64B

                                                                                                      MD5

                                                                                                      89486e8edb5c65010744c163c59087ed

                                                                                                      SHA1

                                                                                                      72f9ec4b99af9daef62eb666a5d5d7501d758115

                                                                                                      SHA256

                                                                                                      237227c17a45bb1020af91bb519e200cdee6b11b3c17e10c9a0d4f9f69f4b62d

                                                                                                      SHA512

                                                                                                      f8bfca836bf346f05d826066b40a8fe6c090047899145d2243bb106ec48f640f2362ccbc13fed39b79dc6405279888c60bfd54fcba5627b4fcab110359484cdc

                                                                                                    • /etc/init.d/selinux

                                                                                                      Filesize

                                                                                                      36B

                                                                                                      MD5

                                                                                                      993cc15058142d96c3daf7852c3d5ee8

                                                                                                      SHA1

                                                                                                      0950b8b391b04dd3895ea33cd3141543ebd2525d

                                                                                                      SHA256

                                                                                                      8171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208

                                                                                                      SHA512

                                                                                                      0c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928

                                                                                                    • /tmp/gates.lod

                                                                                                      Filesize

                                                                                                      4B

                                                                                                      MD5

                                                                                                      0c8ce55163055c4da50a81e0a273468c

                                                                                                      SHA1

                                                                                                      e6cfa8e4a054b888d7a80898d1a7092aa631a302

                                                                                                      SHA256

                                                                                                      a3513549948fbfecfa1ff0300bf3339f9b1ebff77c9fc831b3c83236a4814d61

                                                                                                      SHA512

                                                                                                      2c1c4bd60f09a5a69d930f009f426e99067ef3a638165c87fb439d0aed5949e5a002a12c5ff6df12e57e832be884424a39cfafc370796f500507948c662444ec

                                                                                                    • /tmp/moni.lod

                                                                                                      Filesize

                                                                                                      4B

                                                                                                      MD5

                                                                                                      228499b55310264a8ea0e27b6e7c6ab6

                                                                                                      SHA1

                                                                                                      178116e63a31913ab6da9ab6d92cb510dea7964c

                                                                                                      SHA256

                                                                                                      9c8dd327d0f259b6facd68100f664c432101f783d31ac9b78b6e9eaf9fa786b8

                                                                                                      SHA512

                                                                                                      2efeadcee6aa3eb7e370b8e05d12c7269d92180eda2f8665b8663888ed85a4caecf6ed31e5a070de68f43a76b7a24f4cb0b2e6f3f9c017df05f77e6a6bd93c0f

                                                                                                    • /tmp/notify.file

                                                                                                      Filesize

                                                                                                      51B

                                                                                                      MD5

                                                                                                      902f97c76bb2825ac0c6dc858504d2db

                                                                                                      SHA1

                                                                                                      d43cdeaf0518d57e12726d8e23194ad23fbbfc85

                                                                                                      SHA256

                                                                                                      1c1708586c719a5de429b7e4b657b8744c4a77c71c601fda5061e10b801ac92c

                                                                                                      SHA512

                                                                                                      ae88fd2fca39cfaf2c1f72266629b2146cab7634a637a61d4a324b28250dccb345fa8d041b7b1f8be788ebe2a881d2892b20692ca8057af911dbdc414e8da6de

                                                                                                    • /usr/bin/bsd-port/conf.n

                                                                                                      Filesize

                                                                                                      73B

                                                                                                      MD5

                                                                                                      78168440b805769d7d124c062b5bfff2

                                                                                                      SHA1

                                                                                                      ffae1df802a6a842279db677db255552818e7ac6

                                                                                                      SHA256

                                                                                                      7a2447a4be0a193adba5c2e4f0a1f90fa6338d86de3dbfc12fc76064b8d4b677

                                                                                                      SHA512

                                                                                                      55d4c3c71c194f9746bc7ff0aa1f5cda46bc98d09847e45009b1bd4544fe36026f0267e304910f78a77294c256c9a7aa870adc69d084b8a949bb6b547c9799dd

                                                                                                    • /usr/bin/bsd-port/getty

                                                                                                      Filesize

                                                                                                      1.2MB

                                                                                                      MD5

                                                                                                      37aeb312f99bda9d77797c65efa8235d

                                                                                                      SHA1

                                                                                                      ae68f9f5de15748ca8946215b67e4d83dbbd7f1a

                                                                                                      SHA256

                                                                                                      46fdad450a9e8552e956850fed6b788b82a8f97a43543e0e6d079f44b2570d27

                                                                                                      SHA512

                                                                                                      9f8a1dd5fae8cd17624ef55afd1c5dad6f2c906c98f68aab78c50c024af967bfa9673e798b56bfd825fcbbaf6576d7d65c4f53e91c078a010b1d5b42b4f3e9dc

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