Feeds

PHP.net resets passwords after malware-flinging HACK FLAP

Revokes SSL cert as Java vuln find prompts slash-and-burn recovery

3 Big data security analytics techniques

The team behind popular web programing site PHP.net is in the process of restoring services and tightening security in the aftermath of a hack that exposed visitors to JavaScript-based exploits.

Malicious JavaScript code was served to a small percentage of php.net users between 22 and 24 October after two php.net servers were compromised. The infected machine have been withdrawn from service, with their workloads migrated to new, more secure servers.

In a statement about the breach, the PHP.net team reassured developers that neither the source tarball downloads nor the Git repository were modified or compromised.

The possibility of code depositories being tainted is the worst possible outcome of this kind of breach, so it comes as a relief that nothing that might lead to the distribution of backdoor code has resulted as a consequence of the hack.

SSL access to php.net websites has been temporarily suspended pending the installation of a new SSL certificate. As an additional precaution, user passwords will be reset.

The team behind the php.net site explain their rationale for these actions, and their progress in restoring normal services, in a detailed blog post (extract below).

We are continuing to work through the repercussions of the php.net malware issue described in a news post earlier today. As part of this, the php.net systems team have audited every server operated by php.net, and have found that two servers were compromised: the server which hosted the www.php.net, static.php.net and git.php.net domains, and was previously suspected based on the JavaScript malware, and the server hosting bugs.php.net. The method by which these servers were compromised is unknown at this time.

All affected services have been migrated off those servers. We have verified that our Git repository was not compromised, and it remains in read-only mode as services are brought back up in full.

As it's possible that the attackers may have accessed the private key of the php.net SSL certificate, we have revoked it immediately. We are in the process of getting a new certificate, and expect to restore access to php.net sites that require SSL (including bugs.php.net and wiki.php.net) in the next few hours.

Php.net has promised to produce a full post-mortem on the attack after its team gets through restoring services to normal. Problems with the php.net site were flagged up on Thursday when Google began blocking access to the site after its Safe Browsing technology – used in its Chrome browser, Mozilla's Firefox browser and Apple's Safari browser – detected that that some php.net pages were booby-trapped with links to malicious software.

This meant that surfers visiting the PHP.net site using Google Chrome, for example, were confronted by a warning (screenshot here) firmly instructing them not to proceed any further.

PHP is an open-source web development language used on millions of websites, including those powered by the popular Wordpress and Joomla suites. Hundreds of thousands of developers were potentially exposed to the attack, even though it's likely that only a small percentage were actually pwned.

The hack itself was quite devious and deliberately designed to resemble a false positive.

However, security researchers at Barracuda Networks captured and shared a PCAP (packet capture) file that shows the malicious behaviour.

Subsequent analysis by security tools firm Alien Vault exposed a sophisticated attack, featuring obfuscated content and DNS trickery, ultimately aimed at running drive-by download-style attacks through the Magnitude Exploit Kit. The hack ultimately targeted vulnerable Java or Adobe Acrobat Reader browser plugs in on the machines of visiting surfers.

"Based on that information we have determined that somehow the attackers were able to inject a malicious iFrame into the PHP.net website that was redirecting to an Exploit Kit," a detailed blog post by Alien Vault's Jamie Blasco explains.

As Barracuda notes, if the intention was simply to distribute malware, then hacking into the ad network of a popular site like php.net would have been the more logical and straightforward path to take. The unknown attackers behind the assault have taken the trouble to cook up something far more complex and this naturally leads to the suspicion that we're more likely to be dealing with cyber-espionage of some sort, rather than more conventional profit-motivated malware distribution. ®

3 Big data security analytics techniques

More from The Register

next story
Obama allows NSA to exploit 0-days: report
If the spooks say they need it, they get it
Samsung Galaxy S5 fingerprint scanner hacked in just 4 DAYS
Sammy's newbie cooked slower than iPhone, also costs more to build
Putin tells Snowden: Russia conducts no US-style mass surveillance
Gov't is too broke for that, Russian prez says
Snowden-inspired crypto-email service Lavaboom launches
German service pays tribute to Lavabit
Mounties always get their man: Heartbleed 'hacker', 19, CUFFED
Canadian teen accused of raiding tax computers using OpenSSL bug
One year on: diplomatic fail as Chinese APT gangs get back to work
Mandiant says past 12 months shows Beijing won't call off its hackers
Heartbleed exploit, inoculation, both released
File under 'this is going to hurt you more than it hurts me'
Reddit users discover iOS malware threat
'Unflod Baby Panda' looks to snatch Apple IDs
prev story

Whitepapers

Securing web applications made simple and scalable
In this whitepaper learn how automated security testing can provide a simple and scalable way to protect your web applications.
3 Big data security analytics techniques
Applying these Big Data security analytics techniques can help you make your business safer by detecting attacks early, before significant damage is done.
The benefits of software based PBX
Why you should break free from your proprietary PBX and how to leverage your existing server hardware.
Top three mobile application threats
Learn about three of the top mobile application security threats facing businesses today and recommendations on how to mitigate the risk.
Combat fraud and increase customer satisfaction
Based on their experience using HP ArcSight Enterprise Security Manager for IT security operations, Finansbank moved to HP ArcSight ESM for fraud management.