Analysis
-
max time kernel
148s -
max time network
150s -
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
29-04-2024 16:46
Behavioral task
behavioral1
Sample
08231c74fb78529be8930521ab8231db_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
08231c74fb78529be8930521ab8231db_JaffaCakes118
-
Size
168KB
-
MD5
08231c74fb78529be8930521ab8231db
-
SHA1
05a72e07d84698a4ce2c04bba0f8a5940ea5e7f4
-
SHA256
660ef27662f23865ae45bf5e22513e68e97e25996178da2aba3d36c68337ca99
-
SHA512
d1c6954ca138ed54a5e3511994df7333640725cbd549e52a60d8abd683fac401036734627cecd40effd61c55ea311ea7b0c52013ed38b76feb645b76aca58496
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq9cO47bBY0: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.
Processes:
ioc Process 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 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.
Processes:
ioc Process 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" /bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist" launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist
Processes
-
/usr/libexec/xpcproxyxpcproxy com.apple.systemstats.daily1⤵PID:481
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/08231c74fb78529be8930521ab8231db_JaffaCakes118\""1⤵PID:483
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/08231c74fb78529be8930521ab8231db_JaffaCakes118\""1⤵PID:483
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/08231c74fb78529be8930521ab8231db_JaffaCakes1181⤵PID:483
-
/bin/zsh/bin/zsh -c /Users/run/08231c74fb78529be8930521ab8231db_JaffaCakes1182⤵PID:484
-
-
/Users/run/08231c74fb78529be8930521ab8231db_JaffaCakes118/Users/run/08231c74fb78529be8930521ab8231db_JaffaCakes1182⤵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
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:488
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:488
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:488
-
/usr/libexec/xpcproxyxpcproxy com.apple.security.authtrampoline1⤵PID:491
-
/System/Library/Frameworks/Security.framework/authtrampoline/System/Library/Frameworks/Security.framework/authtrampoline1⤵PID:491
-
/bin/sh/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:492
-
/bin/bash/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:492
-
/bin/launchctllaunchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:492
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:493
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:493
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:494
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:494
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:494
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:521
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:521
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:522
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:522
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:522
-
/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: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: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: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: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/sbin/spctl/usr/sbin/spctl --assess --type execute /Applications/OneDrive.app1⤵PID:546
-
/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 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: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: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