r/PowerShell • u/karmawillgetyouback • Jun 13 '26
Question Powershell autostarting randomly in background and uploading thing on network
Powershell is using large amount of upload speed for network and running in bacgound automatically, it also starts randomly even after stopping it from task manager. Any solution to this? Thank you.
Edit: These are command line task manager showing in details
20
Upvotes
124
u/fennecdore Jun 13 '26
time to wipe your computer
53
u/FloiDW Jun 13 '26
Additionally to
“Time to wipe your computer”
If you are interested - in the time it is running you can check the executed code line in the details tab and check WHAT it is running, but, spoiler:
It’s like 90% bad.
24
u/gramsaran Jun 13 '26
go to Event Viewer > Applications > Windows PowerShell you should be able to see what file is launching.
7
u/Blackops12345678910 Jun 13 '26
If you go to details tab and add the command line option, you can see the command it’s running
3
u/alinroc Jun 13 '26
Is this your own computer or a company-issued PC?
2
u/Mavoryk Jun 13 '26
That's not normal behavior of course, if you don't know why it's happening you should consider yourself compromised. Don't use "Reset this PC", use another device to build a Windows image so you can wipe the device safely.
Otherwise, you'll have to crawl through your Task Scheduler, Autoruns, Startup paths (all of them not just Task manager entries) and hope you don't miss anything and allow it to repair itself. It could have even hijacked another legitimate process or driver. You'll never be 100% sure it's gone, it's better to start fresh for the peace of mind. Revoke your sessions and change your passwords/set up 2FA on important accounts.
Even if you listen to the others and investigate you can likely find where it originates or what it does specifically but that isn't a guarantee it's the operation center nor what it does all the time.
2
u/nickerbocker79 Jun 13 '26
If this is a work issued computer, it could be management scripts. I know Tanium runs a lot of powershell in the background.
2
u/EnergyPanther Jun 13 '26
Can you please try and get that encoded command? I do malware analysis and would love to see what's up with that. I understand your priorities atm though lol
2
u/Fidlik Jun 14 '26
IT seems as (might be not only) DDOS attackThe scripts should be located at:C:\Windows\System32\micosys.ps1C:\Windows\System32\photo.ps1you can block the Ips by`New-NetFirewallRule -DisplayName "Block suspicious outbound IPs" ``
`-Direction Outbound -Action Block ``
-RemoteAddress 31.56.24.10,5.196.149.247,54.36.214.63,51.210.84.186+Review the scheduled tasks for it + delete the source file.2
u/CapucheMeringue Jun 15 '26
Hello. On some machines over there, it happened too. I did use "patch cleaner" tool on them and Powershell got quiet. Never knew what the heck was happening, tho. Any luck with that ?
3
u/human193 Jun 13 '26
It's probably set to run in a scheduled task. Best bet is wiping and starting from scratch, but if you're curious what it does, you can disable your network, enable script block logging and see what it actually runs next time it kicks off.
1
u/AgitatedSecurity Jun 13 '26
Find the file from task manager and upload it to virus total to see what it is
1
u/51dux Jun 14 '26
Ran anything weird recently on your machine?? Installed something new?
1
u/pjmarcum Jun 16 '26
If you wanna see what it’s running that’s just a base64 encoded string. Paste it in an online decoder. But it’s a malware/virus and since you said it’s using a lot of network id assume it’s stealing as much data as it can get.
3
u/Mr_Enemabag-Jones Jun 13 '26
Disconnect your NIC and start trying to figure out what it is running
3
u/Dragonsong3k Jun 13 '26
Go to the details tab in Task Manager. Add the command line column. It should show you what command or script the powershell is running.
1
u/Reaction-Consistent Jun 13 '26
Time to recreate the scene from Office Space.
1
u/itscum Jun 14 '26
Refreshing a file bin token. That's all. You probably have the command line for execution in the event logs under the PowerShell or the PowerShell.core log
0
u/MBILC Jun 15 '26
What did you click on / install lately?
-2
u/soopabamak Jun 14 '26
Nice standard windows crap
-3
u/Krassix Jun 13 '26
Windows is often starting powershell scripts in the background for routine jobs, so far nothing special. Maybe find out which task is running. Are you sure it's eating all your bandwidth? Maybe cloud sync to onedrive or gdrive?
1
u/[deleted] Jun 14 '26
[removed] — view removed comment