Analysis

  • max time kernel
    147s
  • max time network
    136s
  • 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 07:06

General

  • Target

    02aff8971859142ae5d950b5e991d016_JaffaCakes118

  • Size

    168KB

  • MD5

    02aff8971859142ae5d950b5e991d016

  • SHA1

    1d5e35994285867249e424af00daf25b1e64c479

  • SHA256

    434c25c65e506cf311b4316f846792d0847e0bf19cc92c239da19ef019754fbe

  • SHA512

    a93c5e028e139f2fa055b77863bde33eff7e3504af043e0f0998028bed45f9d007e42679a9a91cd8dc29e63b2fdae48c889a337352f3a658d3fc13df96ae983c

  • SSDEEP

    3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9m0: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/02aff8971859142ae5d950b5e991d016_JaffaCakes118\""
    1⤵
      PID:483
    • /bin/bash
      sh -c "sudo /bin/zsh -c \"/Users/run/02aff8971859142ae5d950b5e991d016_JaffaCakes118\""
      1⤵
        PID:483
      • /usr/bin/sudo
        sudo /bin/zsh -c /Users/run/02aff8971859142ae5d950b5e991d016_JaffaCakes118
        1⤵
          PID:483
          • /bin/zsh
            /bin/zsh -c /Users/run/02aff8971859142ae5d950b5e991d016_JaffaCakes118
            2⤵
              PID:486
            • /Users/run/02aff8971859142ae5d950b5e991d016_JaffaCakes118
              /Users/run/02aff8971859142ae5d950b5e991d016_JaffaCakes118
              2⤵
                PID:486
            • /bin/sh
              sh -c "sysctl -n hw.ncpu"
              1⤵
                PID:487
              • /bin/bash
                sh -c "sysctl -n hw.ncpu"
                1⤵
                  PID:487
                • /usr/sbin/sysctl
                  sysctl -n hw.ncpu
                  1⤵
                    PID:487
                  • /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:511
                    • /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:511
                      • /usr/bin/osascript
                        osascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"
                        1⤵
                          PID:511
                        • /usr/libexec/xpcproxy
                          xpcproxy com.apple.security.authtrampoline
                          1⤵
                            PID:512
                          • /System/Library/Frameworks/Security.framework/authtrampoline
                            /System/Library/Frameworks/Security.framework/authtrampoline
                            1⤵
                              PID:512
                            • /bin/sh
                              /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"
                              1⤵
                                PID:513
                              • /bin/bash
                                /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"
                                1⤵
                                  PID:513
                                • /bin/launchctl
                                  launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist
                                  1⤵
                                    PID:513
                                  • /usr/libexec/xpcproxy
                                    xpcproxy afsvcpd
                                    1⤵
                                      PID:514
                                    • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                      /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                      1⤵
                                        PID:514
                                      • /bin/sh
                                        sh -c "sysctl -n hw.ncpu"
                                        1⤵
                                          PID:515
                                        • /bin/bash
                                          sh -c "sysctl -n hw.ncpu"
                                          1⤵
                                            PID:515
                                          • /usr/sbin/sysctl
                                            sysctl -n hw.ncpu
                                            1⤵
                                              PID:515
                                            • /usr/libexec/xpcproxy
                                              xpcproxy afsvcpd
                                              1⤵
                                                PID:520
                                              • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                1⤵
                                                  PID:520
                                                • /bin/sh
                                                  sh -c "sysctl -n hw.ncpu"
                                                  1⤵
                                                    PID:521
                                                  • /bin/bash
                                                    sh -c "sysctl -n hw.ncpu"
                                                    1⤵
                                                      PID:521
                                                    • /usr/sbin/sysctl
                                                      sysctl -n hw.ncpu
                                                      1⤵
                                                        PID:521
                                                      • /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:531
                                                                  • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                    /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                    1⤵
                                                                      PID:531
                                                                    • /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:534
                                                                            • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                              /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                              1⤵
                                                                                PID:534
                                                                              • /bin/sh
                                                                                sh -c "sysctl -n hw.ncpu"
                                                                                1⤵
                                                                                  PID:535
                                                                                • /bin/bash
                                                                                  sh -c "sysctl -n hw.ncpu"
                                                                                  1⤵
                                                                                    PID:535
                                                                                  • /usr/sbin/sysctl
                                                                                    sysctl -n hw.ncpu
                                                                                    1⤵
                                                                                      PID:535
                                                                                    • /usr/libexec/xpcproxy
                                                                                      xpcproxy afsvcpd
                                                                                      1⤵
                                                                                        PID:538
                                                                                      • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                        /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                        1⤵
                                                                                          PID:538
                                                                                        • /bin/sh
                                                                                          sh -c "sysctl -n hw.ncpu"
                                                                                          1⤵
                                                                                            PID:539
                                                                                          • /bin/bash
                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                            1⤵
                                                                                              PID:539
                                                                                            • /usr/sbin/sysctl
                                                                                              sysctl -n hw.ncpu
                                                                                              1⤵
                                                                                                PID:539
                                                                                              • /usr/sbin/spctl
                                                                                                /usr/sbin/spctl --assess --type execute /Applications/OneDrive.app
                                                                                                1⤵
                                                                                                  PID:542
                                                                                                • /usr/libexec/xpcproxy
                                                                                                  xpcproxy afsvcpd
                                                                                                  1⤵
                                                                                                    PID:543
                                                                                                  • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                    /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                    1⤵
                                                                                                      PID:543
                                                                                                    • /bin/sh
                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                      1⤵
                                                                                                        PID:544
                                                                                                      • /bin/bash
                                                                                                        sh -c "sysctl -n hw.ncpu"
                                                                                                        1⤵
                                                                                                          PID:544
                                                                                                        • /usr/sbin/sysctl
                                                                                                          sysctl -n hw.ncpu
                                                                                                          1⤵
                                                                                                            PID:544
                                                                                                          • /usr/libexec/xpcproxy
                                                                                                            xpcproxy afsvcpd
                                                                                                            1⤵
                                                                                                              PID: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:550
                                                                                                                      • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                        /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                        1⤵
                                                                                                                          PID:550
                                                                                                                        • /bin/sh
                                                                                                                          sh -c "sysctl -n hw.ncpu"
                                                                                                                          1⤵
                                                                                                                            PID:551
                                                                                                                          • /bin/bash
                                                                                                                            sh -c "sysctl -n hw.ncpu"
                                                                                                                            1⤵
                                                                                                                              PID:551
                                                                                                                            • /usr/sbin/sysctl
                                                                                                                              sysctl -n hw.ncpu
                                                                                                                              1⤵
                                                                                                                                PID:551
                                                                                                                              • /usr/libexec/xpcproxy
                                                                                                                                xpcproxy afsvcpd
                                                                                                                                1⤵
                                                                                                                                  PID:554
                                                                                                                                • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                  /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                  1⤵
                                                                                                                                    PID:554
                                                                                                                                  • /bin/sh
                                                                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                                                                    1⤵
                                                                                                                                      PID:555
                                                                                                                                    • /bin/bash
                                                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                                                      1⤵
                                                                                                                                        PID:555
                                                                                                                                      • /usr/sbin/sysctl
                                                                                                                                        sysctl -n hw.ncpu
                                                                                                                                        1⤵
                                                                                                                                          PID:555
                                                                                                                                        • /usr/libexec/xpcproxy
                                                                                                                                          xpcproxy afsvcpd
                                                                                                                                          1⤵
                                                                                                                                            PID:556
                                                                                                                                          • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                            /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                            1⤵
                                                                                                                                              PID:556
                                                                                                                                            • /bin/sh
                                                                                                                                              sh -c "sysctl -n hw.ncpu"
                                                                                                                                              1⤵
                                                                                                                                                PID:557
                                                                                                                                              • /bin/bash
                                                                                                                                                sh -c "sysctl -n hw.ncpu"
                                                                                                                                                1⤵
                                                                                                                                                  PID:557
                                                                                                                                                • /usr/sbin/sysctl
                                                                                                                                                  sysctl -n hw.ncpu
                                                                                                                                                  1⤵
                                                                                                                                                    PID:557
                                                                                                                                                  • /usr/libexec/xpcproxy
                                                                                                                                                    xpcproxy afsvcpd
                                                                                                                                                    1⤵
                                                                                                                                                      PID:558
                                                                                                                                                    • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                      /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                      1⤵
                                                                                                                                                        PID:558
                                                                                                                                                      • /bin/sh
                                                                                                                                                        sh -c "sysctl -n hw.ncpu"
                                                                                                                                                        1⤵
                                                                                                                                                          PID:559
                                                                                                                                                        • /bin/bash
                                                                                                                                                          sh -c "sysctl -n hw.ncpu"
                                                                                                                                                          1⤵
                                                                                                                                                            PID:559
                                                                                                                                                          • /usr/sbin/sysctl
                                                                                                                                                            sysctl -n hw.ncpu
                                                                                                                                                            1⤵
                                                                                                                                                              PID:559
                                                                                                                                                            • /bin/launchctl
                                                                                                                                                              /bin/launchctl kill SIGTERM system/com.microsoft.OneDriveUpdaterDaemon
                                                                                                                                                              1⤵
                                                                                                                                                                PID:560
                                                                                                                                                              • /bin/launchctl
                                                                                                                                                                /bin/launchctl kill SIGTERM system/com.microsoft.OneDriveStandaloneUpdaterDaemon
                                                                                                                                                                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:567
                                                                                                                                                                      • /bin/bash
                                                                                                                                                                        sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                        1⤵
                                                                                                                                                                          PID:567
                                                                                                                                                                        • /usr/sbin/sysctl
                                                                                                                                                                          sysctl -n hw.ncpu
                                                                                                                                                                          1⤵
                                                                                                                                                                            PID:567
                                                                                                                                                                          • /usr/libexec/xpcproxy
                                                                                                                                                                            xpcproxy com.apple.corespotlightservice.725FD30A-6064-6C02-CC51-5DDB8891B57E
                                                                                                                                                                            1⤵
                                                                                                                                                                              PID:571
                                                                                                                                                                            • /System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService
                                                                                                                                                                              /System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService
                                                                                                                                                                              1⤵
                                                                                                                                                                                PID:571
                                                                                                                                                                              • /usr/libexec/xpcproxy
                                                                                                                                                                                xpcproxy afsvcpd
                                                                                                                                                                                1⤵
                                                                                                                                                                                  PID:572
                                                                                                                                                                                • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                                  /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                                  1⤵
                                                                                                                                                                                    PID:572
                                                                                                                                                                                  • /bin/sh
                                                                                                                                                                                    sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                    1⤵
                                                                                                                                                                                      PID:573
                                                                                                                                                                                    • /bin/bash
                                                                                                                                                                                      sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                      1⤵
                                                                                                                                                                                        PID:573
                                                                                                                                                                                      • /usr/sbin/sysctl
                                                                                                                                                                                        sysctl -n hw.ncpu
                                                                                                                                                                                        1⤵
                                                                                                                                                                                          PID:573
                                                                                                                                                                                        • /usr/libexec/xpcproxy
                                                                                                                                                                                          xpcproxy afsvcpd
                                                                                                                                                                                          1⤵
                                                                                                                                                                                            PID:574
                                                                                                                                                                                          • /Users/run/Library/osxmobiledata/com.apple.afsvcpd
                                                                                                                                                                                            /Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent
                                                                                                                                                                                            1⤵
                                                                                                                                                                                              PID:574
                                                                                                                                                                                            • /bin/sh
                                                                                                                                                                                              sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                              1⤵
                                                                                                                                                                                                PID:575
                                                                                                                                                                                              • /bin/bash
                                                                                                                                                                                                sh -c "sysctl -n hw.ncpu"
                                                                                                                                                                                                1⤵
                                                                                                                                                                                                  PID:575
                                                                                                                                                                                                • /usr/sbin/sysctl
                                                                                                                                                                                                  sysctl -n hw.ncpu
                                                                                                                                                                                                  1⤵
                                                                                                                                                                                                    PID:575

                                                                                                                                                                                                  Network

                                                                                                                                                                                                  MITRE ATT&CK Enterprise v15

                                                                                                                                                                                                  Replay Monitor

                                                                                                                                                                                                  Loading Replay Monitor...

                                                                                                                                                                                                  Downloads