疑わしいコンテンツを含む不明な 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

関連情報