Analysis

  • max time kernel
    148s
  • max time network
    135s
  • 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
    26-04-2024 14:51

General

  • Target

    01037ffe96982d453294eb8d27754b9b_JaffaCakes118

  • Size

    168KB

  • MD5

    01037ffe96982d453294eb8d27754b9b

  • SHA1

    e78108f6c40b05d3e6fc62e098faf5508381cfa6

  • SHA256

    34d09ed736082bbd607843032b88c36bcb747167ca3c40a8a24de6e08475da63

  • SHA512

    d4307371f85e3f4fdf91f2ff3f80beb710ea048a8d914ddfe17f3edda921b8a122ec48370188b1b8a004574243e376e4731c572f36e162e681f1ac38001507f1

  • SSDEEP

    3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9+B0: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/01037ffe96982d453294eb8d27754b9b_JaffaCakes118\""
    1⤵
      PID:483
    • /bin/bash
      sh -c "sudo /bin/zsh -c \"/Users/run/01037ffe96982d453294eb8d27754b9b_JaffaCakes118\""
      1⤵
        PID:483
      • /usr/bin/sudo
        sudo /bin/zsh -c /Users/run/01037ffe96982d453294eb8d27754b9b_JaffaCakes118
        1⤵
          PID:483
          • /bin/zsh
            /bin/zsh -c /Users/run/01037ffe96982d453294eb8d27754b9b_JaffaCakes118
            2⤵
              PID:484
            • /Users/run/01037ffe96982d453294eb8d27754b9b_JaffaCakes118
              /Users/run/01037ffe96982d453294eb8d27754b9b_JaffaCakes118
              2⤵
                PID:484
            • /bin/sh
              sh -c "sysctl -n hw.ncpu"
              1⤵
                PID:485
              • /bin/bash
                sh -c "sysctl -n hw.ncpu"
                1⤵
                  PID:485
                • /usr/sbin/sysctl
                  sysctl -n hw.ncpu
                  1⤵
                    PID:485
                  • /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:500
                    • /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:500
                      • /usr/bin/osascript
                        osascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"
                        1⤵
                          PID:500
                        • /usr/libexec/xpcproxy
                          xpcproxy com.apple.security.authtrampoline
                          1⤵
                            PID:501
                          • /System/Library/Frameworks/Security.framework/authtrampoline
                            /System/Library/Frameworks/Security.framework/authtrampoline
                            1⤵
                              PID:501
                            • /bin/sh
                              /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"
                              1⤵
                                PID:505
                              • /bin/bash
                                /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"
                                1⤵
                                  PID:505
                                • /bin/launchctl
                                  launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist
                                  1⤵
                                    PID:505
                                  • /usr/libexec/xpcproxy
                                    xpcproxy afsvcpd
                                    1⤵
                                      PID:506
                                    • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                      /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                      1⤵
                                        PID:506
                                      • /bin/sh
                                        sh -c "sysctl -n hw.ncpu"
                                        1⤵
                                          PID:508
                                        • /bin/bash
                                          sh -c "sysctl -n hw.ncpu"
                                          1⤵
                                            PID:508
                                          • /usr/sbin/sysctl
                                            sysctl -n hw.ncpu
                                            1⤵
                                              PID:508
                                            • /usr/libexec/xpcproxy
                                              xpcproxy afsvcpd
                                              1⤵
                                                PID:522
                                              • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                1⤵
                                                  PID:522
                                                • /bin/sh
                                                  sh -c "sysctl -n hw.ncpu"
                                                  1⤵
                                                    PID:523
                                                  • /bin/bash
                                                    sh -c "sysctl -n hw.ncpu"
                                                    1⤵
                                                      PID:523
                                                    • /usr/sbin/sysctl
                                                      sysctl -n hw.ncpu
                                                      1⤵
                                                        PID:523
                                                      • /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:530
                                                                  • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                    /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                    1⤵
                                                                      PID:530
                                                                    • /bin/sh
                                                                      sh -c "sysctl -n hw.ncpu"
                                                                      1⤵
                                                                        PID:532
                                                                      • /bin/bash
                                                                        sh -c "sysctl -n hw.ncpu"
                                                                        1⤵
                                                                          PID:532
                                                                        • /usr/sbin/sysctl
                                                                          sysctl -n hw.ncpu
                                                                          1⤵
                                                                            PID:532
                                                                          • /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:537
                                                                                      • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                        /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                        1⤵
                                                                                          PID:537
                                                                                        • /bin/sh
                                                                                          sh -c "sysctl -n hw.ncpu"
                                                                                          1⤵
                                                                                            PID:538
                                                                                          • /bin/bash
                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                            1⤵
                                                                                              PID:538
                                                                                            • /usr/sbin/sysctl
                                                                                              sysctl -n hw.ncpu
                                                                                              1⤵
                                                                                                PID:538
                                                                                              • /usr/sbin/spctl
                                                                                                /usr/sbin/spctl --assess --type execute /Applications/OneDrive.app
                                                                                                1⤵
                                                                                                  PID:541
                                                                                                • /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:546
                                                                                                      • /bin/bash
                                                                                                        sh -c "sysctl -n hw.ncpu"
                                                                                                        1⤵
                                                                                                          PID:546
                                                                                                        • /usr/sbin/sysctl
                                                                                                          sysctl -n hw.ncpu
                                                                                                          1⤵
                                                                                                            PID:546
                                                                                                          • /usr/libexec/xpcproxy
                                                                                                            xpcproxy afsvcpd
                                                                                                            1⤵
                                                                                                              PID:547
                                                                                                            • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                              /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                              1⤵
                                                                                                                PID:547
                                                                                                              • /bin/sh
                                                                                                                sh -c "sysctl -n hw.ncpu"
                                                                                                                1⤵
                                                                                                                  PID:548
                                                                                                                • /bin/bash
                                                                                                                  sh -c "sysctl -n hw.ncpu"
                                                                                                                  1⤵
                                                                                                                    PID:548
                                                                                                                  • /usr/sbin/sysctl
                                                                                                                    sysctl -n hw.ncpu
                                                                                                                    1⤵
                                                                                                                      PID:548
                                                                                                                    • /usr/libexec/xpcproxy
                                                                                                                      xpcproxy afsvcpd
                                                                                                                      1⤵
                                                                                                                        PID:549
                                                                                                                      • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                        /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                        1⤵
                                                                                                                          PID:549
                                                                                                                        • /bin/sh
                                                                                                                          sh -c "sysctl -n hw.ncpu"
                                                                                                                          1⤵
                                                                                                                            PID:550
                                                                                                                          • /bin/bash
                                                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                                                            1⤵
                                                                                                                              PID:550
                                                                                                                            • /usr/sbin/sysctl
                                                                                                                              sysctl -n hw.ncpu
                                                                                                                              1⤵
                                                                                                                                PID:550
                                                                                                                              • /usr/libexec/xpcproxy
                                                                                                                                xpcproxy afsvcpd
                                                                                                                                1⤵
                                                                                                                                  PID:553
                                                                                                                                • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                  /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                  1⤵
                                                                                                                                    PID:553
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                                                                    1⤵
                                                                                                                                      PID:554
                                                                                                                                    • /bin/bash
                                                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                                                      1⤵
                                                                                                                                        PID:554
                                                                                                                                      • /usr/sbin/sysctl
                                                                                                                                        sysctl -n hw.ncpu
                                                                                                                                        1⤵
                                                                                                                                          PID:554
                                                                                                                                        • /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: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
                                                                                                                                                            • /bin/launchctl
                                                                                                                                                              /bin/launchctl kill SIGTERM system/com.microsoft.OneDriveUpdaterDaemon
                                                                                                                                                              1⤵
                                                                                                                                                                PID:566
                                                                                                                                                              • /bin/launchctl
                                                                                                                                                                /bin/launchctl kill SIGTERM system/com.microsoft.OneDriveStandaloneUpdaterDaemon
                                                                                                                                                                1⤵
                                                                                                                                                                  PID:567
                                                                                                                                                                • /usr/libexec/xpcproxy
                                                                                                                                                                  xpcproxy afsvcpd
                                                                                                                                                                  1⤵
                                                                                                                                                                    PID:568
                                                                                                                                                                  • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                    /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                    1⤵
                                                                                                                                                                      PID:568
                                                                                                                                                                    • /bin/sh
                                                                                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                      1⤵
                                                                                                                                                                        PID:569
                                                                                                                                                                      • /bin/bash
                                                                                                                                                                        sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                        1⤵
                                                                                                                                                                          PID:569
                                                                                                                                                                        • /usr/sbin/sysctl
                                                                                                                                                                          sysctl -n hw.ncpu
                                                                                                                                                                          1⤵
                                                                                                                                                                            PID:569
                                                                                                                                                                          • /usr/libexec/xpcproxy
                                                                                                                                                                            xpcproxy com.apple.corespotlightservice.725FD30A-6064-6C02-CC51-5DDB8891B57E
                                                                                                                                                                            1⤵
                                                                                                                                                                              PID:570
                                                                                                                                                                            • /System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService
                                                                                                                                                                              /System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService
                                                                                                                                                                              1⤵
                                                                                                                                                                                PID:570
                                                                                                                                                                              • /usr/libexec/xpcproxy
                                                                                                                                                                                xpcproxy afsvcpd
                                                                                                                                                                                1⤵
                                                                                                                                                                                  PID:571
                                                                                                                                                                                • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                                  /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                                  1⤵
                                                                                                                                                                                    PID:571
                                                                                                                                                                                  • /bin/sh
                                                                                                                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                    1⤵
                                                                                                                                                                                      PID:572
                                                                                                                                                                                    • /bin/bash
                                                                                                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                      1⤵
                                                                                                                                                                                        PID:572
                                                                                                                                                                                      • /usr/sbin/sysctl
                                                                                                                                                                                        sysctl -n hw.ncpu
                                                                                                                                                                                        1⤵
                                                                                                                                                                                          PID:572
                                                                                                                                                                                        • /usr/libexec/xpcproxy
                                                                                                                                                                                          xpcproxy afsvcpd
                                                                                                                                                                                          1⤵
                                                                                                                                                                                            PID:573
                                                                                                                                                                                          • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                                            /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                                            1⤵
                                                                                                                                                                                              PID:573
                                                                                                                                                                                            • /bin/sh
                                                                                                                                                                                              sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                              1⤵
                                                                                                                                                                                                PID:574
                                                                                                                                                                                              • /bin/bash
                                                                                                                                                                                                sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                                1⤵
                                                                                                                                                                                                  PID:574
                                                                                                                                                                                                • /usr/sbin/sysctl
                                                                                                                                                                                                  sysctl -n hw.ncpu
                                                                                                                                                                                                  1⤵
                                                                                                                                                                                                    PID:574

                                                                                                                                                                                                  Network

                                                                                                                                                                                                  MITRE ATT&CK Enterprise v15

                                                                                                                                                                                                  Replay Monitor

                                                                                                                                                                                                  Loading Replay Monitor...

                                                                                                                                                                                                  Downloads