Analysis
-
max time kernel
146s -
max time network
145s -
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 13:30
Behavioral task
behavioral1
Sample
00dfdd9067c5013c5c179301f91c2978_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
00dfdd9067c5013c5c179301f91c2978_JaffaCakes118
-
Size
168KB
-
MD5
00dfdd9067c5013c5c179301f91c2978
-
SHA1
5c7ccc55c6d097519e19e68d9c5797516c8bc4f7
-
SHA256
1e468b1d177cd48603f0736751a9ec1538baece915bcd5e2bcc5507b45c8a1ee
-
SHA512
64fe607cba864b87bdd9de4857360165874ce3c4f78a6dde31bec46ff11b9579d4d09d2fa4c7e57427df0522a87b2a32c0e5f081150b3607f2fb025815002efd
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9e3biu10: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 2 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 -
Launchctl 1 TTPs 4 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 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 load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found
Processes
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/00dfdd9067c5013c5c179301f91c2978_JaffaCakes118\""1⤵PID:482
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/00dfdd9067c5013c5c179301f91c2978_JaffaCakes118\""1⤵PID:482
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/00dfdd9067c5013c5c179301f91c2978_JaffaCakes1181⤵PID:482
-
/bin/zsh/bin/zsh -c /Users/run/00dfdd9067c5013c5c179301f91c2978_JaffaCakes1182⤵PID:483
-
-
/Users/run/00dfdd9067c5013c5c179301f91c2978_JaffaCakes118/Users/run/00dfdd9067c5013c5c179301f91c2978_JaffaCakes1182⤵PID:483
-
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:484
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:484
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:484
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:511
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:511
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:511
-
/usr/libexec/xpcproxyxpcproxy com.apple.security.authtrampoline1⤵PID:512
-
/System/Library/Frameworks/Security.framework/authtrampoline/System/Library/Frameworks/Security.framework/authtrampoline1⤵PID:512
-
/bin/sh/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:513
-
/bin/bash/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:513
-
/bin/launchctllaunchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:513
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:514
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:514
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:515
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:515
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:515
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:520
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵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: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:531
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:531
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:532
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:532
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:532
-
/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: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/sbin/spctl/usr/sbin/spctl --assess --type execute /Applications/OneDrive.app1⤵PID:541
-
/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: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:550
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:550
-
/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 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:556
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:556
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:557
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:557
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:557
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:558
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:558
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:559
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:559
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:559
-
/bin/launchctl/bin/launchctl kill SIGTERM system/com.microsoft.OneDriveUpdaterDaemon1⤵PID:560
-
/bin/launchctl/bin/launchctl kill SIGTERM system/com.microsoft.OneDriveStandaloneUpdaterDaemon1⤵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:572
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:572
-
/usr/libexec/xpcproxyxpcproxy com.apple.corespotlightservice.725FD30A-6064-6C02-CC51-5DDB8891B57E1⤵PID:573
-
/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService1⤵PID:573
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:574
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:574
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:574
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:575
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:575
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:576
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:576
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:576