What is Trojan:XML/GreatXML?
Microsoft Defender flagged Trojan:XML/GreatXML – specifically the variant Trojan:XML/GreatXML.GVA!MTB – and the detection points to a file called ReAgent.xml inside the Windows Recovery Environment, or a secondary scanner found nothing to confirm the threat. Read this guide carefully before taking manual action, because this detection has a well-documented false positive dimension that affects many users.
Trojan:XML/GreatXML.GVA!MTB is a Microsoft Defender machine-learning threat-based detection (!MTB suffix) documented by HowToRemove.guide as linking specifically to C:RecoveryWindowsREReAgent.xml – a file that is part of the Windows Recovery Environment and exists on normal, uninfected Windows installations. This is where the detection becomes unusual: multiple independent secondary scanners including Malwarebytes, HitmanPro, and ESET are reported to find nothing matching the Defender detection on the same systems, with ESET in documented cases finding only an unrelated tracking cookie. The GreatXML name itself is tied to a documented technique involving changes to Windows recovery and Defender’s offline scanning boundary, with the described method aimed at interfering with BitLocker protections during the recovery boot sequence. The detection is therefore not a simple false positive to dismiss – the underlying technique is real – but the specific alert against ReAgent.xml on an otherwise clean-scanning system warrants careful verification before taking any destructive action on Windows Recovery Environment files. SpyHunter is confirmed to detect and help address Trojan:XML/GreatXML.GVA!MTB-related components.
![Trojan:XML/GreatXML - How to Remove It [Fix]](https://cdn.sensorstechforum.com/wp-content/uploads/2026/09/15d21a55-8bb2-42f0-8cdd-ce13840d8011-1024x576.png)
Trojan:XML/GreatXML Short Overview
| Type | Microsoft Defender machine-learning threat-based (!MTB) detection. Documented by HowToRemove.guide as flagging C:RecoveryWindowsREReAgent.xml in the Windows Recovery Environment. The GreatXML technique targets BitLocker protections during recovery boot. Multiple secondary scanners (Malwarebytes, HitmanPro, ESET) reported clean on the same systems – strong false positive dimension. SpyHunter confirmed to detect related components. Do not delete ReAgent.xml without completing false positive verification first. |
| Symptoms | Microsoft Defender flagging Trojan:XML/GreatXML.GVA!MTB in Protection History, with the detection pointing to C:RecoveryWindowsREReAgent.xml. Secondary scanners (Malwarebytes, HitmanPro, ESET) returning clean results on the same system. Defender reporting the threat repeatedly after quarantine. No other behavioral symptoms such as high CPU usage, browser changes, or unauthorized network activity present alongside the detection. |
| Removal Time | Approximately 15 minutes for a full-system scan |
| Removal Tool | See If Your System Has Been Affected by malware
Download
Malware Removal Tool
|
How Did I Get Trojan:XML/GreatXML?
When the detection reflects a real infection rather than a false positive against a clean system file, the GreatXML-category threat arrives through these documented routes:
- A malicious installer modifying the Windows Recovery Environment – The documented GreatXML technique involves modification of the Windows Recovery Environment – specifically the recovery agent configuration – as a way to establish persistence or interfere with BitLocker protections that would otherwise prevent unauthorized access to encrypted drives. This type of modification is delivered through malicious installers that run with administrator privileges during setup.
- Cracked software and pirated application installers – Cracked applications and pirated software packages downloaded from unofficial sources run silently with elevated privileges during installation, making them a consistent vehicle for the type of system-level modification associated with this detection category.
- Malicious email attachments executing privilege-escalating scripts – Macro-enabled documents or archive attachments that execute scripts with elevated privileges can perform the type of recovery environment modification that triggers a Trojan:XML GreatXML detection.
- A legitimate Windows system file triggering a Defender false positive – The most commonly reported scenario for this specific detection: a Windows Defender definition update introduces a heuristic that incorrectly flags the legitimate C:RecoveryWindowsREReAgent.xml file that exists on all Windows installations. This is the scenario when all secondary scanners return clean results.
What Does Trojan:XML/GreatXML Do?
The GreatXML technique as documented targets a specific and serious area of Windows security. Here is the full picture of what a confirmed infection (as opposed to a false positive) involves:
- Modifies the Windows Recovery Environment to undermine BitLocker protections – The GreatXML technique specifically targets the Windows Recovery Environment (WinRE) configuration to interfere with the BitLocker recovery process – the protections that prevent unauthorized access to data on an encrypted drive when the device is in recovery mode. A confirmed infection in this category represents a serious threat to drive encryption integrity.
- Establishes persistence through recovery environment changes – Modifications to the recovery configuration can persist independently of standard malware removal because the recovery environment sits outside the main Windows installation and is not cleaned by standard anti-malware scans that run within Windows.
- Can allow data access on BitLocker-protected drives during recovery boot – The documented attack goal is to bypass or weaken the BitLocker protections that would normally prevent data access in recovery mode, potentially allowing an attacker with physical access to the device to access encrypted data.
False positive verification: If the detection points to C:RecoveryWindowsREReAgent.xml and every secondary scanner (Malwarebytes, HitmanPro, ESET) returns clean, submit the flagged file to VirusTotal. If fewer than three engines detect it, this is most likely a Defender false positive triggered by a definition update. Do not delete ReAgent.xml – it is a critical Windows Recovery Environment component and its absence can prevent Windows from recovering from boot failures.
How to Remove Trojan:XML/GreatXML [Fix]
Do not delete C:RecoveryWindowsREReAgent.xml without completing the false positive verification first – removing this file can prevent Windows from booting into recovery mode when needed. Follow these steps in sequence. First, quarantine the flagged item in Defender rather than permanently deleting it. Then run secondary scans with Malwarebytes and ESET Online Scanner – if both return clean, the detection is almost certainly a false positive against the legitimate ReAgent.xml. Report the false positive to Microsoft through the Defender feedback button in Protection History. If secondary scanners DO confirm the detection, run a full Microsoft Defender Offline Scan (Windows Security, Virus and Threat Protection, Scan Options, Microsoft Defender Offline Scan) because the offline scan runs before Windows loads and can reach the Recovery Environment. Run a full scan with SpyHunter to locate any additional components linked to the GreatXML modification. If a confirmed infection is found and BitLocker is in use on the device, consult the Microsoft documentation on regenerating the WinRE image (reagentc /disable followed by reagentc /enable) to restore a clean recovery environment after malware removal. Follow the complete removal guide below this article for the full step-by-step process.
Preparation before removing Trojan:XML/GreatXML.
Before starting the actual removal process, we recommend that you do the following preparation steps.
- Make sure you have these instructions always open and in front of your eyes.
- Do a backup of all of your files, even if they could be damaged. You should back up your data with a cloud backup solution and insure your files against any type of loss, even from the most severe threats.
- Be patient as this could take a while.
- Scan for Malware
- Fix Registries
- Remove Virus Files
Step 1: Scan for Trojan:XML/GreatXML with SpyHunter Anti-Malware Tool



Step 2: Clean any registries, created by Trojan:XML/GreatXML on your computer.
The usually targeted registries of Windows machines are the following:
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce
You can access them by opening the Windows registry editor and deleting any values, created by Trojan:XML/GreatXML there. This can happen by following the steps underneath:
Tip: To find a virus-created value, you can right-click on it and click "Modify" to see which file it is set to run. If this is the virus file location, remove the value.Step 3: Find virus files created by Trojan:XML/GreatXML on your PC.
1.For Windows 8, 8.1 and 10.
For Newer Windows Operating Systems
1: On your keyboard press + R and write explorer.exe in the Run text box and then click on the Ok button.

2: Click on your PC from the quick access bar. This is usually an icon with a monitor and its name is either “My Computer”, “My PC” or “This PC” or whatever you have named it.

3: Navigate to the search box in the top-right of your PC's screen and type “fileextension:” and after which type the file extension. If you are looking for malicious executables, an example may be "fileextension:exe". After doing that, leave a space and type the file name you believe the malware has created. Here is how it may appear if your file has been found:

N.B. We recommend to wait for the green loading bar in the navigation box to fill up in case the PC is looking for the file and hasn't found it yet.
2.For Windows XP, Vista, and 7.
For Older Windows Operating Systems
In older Windows OS's the conventional approach should be the effective one:
1: Click on the Start Menu icon (usually on your bottom-left) and then choose the Search preference.

2: After the search window appears, choose More Advanced Options from the search assistant box. Another way is by clicking on All Files and Folders.

3: After that type the name of the file you are looking for and click on the Search button. This might take some time after which results will appear. If you have found the malicious file, you may copy or open its location by right-clicking on it.
Now you should be able to discover any file on Windows as long as it is on your hard drive and is not concealed via special software.
Trojan:XML/GreatXML FAQ
What Does Trojan:XML/GreatXML Trojan Do?
The Trojan:XML/GreatXML Trojan is a malicious computer program designed to disrupt, damage, or gain unauthorized access to a computer system. It can be used to steal sensitive data, gain control over a system, or launch other malicious activities.
Can Trojans Steal Passwords?
Yes, Trojans, like Trojan:XML/GreatXML, can steal passwords. These malicious programs are designed to gain access to a user's computer, spy on victims and steal sensitive information such as banking details and passwords.
Can Trojan:XML/GreatXML Trojan Hide Itself?
Yes, it can. A Trojan can use various techniques to mask itself, including rootkits, encryption, and obfuscation, to hide from security scanners and evade detection.
Can a Trojan be Removed by Factory Reset?
Yes, a Trojan can be removed by factory resetting your device. This is because it will restore the device to its original state, eliminating any malicious software that may have been installed. Bear in mind that there are more sophisticated Trojans that leave backdoors and reinfect even after a factory reset.
Can Trojan:XML/GreatXML Trojan Infect WiFi?
Yes, it is possible for a Trojan to infect WiFi networks. When a user connects to the infected network, the Trojan can spread to other connected devices and can access sensitive information on the network.
Can Trojans Be Deleted?
Yes, Trojans can be deleted. This is typically done by running a powerful anti-virus or anti-malware program that is designed to detect and remove malicious files. In some cases, manual deletion of the Trojan may also be necessary.
Can Trojans Steal Files?
Yes, Trojans can steal files if they are installed on a computer. This is done by allowing the malware author or user to gain access to the computer and then steal the files stored on it.
Which Anti-Malware Can Remove Trojans?
Anti-malware programs such as SpyHunter are capable of scanning for and removing Trojans from your computer. It is important to keep your anti-malware up to date and regularly scan your system for any malicious software.
Can Trojans Infect USB?
Yes, Trojans can infect USB devices. USB Trojans typically spread through malicious files downloaded from the internet or shared via email, allowing the hacker to gain access to a user's confidential data.
About the Trojan:XML/GreatXML Research
The content we publish on SensorsTechForum.com, this Trojan:XML/GreatXML how-to removal guide included, is the outcome of extensive research, hard work and our team’s devotion to help you remove the specific trojan problem.
How did we conduct the research on Trojan:XML/GreatXML?
Please note that our research is based on an independent investigation. We are in contact with independent security researchers, thanks to which we receive daily updates on the latest malware definitions, including the various types of trojans (backdoor, downloader, infostealer, ransom, etc.)
Furthermore, the research behind the Trojan:XML/GreatXML threat is backed with VirusTotal.
To better understand the threat posed by trojans, please refer to the following articles which provide knowledgeable details.

