MAFIA ransomware: what it is and how to remove it

MAFIA virus is a unique variant of the HiddenTear type ransomware which infiltrates the system as the winlogin.exe process. According to research, this type of ransomware is targeted towards Korean users as it uses their language in its ransom notes.

Facts checked October 6, 2026. Removal steps tested on Windows 11 (26H2) and checked against Microsoft's and the browser makers' current documentation. Sections marked as our earlier report are the original text: they describe the threat as it was then and have not been reviewed since. The 2026 status, the removal steps and the questions are current.

Automatic

Get a free scan and check if your PC is infected.

Fortect finds malware, unwanted programs and the Windows damage they leave behind, and repairs it in one pass.

Before you restore backups, a full scan can confirm the program that added .mafia is gone.

Remove it nowTo use the full-featured product, you have to purchase a license for Fortect. The scan is free.

Do it yourself · free Remove MAFIA ransomware yourself 6 steps, about 18 minutes, no software needed.

Start the steps
Screenshot of MAFIA: ransomware
MAFIA as our 2018 report showed it.

MAFIA ransomware: summary

NameMAFIA
TypeRansomware
DangersData and money loss
Related toHiddenTear
Processwinlogin.exe
Service usedAppCheck
Removal

Scan the PC with security software to find and remove the malware and anything installed with it. Fortect scans Windows for malware and repairs the system files and settings it damaged.

Remove it nowTo use the full-featured product, you have to purchase a license for Fortect. The scan is free.
Show 16 more facts
Extension.MAFIA file extension
Ransom noteInformation.html
CommunicationA Tor proxy for C2 communication is used
TargetKorean-speaking people
Detection namesNo Microsoft detection name is known
ContactNot recorded in our earlier report
Encrypted file extension.mafia
DecryptorNo free decryptor is known for this variant; check No More Ransom (nomoreransom.org) for updates
DistributionNot recorded in the old report
DamageNot recorded in the old report
SymptomsFiles renamed with a new extension and a ransom note left in folders
Evidence4 write-ups by security sites; no sample analysed yet
Encrypted files.mafia
Free decryptorNo free decryptor is known (checked 6 October 2026)
First seen14 August 2018
Facts checked6 October 2026

What to search your PC and browser for

  • File extension: .mafia
  • Note file: Information.html

How MAFIA ransomware behaves

From our report of Aug 2018 · not reviewed since

MAFIA ransomware - a fraudulent cryptovirus using the AppCheck service to target Korean users

MAFIA virus is a unique variant of the HiddenTear type ransomware which infiltrates the system as the winlogin.exe process.

According to research, this type of ransomware is targeted towards Korean users as it uses their language in its ransom notes. Once installed, the sneaky cyber threat stops a service called AppCheck and several databases processes to be able to perform file encryption.

Corrupted documents are locked with the help of AES-256 excryption algorithm and then marked by using the .MAFIA file extension. After that, a ransom message called Information.html is displayed. Virus developers are using a Tor proxy for C2 communication.

It is known that the criminals hiding behind this virus are displaying such a message to victims' computers:

MAFIA ransomware uses a unique encryption algorithm to lock important users' files. This algorithm is called AES-256 and is considered one of the most popular file encryption algorithm.

As all keys that are generated when using this algorithm are stored on remote servers and kept in reach only for their owners, so the decryption code is impossible to discover or guess. Unfortunately, Mafia ransomware removal does not help you to unlock encrypted data. For that, you should rely on your files' backups or follow our data recovery steps.

As soon as you get infected with this cryptovirus, you spot the following symptoms:

Some good news is that this virus uses OpenSSL for files' encryption which slows down the entire process. This means that you can try to interrupt the hazardous activity of the ransomware by turning off your computer or stopping the winlogin.exe process.

However, if you do not make this on time, the infection takes over the whole system. If you are in such a state at this time, you need to remove MAFIA ransomware without any hesitation. .

In addition, we want to advise you to keep your data safe from other possible attacks in the future. To prevent data corruption, keep extra copies of your valuable data (documents, business files, reports, photos, videos, art) stored on an external hard drive, cloud, even a CD.

In this case, even if you happen to get infected with this malware and find your data encrypted, data copies which are kept on the external devices will remain untouched.

  • Files have the .MAFIA extension appended and cannot be opened;
  • A ransom note named Information.html shows on the PC screen;
  • The hazardous file called winlogin.exe is running in system's background.
Screenshot of MAFIA: ransomware
MAFIA in our 2018 report.
Screenshot of MAFIA: cyber threat
MAFIA in our 2018 report.

From our report of Aug 2018 · not reviewed since

The main method used by ransomware to get into the system is spam

According to malware researchers form Ioys.gr , ransomware-type infections are most likely to enter the computer system thru a phishing message.

Cybercrooks drop numerous spam emails to victims which include a hazardous attachment or link inserted. However, it is easy to get tricked by such message as it might look like:

Our advice would be to eliminate all phishing emails you receive if you are not waiting for anything important at the moment. This is a way to prevent a serious ransomware infection.

Another recommendation for you is to install antivirus protection if you do not already have one running on your computer. Although in some cases the ransomware might interrupt the activity of the anti-malware program, it still is a good option for detecting various cyber threats that might enter the system unnoticed.

  • Report;
  • Invoice;
  • Various statements;
  • Software updates;
  • etc.

The MAFIA ransomware note

a ransom note left in folders

GET /mafiaEgnima.php?iv=0x9e0x4b0x410x5c0x480x3a0xf40x90x2f0xfa0x960xb90x9b0x830xd40xb7&key=0xb90x1e0x600x3d0xef0x6c0xe60x930x6d0xab0x420x7b0x50x350xf00xcd0x3c0x490xc30x5f0xa10xe0xda0x270x5d0xd50xd10xa40xc0x9f0x340x79&seq=cbdf395c9281ae2ec52a306b5c29ec5 HTTP/1.1

Host: wibkilmskir4rlxz.onion.pet

Connection: keep-alive

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8

User-Agent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36

How to remove MAFIA ransomware

Tools you'll need

All of these are free except where noted. Download them on a clean device if the infected PC is offline.

  • A USB stick: to keep the ransom note, two or three encrypted files and screenshots off the infected PC.
  • Microsoft Defender Offline: built into Windows 11 and Windows 10; scans before Windows starts, so running malware cannot hide.
  • Microsoft Safety Scanner: a second, portable scanner with current signatures; each download works for 10 days.
  • ID Ransomware: identifies the family from the note and one encrypted file and says whether a decryptor exists.
  • No More Ransom: the free decryptors from police and security companies; check it again every few months.
  • Fortect (optional): scans Windows for malware and repairs the system files and settings it damaged. The free scan is in the box above.

How to remove MAFIA and get your files back

Work in this order.

Disconnecting comes first, removal comes before any restore, and nothing here asks you to contact the attackers.

  1. Step 1: Disconnect the PC and unplug backup drives

    Unplug the network cable or turn off Wi-Fi, and disconnect USB drives, external disks and network shares, so MAFIA cannot reach more files. Pause OneDrive, Google Drive or Dropbox sync, because synced folders upload the encrypted copies over the good ones.

    Leave the PC on but offline while you read the next steps, since a restart can let the ransomware run again. This applies to Windows 11 and Windows 10 alike.

    Windows 11 quick settings with Wi-Fi turned off
    Windows 11: turn off Wi-Fi to take the PC offline.

    Full procedure with screenshots: Ransomware: first steps, finding a decryptor and recovering files

  2. Step 2: Save the ransom note and confirm the family

    Your files now end in .mafia and the instructions are in Information.html. Save both to a USB stick, a copy of the note and two small encrypted files, before anything else.

    On another device, check them with ID Ransomware or Crypto Sheriff: the family name decides which decryptor, if any, can help. Keep the note's ID and contact line for your report.

    A ransom note text file next to encrypted files in File Explorer
    Windows 11: the ransom note and encrypted files to copy for identification.

    Full procedure with screenshots: Ransomware: first steps, finding a decryptor and recovering files

  3. Step 3: Check for a free decryptor

    Our last check found that for MAFIA, no free decryptor is known (checked 6 October 2026). Look again yourself in the No More Ransom list and the free decryptor pages of Emsisoft, Avast and Kaspersky, which add new families every year.

    A decryptor needs the ransomware gone first, or it encrypts the files again. Keep at least one copy of the encrypted files on an external drive, even if no tool works yet.

    Full procedure with screenshots: Ransomware: first steps, finding a decryptor and recovering files

  4. Step 4: Remove the ransomware before you restore or decrypt

    Removing MAFIA does not bring the files back, but it has to come first. Start with Defender's Full scan, then the offline scan from the same Scan options page, which checks the disk before Windows loads.

    If the scan cannot start, use Safe Mode with Networking. Delete the ransom notes only after you have saved a copy, because removal tools sometimes leave them behind on Windows 11 and Windows 10.

    Windows Security Scan options with Microsoft Defender Antivirus offline scan selected
    Windows 11: Windows Security > Virus & threat protection > Scan options.

    Full procedure with screenshots: Run a Microsoft Defender Offline scan

  5. Step 5: Look for shadow copies of the files

    Windows keeps shadow copies for restore points and backups, and some ransomware fails to delete them. vssadmin list shadows in an administrator Command Prompt tells you at once whether any exist.

    If they do, right-click the folder that held your files, open Properties > Previous Versions, select a version from before the attack, and click Open to check it before you Restore or copy the files out. Windows 11 and Windows 10 both have the tab.

    Command Prompt running vssadmin list shadows
    Windows 11: vssadmin list shadows shows whether shadow copies exist.

    Full procedure with screenshots: Ransomware: first steps, finding a decryptor and recovering files

  6. Step 6: Restore the files from a backup or recover deleted originals

    A backup made before the attack is the surest way back. Connect it only once the PC is clean, then restore from File History, Windows Backup, OneDrive's Restore your OneDrive or your own external copies.

    Without a backup, try file recovery: the originals that MAFIA deleted may still be on the disk until something overwrites them. Install nothing new on the drive you want to recover from on the Windows 11 or Windows 10 PC.

    Full procedure with screenshots: Recover deleted files (Recycle Bin, backups, OneDrive) On uGetFix

Instructions for each browser and system

The detailed steps for every browser and system this guide covers. Open the one you use.

Manual removal using Safe Mode

Important! →
Manual removal guide might be too complicated for regular computer users. It requires advanced IT knowledge to be performed correctly (if vital system files are removed or damaged, it might result in full Windows compromise), and it also might take hours to complete. Therefore, we highly advise using the automatic method provided above instead.

Step 1. Access Safe Mode with Networking

Manual malware removal should be best performed in the Safe Mode environment.

Windows 7 / Vista / XP

  1. Click Start > Shutdown > Restart > OK.
  2. When your computer becomes active, start pressing F8 button (if that does not work, try F2, F12, Del, etc. - it all depends on your motherboard model) multiple times until you see the Advanced Boot Options window.
  3. Select Safe Mode with Networking from the list.Windows 7/XP

Windows 10 / Windows 8

  1. Right-click on Start button and select Settings.
    Settings
  2. Scroll down to pick Update & Security.
    Update and security
  3. On the left side of the window, pick Recovery.
  4. Now scroll down to find Advanced Startup section.
  5. Click Restart now.
    Reboot
  6. Select Troubleshoot.Choose an option
  7. Go to Advanced options.Advanced options
  8. Select Startup Settings.Startup settings
  9. Press Restart.
  10. Now press 5 or click 5) Enable Safe Mode with Networking.Enable safe mode

Step 2. Shut down suspicious processes

Windows Task Manager is a useful tool that shows all the processes running in the background. If malware is running a process, you need to shut it down:

  1. Press Ctrl + Shift + Esc on your keyboard to open Windows Task Manager.
  2. Click on More details.
    Open task manager
  3. Scroll down to Background processes section, and look for anything suspicious.
  4. Right-click and select Open file location.
    Open file location
  5. Go back to the process, right-click and pick End Task.
    End task
  6. Delete the contents of the malicious folder.

Step 3. Check program Startup

  1. Press Ctrl + Shift + Esc on your keyboard to open Windows Task Manager.
  2. Go to Startup tab.
  3. Right-click on the suspicious program and pick Disable.
    Startup

Step 4. Delete virus files

Malware-related files can be found in various places within your computer. Here are instructions that could help you find them:

  1. Type in Disk Cleanup in Windows search and press Enter.
    Disk cleanup
  2. Select the drive you want to clean (C: is your main drive by default and is likely to be the one that has malicious files in).
  3. Scroll through the Files to delete list and select the following: Temporary Internet Files
    Downloads
    Recycle Bin
    Temporary files
  4. Pick Clean up system files.
    Delete temp files
  5. You can also look for other malicious files hidden in the following folders (type these entries in Windows Search and press Enter): %AppData%
    %LocalAppData%
    %ProgramData%
    %WinDir%

After you are finished, reboot the PC in normal mode.

From our report of Aug 2018 · not reviewed since

Use professional tools for the elimination of MAFIA ransomware

You need to remove MAFIA virus from your computer as soon as you detect it to avoid further possible damage.

Manual elimination, in this case, is not possible as the cyber threat is too dangerous itself and might hide a lot of hazardous components inside the computer system. For such case, you should lean on anti-malware help.

After you perform the MAFIA ransomware removal, make sure you complete one more step. IT experts strongly advise doing some system backups and checking the entire computer in case some virus-related components are still hiding.

[GI=method-1]Reboot your PC to Safe Mode with Networking to disable the virus:

[GI=method-2]Turn on the System Restore function to launch anti-virus and get rid of infected files:

Read thru the instructions carefully, if performed as required, this method might let you recover corrupted documents and bring them back to their starter positions.

Try Windows Previous Versions feature for data recovery:

This method might work only if you have enabled the System Restore function before the cyber attack managed to spread on your computer.

Shadow Explorer might be helpful:

You can try this method by following the given instructions. However, you need to know that it will work only if the virus did not manage to destroy files' Shadow Volume Copies.

The official MAFIA ransomware decrypter hasn't been released yet.

Report it and recover your files

Report it

Report the attack even if you do not expect the files back: insurers and banks ask for the report number, and police use the contacts in the note to link cases.

United States
FBI IC3 · FTC ReportFraud

Give the victim ID, the note and the date the files were encrypted. A business that holds personal data may also have to notify its data protection authority, in the EU within 72 hours.

Protect the files you restore

Restore only after the scans are clean and the PC no longer shows files that end in .mafia and no longer open; otherwise the restored copies can be damaged again.

Then build a backup that survives the next infection:

  • one copy in the cloud with version history
  • one on an external drive that is disconnected between backups
  • the working copy on the PC

Version history matters because a backup that syncs damaged files overwrites the good ones.

How to do this with the tools built into Windows: the 3-2-1 backup rule on Windows.

Stream videos without limitations, no matter where you are

There are multiple parties that could find out almost anything about you by checking your online activity.

While this is highly unlikely, advertisers and tech companies are constantly tracking you online. The first step to privacy should be a secure browser that focuses on tracker reduction to a minimum.

Even if you employ a secure browser, you will not be able to access websites that are restricted due to local government laws or other reasons. In other words, you may not be able to stream Disney+ or US-based Netflix in some countries. To bypass these restrictions, you can employ a powerful VPN, which provides dedicated servers for torrenting and streaming, not slowing you down in the process.

Data backups are important - recover your lost files

Ransomware is one of the biggest threats to personal data.

Once it is executed on a machine, it launches a sophisticated encryption algorithm that locks all your files, although it does not destroy them. The most common misconception is that anti-malware software can return files to their previous states. This is not true, however, and data remains locked after the malicious payload is deleted.

While regular data backups are the only secure method to recover your files after a ransomware attack, tools such as can also be effective and restore at least some of your lost data.

Questions about MAFIA ransomware

Is there a decryptor for .mafia files?

That depends on the family behind the .mafia extension, which this guide cannot confirm yet from the reports alone. Check No More Ransom and ID Ransomware with your ransom note and one encrypted file; they list families with free tools.

If none exists today, keep the encrypted files and a copy of the note on a separate drive, because decryptors are sometimes published months later after flaws are found or servers are seized. Never buy a decryptor from a website that is not the security company that made it.

Should I pay the ransom in Information.html?

Not before you have tried everything else. Identify the family from Information.html and one encrypted file, check No More Ransom for a free decryptor, and look for clean copies in OneDrive, backups and Previous Versions.

Paying funds further attacks, may be illegal if the group is sanctioned, and is no promise of a working key: many victims get partial or broken decryption. If you consider paying for business-critical data, involve the police and a professional incident responder first, and never pay through intermediaries who promise their own decryption.

How do I open .mafia files?

You cannot open them by renaming or by choosing another program. The .mafia ending shows that MAFIA encrypted the content, and only the matching key can reverse it. Renaming a file back to .docx or .jpg changes nothing except the icon, and it can confuse a future decryptor, so leave the names as they are.

To get the content back, use a backup, an unencrypted copy elsewhere, or a decryptor listed on No More Ransom if one exists for MAFIA. Store the encrypted files on an external disk until then.

Can a data-recovery company decrypt my files for a fee?

Only if a decryptor already exists or the company pays the attackers for you. Some "ransomware recovery" services advertise that they can decrypt families with no known flaw; in practice they negotiate with the attackers and add their own fee. Others use the same free tools listed on No More Ransom.

Before you hire anyone, ask in writing how they will recover the files, whether they will contact the attackers and what happens if they fail. A legitimate service answers clearly. If a free decryptor exists for your family, you can run it yourself.

How did MAFIA get on my computer?

The way MAFIA spreads has not been documented yet, so look at your own recent activity. On home PCs, ransomware most often comes with cracked programs, game cheats, key generators and fake updates, or with an e-mail attachment that was opened. On business networks, attackers usually log in through Remote Desktop with a stolen or guessed password.

Think back to what was downloaded or installed in the days before files that end in .mafia and no longer open, and check the Downloads folder and Installed apps sorted by date. Keep anything suspicious for your report, but do not run it again.

Did MAFIA steal my files or passwords?

We do not know yet. Nothing published so far shows data theft by MAFIA, but the only confirmed sign is files that end in .mafia and no longer open, which says nothing about what happened before. Many current ransomware attacks copy files or run a password stealer first, so it is wise to act as if they did.

From a clean device, change the passwords that were saved in the browsers on this PC, starting with e-mail and banking, sign out of all sessions and turn on two-step verification. Watch bank statements and account activity for the next few weeks.

Is MAFIA the same as other ransomware with a similar name?

Not necessarily. Ransomware names come from the file extension, the note or a word in the code, so unrelated families often end up with similar names, and one family can appear under several names. The difference matters: a decryptor or advice for one family does not fit another and can damage files.

Compare the ending added to your files and the exact name of the note with the summary table at the top of this guide, then upload the note and one encrypted file to ID Ransomware from a clean device. If the result names another family, follow the guide for that family instead.

What does Information.html tell me about the ransomware?

Quite a lot. The file name Information.html, the wording, the contact addresses and the format of the personal ID are typical for each family. Uploading the note together with one encrypted file to ID Ransomware or No More Ransom's Crypto Sheriff usually names the family within seconds.

That name decides your options: some families have free decryptors, some can be partially recovered, and some cannot be decrypted at all. The note's claims about stolen data should be taken seriously but not at face value.

Will .mafia spread to my other drives?

It can. Ransomware encrypts every drive and network share it can reach while it runs, so external disks, USB sticks and shared folders connected during the attack may also have files ending in .mafia. Disconnect everything now, then check each device from a clean computer.

Do not plug a backup drive into the infected PC until the ransomware has been removed with an offline scan. Cloud folders such as OneDrive sync the encrypted versions, but they keep earlier versions you can usually restore.

Will Fortect remove MAFIA?

Fortect scans Windows for malware and unwanted programs and repairs the system files and settings they change, and its free scan shows what it finds on your PC before you decide anything.

For MAFIA, follow the plan above as well: the browser steps take back permissions and settings that no scanner treats as a threat, and uninstalling the program that brought it removes the source.

Run Microsoft Defender's full scan and, if anything was found, its offline scan as a second opinion. If the symptoms are gone after the plan and both scans are clean, there is nothing more to do.

Sources

  1. Search Security: Advanced Encryption Standard (AES) (read October 6, 2026)
  2. Wikipedia: OpenSSL (read October 6, 2026)
  3. CISA: StopRansomware (read October 6, 2026)
  4. No More Ransom (read October 6, 2026)
  5. FTC: How to recognize, remove and avoid malware (read October 6, 2026)

More removal guides

MAFIA ransomware in the news

Questions and experiences: MAFIA ransomware

Still seeing it, or found something we did not cover? Ask here: members and our editors answer. Reading is open; writing needs a free account.

0 comments

…

5,603 members already hereReading, writing, commenting and voting. 0 verified · 328 joined this year