Analysis
-
max time kernel
149s -
max time network
148s -
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
03-05-2024 06:20
Behavioral task
behavioral1
Sample
0fddec87384531b719e78dee5f92dcc5_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
0fddec87384531b719e78dee5f92dcc5_JaffaCakes118
-
Size
168KB
-
MD5
0fddec87384531b719e78dee5f92dcc5
-
SHA1
e9e2a9db3d756a5220fc0a681037cd490fc808fb
-
SHA256
284685da23dcb7ed0efbfc9b3d678c5b69e0afcb9910b0eee3f5b1be40fd4e61
-
SHA512
93e462a5c8e18d3218cf98f99a7e8f6f639e723d8a841997abebfba7437c5b24b47035c3271fab3224259e38b370476bf96c3b376b77f2edda672c5425557d4a
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9Dv0: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.
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 sh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found osascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" Process not Found -
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.
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 /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 start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\"" Process not Found osascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges" Process not Found /bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist" Process not Found launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist Process not Found
Processes
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/0fddec87384531b719e78dee5f92dcc5_JaffaCakes118\""1⤵PID:485
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/0fddec87384531b719e78dee5f92dcc5_JaffaCakes118\""1⤵PID:485
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/0fddec87384531b719e78dee5f92dcc5_JaffaCakes1181⤵PID:485
-
/bin/zsh/bin/zsh -c /Users/run/0fddec87384531b719e78dee5f92dcc5_JaffaCakes1182⤵PID:486
-
-
/Users/run/0fddec87384531b719e78dee5f92dcc5_JaffaCakes118/Users/run/0fddec87384531b719e78dee5f92dcc5_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:512
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:512
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:512
-
/usr/libexec/xpcproxyxpcproxy com.apple.security.authtrampoline1⤵PID:513
-
/System/Library/Frameworks/Security.framework/authtrampoline/System/Library/Frameworks/Security.framework/authtrampoline1⤵PID:513
-
/bin/sh/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:514
-
/bin/bash/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:514
-
/bin/launchctllaunchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:514
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:515
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:515
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:516
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:516
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:516
-
/bin/sh/bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:517
-
/bin/bash/bin/sh -c "launchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:517
-
/bin/launchctllaunchctl start /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:517
-
/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
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:527
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:527
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:528
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:528
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:528
-
/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: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:539
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:539
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:540
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:540
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:540
-
/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:546
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:546
-
/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/sbin/spctl/usr/sbin/spctl --assess --type execute /Applications/OneDrive.app1⤵PID:548
-
/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: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
-
/bin/launchctl/bin/launchctl kill SIGTERM system/com.microsoft.OneDriveUpdaterDaemon1⤵PID:567
-
/bin/launchctl/bin/launchctl kill SIGTERM system/com.microsoft.OneDriveStandaloneUpdaterDaemon1⤵PID:568
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:577
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:577
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:578
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:578
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:578
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:579
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:579
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:580
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:580
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:580
-
/usr/libexec/xpcproxyxpcproxy com.apple.corespotlightservice.725FD30A-6064-6C02-CC51-5DDB8891B57E1⤵PID:581
-
/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService1⤵PID:581
-
/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:583
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:583
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:583