Analysis
-
max time kernel
145s -
max time network
119s -
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 06:23
Behavioral task
behavioral1
Sample
029f80ed204a2586fa3294a45911f978_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
029f80ed204a2586fa3294a45911f978_JaffaCakes118
-
Size
168KB
-
MD5
029f80ed204a2586fa3294a45911f978
-
SHA1
3a413fe4ef416bb222467962225d2c7072b62a86
-
SHA256
64a8295fa9d8080ac894f3d5f40993b502fdb5887bdbbe7a1d98163026506ef5
-
SHA512
2c58ac58b14440c332f2ea479f93f3d3eedcd1a396320378acef7d57919649efe62c3d3a64c6606dd84ae91c792392e993dc30feeaaec762a8f763144d012b4b
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9w0: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 7 IoCs
AppleScript is a macOS scripting language designed to control applications and parts of the OS via inter-application messages called AppleEvents.
ioc Process 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 administra" 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 sh -c "osascript -e \"do shell script \\\"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found -
Resource Forking 1 TTPs 1 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 "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/Java Updater.app/Contents/MacOS/Java Updater" -bgcheck Process not Found -
Launchctl 1 TTPs 13 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 start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" 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 launchctl load -w /Library/LaunchDaemons/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 /bin/sh -c "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 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 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 administra" Process not Found /bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist" Process not Found
Processes
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/029f80ed204a2586fa3294a45911f978_JaffaCakes118\""1⤵PID:482
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/029f80ed204a2586fa3294a45911f978_JaffaCakes118\""1⤵PID:482
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/029f80ed204a2586fa3294a45911f978_JaffaCakes1181⤵PID:482
-
/bin/zsh/bin/zsh -c /Users/run/029f80ed204a2586fa3294a45911f978_JaffaCakes1182⤵PID:483
-
-
/Users/run/029f80ed204a2586fa3294a45911f978_JaffaCakes118/Users/run/029f80ed204a2586fa3294a45911f978_JaffaCakes1182⤵PID:483
-
-
/usr/libexec/xpcproxyxpcproxy com.apple.systemstats.daily1⤵PID:484
-
/usr/libexec/xpcproxyxpcproxy com.oracle.java.Java-Updater1⤵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
-
/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:486
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:514
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:514
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:514
-
/usr/libexec/xpcproxyxpcproxy com.apple.security.authtrampoline1⤵PID:515
-
/System/Library/Frameworks/Security.framework/authtrampoline/System/Library/Frameworks/Security.framework/authtrampoline1⤵PID:515
-
/bin/sh/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:516
-
/bin/bash/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:516
-
/bin/launchctllaunchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:516
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:517
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:517
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:518
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:518
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵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 administra"1⤵PID:522
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administra"1⤵PID:522
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:524
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:524
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:524
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:529
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:529
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:530
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:530
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:530
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:532
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:532
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:533
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:533
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:533
-
/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:540
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:540
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:541
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:541
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:541
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:544
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:544
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:545
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:545
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:545
-
/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:548
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:548
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:549
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:549
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:549
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:554
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:554
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:555
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:555
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:555
-
/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: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
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:568
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:568
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:569
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:569
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:569
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:570
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:570
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:571
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:571
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:571
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:572
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:572
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:573
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:573
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:573