Analysis
- max time kernel
141s - max time network
149s - platform
windows10-2004_x64 - resource
win10v2004-20231215-en - resource tags
arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system - submitted
03/02/2024, 12:06
Behavioral task
behavioral1
Sample
8c4840f635a07a944f92b2068f1dc132.exe
Resource
win7-20231215-en
15 signatures
150 seconds
Behavioral task
behavioral2
Sample
8c4840f635a07a944f92b2068f1dc132.exe
Resource
win10v2004-20231215-en
17 signatures
150 seconds
General
- Target 8c4840f635a07a944f92b2068f1dc132.exe
- Size 113KB
- Sample240203-n9tpvsbacl
- SHA256 1e946fa233a7770ebaf1f851c11a245b4e06f336616d5dd4d48ac7535f9c2ecf
- MD5 8c4840f635a07a944f92b2068f1dc132
- SHA1 509f4c820bd3e5e34a5e16a0cd03084112dd352a
- SHA512 0d36aaf4231a95585d1a86c7e7abb902b7028af558e97ca8046cd1540dea49a363f2a9001117edce4b8e8ed158a9b3cf200f42c8b1234948ddf34d7c1dd48674
- SSDEEP 1536:U0GwujewDnzOeQ0PYnTYiL2SiLcQKcKl8jNh/6/YPW5XMSaZl/fSCBzx9L0UJwf:U0XujPnqxjTYMHOccyu4eEUFqYZ
- MD5 SHA1 SHA512 SSDEEP
Score
10/10
Malware Config
Signatures
- ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe - ModiLoader Second Stage 16 IoCs
resource yara_rule behavioral2/memory/1280-10-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-26-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-29-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-30-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-33-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-36-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-39-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-42-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-45-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-48-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-51-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-54-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-57-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-60-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-63-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 behavioral2/memory/3956-66-0x0000000000400000-0x0000000000453000-memory.dmp modiloader_stage2 -
resource yara_rule behavioral2/files/0x0008000000023233-5.dat aspack_v212_v242 - Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-3791175113-1062217823-1177695025-1000\Control Panel\International\Geo\Nation 8c4840f635a07a944f92b2068f1dc132.exe - Executes dropped EXE 1 IoCs
pid Process 3956 mstwain32.exe - Loads dropped DLL 4 IoCs
pid Process 3956 mstwain32.exe 3956 mstwain32.exe 3956 mstwain32.exe 3956 mstwain32.exe -
resource yara_rule behavioral2/memory/1280-0-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/files/0x0008000000023233-5.dat upx behavioral2/memory/1280-10-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-26-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-29-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-30-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-33-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-36-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-39-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-42-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-45-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-48-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-51-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-54-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-57-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-60-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-63-0x0000000000400000-0x0000000000453000-memory.dmp upx behavioral2/memory/3956-66-0x0000000000400000-0x0000000000453000-memory.dmp upx - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3791175113-1062217823-1177695025-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\mstwain32 = "C:\\Windows\\mstwain32.exe" mstwain32.exe -
description ioc Process Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA mstwain32.exe Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe Key value queried \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA 8c4840f635a07a944f92b2068f1dc132.exe - Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe 8c4840f635a07a944f92b2068f1dc132.exe File opened for modification C:\Windows\mstwain32.exe 8c4840f635a07a944f92b2068f1dc132.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 1280 8c4840f635a07a944f92b2068f1dc132.exe Token: SeDebugPrivilege 3956 mstwain32.exe Token: SeDebugPrivilege 3956 mstwain32.exe - Suspicious use of FindShellTrayWindow 1 IoCs
pid Process 1280 8c4840f635a07a944f92b2068f1dc132.exe - Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 3956 mstwain32.exe 3956 mstwain32.exe - Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 1280 wrote to memory of 3956 1280 8c4840f635a07a944f92b2068f1dc132.exe 85 PID 1280 wrote to memory of 3956 1280 8c4840f635a07a944f92b2068f1dc132.exe 85 PID 1280 wrote to memory of 3956 1280 8c4840f635a07a944f92b2068f1dc132.exe 85 - System policy modification 1 TTPs 1 IoCs
description ioc Process Set value (int) \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA = "0" mstwain32.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\8c4840f635a07a944f92b2068f1dc132.exe"C:\Users\Admin\AppData\Local\Temp\8c4840f635a07a944f92b2068f1dc132.exe"1⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of FindShellTrayWindow
- Suspicious use of WriteProcessMemory
PID:1280 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe"2⤵
- UAC bypass
- Executes dropped EXE
- Loads dropped DLL
- Adds Run key to start application
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:3956
-
Network
MITRE ATT&CK Enterprise v15
Privilege Escalation
Abuse Elevation Control Mechanism
1Bypass User Account Control
1Boot or Logon Autostart Execution
1Registry Run Keys / Startup Folder
1Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Windows\cmsetac.dll
- Size 32KB
- SHA256 f63c27ab0647c35dee1d93beaa041e12bc122e2283aafeac2bbc405db64522df
- MD5 b7cb51b6d8324a135461a8a70a1c4ae7
- SHA1 f87b73662e701dc28087e8ce8c05757126f023cf
- SHA512 c4ea40d913488af19bc09eff20164d4bd3e65471716dfdd37c17b0e5254863516472a413e5b93616c1a8596f9055d2885e874832d08db110fa68041fb7d75376
- SSDEEP 768:lpCmoi6qZOpQB5ZpOc06HCMH/sJ2Fvu7s9C84ZZ:lgmv6qZ4QxpP0AtH0J6O
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\mstwain32.exe
- Size 113KB
- SHA256 1e946fa233a7770ebaf1f851c11a245b4e06f336616d5dd4d48ac7535f9c2ecf
- MD5 8c4840f635a07a944f92b2068f1dc132
- SHA1 509f4c820bd3e5e34a5e16a0cd03084112dd352a
- SHA512 0d36aaf4231a95585d1a86c7e7abb902b7028af558e97ca8046cd1540dea49a363f2a9001117edce4b8e8ed158a9b3cf200f42c8b1234948ddf34d7c1dd48674
- SSDEEP 1536:U0GwujewDnzOeQ0PYnTYiL2SiLcQKcKl8jNh/6/YPW5XMSaZl/fSCBzx9L0UJwf:U0XujPnqxjTYMHOccyu4eEUFqYZ
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\ntdtcstp.dll
- Size 7KB
- SHA256 e6829866322d68d5c5b78e3d48dcec70a41cdc42c6f357a44fd329f74a8b4378
- MD5 67587e25a971a141628d7f07bd40ffa0
- SHA1 76fcd014539a3bb247cc0b761225f68bd6055f6b
- SHA512 6e6de7aa02c48f8b96b06e5f1160fbc5c95312320636e138cc997ef3362a61bc50ec03db1f06292eb964cd71915ddb2ec2eb741432c7da44215a4acbb576a350
- SSDEEP 96:nPI4WiJu8aFwiFtih01Rl532eJWahK4oDImBx:ndW0u8/Jh0Dl532eJWao4i/
- MD5 SHA1 SHA512 SSDEEP