-
-
Notifications
You must be signed in to change notification settings - Fork 5
Security Concerns
- I will refer to Temp_Cleaner GUI here as TCG, Windows Command Prompt as
cmd.exeor justcmd, and theSystem32folder that exists in theWindowsdirectory as just System32. - ASAP means As soon as possible.
TCG is open-source, meaning that detected security threats can be easily be spoted and fixed.
This is a list of currently known security flaws with TCG.
-
TCG can be used to execute malicious commands if
cmd.exein your OS is infected.If your computer is infected with a virus that changed the copy of
cmd.exeinstalled on your computer with a malicious one, it will affect the way TCG performs, and since TCG uses basic commands likermdir,del, andcdduring the cleaning process, when TCG attempts to run these commands on a system with infectedcmd.exeit will grant full administrative permissions to it, meaning it can allow it to run malicious commands.-
There aren't any known incidents of someone getting infected with a virus that changes the copy of
cmd.exeto a malicious one, but may happen later. -
This security flaw affects all applications in the system that use
cmd.exe, not just TCG. -
The best way to protect yourself is to install a good antivirus and keep your system up-to-date.
-
TCG can NOT integrate a safe copy of
cmd.exeonto it, sincecmd.exeis a part of the Windows Operating System and is not Open Source.
-
-
TCG can be used to execute malicious commands if
sc.exein your OS is infected.sc.exe, the service controller program, is a core part of the Windows Operating System that TCG uses during the process of restarting the Windows Update Service after the Windows Update cleaning function finishes successfully, the user is prompted if they want to do a restart or not, but however if the user chooses that they want to do a restart, TCG attempts to run thesc.exefrom the Systempath, and sincesc.exeis not a part of thecmd.exelike other commands are, some virus or malicious programs can replace thesc.exein your OS's System32 folder with a malicious one.- There aren't any known incidents of someone getting infected with a virus that changes the copy of
sc.exeto a malicious one, but may happen later. - This security flaw also affects all applications in the system that uses the
sc.exebinary, not only TCG. - The best way to protect yourself is to install a good antivirus and keep your system up-to-date, or to click 'No' when prompted to restart the Windows Update Service during a cleaning session.
- TCG can NOT integrate a safe copy of
sc.exeonto it, sincesc.exeis a part of the Windows Operating System and is not Open Source.
- There aren't any known incidents of someone getting infected with a virus that changes the copy of
-
TCG can be used to give administrator privileges to applications specified in a Custom user specified cleaner.
In a more recent version of TCG (v8.0+), a non-administrator user can abuse the functionality of using user defined cleaning commands to make TCG give administrator privileges to a program, by specifying its full command line, which poses a security risk.
-
This may pose a security risk in organizations that allow its employees to use the company's property in standard User accounts and allow TCG to run with full administrator privileges under these user accounts.
- The only way to mitigate this risk is by changing the permissions of the file
addsclean.inito be read-only for everyone and give modify permissions to only the administrators group or the IT Administrator user.
Or if you are a standard home user:
-
You can mitigate this risk by only adding custom cleaning commands that you are completely sure that won't create new security vulnerabilities.
-
Only use commands
del /F /S /Q /A "full\path\to\folder"if you want to delete all files in a folder
or the commandrmdir /Q "full\path\to\folder\*"if you want to delete all subdirectories in a folder
or the commandrmdir /S /Q "full\path\to\folder"if you want to delete everything in a folder in addition to the folder itself.
(ALWAYS keep the quotes)
You can run multiple commands by adding&&between every two commands, like this:rmdir /S /Q "%userprofile%\Desktop\myfolder_tmp"&&del /F /S /Q "%userprofile%\Documents\someapp_tmp"
- The only way to mitigate this risk is by changing the permissions of the file
-
Severity:
Severe -
Rarity:
Very Common
-
I have explained what kind of information TCG and all its other components collect about you in the privacy policy
If you find a new security flaw that you want to be addressed, please create an issue fully describing it properly.
Temp_Cleaner GUI's official GitHub Wiki - Download Temp_Cleaner GUI - Donate - Website