Analysis
-
max time kernel
148s -
max time network
142s -
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 20:02
Behavioral task
behavioral1
Sample
0384c8a0b998e8bb1f4585c61b17f9a1_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
0384c8a0b998e8bb1f4585c61b17f9a1_JaffaCakes118
-
Size
168KB
-
MD5
0384c8a0b998e8bb1f4585c61b17f9a1
-
SHA1
a647f97d2e09b96fc2bccfacb0878423102f6a1e
-
SHA256
0959f724d26aa9adcf69c10c159b5e989ec34c7e7d7cce5253012fa9b8576ff6
-
SHA512
434c118bacdd8c6db7c996eaee38ac446b417edbf3df197ce1dbfdd7e8db53d8d04aef29ec8741fa8b978c8f193c66ac833714bf51f9353a197a65e650e4d383
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq970: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 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\"" 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\"" -
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 /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 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\"" sh -c "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 /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist osascript -e "do shell script \"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges" launchctl load -w /Library/LaunchDaemons/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" /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist" 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/0384c8a0b998e8bb1f4585c61b17f9a1_JaffaCakes118\""1⤵PID:484
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/0384c8a0b998e8bb1f4585c61b17f9a1_JaffaCakes118\""1⤵PID:484
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/0384c8a0b998e8bb1f4585c61b17f9a1_JaffaCakes1181⤵PID:484
-
/bin/zsh/bin/zsh -c /Users/run/0384c8a0b998e8bb1f4585c61b17f9a1_JaffaCakes1182⤵PID:486
-
-
/Users/run/0384c8a0b998e8bb1f4585c61b17f9a1_JaffaCakes118/Users/run/0384c8a0b998e8bb1f4585c61b17f9a1_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
-
/usr/bin/pluginkit/usr/bin/pluginkit -e ignore -i com.microsoft.OneDrive.FinderSync1⤵PID:491
-
/usr/sbin/spctl/usr/sbin/spctl --assess --type execute /var/folders/pq/yy2b5ptn4cz739jgclj4m1wm0000gp/T/OneDriveUpdater0BF23177/OneDrive.app1⤵PID:492
-
/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:494
-
/System/Library/Frameworks/Security.framework/authtrampoline/System/Library/Frameworks/Security.framework/authtrampoline1⤵PID:494
-
/bin/sh/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:495
-
/bin/bash/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:495
-
/bin/launchctllaunchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:495
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:496
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:496
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:497
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:497
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:497
-
/bin/shsh -c "sysctl -n hw.ncpu"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/bashsh -c "sysctl -n hw.ncpu"1⤵PID:498
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:498
-
/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:502
-
/bin/bash/bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:502
-
/bin/launchctllaunchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist1⤵PID:502
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:503
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:503
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:503
-
/bin/sh/bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:504
-
/bin/bash/bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:504
-
/bin/launchctllaunchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist1⤵PID:504
-
/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:538
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:538
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:538
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:541
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:541
-
/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: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: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 com.apple.corespotlightservice.725FD30A-6064-6C02-CC51-5DDB8891B57E1⤵PID:553
-
/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService1⤵PID:553
-
/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: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: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: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
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:576
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:576
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:577
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:577
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:577