• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 5405
  • Last Modified:

Temp Folder keeps creating random files that are appearing as Trojan



I am looking at this directory right now which is creating heaps of .tmp files (DWH9974.tmp) which my antivirus (Symantec Endpoint) is auto quarantining them as malicious, saying they are Trojans. This is constantly occuring on my system.

Do you think these are ligitimate viruses or just False Positives?
What is this directory usually used for?
1 Solution
It is the location for temporary files.  You can see a user's temporary directory by browsing %temp%.
Viruses may create files here as they unpack and be picked up by AV software.  If this does not stop you will need to scan the PC with Antispyware software e.g. Lavasoft Adaware to remove the malware.
You can also run msconfig.exe and check the startup folder.  Some viruses may attempt to installations upon reboot.
Try using Malwarebytes and spybot. They seem to catch additional malware apps that AVs miss.
WEBINAR: GDPR Implemented - Tips & Lessons Learned

Join the WatchGuard team on Thursday, March 29th as we recount some valuable lessons learned in weighing the needs of a business against the new regulatory environment, look ahead at the two months left before implementation, and help you understand the steps you can take today!

First, run a temp file cleaner, TFC (Temp File Cleaner) or any temp cleaner you prefer, CCleaner, ATF Cleaner etc.

Then run the suggested tools like MalwareBytes, TDSSKiller or ComboFix etc and show us the logs.
Mohammed HamadaSenior IT ConsultantCommented:

Please download SuperAntiSpyware Free & Download Hijackthis


Install the program
Run SuperAntiSpyware and click: Check for updates
Once the update is finished, on the main screen, click: Scan your computer
Check: Perform Complete Scan
Click Next to start the scan.

Superantispyware scans the computer, and when finished, lists all the infections found.
Make sure everything found has a check next to it, and press: Next <-- Important
Then, click Finish

It is possible that the program asks to reboot in order to delete some files.

Obtain the SuperAntiSpyware log as follows:
Click: Preferences
Click the Statistics/Logs tab
Under Scanner Logs, double-click SuperAntiSpyware Scan Log
It opens in your default text editor (such as Notepad)

Please provide the SuperAntiSpyware log in your reply, as well as a new HijackThis log.
Run Hijackthis, install it and run then post your log here please.
CiaranDeAuthor Commented:
You have all given me some great solutions. I appreciate this.

Now can someone please explain to me more about the trojan. How do they keep appearing in temp folder? there being installed from another location?
The temp (%temp%) folder is usually where applications unpack whilst installing.  If you see access denied messages when attempting to clean this folder out it is due to the virus or application locking the file.  Ideally you need to remove the malware so it stops trying to repeatadly reinstall.  Apart from the Endpoint application you should also run other applications e.g. Lavasoft Ad-Aware, Avast Antivirus, Spybot Seach & Destroy, Malwarebytes Antimalware are some that are free.
Mohammed HamadaSenior IT ConsultantCommented:
I believe usually Malware in general likes to use the System restore folder which is hidden in C & D drive and protected from use deletion command.

This is why most of the manual removal instructions would recommend users to disable system restore to delete everything saved within these folders esp malware that keeps generating such files. However it's dangerous to disable system restore since you might need to roll back action in case of failure in any of processes you are applying to get rid of the infection.

Still yet there's another program that does save restore points that runs with Cobmofix.
jmlambTechnical Account ManagerCommented:
What version of SEP is installed? This is a known issue and resolved in version RU6MP1.

DWHxxxx.tmp files are scanned and re-detected when new definitions arrive or during a scheduled scan
Fix ID: 1925607
Symptom: DWHxxxx.tmp files are scanned and re-detected when new definitions arrive or during a scheduled scan.
Solution: After extracting a quarantined item to a temp file, the file is deleted immediately after it is processed.

There is an initial infection on the system, which SEP is detecting. The scan and redetection of the TMP file created is the defect. And is further exacerbated when a new TMP file is created for the redetection triggering a loop.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now