Analysis

  • max time kernel
    145s
  • max time network
    145s
  • platform
    macos-10.15_amd64
  • resource
    macos-20240410-en
  • resource tags

    arch:amd64arch:i386image:macos-20240410-enkernel:19b77alocale:en-usos:macos-10.15-amd64system
  • submitted
    01-05-2024 19:24

General

  • Target

    0ca36d0e0d117809b2d4499b9258a529_JaffaCakes118

  • Size

    168KB

  • MD5

    0ca36d0e0d117809b2d4499b9258a529

  • SHA1

    7aaf7909698b08bddcec517b5ac0129e503389aa

  • SHA256

    90effbefcc03dd20082f78c67555f4effef15e1cf30ea20d9f4ce49419e33c37

  • SHA512

    1ef507201bfa9640bf4301510048bdfdeaa595a66b3dd147f397d76c065286db74b63e0d4ea23d214a1252b36030e01ac9e3b18c88ae81364183a4d6695c4866

  • SSDEEP

    3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9Vni0:5SeOQdaZNxtk8cqhSxvHY9Vn

Malware Config

Signatures

  • Launch Agent 1 TTPs

    Adversaries may create or modify launch agents to repeatedly execute malicious payloads as part of persistence.

  • AppleScript 1 TTPs 4 IoCs

    AppleScript is a macOS scripting language designed to control applications and parts of the OS via inter-application messages called AppleEvents.

  • Launchctl 1 TTPs 8 IoCs

    Adversaries may abuse launchctl to execute commands or programs. Launchctl supports taking subcommands on the command-line, interactively, or even redirected from standard input.

Processes

  • /bin/sh
    sh -c "sudo /bin/zsh -c \"/Users/run/0ca36d0e0d117809b2d4499b9258a529_JaffaCakes118\""
    1⤵
      PID:483
    • /bin/bash
      sh -c "sudo /bin/zsh -c \"/Users/run/0ca36d0e0d117809b2d4499b9258a529_JaffaCakes118\""
      1⤵
        PID:483
      • /usr/bin/sudo
        sudo /bin/zsh -c /Users/run/0ca36d0e0d117809b2d4499b9258a529_JaffaCakes118
        1⤵
          PID:483
          • /bin/zsh
            /bin/zsh -c /Users/run/0ca36d0e0d117809b2d4499b9258a529_JaffaCakes118
            2⤵
              PID:484
            • /Users/run/0ca36d0e0d117809b2d4499b9258a529_JaffaCakes118
              /Users/run/0ca36d0e0d117809b2d4499b9258a529_JaffaCakes118
              2⤵
                PID:484
            • /bin/sh
              sh -c "sysctl -n hw.ncpu"
              1⤵
                PID:486
              • /bin/bash
                sh -c "sysctl -n hw.ncpu"
                1⤵
                  PID:486
                • /usr/sbin/sysctl
                  sysctl -n hw.ncpu
                  1⤵
                    PID:486
                  • /bin/sh
                    sh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""
                    1⤵
                      PID:494
                    • /bin/bash
                      sh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""
                      1⤵
                        PID:494
                      • /usr/bin/osascript
                        osascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"
                        1⤵
                          PID:494
                        • /usr/libexec/xpcproxy
                          xpcproxy com.apple.security.authtrampoline
                          1⤵
                            PID:495
                          • /System/Library/Frameworks/Security.framework/authtrampoline
                            /System/Library/Frameworks/Security.framework/authtrampoline
                            1⤵
                              PID:495
                            • /bin/sh
                              /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"
                              1⤵
                                PID:496
                              • /bin/bash
                                /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"
                                1⤵
                                  PID:496
                                • /bin/launchctl
                                  launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist
                                  1⤵
                                    PID:496
                                  • /usr/libexec/xpcproxy
                                    xpcproxy afsvcpd
                                    1⤵
                                      PID:497
                                    • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                      /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                      1⤵
                                        PID:497
                                      • /bin/sh
                                        sh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""
                                        1⤵
                                          PID:498
                                        • /bin/bash
                                          sh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""
                                          1⤵
                                            PID:498
                                          • /usr/bin/osascript
                                            osascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"
                                            1⤵
                                              PID:498
                                            • /bin/sh
                                              sh -c "sysctl -n hw.ncpu"
                                              1⤵
                                                PID:499
                                              • /bin/bash
                                                sh -c "sysctl -n hw.ncpu"
                                                1⤵
                                                  PID:499
                                                • /bin/sh
                                                  /bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"
                                                  1⤵
                                                    PID:500
                                                  • /usr/sbin/sysctl
                                                    sysctl -n hw.ncpu
                                                    1⤵
                                                      PID:499
                                                    • /bin/bash
                                                      /bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"
                                                      1⤵
                                                        PID:500
                                                      • /bin/launchctl
                                                        launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist
                                                        1⤵
                                                          PID:500
                                                        • /usr/libexec/xpcproxy
                                                          xpcproxy afsvcpd
                                                          1⤵
                                                            PID:525
                                                          • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                            /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                            1⤵
                                                              PID:525
                                                            • /bin/sh
                                                              sh -c "sysctl -n hw.ncpu"
                                                              1⤵
                                                                PID:526
                                                              • /bin/bash
                                                                sh -c "sysctl -n hw.ncpu"
                                                                1⤵
                                                                  PID:526
                                                                • /usr/sbin/sysctl
                                                                  sysctl -n hw.ncpu
                                                                  1⤵
                                                                    PID:526
                                                                  • /usr/libexec/xpcproxy
                                                                    xpcproxy afsvcpd
                                                                    1⤵
                                                                      PID:528
                                                                    • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                      /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                      1⤵
                                                                        PID:528
                                                                      • /bin/sh
                                                                        sh -c "sysctl -n hw.ncpu"
                                                                        1⤵
                                                                          PID:529
                                                                        • /bin/bash
                                                                          sh -c "sysctl -n hw.ncpu"
                                                                          1⤵
                                                                            PID:529
                                                                          • /usr/sbin/sysctl
                                                                            sysctl -n hw.ncpu
                                                                            1⤵
                                                                              PID:529
                                                                            • /usr/libexec/xpcproxy
                                                                              xpcproxy afsvcpd
                                                                              1⤵
                                                                                PID:533
                                                                              • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                1⤵
                                                                                  PID:533
                                                                                • /bin/sh
                                                                                  sh -c "sysctl -n hw.ncpu"
                                                                                  1⤵
                                                                                    PID:534
                                                                                  • /bin/bash
                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                    1⤵
                                                                                      PID:534
                                                                                    • /usr/sbin/sysctl
                                                                                      sysctl -n hw.ncpu
                                                                                      1⤵
                                                                                        PID:534
                                                                                      • /usr/libexec/xpcproxy
                                                                                        xpcproxy afsvcpd
                                                                                        1⤵
                                                                                          PID:536
                                                                                        • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                          /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                          1⤵
                                                                                            PID:536
                                                                                          • /bin/sh
                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                            1⤵
                                                                                              PID:537
                                                                                            • /bin/bash
                                                                                              sh -c "sysctl -n hw.ncpu"
                                                                                              1⤵
                                                                                                PID:537
                                                                                              • /usr/sbin/sysctl
                                                                                                sysctl -n hw.ncpu
                                                                                                1⤵
                                                                                                  PID:537
                                                                                                • /usr/libexec/xpcproxy
                                                                                                  xpcproxy afsvcpd
                                                                                                  1⤵
                                                                                                    PID:541
                                                                                                  • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                    /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                    1⤵
                                                                                                      PID:541
                                                                                                    • /bin/sh
                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                      1⤵
                                                                                                        PID:542
                                                                                                      • /bin/bash
                                                                                                        sh -c "sysctl -n hw.ncpu"
                                                                                                        1⤵
                                                                                                          PID:542
                                                                                                        • /usr/sbin/sysctl
                                                                                                          sysctl -n hw.ncpu
                                                                                                          1⤵
                                                                                                            PID:542
                                                                                                          • /usr/libexec/xpcproxy
                                                                                                            xpcproxy afsvcpd
                                                                                                            1⤵
                                                                                                              PID:543
                                                                                                            • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                              /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                              1⤵
                                                                                                                PID:543
                                                                                                              • /bin/sh
                                                                                                                sh -c "sysctl -n hw.ncpu"
                                                                                                                1⤵
                                                                                                                  PID:544
                                                                                                                • /bin/bash
                                                                                                                  sh -c "sysctl -n hw.ncpu"
                                                                                                                  1⤵
                                                                                                                    PID:544
                                                                                                                  • /usr/sbin/sysctl
                                                                                                                    sysctl -n hw.ncpu
                                                                                                                    1⤵
                                                                                                                      PID:544
                                                                                                                    • /usr/libexec/xpcproxy
                                                                                                                      xpcproxy afsvcpd
                                                                                                                      1⤵
                                                                                                                        PID:554
                                                                                                                      • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                        /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                        1⤵
                                                                                                                          PID:554
                                                                                                                        • /bin/sh
                                                                                                                          sh -c "sysctl -n hw.ncpu"
                                                                                                                          1⤵
                                                                                                                            PID:555
                                                                                                                          • /bin/bash
                                                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                                                            1⤵
                                                                                                                              PID:555
                                                                                                                            • /usr/sbin/sysctl
                                                                                                                              sysctl -n hw.ncpu
                                                                                                                              1⤵
                                                                                                                                PID:555
                                                                                                                              • /usr/libexec/xpcproxy
                                                                                                                                xpcproxy afsvcpd
                                                                                                                                1⤵
                                                                                                                                  PID:556
                                                                                                                                • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                  /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                  1⤵
                                                                                                                                    PID:556
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                                                                    1⤵
                                                                                                                                      PID:557
                                                                                                                                    • /bin/bash
                                                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                                                      1⤵
                                                                                                                                        PID:557
                                                                                                                                      • /usr/sbin/sysctl
                                                                                                                                        sysctl -n hw.ncpu
                                                                                                                                        1⤵
                                                                                                                                          PID:557
                                                                                                                                        • /usr/libexec/xpcproxy
                                                                                                                                          xpcproxy com.apple.corespotlightservice.725FD30A-6064-6C02-CC51-5DDB8891B57E
                                                                                                                                          1⤵
                                                                                                                                            PID:558
                                                                                                                                          • /System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService
                                                                                                                                            /System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService
                                                                                                                                            1⤵
                                                                                                                                              PID:558
                                                                                                                                            • /usr/libexec/xpcproxy
                                                                                                                                              xpcproxy afsvcpd
                                                                                                                                              1⤵
                                                                                                                                                PID:559
                                                                                                                                              • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                1⤵
                                                                                                                                                  PID:559
                                                                                                                                                • /bin/sh
                                                                                                                                                  sh -c "sysctl -n hw.ncpu"
                                                                                                                                                  1⤵
                                                                                                                                                    PID:560
                                                                                                                                                  • /bin/bash
                                                                                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                                                                                    1⤵
                                                                                                                                                      PID:560
                                                                                                                                                    • /usr/sbin/sysctl
                                                                                                                                                      sysctl -n hw.ncpu
                                                                                                                                                      1⤵
                                                                                                                                                        PID:560
                                                                                                                                                      • /usr/libexec/xpcproxy
                                                                                                                                                        xpcproxy afsvcpd
                                                                                                                                                        1⤵
                                                                                                                                                          PID:561
                                                                                                                                                        • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                          /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                          1⤵
                                                                                                                                                            PID:561
                                                                                                                                                          • /bin/sh
                                                                                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                                                                                            1⤵
                                                                                                                                                              PID:562
                                                                                                                                                            • /bin/bash
                                                                                                                                                              sh -c "sysctl -n hw.ncpu"
                                                                                                                                                              1⤵
                                                                                                                                                                PID:562
                                                                                                                                                              • /usr/sbin/sysctl
                                                                                                                                                                sysctl -n hw.ncpu
                                                                                                                                                                1⤵
                                                                                                                                                                  PID:562
                                                                                                                                                                • /usr/libexec/xpcproxy
                                                                                                                                                                  xpcproxy afsvcpd
                                                                                                                                                                  1⤵
                                                                                                                                                                    PID:563
                                                                                                                                                                  • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                    /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                    1⤵
                                                                                                                                                                      PID:563
                                                                                                                                                                    • /bin/sh
                                                                                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                      1⤵
                                                                                                                                                                        PID:564
                                                                                                                                                                      • /bin/bash
                                                                                                                                                                        sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                        1⤵
                                                                                                                                                                          PID:564
                                                                                                                                                                        • /usr/sbin/sysctl
                                                                                                                                                                          sysctl -n hw.ncpu
                                                                                                                                                                          1⤵
                                                                                                                                                                            PID:564
                                                                                                                                                                          • /usr/libexec/xpcproxy
                                                                                                                                                                            xpcproxy afsvcpd
                                                                                                                                                                            1⤵
                                                                                                                                                                              PID:565
                                                                                                                                                                            • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                              /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                              1⤵
                                                                                                                                                                                PID:565
                                                                                                                                                                              • /bin/sh
                                                                                                                                                                                sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                1⤵
                                                                                                                                                                                  PID:566
                                                                                                                                                                                • /bin/bash
                                                                                                                                                                                  sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                  1⤵
                                                                                                                                                                                    PID:566
                                                                                                                                                                                  • /usr/sbin/sysctl
                                                                                                                                                                                    sysctl -n hw.ncpu
                                                                                                                                                                                    1⤵
                                                                                                                                                                                      PID:566
                                                                                                                                                                                    • /usr/libexec/xpcproxy
                                                                                                                                                                                      xpcproxy afsvcpd
                                                                                                                                                                                      1⤵
                                                                                                                                                                                        PID:567
                                                                                                                                                                                      • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                                        /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                                        1⤵
                                                                                                                                                                                          PID:567
                                                                                                                                                                                        • /bin/sh
                                                                                                                                                                                          sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                          1⤵
                                                                                                                                                                                            PID:568
                                                                                                                                                                                          • /bin/bash
                                                                                                                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                            1⤵
                                                                                                                                                                                              PID:568
                                                                                                                                                                                            • /usr/sbin/sysctl
                                                                                                                                                                                              sysctl -n hw.ncpu
                                                                                                                                                                                              1⤵
                                                                                                                                                                                                PID:568
                                                                                                                                                                                              • /usr/libexec/xpcproxy
                                                                                                                                                                                                xpcproxy afsvcpd
                                                                                                                                                                                                1⤵
                                                                                                                                                                                                  PID:569
                                                                                                                                                                                                • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                                                  /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                                                  1⤵
                                                                                                                                                                                                    PID:569
                                                                                                                                                                                                  • /bin/sh
                                                                                                                                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                                    1⤵
                                                                                                                                                                                                      PID:570
                                                                                                                                                                                                    • /bin/bash
                                                                                                                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                                      1⤵
                                                                                                                                                                                                        PID:570
                                                                                                                                                                                                      • /usr/sbin/sysctl
                                                                                                                                                                                                        sysctl -n hw.ncpu
                                                                                                                                                                                                        1⤵
                                                                                                                                                                                                          PID:570

                                                                                                                                                                                                        Network

                                                                                                                                                                                                        MITRE ATT&CK Enterprise v15

                                                                                                                                                                                                        Replay Monitor

                                                                                                                                                                                                        Loading Replay Monitor...

                                                                                                                                                                                                        Downloads