I’m looking for clues here. Long story short, one of our users ran what he thought was a movie file on his company laptop. But the file isn’t a actually a movie but a Powershell script. Well said he double-clicked on the “movie file” but nothing happened, but I suspect something did happen.
Could the experts chime in and tell me what this script does or attempt to do? I did check on the URL “shortbit.xyz/psp” in the script and it points to a link to a text file. I’m assuming it’s a text file that the script will use?
This sets the $nq variable to the content of the text file.
s $nq
This runs Invoke-Expression against the text that was previously downloaded.
Without knowing the content of the text file it’s not possible to tell what happened next. My guess would be it’s some kind of dropper for malware, possibly ransomware.
You should consider the machine compromised, remove it from the network and rebuild it.
Thanks for the explanation. You were right, the “text file” is a dropper trojan. I’ve directed user to do a complete antivirus scan of his C: drive and it detected the text file as a dropper trojan.