Reading this research from Sonatype on how someone is running a malware campaign...
BrianKrebs @briankrebs@infosec.exchange
Reading this research from Sonatype on how someone is running a malware campaign that has infected at least 176 NPM packages by publishing package dependencies that have overlapping names (trying to fool automated dependency resolution). The attackers in this case append version numbers to these malicious files that is the maximum version number, and if the organization's software development process isn't set up to look for these things, Sonatype says, "npm may prefer the higher semantic version over the intended internal dependency."
I mention it because it reminds me of an attack the NSA launched in 2020 against the Trickbot botnet, where they seized control over the botnet and sent an update to the bot that had the highest possible version number, ensuring that all of the currently infected systems would install the NSA's update.
From the first of a four-part series on the leaked chats from the Conti ransomware gang:
"“Moreover, the bots have been flooded with such a config that they will simply work idle,” Hof explained to his team on Sept. 23, 2020. Hof noted that the intruder even kneecapped Trickbot’s built-in failsafe recovery mechanism. Trickbot was configured so that if none of the botnet’s control servers were reachable, the bots could still be recaptured and controlled by registering a pre-computed domain name on EmerDNS, a decentralized domain name system based on the Emercoin virtual currency.
“After a while they will download a new config via emercoin, but they will not be able to apply this config, because this saboteur has uploaded the config with the maximum [version] number, and the bot is checking that the new config [version number] should be larger than the old one,” Hof wrote. “Sorry, but this is fucked up. I don’t know how to get them back.”
https://krebsonsecurity.com/2022/03/conti-ransomware-group-diaries-part-i-evasion/