Analysis
-
max time kernel
149s -
max time network
132s -
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 03:08
Behavioral task
behavioral1
Sample
043e3fa9242071d428145b21aaee2f5f_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
043e3fa9242071d428145b21aaee2f5f_JaffaCakes118
-
Size
168KB
-
MD5
043e3fa9242071d428145b21aaee2f5f
-
SHA1
237d86cea6ac97cf1c5f0381664dbf537c35bdea
-
SHA256
4f374e6187acd8ec6de7e034ae526cce97b0fd1701b0b5dab8857c3a393a1a38
-
SHA512
bdc39bcecbcb46c25424da48a2710b80808aa9ad1d65659553c29ba34ae49fb99ad28db4273cc80a1ed63a3d0c43d7423949d6d40f44d87010e210db9897fa67
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9i0: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 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
Processes
-
/usr/libexec/xpcproxyxpcproxy com.apple.systemstats.daily1⤵PID:482
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/043e3fa9242071d428145b21aaee2f5f_JaffaCakes118\""1⤵PID:483
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/043e3fa9242071d428145b21aaee2f5f_JaffaCakes118\""1⤵PID:483
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/043e3fa9242071d428145b21aaee2f5f_JaffaCakes1181⤵PID:483
-
/bin/zsh/bin/zsh -c /Users/run/043e3fa9242071d428145b21aaee2f5f_JaffaCakes1182⤵PID:485
-
-
/Users/run/043e3fa9242071d428145b21aaee2f5f_JaffaCakes118/Users/run/043e3fa9242071d428145b21aaee2f5f_JaffaCakes1182⤵PID:485
-
-
/usr/libexec/xpcproxyxpcproxy com.apple.newsyslog1⤵PID:484
-
/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/sbin/newsyslog/usr/sbin/newsyslog1⤵PID:484
-
/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:494
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:494
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:494
-
/usr/libexec/xpcproxyxpcproxy com.apple.security.authtrampoline1⤵PID:495
-
/System/Library/Frameworks/Security.framework/authtrampoline/System/Library/Frameworks/Security.framework/authtrampoline1⤵PID:495
-
/bin/sh/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:496
-
/bin/bash/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:496
-
/bin/launchctllaunchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:496
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:497
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:497
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:498
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:498
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:498
-
/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: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:533
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:533
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:534
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:534
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:534
-
/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: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:542
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:542
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:542
-
/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 com.apple.corespotlightservice.725FD30A-6064-6C02-CC51-5DDB8891B57E1⤵PID:545
-
/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService1⤵PID:545
-
/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/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
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:560
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:560
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:561
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:561
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵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:564
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:564
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:565
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:565
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:565
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:566
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:566
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:567
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:567
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:567