Incidents

Hackers hacking hackers

Hackers are known to target inexperienced users. And hackers are known to work in teams, with each team member using his/her particular skills to make sure a task gets accomplished.

But what about hackers that don’t target the users directly? There are some out there, and they’re targeting inexperienced hackers to get them to unwittingly give away information that the first group of hackers can then use.

Today I’ve got an interesting example of how hackers steal from other hackers.

They create a website hosting PHP shells, backdoors used to break into vulnerable websites. There’s nothing extraordinary about this – it’s just one hacker helping another. But if the hackers are out to steal data from other hackers, there’s a catch with the PHP shells: they’re slightly modified, but an inexperienced hacker wouldn’t notice the modification.

Every shell has an obfuscated javascript included, usually at the end of the PHP shell code. Sometimes it’s also embedded several times in different places in the same file, just to make it even harder for an untrained eye to pick it out.

After deobfuscation, we can see clearly that the code executes an external script:

And this is what that external script looks like:

It uses the javascript object “location.href” to get the URL of the vulnerable website the inexperienced hacker is trying to exploit and calls the yaz.php file with a parameter indicating the URL of the page where the shell was used. The yaz.php file probably collects all the URLs given to it into a database. This means the hackers who created the website get a huge database of vulnerable websites – a database created by other hackers who weren’t experienced enough to notice the modifications in the PHP shell used.

This is an eye-opening illustration of “no honour among hackers” – they’re not just attacking unsuspecting users, but others of their own kind, all in the name of getting access to as many servers as possible. Incidentally, this also happens in the world of phishing – some phishers added a script to their phish-kits so that captured data would be sent to them as well as to the phisher that bought the kit. Are events like this rare exceptions, or is “hackers hacking hackers” (try saying that three times fast!) becoming a trend?

Hackers hacking hackers

Your email address will not be published. Required fields are marked *

 

Reports

Lazarus targets defense industry with ThreatNeedle

In mid-2020, we realized that Lazarus was launching attacks on the defense industry using the ThreatNeedle cluster, an advanced malware cluster of Manuscrypt (a.k.a. NukeSped). While investigating this activity, we were able to observe the complete life cycle of an attack, uncovering more technical details and links to the group’s other campaigns.

Sunburst backdoor – code overlaps with Kazuar

While looking at the Sunburst backdoor, we discovered several features that overlap with a previously identified backdoor known as Kazuar. Our observations shows that Kazuar was used together with Turla tools during multiple breaches in past years.

Lazarus covets COVID-19-related intelligence

As the COVID-19 crisis grinds on, some threat actors are trying to speed up vaccine development by any means available. We have found evidence that the Lazarus group is going after intelligence that could help these efforts by attacking entities related to COVID-19 research.

Sunburst: connecting the dots in the DNS requests

We matched private and public DNS data for the SUNBURST-malware root C2 domain with the CNAME records, to identify who was targeted for further exploitation. In total, we analyzed 1722 DNS records, leading to 1026 unique target name parts and 964 unique UIDs.

Subscribe to our weekly e-mails

The hottest research right in your inbox