Ransomware 2.0 'crypts website databases – until victims pay up

File-integrity monitoring of scripts is a key defence


Criminals are holding companies' web databases to ransom by compromising web applications and encrypting all the data until money is handed over.

As detailed by security consultancy High-Tech Bridge, the attacks start with an assault on a website that yields access to a database server. Once in, miscreants install hidden software on the web server that silently encrypts data as it is written and decrypts it as it is read to and from the database.

Over time, the site's records are scrambled using a key known only to the crooks – an operation that apparently escapes some admins' attention until the key is removed, and the site suddenly falls over as it can no longer make sense of its own database.

Not long afterwards, the site owners receive an email demanding cash for access to the decryption key to unscramble all the data.

The perpetrators seem to know exactly when to strike with their demands for money, timing it precisely before full backups are taken for maximum effect. High-Tech Bridge says one website was compromised six months before the key was withdrawn and the ransom demands arrived.

That left the victims, whose incremental backups were useless, contemplating whether to restore to a six-month-old full backup and lose a lot of changes, or pay up.

"The web application was compromised six months ago [and] several server scripts were modified to encrypt data before inserting it into the database and to decrypt after getting data from the database," High-Tech Bridge writes, describing the attack as an "on-the-fly" process.

"During six months, hackers were silently waiting, while backups were being overwritten by the recent versions of the database.

"The hackers then removed the key. The database became unusable, the website went out of service, and the hackers demanded a ransom for the key."

Two "backdoors", undetected by any antivirus platform, were inserted by the crooks into the phpBB software installed on the victims' small business server. One altered the config.php file to decrypt and encrypt data using the PHP mcrypt_encrypt() function and an encryption key stashed away on a remote server.

The attackers broke in and infiltrated the phpBB install using a stolen FTP password, the researchers said. There is no suggestion that phpBB was the attack vector.

Researchers said it was "almost impossible" to recover the enciphered data without paying the ransom and obtaining the key. Sysadmins could lean on file-integrity monitoring to foil the attack on the script files, although this technique is rarely used with web apps. ®

Bootnote

An earlier version of this article may have been read as implying that phpBB was the attack vector. We are happy to state that this is not the case.

Similar topics


Other stories you might like

  • Battlefield 2042: Please don't be the death knell of the franchise, please don't be the death knell of the franchise

    Another terrible launch, but DICE is already working on improvements

    The RPG Greetings, traveller, and welcome back to The Register Plays Games, our monthly gaming column. Since the last edition on New World, we hit level cap and the "endgame". Around this time, item duping exploits became rife and every attempt Amazon Games made to fix it just broke something else. The post-level 60 "watermark" system for gear drops is also infuriating and tedious, but not something we were able to address in the column. So bear these things in mind if you were ever tempted. On that note, it's time to look at another newly released shit show – Battlefield 2042.

    I wanted to love Battlefield 2042, I really did. After the bum note of the first-person shooter (FPS) franchise's return to Second World War theatres with Battlefield V (2018), I stupidly assumed the next entry from EA-owned Swedish developer DICE would be a return to form. I was wrong.

    The multiplayer military FPS market is dominated by two forces: Activision's Call of Duty (COD) series and EA's Battlefield. Fans of each franchise are loyal to the point of zealotry with little crossover between player bases. Here's where I stand: COD jumped the shark with Modern Warfare 2 in 2009. It's flip-flopped from WW2 to present-day combat and back again, tried sci-fi, and even the Battle Royale trend with the free-to-play Call of Duty: Warzone (2020), which has been thoroughly ruined by hackers and developer inaction.

    Continue reading
  • American diplomats' iPhones reportedly compromised by NSO Group intrusion software

    Reuters claims nine State Department employees outside the US had their devices hacked

    The Apple iPhones of at least nine US State Department officials were compromised by an unidentified entity using NSO Group's Pegasus spyware, according to a report published Friday by Reuters.

    NSO Group in an email to The Register said it has blocked an unnamed customers' access to its system upon receiving an inquiry about the incident but has yet to confirm whether its software was involved.

    "Once the inquiry was received, and before any investigation under our compliance policy, we have decided to immediately terminate relevant customers’ access to the system, due to the severity of the allegations," an NSO spokesperson told The Register in an email. "To this point, we haven’t received any information nor the phone numbers, nor any indication that NSO’s tools were used in this case."

    Continue reading
  • Utility biz Delta-Montrose Electric Association loses billing capability and two decades of records after cyber attack

    All together now - R, A, N, S, O...

    A US utility company based in Colorado was hit by a ransomware attack in November that wiped out two decades' worth of records and knocked out billing systems that won't be restored until next week at the earliest.

    The attack was detailed by the Delta-Montrose Electric Association (DMEA) in a post on its website explaining that current customers won't be penalised for being unable to pay their bills because of the incident.

    "We are a victim of a malicious cyber security attack. In the middle of an investigation, that is as far as I’m willing to go," DMEA chief exec Alyssa Clemsen Roberts told a public board meeting, as reported by a local paper.

    Continue reading

Biting the hand that feeds IT © 1998–2021