Category :


Type :


Aliases :

Trojan.Iframe.[variant], Trojan.JS.Iframe.[variant]


This detection identifies malicious JavaScript code that has been added to an inline frame, or iframe, contained on a webpage. When the user opens the page in a web browser, the code is automatically run.


Based on the settings of your F-Secure security product, it will either move the file to the quarantine where it cannot spread or cause harm, or remove it.

A False Positive is when a file is incorrectly detected as harmful, usually because its code or behavior resembles known harmful programs. A False Positive will usually be fixed in a subsequent database update without any action needed on your part. If you wish, you may also:

  • Check for the latest database updates

    First check if your F-Secure security program is using the latest updates, then try scanning the file again.

  • Submit a sample

    After checking, if you still believe the file is incorrectly detected, you can submit a sample of it for re-analysis.

    Note: If the file was moved to quarantine, you need to collect the file from quarantine before you can submit it.

  • Exclude a file from further scanning

    If you are certain that the file is safe and want to continue using it, you can exclude it from further scanning by the F-Secure security product.

    Note: You need administrative rights to change the settings.

Technical Details

Iframes are typically used to display the content of one web page on another page. Though useful in many legitimate contexts, the iframe functionality can be misused by attackers to insert malicious code hidden in the iframe tags into a target page for eventual display in a user's web browser, which will automatically execute the embedded code.

The malicious JavaScript code may be inserted on a page next to legitimate JavaScript code, making it more difficult for a user to differentiate the two and increasing the chances that the malicious behavior will be masked.

Once executed, the malicious JavaScript code can perform a variety of actions - most commonly, either redirecting the browser to unsolicited sites, displaying unsolicited content, or silently downloading other files onto the user's machine.