Analysis
- max time kernel
144s - max time network
149s - platform
windows10-2004_x64 - resource
win10v2004-20231222-en - resource tags
arch:x64arch:x86image:win10v2004-20231222-enlocale:en-usos:windows10-2004-x64system - submitted
03/02/2024, 00:36
Behavioral task
behavioral1
Sample
8aef92f2dde827d1a0ca0c26caaa77ba.exe
Resource
win7-20231215-en
17 signatures
150 seconds
Behavioral task
behavioral2
Sample
8aef92f2dde827d1a0ca0c26caaa77ba.exe
Resource
win10v2004-20231222-en
17 signatures
150 seconds
General
- Target 8aef92f2dde827d1a0ca0c26caaa77ba.exe
- Size 712KB
- Sample240203-ax7jasfcdm
- SHA256 a7f6dda305ae7a04d005663500a01772660db2970291010ef01adf310b872354
- MD5 8aef92f2dde827d1a0ca0c26caaa77ba
- SHA1 0698565f428f5aa33aabf5425f4dff27c5054ca8
- SHA512 5cdae7ea208e031783b8912463fa5cfa5283fbfec2f54dc0c5904fcacd18603f391b29fe0b63b2b075d5d761c6cc21efefb7e6aa528c60ffed56dd0b4962046d
- SSDEEP 12288:UQUbn1Z91Ca3bMcrDPUCUnDP2x7iBqmWdRAG6+B7jR2jUuhtTKw0e0F5U7O0M:kb13sa3bMcrTJGDPx4mmxhT4TKw0eOJ
- 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 10 IoCs
resource yara_rule behavioral2/memory/3084-15-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/3084-18-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/3084-21-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/3084-22-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/3084-32-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/3980-40-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/3980-48-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/3980-41-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/3980-55-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 behavioral2/memory/3980-59-0x0000000000400000-0x000000000044C000-memory.dmp modiloader_stage2 - Checks computer location settings 2 TTPs 2 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-1168293393-3419776239-306423207-1000\Control Panel\International\Geo\Nation 8aef92f2dde827d1a0ca0c26caaa77ba.exe Key value queried \REGISTRY\USER\S-1-5-21-1168293393-3419776239-306423207-1000\Control Panel\International\Geo\Nation haZ-UD.exe - Executes dropped EXE 4 IoCs
pid Process 2944 haZ-UD.exe 3084 haZ-UD.exe 4516 mstwain32.exe 3980 mstwain32.exe - Loads dropped DLL 4 IoCs
pid Process 3980 mstwain32.exe 3980 mstwain32.exe 3980 mstwain32.exe 3980 mstwain32.exe -
resource yara_rule behavioral2/memory/216-0-0x0000000000400000-0x000000000040D000-memory.dmp upx behavioral2/memory/216-12-0x0000000000400000-0x000000000040D000-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-1168293393-3419776239-306423207-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 haZ-UD.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 - Suspicious use of SetThreadContext 2 IoCs
description pid Process procid_target PID 2944 set thread context of 3084 2944 haZ-UD.exe 88 PID 4516 set thread context of 3980 4516 mstwain32.exe 96 - Drops file in Windows directory 4 IoCs
description ioc Process File created C:\Windows\mstwain32.exe haZ-UD.exe File opened for modification C:\Windows\mstwain32.exe haZ-UD.exe File created C:\Windows\ntdtcstp.dll mstwain32.exe File created C:\Windows\cmsetac.dll mstwain32.exe - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Suspicious use of AdjustPrivilegeToken 6 IoCs
description pid Process Token: SeDebugPrivilege 3084 haZ-UD.exe Token: SeBackupPrivilege 4440 vssvc.exe Token: SeRestorePrivilege 4440 vssvc.exe Token: SeAuditPrivilege 4440 vssvc.exe Token: SeDebugPrivilege 3980 mstwain32.exe Token: SeDebugPrivilege 3980 mstwain32.exe - Suspicious use of SetWindowsHookEx 2 IoCs
pid Process 3980 mstwain32.exe 3980 mstwain32.exe - Suspicious use of WriteProcessMemory 16 IoCs
description pid Process procid_target PID 216 wrote to memory of 2944 216 8aef92f2dde827d1a0ca0c26caaa77ba.exe 87 PID 216 wrote to memory of 2944 216 8aef92f2dde827d1a0ca0c26caaa77ba.exe 87 PID 216 wrote to memory of 2944 216 8aef92f2dde827d1a0ca0c26caaa77ba.exe 87 PID 2944 wrote to memory of 3084 2944 haZ-UD.exe 88 PID 2944 wrote to memory of 3084 2944 haZ-UD.exe 88 PID 2944 wrote to memory of 3084 2944 haZ-UD.exe 88 PID 2944 wrote to memory of 3084 2944 haZ-UD.exe 88 PID 2944 wrote to memory of 3084 2944 haZ-UD.exe 88 PID 3084 wrote to memory of 4516 3084 haZ-UD.exe 95 PID 3084 wrote to memory of 4516 3084 haZ-UD.exe 95 PID 3084 wrote to memory of 4516 3084 haZ-UD.exe 95 PID 4516 wrote to memory of 3980 4516 mstwain32.exe 96 PID 4516 wrote to memory of 3980 4516 mstwain32.exe 96 PID 4516 wrote to memory of 3980 4516 mstwain32.exe 96 PID 4516 wrote to memory of 3980 4516 mstwain32.exe 96 PID 4516 wrote to memory of 3980 4516 mstwain32.exe 96 - 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\8aef92f2dde827d1a0ca0c26caaa77ba.exe"C:\Users\Admin\AppData\Local\Temp\8aef92f2dde827d1a0ca0c26caaa77ba.exe"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:216 -
C:\Users\Admin\AppData\Local\Temp\haZ-UD.exe"C:\Users\Admin\AppData\Local\Temp\haZ-UD.exe"2⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:2944 -
C:\Users\Admin\AppData\Local\Temp\haZ-UD.exeC:\Users\Admin\AppData\Local\Temp\haZ-UD.exe3⤵
- Checks computer location settings
- Executes dropped EXE
- Checks whether UAC is enabled
- Drops file in Windows directory
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3084 -
C:\Windows\mstwain32.exe"C:\Windows\mstwain32.exe" \melt "C:\Users\Admin\AppData\Local\Temp\haZ-UD.exe"4⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:4516 -
C:\Windows\mstwain32.exeC:\Windows\mstwain32.exe5⤵
- 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:3980
-
-
-
-
-
C:\Windows\system32\vssvc.exeC:\Windows\system32\vssvc.exe1⤵
- Suspicious use of AdjustPrivilegeToken
PID:4440
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:\Users\Admin\AppData\Local\Temp\haZ-UD.exe
- Size 633KB
- SHA256 90cf61447c67073be97d23ec4f3ef0f0843a493e6e3ef7348f921443fdf219ff
- MD5 103a1b2da7e9fd2571881874e83549a3
- SHA1 ae3e85f427a2c10f2d61ef3f8d13dda8e21ae933
- SHA512 30b3abf57604cb420a188097149f7c714095e3933f92900db1ee484ea582283984c5a7a3efe1629471773241ff26efd885179f268003b0e9f140a578d4acba46
- SSDEEP 12288:tQUbn1Z91Ca3bMcrDPUCUnDP2x7iBqmWdRAG6+B7jR2jUuhtTKw0e0F5Ue:tb13sa3bMcrTJGDPx4mmxhT4TKw0eOD
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\cmsetac.dll
- Size 33KB
- SHA256 72bd75801ccc15230e50e2c3c11e742996207a513dda8e80703290697850881d
- MD5 df40203c3a6ccfc23a62673de7bd22a3
- SHA1 7ed710e15a440c18d160c6eaf7433aff567c0c34
- SHA512 44364f00a3b36cbcc4243802fb9bf83f7d72d9751d689807a7408c15e83acb10dbb1884147f4fc0c81c00c444caf0c8ccf4fe2db09ff1f06ccecbc4279348549
- SSDEEP 768:P+aoi6qZOpQB5ZpOc06HCMN9GT6RJ5BHUEy2YEZZEo:P+av6qZ4QxpP0AtNfRJ5BHxY
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\cmsetac.dll
- Size 30KB
- SHA256 15e5edef24949055beb7c49e79a07d22fb4ecf88b53f93998012cb0a4365fffe
- MD5 44188c46ea61791d2a082b1a99847415
- SHA1 b5657f91e2524227121cf32e467f93421e21143e
- SHA512 93e1841521b48b50100f9a98571e7f01f6c576e410b20acbbaa53bdb1ce9e0b594196ffb435af53e67ae7b0061cadee397e3f831c45fd1a35ba77864860aa0ba
- SSDEEP 768:P+aoi6qZOpQB5ZpOc06HCMN9GT6RJ5BHUEy2YEZZp:P+av6qZ4QxpP0AtNfRJ5BHxYE
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Windows\mstwain32.exe
- Size 268KB
- SHA256 3e59519dee7e09836b1c11a9e463deda3f4304ced34fdb7a1bbcd56f3a0afd6e
- MD5 65f9b10f1615db51c258c47fe8714c0b
- SHA1 1e02ab1344cd25f8d7655ce0e806cfffec566dc2
- SHA512 94f25afb1068c246161f7fbdb2b66b0d23fb08802be931275d82fd046c33c5c913567426012e14919c9a8fd0e1d772991a17f8009a85d15d7fd98f7a294e43d3
- SSDEEP 6144:tQgBbnGEZ7BDVDCa3bMcrDgNouBdCUnDP2Ld7sRSaXqmWdal6RVAjHW9eE:tQUbn1Z91Ca3bMcrDPUCUnDP2x7iBqmk
- 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