Analysis
-
max time kernel
146s -
max time network
131s -
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
30-04-2024 23:25
Behavioral task
behavioral1
Sample
0aa7a6dc17d09992a2ecfdafc03c83e6_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
0aa7a6dc17d09992a2ecfdafc03c83e6_JaffaCakes118
-
Size
168KB
-
MD5
0aa7a6dc17d09992a2ecfdafc03c83e6
-
SHA1
a7a89c8c95c13d747b4c63272d4f244bd644f9f3
-
SHA256
0be5e57b0739fde2e4ad79277a361c6d1b0ebc1aae77d6b61bad0f3877ffeefd
-
SHA512
dd19db0f0162c525f114b25ee2de517faa60ae40d128f2f4b561bad5fd0c1d2dbbe98db8708f06826dfccad131778b1c4bf6f822434f0a3f301818fe9e12488c
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9+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.
-
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.
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 /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\"" osascript -e "do shell script \"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges" sh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\"" osascript -e "do shell script \"launchctl start /Library/LaunchDaemons/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 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.
Processes:
ioc process sh -c "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\"" 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 /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\"" osascript -e "do shell script \"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges" sh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\"" osascript -e "do shell script \"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges" launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist /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 /bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist" launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist osascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist /bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist" /bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist"
Processes
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/0aa7a6dc17d09992a2ecfdafc03c83e6_JaffaCakes118\""1⤵PID:482
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/0aa7a6dc17d09992a2ecfdafc03c83e6_JaffaCakes118\""1⤵PID:482
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/0aa7a6dc17d09992a2ecfdafc03c83e6_JaffaCakes1181⤵PID:482
-
/bin/zsh/bin/zsh -c /Users/run/0aa7a6dc17d09992a2ecfdafc03c83e6_JaffaCakes1182⤵PID:484
-
-
/Users/run/0aa7a6dc17d09992a2ecfdafc03c83e6_JaffaCakes118/Users/run/0aa7a6dc17d09992a2ecfdafc03c83e6_JaffaCakes1182⤵PID:484
-
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:485
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:485
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵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:493
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:493
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:493
-
/usr/libexec/xpcproxyxpcproxy com.apple.security.authtrampoline1⤵PID:495
-
/System/Library/Frameworks/Security.framework/authtrampoline/System/Library/Frameworks/Security.framework/authtrampoline1⤵PID:495
-
/bin/sh/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:496
-
/bin/bash/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:496
-
/bin/launchctllaunchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:496
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:497
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:497
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:498
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:498
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:498
-
/bin/sh/bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:499
-
/bin/bash/bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:499
-
/bin/launchctllaunchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:499
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:500
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:500
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:500
-
/bin/sh/bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:501
-
/bin/bash/bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:501
-
/bin/launchctllaunchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist1⤵PID:501
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:502
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:502
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:502
-
/bin/sh/bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:503
-
/bin/bash/bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:503
-
/bin/launchctllaunchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist1⤵PID:503
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:504
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:504
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:504
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:528
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:528
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:529
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:529
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:529
-
/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: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: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: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: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:551
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:551
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:551
-
/usr/libexec/xpcproxyxpcproxy com.apple.corespotlightservice.725FD30A-6064-6C02-CC51-5DDB8891B57E1⤵PID:552
-
/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService1⤵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: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:559
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:559
-
/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: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
-
/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