Analysis
-
max time kernel
147s -
max time network
134s -
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 20:21
Behavioral task
behavioral1
Sample
01967b222873966c32a1c26f66c9808b_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
01967b222873966c32a1c26f66c9808b_JaffaCakes118
-
Size
168KB
-
MD5
01967b222873966c32a1c26f66c9808b
-
SHA1
7b7e645142e2a95dab09b7ff3a807f3448e06671
-
SHA256
0404e354f51690d92b4910f43668a6c6e08ad3e1a6df8bf2f8d02bfed743c751
-
SHA512
924ffcd3e194666f51f3fd8caa142f14608d0c4e3f87b0baccce628f38016a418f2e4063f62fc80e891efd15a981d72e4db40477d2b6e71ddfd403ebcd8e9f12
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9f0:5SeOQdaZNxtk8cqhSxvHY9
Malware Config
Signatures
-
Launch Agent 1 TTPs
Adversaries may create or modify launch agents to repeatedly execute malicious payloads as part of persistence.
-
Launch Daemon 1 TTPs
Adversaries may create or modify Launch Daemons to execute malicious payloads as part of persistence. Launch Daemons are plist files used to interact with Launchd, the service management framework used by macOS.
-
AppleScript 1 TTPs 8 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 /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found osascript -e "do shell script \"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges" Process not Found sh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found osascript -e "do shell script \"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges" 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 sh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found osascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" Process not Found -
Launchctl 1 TTPs 16 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 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 osascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" Process not Found launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist Process not Found launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist Process not Found sh -c "osascript -e \"do shell script \\\"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found sh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found /bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist" Process not Found osascript -e "do shell script \"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges" Process not Found /bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist" Process not Found launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist Process not Found osascript -e "do shell script \"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges" Process not Found /bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist" Process not Found launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist Process not Found /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist" Process not Found sh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found
Processes
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/01967b222873966c32a1c26f66c9808b_JaffaCakes118\""1⤵PID:485
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/01967b222873966c32a1c26f66c9808b_JaffaCakes118\""1⤵PID:485
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/01967b222873966c32a1c26f66c9808b_JaffaCakes1181⤵PID:485
-
/bin/zsh/bin/zsh -c /Users/run/01967b222873966c32a1c26f66c9808b_JaffaCakes1182⤵PID:487
-
-
/Users/run/01967b222873966c32a1c26f66c9808b_JaffaCakes118/Users/run/01967b222873966c32a1c26f66c9808b_JaffaCakes1182⤵PID:487
-
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:488
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:488
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:488
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:513
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:513
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:513
-
/usr/libexec/xpcproxyxpcproxy com.apple.security.authtrampoline1⤵PID:514
-
/System/Library/Frameworks/Security.framework/authtrampoline/System/Library/Frameworks/Security.framework/authtrampoline1⤵PID:514
-
/bin/sh/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:515
-
/bin/bash/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:515
-
/bin/launchctllaunchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:515
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:516
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:516
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:517
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:517
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:517
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:518
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:518
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:518
-
/bin/sh/bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:519
-
/bin/bash/bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:519
-
/bin/launchctllaunchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:519
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:520
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:520
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:520
-
/bin/sh/bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:521
-
/bin/bash/bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:521
-
/bin/launchctllaunchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist1⤵PID:521
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:522
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:522
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:522
-
/bin/sh/bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:523
-
/bin/bash/bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:523
-
/bin/launchctllaunchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist1⤵PID:523
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:531
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:531
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:532
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:532
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:532
-
/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:539
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:539
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:540
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:540
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:540
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:541
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:541
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:542
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:542
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:542
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:546
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:546
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:547
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:547
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:547
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:550
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:550
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:552
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:552
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:552
-
/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:558
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:558
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:559
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:559
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:559
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:560
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:560
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:561
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:561
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:561
-
/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
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:565
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:565
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:566
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:566
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:566
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:567
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:567
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:568
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:568
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:568
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:569
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:569
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:570
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:570
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:570