Analysis
-
max time kernel
146s -
max time network
142s -
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 22:19
Behavioral task
behavioral1
Sample
01ca92946b984e0a973d3a8cce5f1f9b_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
01ca92946b984e0a973d3a8cce5f1f9b_JaffaCakes118
-
Size
168KB
-
MD5
01ca92946b984e0a973d3a8cce5f1f9b
-
SHA1
daea5f452029e197cc6e853b89f6ac3198c7ee36
-
SHA256
5105da3b225af12fb146edfd3ae1b8d4549ea4a073313ac71536ddefb667c50a
-
SHA512
83e2d1fe9361bed897703bb6e7a9f4a33b0be08374c7f70ed512877b71af32fbfcf92b31ee39c062b583a31682f6765cb4dede50d554cb9105c9f51aa271e523
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq92k/0: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 4 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 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 -
Resource Forking 1 TTPs 2 IoCs
Adversaries may abuse resource forks to hide malicious code or executables to evade detection and bypass security applications. A resource fork provides applications a structured way to store resources such as thumbnail images, menu definitions, icons, dialog boxes, and code.
ioc Process /System/Library/CoreServices/loginwindow.app/Contents/Resources/LWWeeklyMessageTracer Process not Found "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater" -bgcheck Process not Found -
Launchctl 1 TTPs 8 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 /bin/sh -c "launchctl load -w /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 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 /bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist" Process not Found launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist Process not Found
Processes
-
/usr/libexec/xpcproxyxpcproxy com.apple.gkreport1⤵PID:479
-
/usr/libexec/gkreport/usr/libexec/gkreport1⤵PID:479
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/01ca92946b984e0a973d3a8cce5f1f9b_JaffaCakes118\""1⤵PID:481
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/01ca92946b984e0a973d3a8cce5f1f9b_JaffaCakes118\""1⤵PID:481
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/01ca92946b984e0a973d3a8cce5f1f9b_JaffaCakes1181⤵PID:481
-
/bin/zsh/bin/zsh -c /Users/run/01ca92946b984e0a973d3a8cce5f1f9b_JaffaCakes1182⤵PID:484
-
-
/Users/run/01ca92946b984e0a973d3a8cce5f1f9b_JaffaCakes118/Users/run/01ca92946b984e0a973d3a8cce5f1f9b_JaffaCakes1182⤵PID:484
-
-
/usr/libexec/xpcproxyxpcproxy com.apple.systemstats.daily1⤵PID:482
-
/usr/libexec/xpcproxyxpcproxy com.apple.loginwindow.LWWeeklyMessageTracer1⤵PID:483
-
/System/Library/CoreServices/loginwindow.app/Contents/Resources/LWWeeklyMessageTracer/System/Library/CoreServices/loginwindow.app/Contents/Resources/LWWeeklyMessageTracer1⤵PID:483
-
/usr/libexec/xpcproxyxpcproxy com.oracle.java.Java-Updater1⤵PID:485
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:486
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:486
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:486
-
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater"/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater" -bgcheck1⤵PID:485
-
/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
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:525
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:525
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:526
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:526
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵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:535
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:535
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:536
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:536
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:536
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:537
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:537
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:538
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:538
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:538
-
/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: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/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:547
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:547
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:548
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:548
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:548
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:549
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:549
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:550
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:550
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:550
-
/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: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:562
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:562
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:563
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:563
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:563
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:564
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:564
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:565
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:565
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:565
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:566
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:566
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:567
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:567
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:567