Recycled Cobalt Strike key pairs show many crooks are using same cloned installation

Researcher spots RSA tell-tale lurking in plain sight on VirusTotal

Around 1,500 Cobalt Strike beacons uploaded to VirusTotal were reusing the same RSA keys from a cracked version of the software, according to a security researcher who pored through the malware repository.

The discovery could make blue teams' lives easier by giving them a clue about whether or not Cobalt Strike traffic across their networks is a real threat or an action by an authorised red team carrying out a penetration test.

Didier Stevens, the researcher with Belgian infosec firm NVISO who discovered that private Cobalt Strike keys are being widely reused by criminals, told The Register: "While fingerprinting Cobalt Strike servers on the internet, we noticed that some public keys appeared often. The fact that there is a reuse of public keys means that there is a reuse of private keys too: a public key and a private key are linked to each other."

Around 25 per cent (1,500) of Cobalt Strike samples observed by Stevens used a single shared key pair, he said.

Stevens' discovery came about after he searched Google-owned malware repository VirusTotal for files containing Cobalt Strike key file, .cobaltstrike.beacon_key. In a blog post on NVISO's website, he detailed how he and his team had found six cloned key pairs lurking on VirusTotal.

Cobalt Strike was originally released as a penetration testing tool, as summarised by Cisco Talos, which pointed out its use by internet criminals in 2020. One of the software's main features is its beacons: malware simulation payloads inserted into target networks.

Inevitably, malicious people became interested in what an adversary simulation platform could do in their hands and it wasn't long before the software began presenting a genuine threat – with Cobalt Strike's authors writing a blog post in 2013 titled "How to crack Cobalt Strike AND backdoor it." (The post does also suggest that leaked versions may include a backdoor for its original authors, not that this seems to have deterred online criminals from using cracked versions of the software in later years.)

Legitimate installations of Cobalt Strike generate their own RSA key pair on first run of the server software, Stevens told El Reg. Thus the reuse of key pairs shows that a number of malicious people are using a cracked version – and the presence of that particular key pair can flag up signs of malicious activity to alert blue teams.

"We were wondering what could possibly explain key reuse," said Stevens. "One of the hypotheses was reuse of file .cobaltstrike.beacon_keys because of cracked software… We did a search on VirusTotal for ZIP files containing file .cobaltstrike.beacon_keys, and found private keys that match the recurring public keys we observed."

He intends to write further blogs explaining how network defenders can use the half-dozen identified key pairs to rapidly identify signs of network compromise.

Vanja Svajcer, outreach researcher at Cisco Talos, told The Register: "Cobalt Strike has become a de-facto standard, almost Swiss army knife of a post-exploitation tool used by a wide variety of actors, both legitimate and malicious. As such, any discovery related to better detection of Cobalt Strike is likely to be significant."

Svajcer added: "The good news is that any Cobalt Strike communication using these known keys can be outright blocked as malicious. However, one could argue that any detected Cobalt Strike communication, even the one using 'legitimate' keys, should be immediately blocked as it indicates a potentially serious breach of a network."

Legit keys for Cobalt Strike sell for $3,500 per seat at list price. Given ransomware gangs' eight-figure revenues, buying a legitimate copy to crack wouldn't even register as a cost of doing business.

Cobalt Strike has been seen in use by, among others, the Clop ransomware gang; China-based spies known in the West as APT41; and a black hat crew that targeted Germany's Bundestag in 2017. ®

Other stories you might like

  • Prisons transcribe private phone calls with inmates using speech-to-text AI

    Plus: A drug designed by machine learning algorithms to treat liver disease reaches human clinical trials and more

    In brief Prisons around the US are installing AI speech-to-text models to automatically transcribe conversations with inmates during their phone calls.

    A series of contracts and emails from eight different states revealed how Verus, an AI application developed by LEO Technologies and based on a speech-to-text system offered by Amazon, was used to eavesdrop on prisoners’ phone calls.

    In a sales pitch, LEO’s CEO James Sexton told officials working for a jail in Cook County, Illinois, that one of its customers in Calhoun County, Alabama, uses the software to protect prisons from getting sued, according to an investigation by the Thomson Reuters Foundation.

    Continue reading
  • 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

Biting the hand that feeds IT © 1998–2021