Classification

Category: Malware

Type: Trojan

Aliases: JBellz, Trojan.Linux.JBellz

Summary


JBells is a trojan embedded into malformed MP3 files. The trojan uses a vulnerability in mpg123 which is a command-line MP3 player for Linux and other *NIX systems. When the trojanized MP3 is played with a vulnerable version of mpg123 a routine is started that deletes the current user's home directory and it's content.

The latest development version of mpg123 (0.59s) was tested and found to be vulnerable to this attack, while the latest stable version (0.59r) is not vulnerable.

The original exploit code generates ready to distribute trojanized MP3s for Suse 8.0 and Slackware 8.0 distributions.

Removal


Automatic action

Based on the settings of your F-Secure security product, it will either automatically delete, quarantine or rename the detected program or file, or ask you for a desired action.

Knowledge Base

Find the latest advice in our Community Knowledge Base.

About the product

See the manual for your F-Secure product on the Help Center.

Contact Support

Chat with or call an expert for help.

Submit a sample

Submit a file or URL for further analysis.

Technical Details


The exploit code generates an MP3 file with malformed header that causes a buffer overflow in mpg123's header parsing code. The malicious buffer is constructed so that it calls a command shell with a one-line command that removes the user's home directory recursively.

Even though the original exploit contains settings for the distributions mentioned above it is unfortunately easy to modify the exploit code to affect other Linux distributions and versions as well. Because of this users of vulnerable mpg123 versions are advised to change their mpg123 to a non-vulnerable version, regardless of their distribution.