lazargoat
Contributor
Contributor
Hidden Content
Most people would say that an antivirus is enough to prevent getting ratted, and in all fairness yes it is, if you're not a dumbass or an underground larp that just downloads everything without looking twice. In that case you'll be alright. But this guide is for fellas who already have a rat on their pc, or are planning to run one in a machine like tria.ge or any.run .
Before anything, we wanna make sure our little russian chud doesn't survey us any further by unplugging our internet. Yes, that's a hackers biggest weakness, a simple yank of the ethernet cord, for WiFi PCs just turn it off or if the chud is preventing you just temporarily turn off your router.
Also, in the case it was a stealer or similar, assume your credentials are leaked and that you should be changing your shit. Enable 2FA on all accounts.
Just like how a bee leaves a stinger when it stings you, a rat usually still keeps it's needed files on your PC if you cut the connection. Use sysinternals tools like process explorer for further analysis on where the rat is located and in the case you keep your network turned on, open a cmd and type "netstat -ano" or "netstat -ano | find "ESTABLISHED". You'll get a fuck ton of IPs, so to narrow down a rat you wanna know that most their connections are TCP, the IP looks irregular and also check the PID's (Process ID) to match the process to the IP like discord for example.
In case you find the rat's IP, go to task manager or whatever other software and right click at the columns above (Name,Status, etc.) and toggle PID (Only applies for task manager). After finding the rat, don't terminate it just yet, we wanna analyze it. First off open it's file location. Most little critters like to hide it in the more inconspicous folders, including C:/Users/Public, C:/ProgramData, C:/Users/user/AppData/Roaming, C:/Users/user/AppData/Local/Temp and so on. Check if it's alone (just the exe) or if there's other stuff to it, like a driver or whatnot.
(For the next part, you can usually skip a good part of it by using Sysinterals Autoruns tool, it reveals a LOT and it's very helpful)
Sometimes it can happen that when you open up the file location it will say something like access denied or whatnot, well in certain cases that can be the hide attribute, which you can remove with the following command in cmd: "attrib (path to file/folder) -h -s -r", which is basically a reverse of the original command, where the minuses are pluses.
Next up we gotta look at all the places where the rat has nested it's stuff in, so make sure to check your task scheduler for any odd tasks, like one which opens explorer.exe with no admin permissions (HVNC, aka hidden desktop you can't see that the chud uses against you). It's also not a bad idea to check these 2 registries for any suspicious files/folders (HKCU\Software\Microsoft\Windows\CurrentVersion\Run, HKLM\Software\Microsoft\Windows\CurrentVersion\Run). Even better, if you know the name of the rat that infected you by any chance, or by the analysis we did prior, search that name directly in the registry editor. Unknown or random names pointing to executables in
Code:
,
Code:
, or
Code:
are suspect.
We also gotta check out services, by either going to services by search bar or services.msc, or running a casual sc query in the cmd. As usual search for unnatural names.
(Following tips don't really use Autoruns that much)
In the case that your antivirus or similar was blocked, it's probably the hosts file. Do the following:
1. Open Admin CMD (normal won't work)
2. Run "notepad C:\Windows\System32\drivers\etc\hosts"
3. Delete all the lines that are not commented aka have hashtags at the start, so your last line should be "# ::1 localhost"
Upload the rat to virustotal to check if anyone has analyzed it before you and scanned it's behavior further.
Once you're sure you've removed it. Still be vigilant and fully reinstall your windows. Also, don't just reset it from settings, some rats have reset survival. Do it from a boot USB. Also use a password manager like Bitwarden or a physical one.
Don't try to back up any less important data as the exes or similar can still be infected, stuff like Themida (I think) still do that.
PLEASE LIKE/REP TO BOOST ME ON MY ROAD TO GODLIKE!

Most people would say that an antivirus is enough to prevent getting ratted, and in all fairness yes it is, if you're not a dumbass or an underground larp that just downloads everything without looking twice. In that case you'll be alright. But this guide is for fellas who already have a rat on their pc, or are planning to run one in a machine like tria.ge or any.run .
Before anything, we wanna make sure our little russian chud doesn't survey us any further by unplugging our internet. Yes, that's a hackers biggest weakness, a simple yank of the ethernet cord, for WiFi PCs just turn it off or if the chud is preventing you just temporarily turn off your router.
Also, in the case it was a stealer or similar, assume your credentials are leaked and that you should be changing your shit. Enable 2FA on all accounts.
Just like how a bee leaves a stinger when it stings you, a rat usually still keeps it's needed files on your PC if you cut the connection. Use sysinternals tools like process explorer for further analysis on where the rat is located and in the case you keep your network turned on, open a cmd and type "netstat -ano" or "netstat -ano | find "ESTABLISHED". You'll get a fuck ton of IPs, so to narrow down a rat you wanna know that most their connections are TCP, the IP looks irregular and also check the PID's (Process ID) to match the process to the IP like discord for example.
In case you find the rat's IP, go to task manager or whatever other software and right click at the columns above (Name,Status, etc.) and toggle PID (Only applies for task manager). After finding the rat, don't terminate it just yet, we wanna analyze it. First off open it's file location. Most little critters like to hide it in the more inconspicous folders, including C:/Users/Public, C:/ProgramData, C:/Users/user/AppData/Roaming, C:/Users/user/AppData/Local/Temp and so on. Check if it's alone (just the exe) or if there's other stuff to it, like a driver or whatnot.
(For the next part, you can usually skip a good part of it by using Sysinterals Autoruns tool, it reveals a LOT and it's very helpful)
Sometimes it can happen that when you open up the file location it will say something like access denied or whatnot, well in certain cases that can be the hide attribute, which you can remove with the following command in cmd: "attrib (path to file/folder) -h -s -r", which is basically a reverse of the original command, where the minuses are pluses.
Next up we gotta look at all the places where the rat has nested it's stuff in, so make sure to check your task scheduler for any odd tasks, like one which opens explorer.exe with no admin permissions (HVNC, aka hidden desktop you can't see that the chud uses against you). It's also not a bad idea to check these 2 registries for any suspicious files/folders (HKCU\Software\Microsoft\Windows\CurrentVersion\Run, HKLM\Software\Microsoft\Windows\CurrentVersion\Run). Even better, if you know the name of the rat that infected you by any chance, or by the analysis we did prior, search that name directly in the registry editor. Unknown or random names pointing to executables in
Code:
Code:
%AppData%
,
Code:
Code:
%Temp%
, or
Code:
Code:
ProgramData
are suspect.
We also gotta check out services, by either going to services by search bar or services.msc, or running a casual sc query in the cmd. As usual search for unnatural names.
(Following tips don't really use Autoruns that much)
In the case that your antivirus or similar was blocked, it's probably the hosts file. Do the following:
1. Open Admin CMD (normal won't work)
2. Run "notepad C:\Windows\System32\drivers\etc\hosts"
3. Delete all the lines that are not commented aka have hashtags at the start, so your last line should be "# ::1 localhost"
Upload the rat to virustotal to check if anyone has analyzed it before you and scanned it's behavior further.
Once you're sure you've removed it. Still be vigilant and fully reinstall your windows. Also, don't just reset it from settings, some rats have reset survival. Do it from a boot USB. Also use a password manager like Bitwarden or a physical one.
Don't try to back up any less important data as the exes or similar can still be infected, stuff like Themida (I think) still do that.
PLEASE LIKE/REP TO BOOST ME ON MY ROAD TO GODLIKE!

lazargoat's signature