Analysis

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

    arch:amd64arch:i386image:ubuntu1804-amd64-20240611-enkernel:4.15.0-213-genericlocale:en-usos:ubuntu-18.04-amd64system
  • submitted
    15-08-2024 10:14

General

  • Target

    99dd48584152704db970a7b536c47bd5_JaffaCakes118

  • Size

    1.2MB

  • MD5

    99dd48584152704db970a7b536c47bd5

  • SHA1

    eac36532779460580cd80e8f3d22e324bae71494

  • SHA256

    544d2f9e21eb2892b5d2bd0135cb2b7a7e9d35983eed1ecbf45e71e89f4fb0a7

  • SHA512

    34bcb7f4bbc1cb74f0ef6f6d8c04c12987d0d5756cf148cb79f7448891fc46c37d08a816ebb9e4fda3dc62befafc42aadd863956699cd2c82a35279e0bd94025

  • SSDEEP

    24576:e845rGHu6gVJKG75oFpA0VWeX4/2y1q2rJp0:745vRVJKGtSA0VWeo+u9p0

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 2 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 6 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 8 IoCs

    Malware often drops required files in the /tmp directory.

Processes

  • /tmp/99dd48584152704db970a7b536c47bd5_JaffaCakes118
    /tmp/99dd48584152704db970a7b536c47bd5_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:1483
    • /bin/sh
      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt"
      2⤵
        PID:1496
        • /bin/ln
          ln -s /etc/init.d/DbSecuritySpt /etc/rc1.d/S97DbSecuritySpt
          3⤵
            PID:1497
        • /bin/sh
          sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt"
          2⤵
            PID:1498
            • /bin/ln
              ln -s /etc/init.d/DbSecuritySpt /etc/rc2.d/S97DbSecuritySpt
              3⤵
                PID:1499
            • /bin/sh
              sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt"
              2⤵
                PID:1500
                • /bin/ln
                  ln -s /etc/init.d/DbSecuritySpt /etc/rc3.d/S97DbSecuritySpt
                  3⤵
                    PID:1501
                • /bin/sh
                  sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt"
                  2⤵
                    PID:1502
                    • /bin/ln
                      ln -s /etc/init.d/DbSecuritySpt /etc/rc4.d/S97DbSecuritySpt
                      3⤵
                        PID:1503
                    • /bin/sh
                      sh -c "ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt"
                      2⤵
                        PID:1504
                        • /bin/ln
                          ln -s /etc/init.d/DbSecuritySpt /etc/rc5.d/S97DbSecuritySpt
                          3⤵
                            PID:1505
                        • /bin/sh
                          sh -c "mkdir -p /usr/bin/bsd-port"
                          2⤵
                            PID:1506
                            • /bin/mkdir
                              mkdir -p /usr/bin/bsd-port
                              3⤵
                              • Reads runtime system information
                              PID:1507
                          • /bin/sh
                            sh -c "mkdir -p /usr/bin/bsd-port"
                            2⤵
                              PID:1508
                              • /bin/mkdir
                                mkdir -p /usr/bin/bsd-port
                                3⤵
                                • Reads runtime system information
                                PID:1509
                            • /bin/sh
                              sh -c "cp -f /tmp/99dd48584152704db970a7b536c47bd5_JaffaCakes118 /usr/bin/bsd-port/getty"
                              2⤵
                                PID:1510
                                • /bin/cp
                                  cp -f /tmp/99dd48584152704db970a7b536c47bd5_JaffaCakes118 /usr/bin/bsd-port/getty
                                  3⤵
                                  • Write file to user bin folder
                                  • Reads runtime system information
                                  PID:1511
                              • /bin/sh
                                sh -c /usr/bin/bsd-port/getty
                                2⤵
                                  PID:1513
                                  • /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:1514
                                    • /bin/sh
                                      sh -c "ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux"
                                      4⤵
                                        PID:1522
                                        • /bin/ln
                                          ln -s /etc/init.d/selinux /etc/rc1.d/S99selinux
                                          5⤵
                                            PID:1523
                                        • /bin/sh
                                          sh -c "ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux"
                                          4⤵
                                            PID:1524
                                            • /bin/ln
                                              ln -s /etc/init.d/selinux /etc/rc2.d/S99selinux
                                              5⤵
                                                PID:1525
                                            • /bin/sh
                                              sh -c "ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux"
                                              4⤵
                                                PID:1526
                                                • /bin/ln
                                                  ln -s /etc/init.d/selinux /etc/rc3.d/S99selinux
                                                  5⤵
                                                    PID:1527
                                                • /bin/sh
                                                  sh -c "ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux"
                                                  4⤵
                                                    PID:1528
                                                    • /bin/ln
                                                      ln -s /etc/init.d/selinux /etc/rc4.d/S99selinux
                                                      5⤵
                                                        PID:1529
                                                    • /bin/sh
                                                      sh -c "ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux"
                                                      4⤵
                                                        PID:1530
                                                        • /bin/ln
                                                          ln -s /etc/init.d/selinux /etc/rc5.d/S99selinux
                                                          5⤵
                                                            PID:1531
                                                        • /bin/sh
                                                          sh -c "mkdir -p /usr/bin/dpkgd"
                                                          4⤵
                                                            PID:1532
                                                            • /bin/mkdir
                                                              mkdir -p /usr/bin/dpkgd
                                                              5⤵
                                                              • Reads runtime system information
                                                              PID:1533
                                                          • /bin/sh
                                                            sh -c "cp -f /bin/ps /usr/bin/dpkgd/ps"
                                                            4⤵
                                                              PID:1537
                                                              • /bin/cp
                                                                cp -f /bin/ps /usr/bin/dpkgd/ps
                                                                5⤵
                                                                • Write file to user bin folder
                                                                • Reads runtime system information
                                                                PID:1538
                                                            • /bin/sh
                                                              sh -c "mkdir -p /bin"
                                                              4⤵
                                                                PID:1539
                                                                • /bin/mkdir
                                                                  mkdir -p /bin
                                                                  5⤵
                                                                  • Reads runtime system information
                                                                  PID:1540
                                                              • /bin/sh
                                                                sh -c "mkdir -p /bin"
                                                                4⤵
                                                                  PID:1541
                                                                  • /bin/mkdir
                                                                    mkdir -p /bin
                                                                    5⤵
                                                                    • Reads runtime system information
                                                                    PID:1542
                                                                • /bin/sh
                                                                  sh -c "cp -f /usr/bin/bsd-port/getty /bin/ps"
                                                                  4⤵
                                                                    PID:1543
                                                                    • /bin/cp
                                                                      cp -f /usr/bin/bsd-port/getty /bin/ps
                                                                      5⤵
                                                                      • Writes file to system bin folder
                                                                      • Reads runtime system information
                                                                      PID:1544
                                                                  • /bin/sh
                                                                    sh -c "chmod 0755 /bin/ps"
                                                                    4⤵
                                                                      PID:1545
                                                                      • /bin/chmod
                                                                        chmod 0755 /bin/ps
                                                                        5⤵
                                                                          PID:1546
                                                                      • /bin/sh
                                                                        sh -c "cp -f /bin/ss /usr/bin/dpkgd/ss"
                                                                        4⤵
                                                                          PID:1547
                                                                          • /bin/cp
                                                                            cp -f /bin/ss /usr/bin/dpkgd/ss
                                                                            5⤵
                                                                            • Write file to user bin folder
                                                                            • Reads runtime system information
                                                                            PID:1548
                                                                        • /bin/sh
                                                                          sh -c "mkdir -p /bin"
                                                                          4⤵
                                                                            PID:1549
                                                                            • /bin/mkdir
                                                                              mkdir -p /bin
                                                                              5⤵
                                                                              • Reads runtime system information
                                                                              PID:1550
                                                                          • /bin/sh
                                                                            sh -c "mkdir -p /bin"
                                                                            4⤵
                                                                              PID:1551
                                                                              • /bin/mkdir
                                                                                mkdir -p /bin
                                                                                5⤵
                                                                                • Reads runtime system information
                                                                                PID:1552
                                                                            • /bin/sh
                                                                              sh -c "cp -f /usr/bin/bsd-port/getty /bin/ss"
                                                                              4⤵
                                                                                PID:1553
                                                                                • /bin/cp
                                                                                  cp -f /usr/bin/bsd-port/getty /bin/ss
                                                                                  5⤵
                                                                                  • Writes file to system bin folder
                                                                                  • Reads runtime system information
                                                                                  PID:1554
                                                                              • /bin/sh
                                                                                sh -c "chmod 0755 /bin/ss"
                                                                                4⤵
                                                                                  PID:1555
                                                                                  • /bin/chmod
                                                                                    chmod 0755 /bin/ss
                                                                                    5⤵
                                                                                      PID:1556
                                                                                  • /bin/sh
                                                                                    sh -c "cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof"
                                                                                    4⤵
                                                                                      PID:1557
                                                                                      • /bin/cp
                                                                                        cp -f /usr/bin/lsof /usr/bin/dpkgd/lsof
                                                                                        5⤵
                                                                                        • Write file to user bin folder
                                                                                        • Reads runtime system information
                                                                                        PID:1558
                                                                                    • /bin/sh
                                                                                      sh -c "mkdir -p /usr/bin"
                                                                                      4⤵
                                                                                        PID:1559
                                                                                        • /bin/mkdir
                                                                                          mkdir -p /usr/bin
                                                                                          5⤵
                                                                                          • Reads runtime system information
                                                                                          PID:1560
                                                                                      • /bin/sh
                                                                                        sh -c "mkdir -p /usr/bin"
                                                                                        4⤵
                                                                                          PID:1561
                                                                                          • /bin/mkdir
                                                                                            mkdir -p /usr/bin
                                                                                            5⤵
                                                                                            • Reads runtime system information
                                                                                            PID:1562
                                                                                        • /bin/sh
                                                                                          sh -c "cp -f /usr/bin/bsd-port/getty /usr/bin/lsof"
                                                                                          4⤵
                                                                                            PID:1563
                                                                                            • /bin/cp
                                                                                              cp -f /usr/bin/bsd-port/getty /usr/bin/lsof
                                                                                              5⤵
                                                                                              • Write file to user bin folder
                                                                                              • Reads runtime system information
                                                                                              PID:1564
                                                                                          • /bin/sh
                                                                                            sh -c "chmod 0755 /usr/bin/lsof"
                                                                                            4⤵
                                                                                              PID:1565
                                                                                              • /bin/chmod
                                                                                                chmod 0755 /usr/bin/lsof
                                                                                                5⤵
                                                                                                  PID:1566
                                                                                              • /bin/sh
                                                                                                sh -c "insmod /usr/bin/bsd-port/xpacket.ko"
                                                                                                4⤵
                                                                                                  PID:1569
                                                                                                  • /sbin/insmod
                                                                                                    insmod /usr/bin/bsd-port/xpacket.ko
                                                                                                    5⤵
                                                                                                    • Reads runtime system information
                                                                                                    PID:1570
                                                                                            • /bin/sh
                                                                                              sh -c "mkdir -p /usr/bin"
                                                                                              2⤵
                                                                                                PID:1516
                                                                                                • /bin/mkdir
                                                                                                  mkdir -p /usr/bin
                                                                                                  3⤵
                                                                                                  • Reads runtime system information
                                                                                                  PID:1517
                                                                                              • /bin/sh
                                                                                                sh -c "mkdir -p /usr/bin"
                                                                                                2⤵
                                                                                                  PID:1518
                                                                                                  • /bin/mkdir
                                                                                                    mkdir -p /usr/bin
                                                                                                    3⤵
                                                                                                    • Reads runtime system information
                                                                                                    PID:1519
                                                                                                • /bin/sh
                                                                                                  sh -c "cp -f /tmp/99dd48584152704db970a7b536c47bd5_JaffaCakes118 /usr/bin/.sshd"
                                                                                                  2⤵
                                                                                                    PID:1520
                                                                                                    • /bin/cp
                                                                                                      cp -f /tmp/99dd48584152704db970a7b536c47bd5_JaffaCakes118 /usr/bin/.sshd
                                                                                                      3⤵
                                                                                                      • Write file to user bin folder
                                                                                                      • Reads runtime system information
                                                                                                      PID:1521
                                                                                                  • /bin/sh
                                                                                                    sh -c /usr/bin/.sshd
                                                                                                    2⤵
                                                                                                      PID:1535
                                                                                                      • /usr/bin/.sshd
                                                                                                        /usr/bin/.sshd
                                                                                                        3⤵
                                                                                                        • Executes dropped EXE
                                                                                                        • Writes file to tmp directory
                                                                                                        PID:1536
                                                                                                    • /bin/sh
                                                                                                      sh -c "insmod /tmp/xpacket.ko"
                                                                                                      2⤵
                                                                                                        PID:1576
                                                                                                        • /sbin/insmod
                                                                                                          insmod /tmp/xpacket.ko
                                                                                                          3⤵
                                                                                                          • Reads runtime system information
                                                                                                          PID:1577

                                                                                                    Network

                                                                                                    MITRE ATT&CK Enterprise v15

                                                                                                    Replay Monitor

                                                                                                    Loading Replay Monitor...

                                                                                                    Downloads

                                                                                                    • /etc/init.d/DbSecuritySpt

                                                                                                      Filesize

                                                                                                      64B

                                                                                                      MD5

                                                                                                      949be75d5db5ef1f28f54d3d25c59f57

                                                                                                      SHA1

                                                                                                      24654eb8f50756042e1af8ba0948b972d81af1f6

                                                                                                      SHA256

                                                                                                      d53b80d0ec5f0d7089486d4e9a0e24735cc7b13fbdfc8fd2465f4befcb465455

                                                                                                      SHA512

                                                                                                      2c2510f9d40dd1dad8a7222458c9812fa73b98c8c76ab4840a95da1387628f55367f7ef6f8301f1a5bc5368576205e7bf9c6606867746b509c1bc39af6fea311

                                                                                                    • /etc/init.d/selinux

                                                                                                      Filesize

                                                                                                      36B

                                                                                                      MD5

                                                                                                      993cc15058142d96c3daf7852c3d5ee8

                                                                                                      SHA1

                                                                                                      0950b8b391b04dd3895ea33cd3141543ebd2525d

                                                                                                      SHA256

                                                                                                      8171d077918611803d93088409f220c66fae1c670b297e1aa5d8cbd548ce9208

                                                                                                      SHA512

                                                                                                      0c4256c00a3710f97e92581b552682b36b62afc35fe72622c491323c618c19ea62611ac04ccafc3dfcde2254a2ebbd93b69b66795b16e36332293bed83adb928

                                                                                                    • /tmp/gates.lod

                                                                                                      Filesize

                                                                                                      4B

                                                                                                      MD5

                                                                                                      1baff70e2669e8376347efd3a874a341

                                                                                                      SHA1

                                                                                                      04754785b32160c5787f32875f2dc730c10cbbcb

                                                                                                      SHA256

                                                                                                      3c61752810703534f06918f7a048693a3f0d43431a82aab796267081da0b03cb

                                                                                                      SHA512

                                                                                                      7f9620c29a3e5c5487d43925c0a808262c0a290602e3493b798f558bf98294015c1991d7dcb2678189464b5e8be81e8a52f1c736a5dfb356f7f1ca75c4357ccd

                                                                                                    • /tmp/moni.lod

                                                                                                      Filesize

                                                                                                      4B

                                                                                                      MD5

                                                                                                      18d10dc6e666eab6de9215ae5b3d54df

                                                                                                      SHA1

                                                                                                      541f30554e2caa245dbe67fc4a03cb8c01a23c1a

                                                                                                      SHA256

                                                                                                      0651ee70db05737d7195776455175f3f4dbd4755e13e9f87d905a63817e979b8

                                                                                                      SHA512

                                                                                                      1cae3720d2a29bef7cc3e0280686ceefd518a0cf35f0fd239a6fe60329b78935dbc88d5c7a784e2029d1c70ad321ff3dc8f514a5901b515da88c8b3c436f5465

                                                                                                    • /tmp/notify.file

                                                                                                      Filesize

                                                                                                      51B

                                                                                                      MD5

                                                                                                      89e05344a629a1c768904c93c6c552b5

                                                                                                      SHA1

                                                                                                      6b351773c4648b6e3229c09804a4b2a1ebbda3ee

                                                                                                      SHA256

                                                                                                      4cef899d42bc24016a51569e066f83f7b416b301088cd525ecfee233bfd58886

                                                                                                      SHA512

                                                                                                      7739cb4307ff1d480619722baf303af5eeea098fc84498a8d7c068e75f788719a0b611e7be7d8d913a7b7ce1b0e18ad8f5dc12c3cdae9d9cd3302bc315b41672

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

                                                                                                      Filesize

                                                                                                      73B

                                                                                                      MD5

                                                                                                      c33233ed8756fc1188f6398f4b2ce4d6

                                                                                                      SHA1

                                                                                                      cc8600c3176251caa9150f0517844e04f7c1c901

                                                                                                      SHA256

                                                                                                      bc5ede3c33d78c77ac66d8d7e39b580b83ba609d8ecf39f5a09a6228ad8a92f7

                                                                                                      SHA512

                                                                                                      7818804cb8005c75d2dd382b45915c5b23e030471c1175ca628c310a8df49eb380da29df2976fd2f2e8f6f07491bd487083279cba043ed3600e54a1208a99ddc

                                                                                                    • /usr/bin/bsd-port/getty

                                                                                                      Filesize

                                                                                                      1.2MB

                                                                                                      MD5

                                                                                                      99dd48584152704db970a7b536c47bd5

                                                                                                      SHA1

                                                                                                      eac36532779460580cd80e8f3d22e324bae71494

                                                                                                      SHA256

                                                                                                      544d2f9e21eb2892b5d2bd0135cb2b7a7e9d35983eed1ecbf45e71e89f4fb0a7

                                                                                                      SHA512

                                                                                                      34bcb7f4bbc1cb74f0ef6f6d8c04c12987d0d5756cf148cb79f7448891fc46c37d08a816ebb9e4fda3dc62befafc42aadd863956699cd2c82a35279e0bd94025

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