By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
Security Parrot - Cyber Security News, Insights and ReviewsSecurity Parrot - Cyber Security News, Insights and Reviews
Notification
Latest News
OpenAI may use Associated Press archive for AI training
July 14, 2023
EU users can hold conversations with Google Bard from training set
July 14, 2023
Aptos, the new default font for Microsoft Office
July 14, 2023
BlackLotus UEFI bootkit sources published on GitHub
July 14, 2023
Hackers from the XDSpy cyber-espionage group attacked Russian organizations on behalf of the Ministry of Emergency Situations
July 14, 2023
Aa
  • News
  • Tutorials
  • Security InsiderComing Soon
  • Expert InsightComing Soon
Reading: Malicious NPM package installed the njRAT trojan on infected machines
Share
Security Parrot - Cyber Security News, Insights and ReviewsSecurity Parrot - Cyber Security News, Insights and Reviews
Aa
Search
  • News
  • Tutorials
  • Security InsiderComing Soon
  • Expert InsightComing Soon
Follow US
Security Parrot - Cyber Security News, Insights and Reviews > News > Malicious NPM package installed the njRAT trojan on infected machines
npm-threatit
News

Malicious NPM package installed the njRAT trojan on infected machines

Last updated: 2020/12/02 at 4:33 PM
Jim Koohyar Biniyaz Published December 2, 2020
Share
npm-threatit
SHARE

Another malware has been found in the JavaScript package manager npm (Node Package Manager). This time, the developers who installed the  jdb.js  and  db-json.js packages were infected with the njRAT remote access trojan. Both packages were removed from npm earlier this week.

Packages were created by the same author and described as tools to help you work with JSON files. Both packages were uploaded to npm last week, and users downloaded them more than 100 times before Sonatype discovered malware in them.

According to Sonatype analysts, these packages contained a malicious script that was run after the developer imported and installed either of the two malicious libraries. The script performed basic reconnaissance on the infected host, and then tried to download and run the patch.exe file ( file on VirusTotal ), which later installed the njRAT Trojan on the affected machine. This malware is also known as Bladabindi and has been used by cybercriminals since at least 2015.

To load njRAT without problems, the patch.exe loader changed the behavior of the local Windows firewall by adding a rule for its command and control server to the whitelist before downloading the malware.

Interestingly, only the jdb.js package exhibited this behavior, while the second package, db-json.js, simply loaded the first one (obviously to mask the malicious behavior).

Since njRAT is a very serious threat, the npm security team recommends that affected developers consider their systems completely compromised. Experts emphasize that in this case it will not be possible to do without removing the malicious package, since “there is no guarantee that the removal of the package will remove all the malicious software that appears as a result of its installation.”

It should be noted that since August this year, cybercriminals’ interest in npm has definitely increased. Over the past months, experts have repeatedly discovered various malicious packages designed to steal data from infected systems. Apparently, hackers are interested in breaking into developers in order to be able to steal credentials from confidential projects, source code, intellectual property, or prepare for attacks on larger supply chains.

Weekly Updates For Our Loyal Readers!

TAGGED: Malicious NPM, njRAT, Sonatype, Trojan
Jim Koohyar Biniyaz December 2, 2020
Share this Article
Facebook Twitter Email Copy Link Print

Archives

  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • February 2023
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020

You Might Also Like

News

OpenAI may use Associated Press archive for AI training

July 14, 2023
News

EU users can hold conversations with Google Bard from training set

July 14, 2023
News

Aptos, the new default font for Microsoft Office

July 14, 2023
News

BlackLotus UEFI bootkit sources published on GitHub

July 14, 2023

© 2022 Parrot Media Network. All Rights Reserved.

  • Home
  • Parrot Media Group
  • Privacy Policy
  • Terms and Conditions
Join Us!

Subscribe to our newsletter and never miss our latest news, podcasts etc..

Zero spam, Unsubscribe at any time.

Removed from reading list

Undo
Go to mobile version
Welcome Back!

Sign in to your account

Lost your password?