Analysis
-
max time kernel
122s -
max time network
126s -
platform
windows7_x64 -
resource
win7-20231215-en -
resource tags
arch:x64arch:x86image:win7-20231215-enlocale:en-usos:windows7-x64system -
submitted
29-12-2023 21:51
Behavioral task
behavioral1
Sample
04df8dd30da8b5853f48cc1ac9b695a8.exe
Resource
win7-20231215-en
Behavioral task
behavioral2
Sample
04df8dd30da8b5853f48cc1ac9b695a8.exe
Resource
win10v2004-20231215-en
General
-
Target
04df8dd30da8b5853f48cc1ac9b695a8.exe
-
Size
6.1MB
-
MD5
04df8dd30da8b5853f48cc1ac9b695a8
-
SHA1
4c02262c2fea0e99277a99dcbe28a9c370b87c39
-
SHA256
78f4dd4b0e0bff6009f56a8b97332f600cec39e3c1d0e1cac6c7ee47a4bb9201
-
SHA512
3ad10c1512e316ff9d02bd5b4573298ae2f6fc8f9d56c66e2c5c4d95fe046e5b14b09e63cea9bca778560ce4b568ebdf70d66a0225b2eaf7e6cd3ba914583b7e
-
SSDEEP
3072:jnsbblTAByHNgb0nbYlwKsw962CpJid72gqV/6c4LNobbamucc3OD4iEDzyEaE0u:jnsq7hQplBdJ7bP4L8rVE
Malware Config
Extracted
C:\Users\Admin\AppData\Local\Temp\LegionReadMe.txt
131fjhrB4wH8j6adZXudp1Wn23pR33tpAh
http://mail2tor2zyjdctd.onion/
Signatures
-
Modifies WinLogon for persistence 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Shell = "empty" 04df8dd30da8b5853f48cc1ac9b695a8.exe -
Renames multiple (144) files with added filename extension
This suggests ransomware activity of encrypting all the files on the system.
-
Disables Task Manager via registry modification
-
Possible privilege escalation attempt 7 IoCs
pid Process 2876 icacls.exe 2808 takeown.exe 3012 icacls.exe 2692 takeown.exe 2308 takeown.exe 3008 icacls.exe 2992 takeown.exe -
Modifies file permissions 1 TTPs 7 IoCs
pid Process 3008 icacls.exe 2992 takeown.exe 2876 icacls.exe 2808 takeown.exe 3012 icacls.exe 2692 takeown.exe 2308 takeown.exe -
Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
-
Sets desktop wallpaper using registry 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-1603059206-2004189698-4139800220-1000\Control Panel\Desktop\Wallpaper = "C:\\Users\\Admin\\AppData\\Local\\Temp\\wp.bmp" 04df8dd30da8b5853f48cc1ac9b695a8.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Opens file in notepad (likely ransom note) 1 IoCs
pid Process 2536 NOTEPAD.EXE -
Suspicious behavior: EnumeratesProcesses 64 IoCs
pid Process 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe -
Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe Token: SeDebugPrivilege 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe Token: SeTakeOwnershipPrivilege 2992 takeown.exe Token: SeTakeOwnershipPrivilege 2808 takeown.exe Token: SeTakeOwnershipPrivilege 2692 takeown.exe Token: SeTakeOwnershipPrivilege 2308 takeown.exe -
Suspicious use of WriteProcessMemory 36 IoCs
description pid Process procid_target PID 3040 wrote to memory of 1740 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 28 PID 3040 wrote to memory of 1740 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 28 PID 3040 wrote to memory of 1740 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 28 PID 1740 wrote to memory of 2992 1740 cmd.exe 30 PID 1740 wrote to memory of 2992 1740 cmd.exe 30 PID 1740 wrote to memory of 2992 1740 cmd.exe 30 PID 1740 wrote to memory of 2876 1740 cmd.exe 31 PID 1740 wrote to memory of 2876 1740 cmd.exe 31 PID 1740 wrote to memory of 2876 1740 cmd.exe 31 PID 1740 wrote to memory of 2808 1740 cmd.exe 32 PID 1740 wrote to memory of 2808 1740 cmd.exe 32 PID 1740 wrote to memory of 2808 1740 cmd.exe 32 PID 1740 wrote to memory of 3012 1740 cmd.exe 33 PID 1740 wrote to memory of 3012 1740 cmd.exe 33 PID 1740 wrote to memory of 3012 1740 cmd.exe 33 PID 1740 wrote to memory of 2692 1740 cmd.exe 34 PID 1740 wrote to memory of 2692 1740 cmd.exe 34 PID 1740 wrote to memory of 2692 1740 cmd.exe 34 PID 1740 wrote to memory of 3008 1740 cmd.exe 36 PID 1740 wrote to memory of 3008 1740 cmd.exe 36 PID 1740 wrote to memory of 3008 1740 cmd.exe 36 PID 1740 wrote to memory of 2308 1740 cmd.exe 35 PID 1740 wrote to memory of 2308 1740 cmd.exe 35 PID 1740 wrote to memory of 2308 1740 cmd.exe 35 PID 3040 wrote to memory of 1876 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 41 PID 3040 wrote to memory of 1876 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 41 PID 3040 wrote to memory of 1876 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 41 PID 1876 wrote to memory of 848 1876 cmd.exe 42 PID 1876 wrote to memory of 848 1876 cmd.exe 42 PID 1876 wrote to memory of 848 1876 cmd.exe 42 PID 3040 wrote to memory of 2536 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 43 PID 3040 wrote to memory of 2536 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 43 PID 3040 wrote to memory of 2536 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 43 PID 3040 wrote to memory of 2920 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 45 PID 3040 wrote to memory of 2920 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 45 PID 3040 wrote to memory of 2920 3040 04df8dd30da8b5853f48cc1ac9b695a8.exe 45
Processes
-
C:\Users\Admin\AppData\Local\Temp\04df8dd30da8b5853f48cc1ac9b695a8.exe"C:\Users\Admin\AppData\Local\Temp\04df8dd30da8b5853f48cc1ac9b695a8.exe"1⤵
- Modifies WinLogon for persistence
- Sets desktop wallpaper using registry
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3040 -
C:\Windows\System32\cmd.exe"C:\Windows\System32\cmd.exe" /k takeown /f C:\Windows\System32 && icacls C:\Windows\System32 /grant %username%:F && takeown /f C:\Windows\System32\drivers && icacls C:\Windows\System32\drivers /grant %username%:F && takeown /f C:\Windows\System32\LogonUI.exe && icacls C:\Windows\System32\LogonUI.exe /grant %username%:F && takeown /f C:\bootmgr && icacls C:\bootmgr /grant %username%:F && attrib -s -r -h C:\bootmgr && del C:\bootmgr && Exit2⤵
- Suspicious use of WriteProcessMemory
PID:1740 -
C:\Windows\system32\takeown.exetakeown /f C:\Windows\System323⤵
- Possible privilege escalation attempt
- Modifies file permissions
- Suspicious use of AdjustPrivilegeToken
PID:2992
-
-
C:\Windows\system32\icacls.exeicacls C:\Windows\System32 /grant Admin:F3⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:2876
-
-
C:\Windows\system32\takeown.exetakeown /f C:\Windows\System32\drivers3⤵
- Possible privilege escalation attempt
- Modifies file permissions
- Suspicious use of AdjustPrivilegeToken
PID:2808
-
-
C:\Windows\system32\icacls.exeicacls C:\Windows\System32\drivers /grant Admin:F3⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:3012
-
-
C:\Windows\system32\takeown.exetakeown /f C:\Windows\System32\LogonUI.exe3⤵
- Possible privilege escalation attempt
- Modifies file permissions
- Suspicious use of AdjustPrivilegeToken
PID:2692
-
-
C:\Windows\system32\takeown.exetakeown /f C:\bootmgr3⤵
- Possible privilege escalation attempt
- Modifies file permissions
- Suspicious use of AdjustPrivilegeToken
PID:2308
-
-
C:\Windows\system32\icacls.exeicacls C:\Windows\System32\LogonUI.exe /grant Admin:F3⤵
- Possible privilege escalation attempt
- Modifies file permissions
PID:3008
-
-
-
C:\Windows\System32\cmd.exe"C:\Windows\System32\cmd.exe" /k rundll32 user32.dll,UpdatePerUserSystemParameters && Exit2⤵
- Suspicious use of WriteProcessMemory
PID:1876 -
C:\Windows\system32\rundll32.exerundll32 user32.dll,UpdatePerUserSystemParameters3⤵PID:848
-
-
-
C:\Windows\system32\NOTEPAD.EXE"C:\Windows\system32\NOTEPAD.EXE" C:\Users\Admin\AppData\Local\Temp\LegionReadMe.txt2⤵
- Opens file in notepad (likely ransom note)
PID:2536
-
-
C:\Windows\system32\WerFault.exeC:\Windows\system32\WerFault.exe -u -p 3040 -s 9002⤵PID:2920
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
16B
MD579bb29efb8fb96f11016ce4754e80b6b
SHA19ed8d422a9926e01c03bff38c34beadf2522ca7c
SHA2565de2e6ca20d8f3b3a7683cce544979246d9eb2f27a94c184d9a50775ebb7ca02
SHA512d742556f9751c6f73dcc2d80fb5e8643fb1613ea4a67cf923c52c310864b6dde95a3a8e4d02c8309c8778e9cab75d528b52e30988a6eedbadbeb61c0ba76df51
-
Filesize
1KB
MD57db09a04d53ec49b19596d7836ac2286
SHA1f92b734a6fd58d4a729d14f32bd69d588d03fb70
SHA256eb07471b556a3a18b04c9f14d98f0d8345f6a249a74eea2148af19b50c97c5e7
SHA512fc597891e55cfd69aaf709d20f89c088c6e4632a0f1b3286aaee2d22f98a7f01aaff1f8ec2660086f3434a02d4ea9fa0a5df60eac95abe9be56be8aee6d92897