Trojan-Dropper:OSX/Revir.D

Classification

Category :

Malware

Type :

Trojan-Dropper

Aliases :

Trojan-Dropper:OSX/Revir.D

Summary

Trojan-Dropper:OSX/Revir.D silently drops other malicious programs onto the machine; on execution, Revir.D opens a decoy file to distract the user from the program's malicious activities.

Removal

The F-Secure security product will automatically remove the file.

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

Trojan-Dropper:OSX/Revir.D is distributed as an application bundled, comprising the following components:

  • The main binary - detected as Trojan-Dropper:OSX/Revir.D
  • .conft - Contains an encrypted payload
  • .confr - contains a decoy file. The first 2048 bytes are also used as the RC4 key to decrypt the payload
  • .cnf - contains the filename to be used when creating the decoy file

Payload

Upon execution, the malware drops and executes its payload as the following:

  • /tmp/Spotlight

In the samples analyzed, the payload contained another malware detected as Backdoor:OSX/Imuler.B; however, since Revir.D is an application bundle, other malware may be used in other samples.

Social Engineering

To distract the user from noticing its malicious activities, Revir.D drops a copy of the decoy file into the /tmp folder and opens it using the 'open' command. This command directs the OS X system to use the default application to handle the target file's filetype for this action. Unlike previous Revir variants, the decoy file is not limited to PDF (see Revir.A) or JPEG (see Revir.B).

For extra insurance, Revir.D drops another copy of the decoy file into the folder where the malware was executed, and then deletes itself. Presumably, this is done so that if users ever attempts to find the application they just executed, they would only find the decoy file instead.

Both copies of the decoy file use the filename specified in the .cnf component. If the .cnf component does not exist, the decoy files will use the default filename "TMPAAABBB."