Analysis
-
max time kernel
148s -
max time network
152s -
platform
macos-10.15_amd64 -
resource
macos-20240410-en -
resource tags
arch:amd64arch:i386image:macos-20240410-enkernel:19b77alocale:en-usos:macos-10.15-amd64system -
submitted
01-05-2024 00:08
Behavioral task
behavioral1
Sample
0abab8ff89e23e9a790f0b555586f9e8_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
0abab8ff89e23e9a790f0b555586f9e8_JaffaCakes118
-
Size
168KB
-
MD5
0abab8ff89e23e9a790f0b555586f9e8
-
SHA1
63f898132868fe9844d43406cf8aeddd361166bd
-
SHA256
40d4822a4bebe956214d3047dc1c7f7d966e8487f7c57cce41e8bf258a7f8c33
-
SHA512
96d580916c2ad8a9d9697b120412f7ee2857a494feb1fcda5c763d3d9b4d77678ad7533d102ffbc77b284a12b5a08d500bb0e6fc1b4f1f70308fbab30e4d00e8
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq940: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.
ioc Process sh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found osascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" Process not Found -
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.
ioc Process launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist Process not Found sh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found osascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" Process not Found /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist" Process not Found
Processes
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/0abab8ff89e23e9a790f0b555586f9e8_JaffaCakes118\""1⤵PID:485
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/0abab8ff89e23e9a790f0b555586f9e8_JaffaCakes118\""1⤵PID:485
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/0abab8ff89e23e9a790f0b555586f9e8_JaffaCakes1181⤵PID:485
-
/bin/zsh/bin/zsh -c /Users/run/0abab8ff89e23e9a790f0b555586f9e8_JaffaCakes1182⤵PID:486
-
-
/Users/run/0abab8ff89e23e9a790f0b555586f9e8_JaffaCakes118/Users/run/0abab8ff89e23e9a790f0b555586f9e8_JaffaCakes1182⤵PID:486
-
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:487
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:487
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:487
-
/usr/bin/pluginkit/usr/bin/pluginkit -e ignore -i com.microsoft.OneDrive.FinderSync1⤵PID:491
-
/usr/sbin/spctl/usr/sbin/spctl --assess --type execute /var/folders/pq/yy2b5ptn4cz739jgclj4m1wm0000gp/T/OneDriveUpdater0BF23177/OneDrive.app1⤵PID:492
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:495
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:495
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:495
-
/usr/libexec/xpcproxyxpcproxy com.apple.security.authtrampoline1⤵PID:496
-
/System/Library/Frameworks/Security.framework/authtrampoline/System/Library/Frameworks/Security.framework/authtrampoline1⤵PID:496
-
/bin/sh/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:497
-
/bin/bash/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:497
-
/bin/launchctllaunchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:497
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:498
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:498
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:499
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:499
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:499
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:524
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:524
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:525
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:525
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:525
-
/usr/bin/bzip2/usr/bin/bzip2 -f /var/log/wifi.log.01⤵PID:526
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:530
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:530
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:531
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:531
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:531
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:534
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:534
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:535
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:535
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:535
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:538
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:538
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:539
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:539
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:539
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:543
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:543
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:544
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:544
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:544
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:545
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:545
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:546
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:546
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:546
-
/usr/sbin/spctl/usr/sbin/spctl --assess --type execute /Applications/OneDrive.app1⤵PID:548
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:553
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:553
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:554
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:554
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:554
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:555
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:555
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:556
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:556
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:556
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:557
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:557
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:558
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:558
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:558
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:561
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:561
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:562
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:562
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:562
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:563
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:563
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:564
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:564
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:564
-
/bin/launchctl/bin/launchctl kill SIGTERM system/com.microsoft.OneDriveUpdaterDaemon1⤵PID:565
-
/bin/launchctl/bin/launchctl kill SIGTERM system/com.microsoft.OneDriveStandaloneUpdaterDaemon1⤵PID:566
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:573
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:573
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:574
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:574
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:574
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:575
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:575
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:576
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:576
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:576
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:577
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:577
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:578
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:578
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:578