Analysis
-
max time kernel
146s -
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
28-04-2024 19:59
Behavioral task
behavioral1
Sample
05f4f08c0ff2333f04a3e339243fe776_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
05f4f08c0ff2333f04a3e339243fe776_JaffaCakes118
-
Size
168KB
-
MD5
05f4f08c0ff2333f04a3e339243fe776
-
SHA1
cd4470d63d68a738bf96046274a7fc5a9d64e8d0
-
SHA256
60570d32fdbf4cc607ad91c4842ae99f5b628fd1a7fdf48b6b11e6fdef3d20b5
-
SHA512
664d2216e2f761689eba094a2f67142179d3f9cac0c6371d54306ffad79c1d9721cca386be39bda0449a4fc86ded0cae27612d172971b30c1d3715b6dd309c9b
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9290: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.
Processes:
ioc process 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 /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 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" /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\""
Processes
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/05f4f08c0ff2333f04a3e339243fe776_JaffaCakes118\""1⤵PID:485
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/05f4f08c0ff2333f04a3e339243fe776_JaffaCakes118\""1⤵PID:485
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/05f4f08c0ff2333f04a3e339243fe776_JaffaCakes1181⤵PID:485
-
/bin/zsh/bin/zsh -c /Users/run/05f4f08c0ff2333f04a3e339243fe776_JaffaCakes1182⤵PID:486
-
-
/Users/run/05f4f08c0ff2333f04a3e339243fe776_JaffaCakes118/Users/run/05f4f08c0ff2333f04a3e339243fe776_JaffaCakes1182⤵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
-
/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/shsh -c "sysctl -n hw.ncpu"1⤵PID:519
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:519
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:519
-
/bin/sh/bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:520
-
/bin/bash/bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:520
-
/bin/launchctllaunchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:520
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:526
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:526
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:527
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:527
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:527
-
/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: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:536
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:536
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:537
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:537
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:537
-
/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: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: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