HTML:IFrame-HM [Trj]

If your computer is infected with HTML:IFrame-HM [Trj], you may follow the procedure on this page to contain this threat. Remove the Trojan at once before it can further harm the system.

HTML:IFrame-HM [Trj] is a detection for an infected web pages that can harm visiting computers by executing commands unknown to users. This Trojan is injected as a malicious and invisible Iframe into clean web pages. Typically, it starts the attack by searching the infected computer for File Transfer Protocol (FTP) user name and passwords. It then uses the gathered credential to login to web servers and infect a web file. A code will be inserted to the header part of the web page that runs a script in order to infect visitor’s computer.

Alias: Trojan-Downloader.HTML.IFrame.ii, TrojanClicker:HTML/Iframe.H, Mal/Iframe-F, HTML/Iframe.B!Camelot

Damage Level: Medium

Systems Affected: Windows 9x, 2000, XP, Windows Vista

HTML:IFrame-HM [Trj] is a detection for Trojan that attacks web files. It injects invisible Iframe into legitimate web page or files possibly through SQL injection incident. The code is usually found at the end of the compromised HTML file, which is unusual from other Iframe attacks where code occurs at the head of the page.

Malicious Iframe may have the following payload:

  • Redirects visitors to another malicious web sites
  • Utilize infected web sites for rogue anti-virus campaign
  • Hosts other Trojans with similar functionalities
  • Execute commands and download files on visitor’s computer

The Trojan evolves in computer-to-web site and web site-to-computer mechanism. Infected web site will drop malicious file to victim’s system and steal FTP user name and password to gain web site access. Once it penetrates the web site using infected user’s credential, it injects Iframe code to perform the malicious routine. Basically, it greatly affects those users who are maintaining a web site. Thus, it is important to refrain from saving user name and passwords when accessing web-hosting accounts.

How to Remove HTML:IFrame-HM [Trj]

Systematic procedures to get rid of the threat are presented on this section. Make sure to scan the computer with suggested tools and scanners.

NOTE: We suggest that you PRINT or BOOKMARK this guide. There are steps that we may have to restart the computer in order to successfully remove the threat.

Optional : Scan and remove HTML:IFrame-HM [Trj] with this special tool

This guide requires a tool called Malwarebytes' Anti-Malware. It is a free tool designed to eradicate various computer infections including HTML:IFrame-HM [Trj]. MBAM scanner and malware removal tool is distributed for free.

1. In order to completely remove HTML:IFrame-HM [Trj], it is best to download and run the recommended tool. Please click the button below to begin download.

Download Tool

2. After downloading, double-click on the file to install the application. If you are using Windows Vista or Windows 7, right-click on the file and select 'Run as administator' from the list.
3. When User Account Control prompts, please click Yes to proceed with the installation.

User Account Control MBAM

4. Follow the prompts and install as 'default' only. There are no changes needed during the installation process.
5. Before the installation procedure ends, MalwareBytes Anti-Malware will ask for database update, please proceed.

MalwareBytes Anti-Malware Update

6. Click Finish button after installation. Program will run automatically run and you will be prompted to update if newer version of database is available.
7. At this moment, close MalwareBytes Anti-Malware and proceed with the next step.

Step 1 : Run a scan with your antivirus program

1. Remove all media such as Memory Card, cd, dvd, and USB devices. Then, restart the computer and please do the following:

Boot in Safe Mode on Windows XP, Windows Vista, and Windows 7 system
a) Before Windows begins to load, press F8 on your keyboard.
b) It will display the Advanced Boot Options menu. Select Safe Mode.

Start computer in Safe Mode using Windows 8 and Windows 10
a) Close any running programs on your computer.
b) Get ready to Start Windows. On your keyboard, Press and Hold Shift key and then, click on Restart button.
c) It will prompt you with options, please click on Troubleshoot icon.
d) Under Troubleshoot window, select Advanced Options.
e) On next window, click on Startup Settings icon.
f) Lastly, click on Restart button on subsequent window.
g) When Windows restarts, present startup options with numbers 1 - 9. Select "Enable Safe Mode with Networking" or number 5.

Startup Options

h) Windows will now boot on Safe Mode with Networking. Proceed with virus scan as the next step.

2. Once Windows is running under Safe Mode with Networking, open your antivirus program and download the most recent update. This method ensures that your antivirus program can detect even newer variants of HTML:IFrame-HM [Trj].

Updating your antivirus software is a one-click process. Please refer to your software manual for complete instructions.

3. Once updating is finished, run a full system scan on the affected PC. After the scan, delete all infected items. If unable to clean or delete, better place the threat in quarantine.

Step 2: Run another test with online virus scanner

Another way to remove HTML:IFrame-HM [Trj] without the need to install additional antivirus software is to perform a thorough scan with free online virus scanner. It can be found on websites of legitimate antivirus and security provider.

1. Click the button below to proceed to the list of suggested Online Virus Scanner. Choose your desired provider. You can run each scan individually, one at a time, to ensure that all threats will be removed from the computer. This may require plug-ins, add-on or Activex object, please install if you want to proceed with scan.

Online Virus Scan

2. After completing the necessary download, your system is now ready to scan and remove HTML:IFrame-HM [Trj] and other kinds of threats.
3. Select an option in which you can thoroughly scan the computer to make sure that it will find and delete entirely all infections not detected on previous scan.
4. Remove or delete all detected items.
5. When scanning is finished, you may now restart the computer in normal mode.

Alternative Removal Procedures for HTML:IFrame-HM [Trj]

Option 1 : Use Windows System Restore to return Windows to previous state

During an infection, HTML:IFrame-HM [Trj] drops various files and registry entries. The threat intentionally hides system files by setting options in the registry. With these rigid changes, the best solution is to return Windows to previous working state is through System Restore.

To verify if System Restore is active on your computer, please follow the instructions below to access this feature.

Access System Restore on Windows XP, Windows Vista, and Windows 7

a) Go to Start Menu, then under 'Run' or 'Search Program and Files' field, type rstrui.
b) Then, press Enter on the keyboard to open System Restore Settings.


Open System Restore on Windows 8

a) Hover your mouse cursor to the lower left corner of the screen and wait for the Start icon to appear.
b) Right-click on the icon and select Run from the list. This will open a Run dialog box.
c) Type rstrui on the 'Open' field and click on OK to initiate the command.


If previous restore point is saved, you may proceed with Windows System Restore. Click here to see the full procedure.

Ways to Prevent HTML:IFrame-HM [Trj] Infection

Take the following steps to protect the computer from threats. Suggested tools and security setup within installed software helps prevent the same attack on your PC.

Install an effective anti-malware program

Your first line of defense would be an effective security program that provides real-time protection. We have a list of anti-malware program that are tried and tested. It does not only scan files but also monitors your Internet traffic and is extremely active on blocking malicious communication. Click on the button below to download our recommended anti-malware program.

Get Protection Software

Always update your installed software

Software vendors constantly releases updates for programs whenever a flaw is discovered. Getting the updates makes the computer more secured and help prevents Trojan, virus, malware, and HTML:IFrame-HM [Trj] similar attacks. If in case your program is not set for instant update, it usually offered from vendor's web site, which you can download anytime.

Maximize the security potential of your Internet browser

Each browser has their own feature where in you can adjust the security settings that fit your browsing habit. We highly encourage you to maximize the setup to tighten the security of your browser.

Apply full caution when using the Internet

Internet is full of fraud, malware, and many forms of computer threats including HTML:IFrame-HM [Trj]. Implement full caution with links that you may receive from emails, social networking sites, and instant messaging programs. It might lead you to malicious sites that can cause harm to your computer. Avoid strange web sites that offers free services and software downloads.

2 Responses

  1. STHK says:

    My anti-virus is giving warning of “HTML:IFrame-JS [Trj]”
    when I open any website several times.
    How I can get rid of this Trojan?

  2. Jaime says:


    I had the same problem across all websites hosted on my server. Over 20 websites. What a mess!! It attacks your JS folders/files. However, searching over and over again on the internet did not help me resolve the issue! I found some very well written lengthy intelligent comments on ideas for removal but, nothing helped. This is in fact VERY easy to get rid of. I decided to simply overwrite all the files that were infected with the original files. DONE. That easy.

    Make sure your virus software is running (I use avast). So, every time you refresh your infected site, avast will pop up a message and tell you where the file is located that is infected. Then you simply log into your FTP (I use Filezilla) and then overwrite the file that is infected with the original file. Then you refresh your website again, find the next infected file etc…until it’s gone! Good luck to everyone! I hope this helps. ~JK

Leave a Reply

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