Analysis
-
max time kernel
150s -
max time network
118s -
platform
windows7_x64 -
resource
win7-20240704-en -
resource tags
arch:x64arch:x86image:win7-20240704-enlocale:en-usos:windows7-x64system -
submitted
17-09-2024 06:37
Static task
static1
Behavioral task
behavioral1
Sample
e63df87df22bc2302cd69c4235d33540_JaffaCakes118.ps1
Resource
win7-20240704-en
General
-
Target
e63df87df22bc2302cd69c4235d33540_JaffaCakes118.ps1
-
Size
1.5MB
-
MD5
e63df87df22bc2302cd69c4235d33540
-
SHA1
07c0969da07fb6c81e4d87031e59150d9485639d
-
SHA256
9ba0535c61d531c8128acb5431ca8308e9fec809a9098921e6074822ab2302b9
-
SHA512
dcc3e688c99d01113ea73994e01944cac2a4da6ac85821700361db19b8274a73b1e4f0bddf8314061e8e54bd6473646a6bdc06132e3b967fa9833f8f3aa43d57
-
SSDEEP
24576:Mw2O9/TgwrSUhVPHahmorI0hnvUwLS4A9ifw/vk2+4R:x95cwOI0Zh20fwpBR
Malware Config
Extracted
netwire
turnawayfromyourevilways.duckdns.org:5123
turnawayfromyourevilways.duckdns.org:4123
-
activex_autorun
false
-
copy_executable
false
-
delete_original
true
-
host_id
CONNECTION TEST
-
keylogger_dir
%AppData%\Logs\
-
lock_executable
false
-
mutex
HKBWgTeq
-
offline_keylogger
true
-
password
Password
-
registry_autorun
false
-
use_mutex
true
Signatures
-
NetWire RAT payload 2 IoCs
resource yara_rule behavioral1/memory/2860-49-0x0000000000400000-0x000000000042C000-memory.dmp netwire behavioral1/memory/2860-41-0x0000000000400000-0x000000000042C000-memory.dmp netwire -
Drops startup file 1 IoCs
description ioc Process File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\xcopy.vbs lfyd.exe -
Executes dropped EXE 2 IoCs
pid Process 2260 lfyd.exe 2860 lfyd.exe -
AutoIT Executable 2 IoCs
AutoIT scripts compiled to PE executables.
resource yara_rule behavioral1/files/0x0009000000016ddf-13.dat autoit_exe behavioral1/files/0x000d0000000173de-38.dat autoit_exe -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2260 set thread context of 2860 2260 lfyd.exe 36 -
pid Process 2520 powershell.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 5 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language AcroRd32.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language lfyd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language timeout.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language lfyd.exe -
Delays execution with timeout.exe 1 IoCs
pid Process 3000 timeout.exe -
Suspicious behavior: EnumeratesProcesses 64 IoCs
pid Process 2520 powershell.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe -
Suspicious behavior: GetForegroundWindowSpam 1 IoCs
pid Process 2296 AcroRd32.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 2520 powershell.exe -
Suspicious use of FindShellTrayWindow 3 IoCs
pid Process 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe -
Suspicious use of SendNotifyMessage 3 IoCs
pid Process 2260 lfyd.exe 2260 lfyd.exe 2260 lfyd.exe -
Suspicious use of SetWindowsHookEx 3 IoCs
pid Process 2296 AcroRd32.exe 2296 AcroRd32.exe 2296 AcroRd32.exe -
Suspicious use of WriteProcessMemory 22 IoCs
description pid Process procid_target PID 2520 wrote to memory of 2260 2520 powershell.exe 32 PID 2520 wrote to memory of 2260 2520 powershell.exe 32 PID 2520 wrote to memory of 2260 2520 powershell.exe 32 PID 2520 wrote to memory of 2260 2520 powershell.exe 32 PID 2260 wrote to memory of 2296 2260 lfyd.exe 33 PID 2260 wrote to memory of 2296 2260 lfyd.exe 33 PID 2260 wrote to memory of 2296 2260 lfyd.exe 33 PID 2260 wrote to memory of 2296 2260 lfyd.exe 33 PID 2260 wrote to memory of 2888 2260 lfyd.exe 34 PID 2260 wrote to memory of 2888 2260 lfyd.exe 34 PID 2260 wrote to memory of 2888 2260 lfyd.exe 34 PID 2260 wrote to memory of 2888 2260 lfyd.exe 34 PID 2260 wrote to memory of 2860 2260 lfyd.exe 36 PID 2260 wrote to memory of 2860 2260 lfyd.exe 36 PID 2260 wrote to memory of 2860 2260 lfyd.exe 36 PID 2260 wrote to memory of 2860 2260 lfyd.exe 36 PID 2260 wrote to memory of 2860 2260 lfyd.exe 36 PID 2260 wrote to memory of 2860 2260 lfyd.exe 36 PID 2888 wrote to memory of 3000 2888 cmd.exe 37 PID 2888 wrote to memory of 3000 2888 cmd.exe 37 PID 2888 wrote to memory of 3000 2888 cmd.exe 37 PID 2888 wrote to memory of 3000 2888 cmd.exe 37
Processes
-
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exepowershell.exe -ExecutionPolicy bypass -File C:\Users\Admin\AppData\Local\Temp\e63df87df22bc2302cd69c4235d33540_JaffaCakes118.ps11⤵
- Command and Scripting Interpreter: PowerShell
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2520 -
C:\Users\Public\lfyd.exe"C:\Users\Public\lfyd.exe"2⤵
- Drops startup file
- Executes dropped EXE
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of FindShellTrayWindow
- Suspicious use of SendNotifyMessage
- Suspicious use of WriteProcessMemory
PID:2260 -
C:\Program Files (x86)\Adobe\Reader 9.0\Reader\AcroRd32.exe"C:\Program Files (x86)\Adobe\Reader 9.0\Reader\AcroRd32.exe" "C:\Users\Admin\AppData\Local\Temp\APPENDIX B - RFP 2044644.pdf"3⤵
- System Location Discovery: System Language Discovery
- Suspicious behavior: GetForegroundWindowSpam
- Suspicious use of SetWindowsHookEx
PID:2296
-
-
C:\Windows\SysWOW64\cmd.exe"C:\Windows\System32\cmd.exe" /c TimeOut 1 & Del /F "C:\Users\Public\lfyd.exe"3⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:2888 -
C:\Windows\SysWOW64\timeout.exeTimeOut 14⤵
- System Location Discovery: System Language Discovery
- Delays execution with timeout.exe
PID:3000
-
-
-
C:\Users\Public\lfyd.exe"C:\Users\Public\lfyd.exe"3⤵
- Executes dropped EXE
- System Location Discovery: System Language Discovery
PID:2860
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
45KB
MD507e74d5315dd64caf2911790872a6956
SHA1ca39a5d4def85a1195cea755a13a2354eebd1d59
SHA2569fd5ed20b1e46911df51e259f86dd687f76a9d79c41de8c7053e658c1d2d93e5
SHA512b235eb9ce9d5a052a35a1d0f4e5555c4513222aaf533c9e9abaff72f06400308d01aa111e64e3937a1317a5b1dbf2a5a6731384e32ee1af9d471fbeafd6b340d
-
Filesize
1.1MB
MD56e4f518683d4780429095fbebf5b7c50
SHA1fd73b6c8243acbd2cdba90881d3a95edad1d2194
SHA2563762ae8ac8503882d654b701111f2a6d29c066d5ba3b67b0b536ad88a42fa0be
SHA512be0d59843dad570984008b503540fcbce3b7b2a46d131aecf79271013b658afca797d6a323c9d3f131ccd35e06c1d0553f30936ab370a3510ed908f6d9d3e313
-
Filesize
3KB
MD5503c420b525ab18b47ca7878189b4fba
SHA1fd1faf9dbe26b822f54c37f39c646dc75c37a685
SHA256a2a077b9dfa2c0e8799ecd1ff00d150282ba92091854f721ae59a2735d3ee68b
SHA51233e81b05d3a60a971c40a98d00199906c11d82dbe1b609f17f10e39a54e7681e13fdfd492aa62d457e4bccedef4e8c197d90092de55499f2ef00bec9f780b082
-
Filesize
1.1MB
MD57db0abdd88a0df42e25b3fd1b0b86b52
SHA15948b4b2d6b3e634843986abf8131e9cc62c1128
SHA2569b419a5d68c20e412fd58dec7774ca8ab4e2cd11c3faa282f4dde44930e5ea01
SHA512f70b3605bbb18fd2ac7ac5b6030d8822161146c8164b1c9b8f573e5b9b1d1debeb0784ac67d615fa8f0931a617768b668d26084a419bb7d9e5fe6039c4b381d9