Analysis
-
max time kernel
145s -
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
26-04-2024 20:04
Behavioral task
behavioral1
Sample
018edfcb069f8dfd338d3420314ed0e2_JaffaCakes118
Resource
macos-20240410-en
General
-
Target
018edfcb069f8dfd338d3420314ed0e2_JaffaCakes118
-
Size
168KB
-
MD5
018edfcb069f8dfd338d3420314ed0e2
-
SHA1
056a046db6e8894fbdeac71eb1966ed592c56f6e
-
SHA256
4ceed05ea9c82dc710fdec1f3aa2a76427accf9a3c2d1edfd9ff5fb822b70342
-
SHA512
b37ef22f9c97d2f5b98d8a4654a42939f7268b89ce08c533f59375edd44a86eb2a8724efd87940065708f96c59720c0eba1e601b718f32c537e67207b031540a
-
SSDEEP
3072:cx6SZwEgOQtbap1jZNFnYo6w68cqhS2iJvHLzxq960: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
-
/bin/shsh -c "sudo /bin/zsh -c \"/Users/run/018edfcb069f8dfd338d3420314ed0e2_JaffaCakes118\""1⤵PID:482
-
/bin/bashsh -c "sudo /bin/zsh -c \"/Users/run/018edfcb069f8dfd338d3420314ed0e2_JaffaCakes118\""1⤵PID:482
-
/usr/bin/sudosudo /bin/zsh -c /Users/run/018edfcb069f8dfd338d3420314ed0e2_JaffaCakes1181⤵PID:482
-
/bin/zsh/bin/zsh -c /Users/run/018edfcb069f8dfd338d3420314ed0e2_JaffaCakes1182⤵PID:483
-
-
/Users/run/018edfcb069f8dfd338d3420314ed0e2_JaffaCakes118/Users/run/018edfcb069f8dfd338d3420314ed0e2_JaffaCakes1182⤵PID:483
-
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:484
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:484
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:484
-
/bin/shsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:492
-
/bin/bashsh -c "osascript -e \"do shell script \\\"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\\\" with administrator privileges\""1⤵PID:492
-
/usr/bin/osascriptosascript -e "do shell script \"launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist\" with administrator privileges"1⤵PID:492
-
/usr/libexec/xpcproxyxpcproxy com.apple.security.authtrampoline1⤵PID:493
-
/System/Library/Frameworks/Security.framework/authtrampoline/System/Library/Frameworks/Security.framework/authtrampoline1⤵PID:493
-
/bin/sh/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:494
-
/bin/bash/bin/sh -c "launchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist"1⤵PID:494
-
/bin/launchctllaunchctl load -w /Users/run/Library/LaunchAgents/com.apple.afsvcpd.plist1⤵PID:494
-
/usr/libexec/xpcproxyxpcproxy afsvcpd1⤵PID:495
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:495
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:516
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:516
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:516
-
/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:526
-
/Users/run/Library/osxmobiledata/com.apple.afsvcpd/Users/run/Library/osxmobiledata/com.apple.afsvcpd --silent1⤵PID:526
-
/bin/shsh -c "sysctl -n hw.ncpu"1⤵PID:527
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:527
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:527
-
/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:533
-
/bin/bashsh -c "sysctl -n hw.ncpu"1⤵PID:533
-
/usr/sbin/sysctlsysctl -n hw.ncpu1⤵PID:533
-
/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: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 com.apple.corespotlightservice.725FD30A-6064-6C02-CC51-5DDB8891B57E1⤵PID:543
-
/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService/System/Library/Frameworks/CoreSpotlight.framework/CoreSpotlightService1⤵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: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/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