New Black Basta decryptor exploits ransomware flaw to recover files
pVMware confirms critical vCenter flaw now exploited in attacksppCISA emergency directive Mitigate Ivanti zerodays immediatelyppVans North Face owner says ransomware breach affects 35 million peopleppTeamViewer abused to breach networks in new ransomware attacksppTrezor support site breach exposes personal data of 66000 customersppHackers start exploiting critical Atlassian Confluence RCE flawppGet handson training with this 50 CompTIA exam prep simulation bundleppTietoevry ransomware attack causes outages for Swedish firms citiesppQualys BrowserCheckppSTOPDecrypterppAuroraDecrypterppFilesLockerDecrypterppAdwCleanerppComboFixppRKillppJunkware Removal ToolppBest VPNsppHow to change IP addressppAccess the dark web safelyppBest VPN for YouTubeppRemove the Theonlinesearchcom Search RedirectppRemove the Smartwebfindercom Search RedirectppHow to remove the PBlock adware browser extensionppRemove the Toksearchesxyz Search RedirectppRemove Security Tool and SecurityTool Uninstall GuideppHow to Remove WinFixer Virtumonde Msevents TrojanvundoppHow to remove Antivirus 2009 Uninstall InstructionsppHow to remove Google Redirects or the TDSS TDL3 or Alureon rootkit using TDSSKillerppLocky Ransomware Information Help Guide and FAQppCryptoLocker Ransomware Information Guide and FAQppCryptorBit and HowDecrypt Information Guide and FAQppCryptoDefense and HowDecrypt Ransomware Information Guide and FAQppHow to enable Kernelmode Hardwareenforced Stack Protection in Windows 11ppHow to use the Windows Registry EditorppHow to backup and restore the Windows RegistryppHow to open a Windows 11 Command Prompt as AdministratorppHow to start Windows in Safe ModeppHow to remove a Trojan Virus Worm or other MalwareppHow to show hidden files in Windows 7ppHow to see hidden files in WindowsppeLearningppIT Certification CoursesppGear GadgetsppSecurityppppResearchers have created a decryptor that exploits a flaw in Black Basta ransomware allowing victims to recover their files for freeppThe decryptor allows Black Basta victims from November 2022 to this month to potentially recover their files for free However BleepingComputer has learned that the Black Basta developers fixed the bug in their encryption routine about a week ago preventing this decryption technique from being used in newer attacksppThe Black Basta Buster decryptor comes from Security Research Labs SRLabs which found a weakness in the encryption algorithm used by the ransomware gangs encryptors that allows for the discovery of the ChaCha keystream used to XOR encrypt a fileppOur analysis suggests that files can be recovered if the plaintext of 64 encrypted bytes is known Whether a file is fully or partially recoverable depends on the size of the file explains the writeup on the method in SRLabs GitHub repositoryppFiles below the size of 5000 bytes cannot be recovered For files between 5000 bytes and 1GB in size full recovery is possible For files larger than 1GB the first 5000 bytes will be lost but the remainder can be recoveredppWhen Black Basta encrypts a file it XORs the content using a 64byte keystream created using the XChaCha20 algorithm However when using a stream cipher to encrypt a file whose bytes contain only zeros the XOR key itself is written to the file allowing retrieval of the encryption keyppRansomware expert Michael Gillespie told BleepingComputer that Black Basta had a bug where they were reusing the same keystream during encryption thus causing all 64byte chunks of data containing only zeros to be converted to the 64byte symmetric key This key can then be extracted and used to decrypt the entire fileppThis is illustrated by the image below where two 64byte chunks of zeros were XORed and now contain the keystream used to encrypt the fileppWhile decrypting smaller files may not be possible larger files like virtual machine disks can usually be decrypted as they contain a large number of zerobyte sectionsppVirtualised disk images however have a high chance of being recovered because the actual partitions and their filesystems tend to start later explains SRLabsppSo the ransomware destroyed the MBR or GPT partition table but tools such as testdisk can often recover or regenerate thoseppFor files that do not contain large zerobyte chunks of data SRLabs says it may still be possible to recover files if you have an older unencrypted version with similar datappBleepingComputer has been told that some DFIR companies were aware of the flaw and had been utilizing it for months decrypting their clients computers without having to pay a ransomppThe researchers at SRLabs have released a decryptor called Black Basta Buster that consists of a collection of python scripts that assist you in decrypting files under different scenariosppHowever the researchers created a script called decryptautopy that attempts to perform automatic retrieval of the key and then use it to decrypt the fileppBleepingComputer encrypted the files on a virtual machine with a Black Basta encryptor from April 2023 to test the decryptorppWhen we used the decryptautopy script it automatically retrieved the keystream and decrypted our file as can be seen belowppHowever as previously stated this decryptor only works on Black Basta versions since November 2022 and up to a week ago Furthermore earlier versions that appended the basta extension to encrypted files rather than a random file extension cannot be decrypted using this toolppThe decryptor only works on one file at a time so if you wish to decrypt entire folders you need to use a shell script or the find command as shown below Just make sure to replace the extension and file paths as necessaryppWhile new Black Basta victims will no longer be able to recover their files for free older victims may be more lucky if they were holding out for a decryptorppThe Black Basta ransomware gang launched its operation in April 2022 and became the newest cybercrime gang conducting doubleextortion attacks on corporate victimsppBy June 2022 Black Basta had partnered with the QBot malware operation QakBot to drop Cobalt Strike for remote access on corporate networks Black Basta would then use these beacons to spread laterally to other devices on the network steal data and ultimately deploy encryptorsppLike other enterprisetargeting ransomware operations Black Basta created a Linux encryptor to target VMware ESXi virtual machines running on Linux serversppResearchers have also linked the ransomware gang to the FIN7 hacking group a financially motivated cybercrime gang also known as CarbanakppSince its launch the threat actors have been responsible for a stream of attacks including those on the Capita American Dental Association Sobeys Knauf and Yellow Pages CanadappRecently the ransomware operation attacked the Toronto Public Library Canadas largest public library systemppThe Week in Ransomware January 5th 2024 Secret decryptorsppDecryptor for Babuk ransomware variant released after hacker arrestedppVans and North Face owner VF Corp hit by ransomware attackppThe Week in Ransomware December 1st 2023 Police hits affiliatesppBlack Basta ransomware made over 100 million from extortionppNot a member yet Register NowppCourt charges dev with hacking after cybersecurity issue disclosureppTietoevry ransomware attack causes outages for Swedish firms citiesppTerms of Use Privacy Policy Ethics Statement Affiliate DisclosureppCopyright 2003 2024 Bleeping Computer LLC All Rights ReservedppNot a member yet Register NowppRead our posting guidelinese to learn what content is prohibitedp