Analysis

  • max time kernel
    145s
  • max time network
    119s
  • 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
    27-04-2024 02:22

General

  • Target

    0232f79e2741d193d55c47d7d7d8c72c_JaffaCakes118

  • Size

    168KB

  • MD5

    0232f79e2741d193d55c47d7d7d8c72c

  • SHA1

    98f49a033c88cc1cba0c9123970b714e4bccadf3

  • SHA256

    09ceae976562d266e835d03ede4cf0c784c3a1678fa2599f1afd74a35100e869

  • SHA512

    7504d50f1b3e625c52e4d4870f3570f828ecfe3cabd989b6ff41eaf7cb1f81b39dc632212db4286e1b1b5ac636f7e2c54bd27e89db9d3973c3657ade8b489ebf

  • SSDEEP

    3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq90JS0:5SeOQdaZNxtk8cqhSxvHY9

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 2 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 4 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/0232f79e2741d193d55c47d7d7d8c72c_JaffaCakes118\""
    1⤵
      PID:487
    • /bin/bash
      sh -c "sudo /bin/zsh -c \"/Users/run/0232f79e2741d193d55c47d7d7d8c72c_JaffaCakes118\""
      1⤵
        PID:487
      • /usr/bin/sudo
        sudo /bin/zsh -c /Users/run/0232f79e2741d193d55c47d7d7d8c72c_JaffaCakes118
        1⤵
          PID:487
          • /bin/zsh
            /bin/zsh -c /Users/run/0232f79e2741d193d55c47d7d7d8c72c_JaffaCakes118
            2⤵
              PID:488
            • /Users/run/0232f79e2741d193d55c47d7d7d8c72c_JaffaCakes118
              /Users/run/0232f79e2741d193d55c47d7d7d8c72c_JaffaCakes118
              2⤵
                PID:488
            • /bin/sh
              sh -c "sysctl -n hw.ncpu"
              1⤵
                PID:489
              • /bin/bash
                sh -c "sysctl -n hw.ncpu"
                1⤵
                  PID:489
                • /usr/sbin/sysctl
                  sysctl -n hw.ncpu
                  1⤵
                    PID:489
                  • /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:513
                    • /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:513
                      • /usr/bin/osascript
                        osascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"
                        1⤵
                          PID:513
                        • /usr/libexec/xpcproxy
                          xpcproxy com.apple.security.authtrampoline
                          1⤵
                            PID:514
                          • /System/Library/Frameworks/Security.framework/authtrampoline
                            /System/Library/Frameworks/Security.framework/authtrampoline
                            1⤵
                              PID:514
                            • /bin/sh
                              /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"
                              1⤵
                                PID:515
                              • /bin/bash
                                /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"
                                1⤵
                                  PID:515
                                • /bin/launchctl
                                  launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist
                                  1⤵
                                    PID:515
                                  • /usr/libexec/xpcproxy
                                    xpcproxy afsvcpd
                                    1⤵
                                      PID:516
                                    • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                      /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                      1⤵
                                        PID:516
                                      • /bin/sh
                                        sh -c "sysctl -n hw.ncpu"
                                        1⤵
                                          PID:517
                                        • /bin/bash
                                          sh -c "sysctl -n hw.ncpu"
                                          1⤵
                                            PID:517
                                          • /usr/sbin/sysctl
                                            sysctl -n hw.ncpu
                                            1⤵
                                              PID:517
                                            • /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:535
                                                                            • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                              /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                              1⤵
                                                                                PID:535
                                                                              • /bin/sh
                                                                                sh -c "sysctl -n hw.ncpu"
                                                                                1⤵
                                                                                  PID:536
                                                                                • /bin/bash
                                                                                  sh -c "sysctl -n hw.ncpu"
                                                                                  1⤵
                                                                                    PID:536
                                                                                  • /usr/sbin/sysctl
                                                                                    sysctl -n hw.ncpu
                                                                                    1⤵
                                                                                      PID:536
                                                                                    • /usr/libexec/xpcproxy
                                                                                      xpcproxy afsvcpd
                                                                                      1⤵
                                                                                        PID:539
                                                                                      • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                        /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                        1⤵
                                                                                          PID:539
                                                                                        • /bin/sh
                                                                                          sh -c "sysctl -n hw.ncpu"
                                                                                          1⤵
                                                                                            PID:540
                                                                                          • /bin/bash
                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                            1⤵
                                                                                              PID:540
                                                                                            • /usr/sbin/sysctl
                                                                                              sysctl -n hw.ncpu
                                                                                              1⤵
                                                                                                PID:540
                                                                                              • /usr/libexec/xpcproxy
                                                                                                xpcproxy afsvcpd
                                                                                                1⤵
                                                                                                  PID:542
                                                                                                • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                  /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                  1⤵
                                                                                                    PID:542
                                                                                                  • /bin/sh
                                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                                    1⤵
                                                                                                      PID:543
                                                                                                    • /bin/bash
                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                      1⤵
                                                                                                        PID:543
                                                                                                      • /usr/sbin/sysctl
                                                                                                        sysctl -n hw.ncpu
                                                                                                        1⤵
                                                                                                          PID:543
                                                                                                        • /usr/libexec/xpcproxy
                                                                                                          xpcproxy afsvcpd
                                                                                                          1⤵
                                                                                                            PID:544
                                                                                                          • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                            /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                            1⤵
                                                                                                              PID:544
                                                                                                            • /bin/sh
                                                                                                              sh -c "sysctl -n hw.ncpu"
                                                                                                              1⤵
                                                                                                                PID:545
                                                                                                              • /bin/bash
                                                                                                                sh -c "sysctl -n hw.ncpu"
                                                                                                                1⤵
                                                                                                                  PID:545
                                                                                                                • /usr/sbin/sysctl
                                                                                                                  sysctl -n hw.ncpu
                                                                                                                  1⤵
                                                                                                                    PID:545
                                                                                                                  • /usr/libexec/xpcproxy
                                                                                                                    xpcproxy afsvcpd
                                                                                                                    1⤵
                                                                                                                      PID:546
                                                                                                                    • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                      /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                      1⤵
                                                                                                                        PID:546
                                                                                                                      • /bin/sh
                                                                                                                        sh -c "sysctl -n hw.ncpu"
                                                                                                                        1⤵
                                                                                                                          PID:547
                                                                                                                        • /bin/bash
                                                                                                                          sh -c "sysctl -n hw.ncpu"
                                                                                                                          1⤵
                                                                                                                            PID:547
                                                                                                                          • /usr/sbin/sysctl
                                                                                                                            sysctl -n hw.ncpu
                                                                                                                            1⤵
                                                                                                                              PID:547
                                                                                                                            • /usr/libexec/xpcproxy
                                                                                                                              xpcproxy afsvcpd
                                                                                                                              1⤵
                                                                                                                                PID:548
                                                                                                                              • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                1⤵
                                                                                                                                  PID:548
                                                                                                                                • /bin/sh
                                                                                                                                  sh -c "sysctl -n hw.ncpu"
                                                                                                                                  1⤵
                                                                                                                                    PID:549
                                                                                                                                  • /bin/bash
                                                                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                                                                    1⤵
                                                                                                                                      PID:549
                                                                                                                                    • /usr/sbin/sysctl
                                                                                                                                      sysctl -n hw.ncpu
                                                                                                                                      1⤵
                                                                                                                                        PID:549
                                                                                                                                      • /usr/libexec/xpcproxy
                                                                                                                                        xpcproxy afsvcpd
                                                                                                                                        1⤵
                                                                                                                                          PID:557
                                                                                                                                        • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                          /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                          1⤵
                                                                                                                                            PID:557
                                                                                                                                          • /bin/sh
                                                                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                                                                            1⤵
                                                                                                                                              PID:558
                                                                                                                                            • /bin/bash
                                                                                                                                              sh -c "sysctl -n hw.ncpu"
                                                                                                                                              1⤵
                                                                                                                                                PID:558
                                                                                                                                              • /usr/sbin/sysctl
                                                                                                                                                sysctl -n hw.ncpu
                                                                                                                                                1⤵
                                                                                                                                                  PID:558
                                                                                                                                                • /usr/libexec/xpcproxy
                                                                                                                                                  xpcproxy afsvcpd
                                                                                                                                                  1⤵
                                                                                                                                                    PID:560
                                                                                                                                                  • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                    /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                    1⤵
                                                                                                                                                      PID:560
                                                                                                                                                    • /bin/sh
                                                                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                                                                      1⤵
                                                                                                                                                        PID:561
                                                                                                                                                      • /bin/bash
                                                                                                                                                        sh -c "sysctl -n hw.ncpu"
                                                                                                                                                        1⤵
                                                                                                                                                          PID:561
                                                                                                                                                        • /usr/sbin/sysctl
                                                                                                                                                          sysctl -n hw.ncpu
                                                                                                                                                          1⤵
                                                                                                                                                            PID:561
                                                                                                                                                          • /usr/libexec/xpcproxy
                                                                                                                                                            xpcproxy afsvcpd
                                                                                                                                                            1⤵
                                                                                                                                                              PID:562
                                                                                                                                                            • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                              /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                              1⤵
                                                                                                                                                                PID:562
                                                                                                                                                              • /bin/sh
                                                                                                                                                                sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                1⤵
                                                                                                                                                                  PID:563
                                                                                                                                                                • /bin/bash
                                                                                                                                                                  sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                  1⤵
                                                                                                                                                                    PID:563
                                                                                                                                                                  • /usr/sbin/sysctl
                                                                                                                                                                    sysctl -n hw.ncpu
                                                                                                                                                                    1⤵
                                                                                                                                                                      PID:563
                                                                                                                                                                    • /usr/libexec/xpcproxy
                                                                                                                                                                      xpcproxy afsvcpd
                                                                                                                                                                      1⤵
                                                                                                                                                                        PID:564
                                                                                                                                                                      • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                        /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                        1⤵
                                                                                                                                                                          PID:564
                                                                                                                                                                        • /bin/sh
                                                                                                                                                                          sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                          1⤵
                                                                                                                                                                            PID:565
                                                                                                                                                                          • /bin/bash
                                                                                                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                            1⤵
                                                                                                                                                                              PID:565
                                                                                                                                                                            • /usr/sbin/sysctl
                                                                                                                                                                              sysctl -n hw.ncpu
                                                                                                                                                                              1⤵
                                                                                                                                                                                PID:565
                                                                                                                                                                              • /usr/libexec/xpcproxy
                                                                                                                                                                                xpcproxy afsvcpd
                                                                                                                                                                                1⤵
                                                                                                                                                                                  PID:566
                                                                                                                                                                                • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                                  /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                                  1⤵
                                                                                                                                                                                    PID:566
                                                                                                                                                                                  • /bin/sh
                                                                                                                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                    1⤵
                                                                                                                                                                                      PID:567
                                                                                                                                                                                    • /bin/bash
                                                                                                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                      1⤵
                                                                                                                                                                                        PID:567
                                                                                                                                                                                      • /usr/sbin/sysctl
                                                                                                                                                                                        sysctl -n hw.ncpu
                                                                                                                                                                                        1⤵
                                                                                                                                                                                          PID:567

                                                                                                                                                                                        Network

                                                                                                                                                                                        MITRE ATT&CK Matrix ATT&CK v13

                                                                                                                                                                                        Execution

                                                                                                                                                                                        Command and Scripting Interpreter

                                                                                                                                                                                        1
                                                                                                                                                                                        T1059

                                                                                                                                                                                        AppleScript

                                                                                                                                                                                        1
                                                                                                                                                                                        T1059.002

                                                                                                                                                                                        System Services

                                                                                                                                                                                        1
                                                                                                                                                                                        T1569

                                                                                                                                                                                        Launchctl

                                                                                                                                                                                        1
                                                                                                                                                                                        T1569.001

                                                                                                                                                                                        Persistence

                                                                                                                                                                                        Create or Modify System Process

                                                                                                                                                                                        1
                                                                                                                                                                                        T1543

                                                                                                                                                                                        Launch Agent

                                                                                                                                                                                        1
                                                                                                                                                                                        T1543.001

                                                                                                                                                                                        Privilege Escalation

                                                                                                                                                                                        Create or Modify System Process

                                                                                                                                                                                        1
                                                                                                                                                                                        T1543

                                                                                                                                                                                        Launch Agent

                                                                                                                                                                                        1
                                                                                                                                                                                        T1543.001

                                                                                                                                                                                        Replay Monitor

                                                                                                                                                                                        Loading Replay Monitor...

                                                                                                                                                                                        Downloads