Trojan:W97M/MaliciousMacro

Classification

Category :

Malware

Type :

Trojan

Platform :

W97M

Aliases :

Trojan:W97M/MaliciousMacro.gen

Summary

Trojan:W97M/MaliciousMacro identifies a specially-crafted Microsoft Word document file embedded with a macro that is designed to perform harmful actions.

Removal

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

A macro is a compact set of commands or instructions for performing a task. While macros are often used legitimately to automate helpful actions, they can also be used by attackers to automate harmful ones.

In this case, the document file itself is essentially bait, carefully designed by attackers to lure recipients into opening it and launching the harmful macro code.

Distributing the document files

The most common method attackers use to spread their specially-crafted document files is as attachments to spam email messages.

In attacks that are targeted at specific organizations or persons (also known as spear phishing), the email messages are deliberately tailored to its audience, to increase the chances that the recipients will accept the attached document as authentic and open it.

Tricking the user

The bait files are typically configured so that the macro will automatically run when the document is opened. However, the latest versions of Word software will by default block Word files that were downloaded from the Internet from automatically running macros.

To bypass this security precaution, if the macro cannot automatically launch, the document file displays a notification message asking the user to "allow a macro to run".

If the user clicks 'OK' on the notification message, the macro is launched. If the user does not click 'OK' and closes the file, the macro cannot run.

Harmful actions

Once the macro runs, it can perform a number of harmful actions. The specific action taken can vary, but the most common ones are:

  • Contacting a remote site to retrieve additional instructions
  • Downloading and/or installing additional files
  • Harvesting confidential information from the device
  • Transmitting stolen data to a remote site