Home > Ransomware > TeamXrat Virus (Xpan) – Remove and Decrypt .___xratteamLucked Files

TeamXrat Virus (Xpan) – Remove and Decrypt .___xratteamLucked Files


A new ransomware virus spreads through the Remote Desktop Protocol (RDP) found on many computer systems. Its real name is Xpan, but many victims and some researchers refer to it as TeamXRat ransomware. The name TeamXRat comes from the cybercriminals who developed the ransomware and left their name in the ransom note as signature. The extension .___xratteamLucked is appended to files which get encrypted.

The ransomware originates from Brazil, but residents of other countries may get infected as well. To remove the virus and see how you can decrypt your files, read this article carefully.

On this page:
Threat Summary

Threat Summary

Name TeamXrat
Type Ransomware, Cryptovirus
Short Description The ransomware distributes by exploiting weak passwords in the Remote Desktop Protocol (RDP). From there is loads the Xpan Trojan horse and infects the files on a compromised PC.
Symptoms The virus will append the .___xratteamLucked extension to the files, which it encrypts.
Distribution Method Targeted Attacks, Remote Desktop Protocol (RDP)
Detection Tool See If Your System Has Been Affected by malware


Malware Removal Tool

User Experience Join Our Forum to Discuss TeamXrat.

TeamXRat Virus – Infection

The TeamXRat virus is unique in the way it infects compared to other ransomware viruses. It utilizes targeted attacks, by brutе forcing servers via the Remote Desktop Protocol (RDP). The Windows Operating System has a Remote Desktop Connection implemented in it and it may be turned on by default. Other operating systems also have an equivalent program running the same protocol, which makes it viable for a hacker attack. Once a weak password is cracked with the brute-forcing method, it is immediately exploited. The Xpan ransomware Trojan is being installed after the hackers manually set off the Anti-virus software found on the server they have entered.

However, it is not excluded for the TeamXRat virus to be spread in other ways. Some of these ways include malicious spam e-mail campaigns or using networks like social media or file-sharing services. On there a malicious file containing the payload of the malware could be placed. If you interact with it, especially by executing it, your whole computer machine will get encrypted. Before opening files with an unknown origin, perform checks on them for their signatures, size, and also scan them with a security tool. You should see more tips for ransomware prevention in our forum thread.

TeamXRat Virus – Information

The Xpan Trojan virus is what many people have dubbed TeamXRat. That is largely due to the fact that this ransomware had the signature TeamXRat in its ransom note and on the wallpaper it sets after file encryption. The ransomware is developed by the Brazilian criminals identifying themselves as TeamXRat or CorporacaoXRat (CorporationXRat). Although the virus originates from Brazil and most compromised computers are in Brazil, people from other countries have also fallen victim to this cyber threat.

The cybercriminals TeamXRat have developed other ransomware before, which is known as the Xrat ransomware (Xorist). They have improved their newest ransomware with a stronger encryption algorithm.

The ransomware uses creates the following sub-key in the Windows Registry:


After that the following Registry entries are created in the above mentioned sub-key:

→HKEY_CLASSES_ROOT\.____xratteamLucked\”Default” = “Criptografado!!”

→HKEY_CLASSES_ROOT\.____xratteamLucked\DefaultIcon\”Default” = “%SystemDrive%\System32\shell32.dll,47”

→HKEY_CLASSES_ROOT\.____xratteamLucked\shell\open\command\”Default” = “[DOS SCRIPT]”

From the registry entries above, a script will be initiated to start from a .DLL file. On top of it all, the following processes (marked with .exe) and services will be stopped by the ransomware:

  • fb_inet_server.exe
  • pg_ctl.exe
  • sqlservr.exe
  • postgresql-9.0
  • FirebirdServerDefaultInstance

In the end, the following file with the payment instructions is created:

→[PATH OF ENCRYPTED FILES]\Como descriptografar os seus arquivos.txt

The file is written in Brazillian Portuguese and looks like this:


Another change you might notice is that your desktop wallpaper will be changed with this picture:


They write about the encryption algorithm which is used, demand one Bitcoin for payment and the e-mail addess xRatTeam@mail2tor.com is given for you to contact the cyber crooks.

Do not even think of paying the malware makers as nobody can guarantee you will get your files back after successful payment. The money will undeniably be used for financially supporting further criminal activity, like the development of a new ransomware or even worse.

All encrypted files will have the extension .___xratteamLucked or .____xratteamLucked appended to them. The ransomware uses a 255 character password and the RSA 2048-bit encryption algorithm with 256-bit AES ciphers to encrypt files. Usually we list the file types, which are encrypted by such a cryptovirus, but this time you can see the file types which are not encrypted, because they are added into an exception list:

→.exe .dll .lnk .bat .ini .msi .scf

Here is a full list containing all file paths that are excluded from encryption:

File Path Strings Exlusions List

\DVD Maker\
\Microsoft Games\
\Reference Assemblies\
\Windows Defender\
\Windows Journal\
\Windows Mail\
\Windows Media Player\
\Windows NT\
\Windows Photo Viewer\
\Windows Sidebar\
\Common Files\
\Internet Explorer\
\Common Files\
\AVAST Software\
\Cobian Backup
\K-Lite Codec Pack\
\Microsoft SDKs\
\Microsoft Silverlight\
\Microsoft SQL Server Compact Edition\
\Microsoft Visual Studio\

The TeamXRat ransomware is very likely to delete the Shadow Volume Copies found on your Windows operating system. After encryption the ransomware deletes some of the files it originates from, including the payload file. Continue reading and down below you will see how to remove the virus completely and what you can try to decrypt your files.

Remove TeamXRat Virus and Restore .___xratteamLucked Files

If your computer got infected with the TeamXRat ransomware cryptovirus, you should have some experience in removing malware. You should get rid of this ransomware as quick as possible before it can have the chance to spread further and infect more computers. You should remove the ransomware and follow the step-by-step instructions manual given below. Check out ways in which you can try to recover your files by seeing the step titled 2. Restore files encrypted by TeamXRat or wait to see if there is an official decrypter released.

Berta Bilbao

Berta is a dedicated malware researcher, dreaming for a more secure cyber space. Her fascination with IT security began a few years ago when a malware locked her out of her own computer.

More Posts


with Anti-Malware
We recommend you to download SpyHunter and run free scan to remove all virus files on your PC. This saves you hours of time and effort compared to doing the removal yourself.
SpyHunter 5 free remover allows you, subject to a 48-hour waiting period, one remediation and removal for results found. Read EULA and Privacy Policy

Step 1: Boot Your PC In Safe Mode to isolate and remove TeamXrat


Manual Removal Usually Takes Time and You Risk Damaging Your Files If Not Careful!
We Recommend To Scan Your PC with SpyHunter

Keep in mind, that SpyHunter’s scanner is only for malware detection. If SpyHunter detects malware on your PC, you will need to purchase SpyHunter's malware removal tool to remove the malware threats. Read our SpyHunter 5 review. Click on the corresponding links to check SpyHunter's EULA, Privacy Policy and Threat Assessment Criteria

1. Hold Windows Key + R.
remove ransomware in safe mode step 1

2. The "Run" Window will appear. In it, type "msconfig" and click OK.
remove ransomware in safe mode step 2

3. Go to the "Boot" tab. There select "Safe Boot" and then click "Apply" and "OK".
remove ransomware in safe mode step 3
Tip: Make sure to reverse those changes by unticking Safe Boot after that, because your system will always boot in Safe Boot from now on.

4. When prompted, click on "Restart" to go into Safe Mode.
remove ransomware in safe mode step 4

5. You can recognise Safe Mode by the words written on the corners of your screen.
remove ransomware in safe mode step 5

Step 2: Uninstall TeamXrat and related malware from Windows

Here is a method in few easy steps that should be able to uninstall most programs. No matter if you are using Windows 10, 8, 7, Vista or XP, those steps will get the job done. Dragging the program or its folder to the recycle bin can be a very bad decision. If you do that, bits and pieces of the program are left behind, and that can lead to unstable work of your PC, errors with the file type associations and other unpleasant activities. The proper way to get a program off your computer is to Uninstall it. To do that:

1. Hold the Windows Logo Button and "R" on your keyboard. A Pop-up window will appear.
delete ransomware from windows step 1

2. In the field type in "appwiz.cpl" and press ENTER.
delete ransomware from windows step 2

3. This will open a window with all the programs installed on the PC. Select the program that you want to remove, and press "Uninstall"
delete ransomware from windows step 3Follow the instructions above and you will successfully delete most unwanted and malicious programs.

Step 3: Clean any registries, created by TeamXrat 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 TeamXrat there. This can happen by following the steps underneath:

1. Open the Run Window again, type "regedit" and click OK.
delete ransomware virus registries step 1

2. When you open it, you can freely navigate to the Run and RunOnce keys, whose locations are shown above.
delete ransomware virus registries step 2

3. You can remove the value of the virus by right-clicking on it and removing it.
delete ransomware virus registries step 3 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.

Before starting "Step 4", please boot back into Normal mode, in case you are currently in Safe Mode.
This will enable you to install and use SpyHunter 5 successfully.

Step 4: Scan for TeamXrat with SpyHunter Anti-Malware Tool

1. Click on the "Download" button to proceed to SpyHunter's download page.

It is recommended to run a scan before purchasing the full version of the software to make sure that the current version of the malware can be detected by SpyHunter. Click on the corresponding links to check SpyHunter's EULA, Privacy Policy and Threat Assessment Criteria.

2. After you have installed SpyHunter, wait for it to update automatically.

scan for and delete ransomware virus step 2

3. After the update process has finished, click on the 'Malware/PC Scan' tab. A new window will appear. Click on 'Start Scan'.

scan for and delete ransomware virus step 3

4. After SpyHunter has finished scanning your PC for any files of the associated threat and found them, you can try to get them removed automatically and permanently by clicking on the 'Next' button.

scan for and delete ransomware virus step 4

If any threats have been removed, it is highly recommended to restart your PC.

Ransomware Automatic Removal - Video Guide

Step 5 (Optional): Try to Restore Files Encrypted by TeamXrat.

Ransomware infections and TeamXrat aim to encrypt your files using an encryption algorithm which may be very difficult to decrypt. This is why we have suggested a data recovery method that may help you go around direct decryption and try to restore your files. Bear in mind that this method may not be 100% effective but may also help you a little or a lot in different situations.

1. Download the recommended Data Recovery software by clicking on the link underneath:

Simply click on the link and on the website menus on the top, choose Data Recovery - Data Recovery Wizard for Windows or Mac (depending on your OS), and then download and run the tool.

TeamXrat FAQ


What is TeamXrat Ransomware?

TeamXrat is a ransomware infection - the malicious software that enters your computer silently and blocks either access to the computer itself or encrypt your files. 

Many ransomware viruses use sophisticated encryption algorithms to make your files inaccessible. The goal of ransomware infections is to demand that you pay a ransom payment to get access to your files back.

Can TeamXrat Ransomware Damage My Computer?

Yes, ransomware can damage your computer. Ransomware is a malicious software that is designed to block access to your computer or files until a ransom is paid. It can encrypt your files and make them inaccessible, preventing you from using your computer or accessing your data. Ransomware can also damage your system, corrupt data and delete files, resulting in the permanent loss of important files.

Should I Ignore Ransomware, like TeamXrat?

No, you should never ignore ransomware. Ransomware can encrypt your data and block access to your computer, making it impossible to access your files until you pay a ransom. Ignoring ransomware could lead to the permanent loss of your data, as well as the potential for the ransomware to spread to other computers on your network. Additionally, paying the ransom does not guarantee that your data will be recovered. The best way to protect yourself is to invest in robust cyber security measures, such as backup solutions and anti-malware software.

How Does TeamXrat Ransomware Infect My Computer?

Via several ways.TeamXrat Ransomware infects computers by being sent via phishing emails, containing virus attachment

This attachment is usually masked as an important document, like an invoice, bank document or even a plane ticket and it looks very convincing to users. 

After you download and execute this attachment, a drive-by download occurs and your computer is infected with the ransomware virus.

Another way you may become a victim of TeamXrat is if you download a fake installer, crack or patch from a low reputation website or if you click on a virus link. Many users report getting a ransomware infection by downloading torrents.

How to Open .TeamXrat files?

You can't. At this point, the .TeamXrat files are encrypted. You can only open them once they are decrypted.


What to Do If Ransomware Decryptor Does Not Work?

Do not panic, and backup the files. If a decryptor did not decrypt your .TeamXrat files successfully, then do not despair, because this virus is still new.

One way to restore files, encrypted by TeamXrat ransomware is to use a decryptor for it. But since it's a new virus, be advised that the decryption keys for it may not be out yet and available to the public. We will update this article and keep you posted as soon as this decryptor is released.

Can I Restore ".TeamXrat" Files (Other Methods)?

Yes, sometimes files can be restored. We have suggested several file recovery methods that could work if you want to restore .TeamXrat files. 

These methods are in no way 100% guaranteed that you will be able to get your files back. But if you have a backup, your chances of success are much greater.

How Do I Get Rid of TeamXrat Ransomware Virus?

The safest way and the most efficient one for the removal of this ransomware infection is the use a professional anti-malware program. It will scan for and locate TeamXrat ransomware and then remove it without causing any additional harm to your important .TeamXrat files.

Also, keep in mind that viruses like TeamXrat ransomware also install Trojans and keyloggers that can steal your passwords and accounts. Scanning your computer with anti-malware software will make sure that all of these virus components are removed and your computer is protected in the future.

What to Do If I Cannot Recover Ransomware Encrypted Files?

There is still a lot you can do. If none of the above methods seem to work for you, then try these methods:

-Try to find a safe computer from where you can can login on your own line accounts like One Drive, iDrive, Google Drive and so on.
-Try to contact your friends, relatives and other people so that they can check if they have some of your important photos or documents just in case you sent them.

-Also, check if some of the files that were encrypted it can be re-downloaded from the web.

-Another clever way to get back some of your files is to find another old computer, a flash drive or even a CD or a DVD where you may have saved your older documents. You might be surprised what will turn up.

-You can also go to your email account to check if you can send any attachments to other people. Usually what is sent the email is saved on your account and you can re-download it. But most importantly, make sure that this is done from a safe computer and make sure to remove the virus first.

More tips you can find on our forums, where you can also asks any questions about your ransomware problem.


How to Report Ransomware to Authorities?

In case your computer got infected with a ransomware infection, you can report it to the local Police departments. It can help authorities worldwide track and determine the perpetrators behind the virus that has infected your computer. Below, we have prepared a list with government websites, where you can file a report in case you are a victim of a cybercrime:

Cyber-security authorities, responsible for handling ransomware attack reports in different regions all over the world:

Germany - Offizielles Portal der deutschen Polizei

United States - IC3 Internet Crime Complaint Centre

United Kingdom - Action Fraud Police

France - Ministère de l'Intérieur

Italy - Polizia Di Stato

Spain - Policía Nacional

Netherlands - Politie

Poland - Policja

Portugal - Polícia Judiciária

Greece - Cyber Crime Unit (Hellenic Police)

India - Mumbai Police - CyberCrime Investigation Cell

Australia - Australian High Tech Crime Center

Reports may be responded to in different timeframes, depending on your local authorities.

Can You Prevent TeamXrat Ransomware from Encrypting Your Files?

Yes, you can prevent ransomware. The best way to do this is to ensure your computer system is updated with the latest security patches, use a reputable anti-malware program and firewall, backup your important files frequently, and avoid clicking on malicious links or downloading unknown files. In addition, it is also important to keep your passwords secure and to avoid visiting websites or downloading applications from untrusted sources. Finally, ensure you have adequate backup and recovery procedures in place to restore your system to its pre-attack state, should a ransomware attack occur.

Can TeamXrat Ransomware Steal Your Data?

Yes, in most cases ransomware will steal your information. It is a form of malware that steals data from a user's computer, encrypts it, and then demands a ransom in order to decrypt it. In many cases, the malware authors or attackers will threaten to delete the data or publish it online unless the ransom is paid. This means that if a user is infected with ransomware, their data can be stolen and held for ransom. It is important to be aware of this threat and take precautions to protect yourself and your data.

Can Ransomware Affect WiFi?

Yes, ransomware can affect WiFi networks, as malicious actors can use it to gain control of the network, steal confidential data, and lock out users. If a ransomware attack is successful, it could lead to a loss of service and/or data, and in some cases, financial losses.

Should I Pay Ransomware?

No, you should not pay ransomware extortionists. Paying them only encourages criminals and does not guarantee that the files or data will be restored. The better approach is to have a secure backup of important data and be vigilant about security in the first place.

What Happens If I Don't Pay Ransom?

If you don't pay the ransom, the hackers may still have access to your computer, data, or files and may continue to threaten to expose or delete them, or even to use them to commit cybercrimes. In some cases, they may even continue to demand additional ransom payments.

Why Is the Ransom Paid in Crypto?

Cryptocurrency is a secure and untraceable form of payment, making it the ideal choice for ransom payments. It is difficult to trace, and the transactions are almost instantaneous. This means it is nearly impossible for authorities to track the payment and recover the money.

Can Ransomware Be Detected?

Yes, ransomware can be detected. Anti-malware software and other advanced security tools can detect ransomware and alert the user when it is present on a machine. It is important to stay up-to-date on the latest security measures and to keep security software updated to ensure ransomware can be detected and prevented.

Do Ransomware Criminals Get Caught?

Yes, ransomware criminals do get caught. Law enforcement agencies, such as the FBI, have been successful in tracking down and prosecuting ransomware criminals in the US and other countries. As ransomware threats continue to increase, so does the enforcement activity.



About the TeamXrat Research

The content we publish on SensorsTechForum.com, this TeamXrat how-to removal guide included, is the outcome of extensive research, hard work and our team’s devotion to help you remove the specific malware and restore your encrypted files.

How did we conduct the research on this ransomware?

Our research is based on an independent investigation. We are in contact with independent security researchers, and as such, we receive daily updates on the latest malware and ransomware definitions.

Furthermore, the research behind the TeamXrat ransomware threat is backed with VirusTotal and the NoMoreRansom project.

To better understand the ransomware threat, please refer to the following articles which provide knowledgeable details.


1. How to Recognize Spam Emails with Ransomware
2. How Does Ransomware Encryption Work?
3. How to Decrypt Ransomware Files
4. Ransomware Getting Greedier and Bigger, Attacks Increase by 40%
5. 1 in 5 Americans Victim of Ransomware

Attention! SensorsTechForum strongly recommends that all malware victims should look for assistance only by reputable sources. Many guides out there claim to offer free recovery and decryption for files encrypted by ransomware viruses. Be advised that some of them may only be after your money.

As a site that has been dedicated to providing free removal instructions for ransomware and malware since 2014, SensorsTechForum’s recommendation is to only pay attention to trustworthy sources.

How to recognize trustworthy sources:

  • Always check "About Us" web page.
  • Profile of the content creator.
  • Make sure that real people are behind the site and not fake names and profiles.
  • Verify Facebook, LinkedIn and Twitter personal profiles.

Leave a Comment

Your email address will not be published. Required fields are marked *

This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.
I Agree