Skip to main content

Trojan-Downloader:JS/Locky

Classification

Category:

Malware

Type:

Trojan-downloader

Aliases:

  • Trojan-Downloader:JS/Locky.[variant]
  • Locky.[variant]

Summary

Trojan-Downloader:JS/Locky is ransomware that encrypts files saved on the machine and demands payment of a ransom in order to obtain the decryption key needed to restore normal access to the affected files.

Removal

Technical Details

Users typically encounter Locky ransomware by either being exposed to an exploit kit or via a spam email message with a file attachment.

Delivery via email

The most common way Locky ransomware is distributed is as a file attached to a email message. The emails may appropriate the names and/or branding of various legitimate companies to appear authentic. They will typically appear to be related to invoices, court orders or logistic/baggage related topics.

The file attachment may be a zipped folder (.zip) that contains a JavaScript (.js) file. It may also be a file that uses a multiple extension - for example INVOICE#132435.PDF.js. Using multiple extensions this way is an established tactic by malware authors to trick users into believing that the file does not contain executable code (the JavaScript) and is instead a static viewable file.

If the user opens the attachment, the JavaScript code will run and try to download the component that performs the actual encryption from a remote server.

Delivery via exploit kit

Locky ransomware can also be delivered as the payload of an exploit kit. If the user is exposed to a exploit kit (usually by visiting a compromised website, or by being redirected to a malicious one) and it successfully exploits the user's machine, the kit will download the ransomware and it will immediately run.

Encryption

Locky ransomware encrypt files stored on the machine. Depending on the specific variant, the encryption can be done using either the AES 128-bit or RSA 2048-bit encryption algorithms - which are extremely difficult to break.

Once the files are encrypted, a text file containing the ransom demand is saved on the system. In some variants, the desktop background is also changed to display the demand. The file will provide instructions on how to pay the ransom demanded.

Protect your devices from malware with F‑Secure Total

Protecting your devices from malicious software is essential for maintaining online security. F‑Secure Total makes this easy, helping you to secure your devices in a brilliantly simple way.

  • Award‑winning antivirus and malware protection

  • Online browsing, banking, and shopping protection

  • 24/7 online identity and data breach monitoring

  • Unlimited VPN service to safe­guard your privacy

  • Password manager with private data protection

Choose how many devices you want to protect to get started.

  • Free customer support

  • Cancel anytime

  • The trial does not obligate you to buy the product

After 30 days your subscription will renew automatically for one year at €69.99.

More Support

Community

Ask questions in our Community.

User guides

Check the user guide for instructions.

Contact Support

Chat with with or call an agent.

Submit a Sample

Submit a file or URL for analysis.