Analysis
-
max time kernel
148s -
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
28-04-2024 00:34
Behavioral task
behavioral1
Sample
03fcbae2c5cfc668aff5bc0644c63a0e_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
03fcbae2c5cfc668aff5bc0644c63a0e_JaffaCakes118
-
Size
168KB
-
MD5
03fcbae2c5cfc668aff5bc0644c63a0e
-
SHA1
10613b7ed5a03b7acad9b34e57bafdaae66b8d22
-
SHA256
379e83bcacf031bf19eb0dc9cb7117a656fcf79a9ae85ed9d2d611a8e456dc25
-
SHA512
9322223a27ed9c1e9c26bdd209b94538209b316f591a44afafa86b90654ed3f38a43a16adca829f228484ca1dbfc182448ee6abb2c6d7b7326fba83d3f11a257
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9SXRe0: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 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" 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" -
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 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" osascript -e "do shell script \"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges" launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist osascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" osascript -e "do shell script \"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges" /bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist" sh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\"" launchctl start /Library/LaunchDaemons/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\"" launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist /bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist" sh -c "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" sh -c "osascript -e \"do shell script \\\"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""
Processes
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/03fcbae2c5cfc668aff5bc0644c63a0e_JaffaCakes118\""1⤵PID:483
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/03fcbae2c5cfc668aff5bc0644c63a0e_JaffaCakes118\""1⤵PID:483
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/03fcbae2c5cfc668aff5bc0644c63a0e_JaffaCakes1181⤵PID:483
-
/bin/zsh/bin/zsh -c /Users/run/03fcbae2c5cfc668aff5bc0644c63a0e_JaffaCakes1182⤵PID:485
-
-
/Users/run/03fcbae2c5cfc668aff5bc0644c63a0e_JaffaCakes118/Users/run/03fcbae2c5cfc668aff5bc0644c63a0e_JaffaCakes1182⤵PID:485
-
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:486
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:486
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:486
-
/usr/bin/pluginkit/usr/bin/pluginkit -e ignore -i com.microsoft.OneDrive.FinderSync1⤵PID:490
-
/usr/sbin/spctl/usr/sbin/spctl --assess --type execute /var/folders/pq/yy2b5ptn4cz739jgclj4m1wm0000gp/T/OneDriveUpdater0BF23177/OneDrive.app1⤵PID:491
-
/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
-
/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/shsh -c "osascript -e \"do shell script \\\"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:520
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:520
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:520
-
/bin/sh/bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:521
-
/bin/bash/bin/sh -c "launchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:521
-
/bin/launchctllaunchctl load -w /Library/LaunchDaemons/com.apple.afsvcpd.plist1⤵PID:521
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:522
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:522
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:522
-
/bin/sh/bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:523
-
/bin/bash/bin/sh -c "launchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist"1⤵PID:523
-
/bin/launchctllaunchctl start /Library/LaunchDaemons/com.apple.afsvcpd.plist1⤵PID:523
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:530
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:530
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:531
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:531
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:531
-
/usr/bin/bzip2/usr/bin/bzip2 -f /var/log/wifi.log.01⤵PID:532
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:535
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:535
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:536
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:536
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:536
-
/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: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:544
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:544
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:544
-
/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:552
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:552
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:553
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:553
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:553
-
/usr/sbin/spctl/usr/sbin/spctl --assess --type execute /Applications/OneDrive.app1⤵PID:554
-
/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: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
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:569
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:569
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:570
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:570
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:570
-
/bin/launchctl/bin/launchctl kill SIGTERM system/com.microsoft.OneDriveUpdaterDaemon1⤵PID:571
-
/bin/launchctl/bin/launchctl kill SIGTERM system/com.microsoft.OneDriveStandaloneUpdaterDaemon1⤵PID:572
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:573
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵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
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:582
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:582
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:585
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:585
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:585