Analysis
-
max time kernel
147s -
max time network
123s -
platform
macos-10.15_amd64 -
resource
macos-20240711.1-en -
resource tags
arch:amd64arch:i386image:macos-20240711.1-enkernel:19b77alocale:en-usos:macos-10.15-amd64system -
submitted
28-07-2024 02:45
Behavioral task
behavioral1
Sample
064037e46d48076d4bd2791b0c2450dc_JaffaCakes118
Resource
macos-20240711.1-en
General
-
Target
064037e46d48076d4bd2791b0c2450dc_JaffaCakes118
-
Size
168KB
-
MD5
064037e46d48076d4bd2791b0c2450dc
-
SHA1
709287cd324038d7e7bffe36f1913fe08a7cf567
-
SHA256
2f350ea801faa950fcd9b813a9b158eddf9ecf2620b5a3a662076c5e554a260d
-
SHA512
3df3e1eca59da1a4f716d22ffb38788bbbf4f869c55f48a70b3c496e9a2b760b839307a5cc5c3a05e4a88e3f9a71a1eef781e9dcf277ae491548588e507be14e
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9Z0G0:5SeOQdaZNxtk8cqhSxvHY9K
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.
Processes:
ioc process osascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" sh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" osascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" sh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" -
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.
Processes:
ioc process /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist" launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist sh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" osascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" /bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist" launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist sh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" osascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"
Processes
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/064037e46d48076d4bd2791b0c2450dc_JaffaCakes118\""1⤵PID:486
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/064037e46d48076d4bd2791b0c2450dc_JaffaCakes118\""1⤵PID:486
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/064037e46d48076d4bd2791b0c2450dc_JaffaCakes1181⤵PID:486
-
/bin/zsh/bin/zsh -c /Users/run/064037e46d48076d4bd2791b0c2450dc_JaffaCakes1182⤵PID:487
-
-
/Users/run/064037e46d48076d4bd2791b0c2450dc_JaffaCakes118/Users/run/064037e46d48076d4bd2791b0c2450dc_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/sh/bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:518
-
/bin/bash/bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:518
-
/bin/launchctllaunchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:518
-
/usr/libexec/xpcproxyxpcproxy com.apple.audio.AudioComponentRegistrar1⤵PID:520
-
/System/Library/Frameworks/AudioToolbox.framework/AudioComponentRegistrar/System/Library/Frameworks/AudioToolbox.framework/AudioComponentRegistrar -daemon1⤵PID:520
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:521
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:521
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:521
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:522
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:522
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:523
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:523
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:523
-
/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:542
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:542
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:543
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:543
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:543
-
/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:551
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:551
-
/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: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:560
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:560
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:560
-
/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
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:574
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:574
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:575
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:575
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:575