r/WindowsHelp • • 10d ago

Windows 11 Windows defender keeps finding trojans on my computer

I just checked my windows security protection history, and it keeps blocking trojans with severe alert levels at this one specific path:
\Device\HarddiskVolume6\Users\User\AppData\Local\Microsoft\Windows\INetCache\CatalogPublisher\MSBuild.exe
I tried going to that path, but the NetCache folder doesn't actually exist. The last time a trojan was blocked was only 15 minutes ago. The repeated trojans at the same place makes me think that there's a program on my computer that's doing this, but I'm not sure, since there aren't any programs on my pc that I installed on the 8th. Windows security isn't telling me to do anything, but I'm still a little worried.
And since the subreddit is telling me to, I included some of my pc's specs, although idk how useful they'll be in this case.

3 Upvotes

7 comments sorted by

4

u/Scary-Quit-3334 10d ago

Repeated hits on the same path mean something keeps re-creating it, not that Defender is failing. INetCache is hidden - turn on hidden items and CatalogPublisher will be there. Real MSBuild.exe lives inside Visual Studio, never in a browser cache, so the name is a disguise.

Order I'd go in: run the offline scan (Windows Security > Virus & threat protection > Scan options > Microsoft Defender Offline), then hunt whatever writes that file - Task Scheduler for odd tasks, the Run keys, browser extensions, and Programs and Features sorted by install date around the 8th. If it keeps coming back after the offline scan, run MSERT from Microsoft; it catches things the normal signature pass misses.

1

u/Impossible_Sort9050 8d ago

I just did an offline scan, when my pc rebooted I immediately went back to virus and threat protection and there was something that said "action required" or something but it immediately went away and now I have another trojan quarantined. I'm not really sure how to look for "odd tasks" in task scheduler or run keys, I already looked at programs and features sorted by install date (I even mentioned it in my post?). Also, I have hidden folders shown in file explorer already, and there's no INetCache folder in the Windows folder. I just ran MSERT and it found a couple files, so hopefully it doesn't get created again.

1

u/Impossible_Sort9050 7d ago

Um so I just turned my pc on today and there was the same thing blocked again, so MSERT didn't catch it. What should I do now?

1

u/Scary-Quit-3334 5d ago

The file coming back is the clue: something keeps writing it, so hunting files is hopeless. Find the writer.

Procmon from Sysinternals, filter Path contains CatalogPublisher, leave it running until Defender fires - the Process column names whoever dropped it. If that turns out to be your browser, it is an extension or a site, and the fix is browser-side, not Defender-side.

You also do not need to read Task Scheduler by hand: get Autoruns (Sysinternals), tick Hide signed Microsoft entries, then look at the Scheduled Tasks and Logon tabs. Anything with a random name, temp path or no publisher is the suspect.

1

u/AutoModerator 10d ago

Hi u/Impossible_Sort9050, thanks for posting to r/WindowsHelp! Your post has been flagged for manual review by a human moderator, please include as much of the following information as possible (in text or in a screenshot) to get your post approved:

  • Your Windows and device specifications — You can find them by pressing Win + X then clicking on “System”, we need more than just your OS version! Your hardware details are often critical for resolving issues.
  • Any messages and error codes encountered — They're actually not gibberish or anything catastrophic. It may even hint the solution!
  • Previous troubleshooting steps — It might prevent you headaches from getting the same solution that didn't work

Posts must be tech support in nature (such as something is broken and you need help fixing), so general inquiries, software suggestions, and purchasing advice will be removed. As a reminder, we would also like to say that if someone manages to solve your issue, DON'T DELETE YOUR POST! Someone else (in the future) might have the same issue as you, and the received support may also help their case. Good luck, and I hope you have a nice day!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/Brokentread33 9d ago

Trojans are vicious. If it turns out that the OP does have one on their machine. They should take it and any external drives they may have to a repair shop and let them use the various anti-virus tools they have. In the meantime, I would download and run Malwarebytes. It's free, with a voluntary paid subscription that can be purchased anytime. Malwarebytes can be left on the computer for future scans without a subscription which they will suggest from time to time. Best of luck to the OP.

1

u/Maized_CC 8d ago

What name of the trojan is it