Hi, I'm not that new with PC building, and I've fixed some issues with some PCs I've had, but right now, I'm lost. It's been around 3 days that I've been having a really annoying issue with my computer, it just randomly freezes and disconnects from my Ethernet connection, after that, in intervals of 5 seconds, it freezes and unfreezes, I could notice some things in the Task Manager, just as some spikes in its usage, as you can see.
Then, after I could go and check my threads, I noticed this:
And I also noticed this in my GPU ussage (Yes, I know, my GPU is too weak for my CPU):
Every time I have this issue I'm forced to restart my PC and it works fine, sometimes it works for about 6 to 8 hours, the last time, it worked just for about 1 hour, and before it worked around 22 hours.
At first, I thought I had some thermal issues, but then everything started getting worse.
I don't really know if this is important, but everything started after I let my cousin play Minecraft in my PC (And he modded Minecraft), I thought it was some kind of malware, and, yes, I had a Bitcoin Miner installed, I succesfully removed it, but I don't know if that could have damaged some Windows 10 files, if that's the case, I'll just make a new Windows 10 install, but I'd like to know your thoughts on this, thank you so much!
I don't know if this actually matters, but these are my specs:
-Ryzen 5 5600x (w/stock cooler)
-Gigabyte AMD Radeon RX 580
-16 GB DDR4 XPG Spectrix 3200 MHz (2 x 8)
-B550M DS3H
-Aerocool Cylon 700w Bronze 80+
-3 Intake fans and 3 exhaust fans
-240 Adata SSD
-1 TB XPG M.2 NVMe

Then, after I could go and check my threads, I noticed this:

And I also noticed this in my GPU ussage (Yes, I know, my GPU is too weak for my CPU):

Every time I have this issue I'm forced to restart my PC and it works fine, sometimes it works for about 6 to 8 hours, the last time, it worked just for about 1 hour, and before it worked around 22 hours.
At first, I thought I had some thermal issues, but then everything started getting worse.
I don't really know if this is important, but everything started after I let my cousin play Minecraft in my PC (And he modded Minecraft), I thought it was some kind of malware, and, yes, I had a Bitcoin Miner installed, I succesfully removed it, but I don't know if that could have damaged some Windows 10 files, if that's the case, I'll just make a new Windows 10 install, but I'd like to know your thoughts on this, thank you so much!
I don't know if this actually matters, but these are my specs:
-Ryzen 5 5600x (w/stock cooler)
-Gigabyte AMD Radeon RX 580
-16 GB DDR4 XPG Spectrix 3200 MHz (2 x 8)
-B550M DS3H
-Aerocool Cylon 700w Bronze 80+
-3 Intake fans and 3 exhaust fans
-240 Adata SSD
-1 TB XPG M.2 NVMe