Analysis
- max time kernel
150s - max time network
134s - platform
windows10-2004_x64 - resource
win10v2004-20240226-en - resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system - submitted
04/03/2024, 09:39
Behavioral task
behavioral1
Sample
b1cde3fd77a8a992cdbe27d77bf045e9.exe
Resource
win7-20240221-en
16 signatures
150 seconds
Behavioral task
behavioral2
Sample
b1cde3fd77a8a992cdbe27d77bf045e9.exe
Resource
win10v2004-20240226-en
18 signatures
150 seconds
General
- Target b1cde3fd77a8a992cdbe27d77bf045e9.exe
- Size 662KB
- Sample240304-lmx3nagb86
- SHA256 e52078b7744f1da84e48b2b4a4a36bbbed7569df53f4f53b7a299ae40d4af2b2
- MD5 b1cde3fd77a8a992cdbe27d77bf045e9
- SHA1 5b6ce3199dcd92dea5a9b75390963acefdc62513
- SHA512 578eacd62d424c893e299da0185f40e5551ca052ee828bbd69040183645ea6d4ae3fae66cf3157bc959e04c0ef49e0311c55065044cf33b89900007391c87613
- SSDEEP 12288:n9tnQIF8+b76AywHlVYNTuFxgwn8B7Mk3+DFO1KjO5hkJLDxRA5/:n9VHF8+b0mVzO7xKFO1KjX3xRA
- 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 19 IoCs
resource yara_rule behavioral2/memory/4584-6-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/4584-18-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-31-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-40-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-43-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-44-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-45-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-48-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-51-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-54-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-57-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-60-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-63-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-66-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-69-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-72-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-75-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-78-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 behavioral2/memory/3784-81-0x0000000000400000-0x0000000000508000-memory.dmp modiloader_stage2 -
resource yara_rule behavioral2/files/0x000400000001db42-11.dat aspack_v212_v242 behavioral2/files/0x000400000001db42-14.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-566096764-1992588923-1249862864-1000\Control Panel\International\Geo\Nation b1cde3fd77a8a992cdbe27d77bf045e9.exe - Deletes itself 1 IoCs
pid Process 3784 mstwain32.exe - Executes dropped EXE 1 IoCs
pid Process 3784 mstwain32.exe - Loads dropped DLL 4 IoCs
pid Process 3784 mstwain32.exe 3784 mstwain32.exe 3784 mstwain32.exe 3784 mstwain32.exe - Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-566096764-1992588923-1249862864-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 b1cde3fd77a8a992cdbe27d77bf045e9.exe 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 - Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\cmsetac.dll mstwain32.exe File created C:\Windows\mstwain32.exe b1cde3fd77a8a992cdbe27d77bf045e9.exe File opened for modification C:\Windows\mstwain32.exe b1cde3fd77a8a992cdbe27d77bf045e9.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Modifies registry class 4 IoCs
description ioc Process Key created \REGISTRY\MACHINE\SOFTWARE\Classes\ko1304043810g.sjd b1cde3fd77a8a992cdbe27d77bf045e9.exe Set value (data) \REGISTRY\MACHINE\SOFTWARE\Classes\ko1304043810g.sjd\ = ed9223a30e80f860d8ffb9b0faf1984290148c2f91113b91 b1cde3fd77a8a992cdbe27d77bf045e9.exe Key created \REGISTRY\MACHINE\SOFTWARE\Classes\ko1304043810g.sjd mstwain32.exe Set value (data) \REGISTRY\MACHINE\SOFTWARE\Classes\ko1304043810g.sjd\ = ed9223a30e80f860d8ffb9b0faf1984290148c2f91113b91 mstwain32.exe - Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 4584 b1cde3fd77a8a992cdbe27d77bf045e9.exe Token: SeBackupPrivilege 3032 vssvc.exe Token: SeRestorePrivilege 3032 vssvc.exe Token: SeAuditPrivilege 3032 vssvc.exe Token: SeDebugPrivilege 3784 mstwain32.exe Token: SeDebugPrivilege 3784 mstwain32.exe - Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 3784 mstwain32.exe 3784 mstwain32.exe - Suspicious use of WriteProcessMemory 3 IoCs
description pid Process procid_target PID 4584 wrote to memory of 3784 4584 b1cde3fd77a8a992cdbe27d77bf045e9.exe 97 PID 4584 wrote to memory of 3784 4584 b1cde3fd77a8a992cdbe27d77bf045e9.exe 97 PID 4584 wrote to memory of 3784 4584 b1cde3fd77a8a992cdbe27d77bf045e9.exe 97 - 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 - Uses Volume Shadow Copy service COM API
The Volume Shadow Copy service is used to manage backups/snapshots.
Processes
-
C:\Users\Admin\AppData\Local\Temp\b1cde3fd77a8a992cdbe27d77bf045e9.exe"C:\Users\Admin\AppData\Local\Temp\b1cde3fd77a8a992cdbe27d77bf045e9.exe"1⤵
- Checks computer location settings
- Checks whether UAC is enabled
- Drops file in Windows directory
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4584 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\b1cde3fd77a8a992cdbe27d77bf045e9.exe"2⤵
- UAC bypass
- Deletes itself
- Executes dropped EXE
- Loads dropped DLL
- Adds Run key to start application
- Checks whether UAC is enabled
- Drops file in Windows directory
- Modifies registry class
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- System policy modification
PID:3784
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:3032
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 33KB
- SHA256 7366d9f8ecbe55a56568d890bfa8866d8d9b28ea3e98d5459beced31727bee3a
- MD5 c0ceb7aba57b3d0a27d9336db0211260
- SHA1 d6bc369178ac950c7d2b3d8dcd46e4f061864ee8
- SHA512 9e8628a6bfafd22ea05c0211f60d95ced4fbac5a3a97e90baaa55d58e9ee80bd0decb273f39d9fd60d4acbf60eb5e1fa072957a3207a6846ef1b9d2c7a80a060
- SSDEEP 768:k+aoi6qZOpQB5ZpOc06HCMN9GT6RJ5BHUEy2YEZZEo:k+av6qZ4QxpP0AtNfRJ5BHxY
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\mstwain32.exe
- Size 662KB
- SHA256 e52078b7744f1da84e48b2b4a4a36bbbed7569df53f4f53b7a299ae40d4af2b2
- MD5 b1cde3fd77a8a992cdbe27d77bf045e9
- SHA1 5b6ce3199dcd92dea5a9b75390963acefdc62513
- SHA512 578eacd62d424c893e299da0185f40e5551ca052ee828bbd69040183645ea6d4ae3fae66cf3157bc959e04c0ef49e0311c55065044cf33b89900007391c87613
- SSDEEP 12288:n9tnQIF8+b76AywHlVYNTuFxgwn8B7Mk3+DFO1KjO5hkJLDxRA5/:n9VHF8+b0mVzO7xKFO1KjX3xRA
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\mstwain32.exe
- Size 453KB
- SHA256 52eaaf5c459ad51302e0876cad134d83461b47b1c3b2992076db4c724a0dcdcb
- MD5 7b168369d02c5c739091c3fa24563a8e
- SHA1 edfdc919c28bb78592b9f9c13fbf1cb5fdaeb303
- SHA512 24050218116c369c3f1864f19185e3cf349da78f0809f9e7adf524471b21558b54444227046cd8e2fda8301c12d3c29084ee373935f9fd22d1385cf9acdc46e7
- SSDEEP 12288:n9tnQIF8+b76AywHlVYNTuFxgwn8B7Mk37:n9VHF8+b0mVzO7x7
- 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