Attacks/Breaches
12/19/2012
04:40 PM
Connect Directly
Google+
Twitter
RSS
E-Mail
50%
50%

New Apache Server Attack Discovered

Exploit ultimately leads to theft of online banking credentials via Zeus variant

One of the most popular Web server platforms is now serving up malware in an attack that ultimately aims to steal online banking credentials.

A new Apache exploit discovered and analyzed by Eset injects malware into Web pages on a Web server. The so-called Linux/Chapro.A variant has multiple features to camouflage its presence, and basically "tricks" the unsuspecting Apache software into infecting a visitor's machine, according to Eset's findings.

The malware injects an iFrame onto the server that ultimately leads to the installation of Zeus variant Win32/Zbot. It also links to the so-called Sweet Orange exploit kit landing page, out of Lithuania.

"More than half of all web servers on the Internet use Apache, so when we discovered a malicious Apache module in the wild last month, being used to inject malicious content into web pages displayed by compromised web servers, we were understandably concerned," says Pierre-Marc Bureau, security intelligence program manager at Eset, in a blog posting on the malware.

Linux/Chapro.A injects iFrames by sending an HTTP POST request to its command-and-control server every 10 minutes.

The malware pushes a pop-up message to the banking customer asking for a bank card CVV code: If the user falls for it and provides it, that information as well as banking credentials go to the bad guys.

Just how it all starts is still unclear. "This is a malicious module installed on an otherwise non-malicious server. This implies the controls protecting server access were circumvented or there is an insider involved. However, we also need to consider the module could have been part of a corrupted Linux distribution or application package," Bureau told Dark Reading.

He says Eset doesn't know how the module got onto the server to begin with: "Could be a weak password, vulnerable Web application, etc. The user needs high privileges to load the module so, he most probably had root on the machine," Bureau says.

"We don't know who is spreading this but probably a gang specializing in such attacks, then renting 'traffic' to other groups," he says.

The attack employs multiple stealth modes to mask it from website operators, including checking for known bots and active SSH systems. "If a visitor browses a page using any of the same IPs involved in a SSH connection, it will not be served the malicious content. This helps hide the malicious content from system administrators, Web developers, and others who might be working on the Web server," Bureau says.

Linux/Chapro.A also places a cookie in the visitor's browser before the malware injects the iFrame into the Web content. "Malicious content will not be served if the visiting browser already had that cookie set. This helps ensure that visitors will not receive malicious content over and over again, making it more difficult to determine how a system was infected," he says. And the malware ensures that it only infects a victim once by keeping a list of IP addresses it has infected.

The malware's command-and-control server was hosted in Germany, but since has gone offline.

"This complicated case spreads across three different countries, targeting users from a fourth one, making it very hard for law enforcement agencies to investigate and mitigate," Bureau blogged. "It is not clear at this point in time if the same group of people are behind the whole operation, or if multiple gangs collaborated, perhaps with one to drive traffic to the exploit pack and sell the infected computers to another gang operating a botnet based on Win32/Zbot."

The full Eset blog post is here.

Have a comment on this story? Please click "Add Your Comment" below. If you'd like to contact Dark Reading's editors directly, send us a message.

Kelly Jackson Higgins is Executive Editor at DarkReading.com. She is an award-winning veteran technology and business journalist with more than two decades of experience in reporting and editing for various publications, including Network Computing, Secure Enterprise ... View Full Bio

Comment  | 
Print  | 
More Insights
Register for Dark Reading Newsletters
White Papers
Cartoon
Current Issue
Dark Reading, January 2015
To find and fix exploits aimed directly at your business, stop waiting for alerts and become a proactive hunter.
Flash Poll
Video
Slideshows
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2014-3580
Published: 2014-12-18
The mod_dav_svn Apache HTTPD server module in Apache Subversion 1.x before 1.7.19 and 1.8.x before 1.8.11 allows remote attackers to cause a denial of service (NULL pointer dereference and server crash) via a REPORT request for a resource that does not exist.

CVE-2014-6076
Published: 2014-12-18
IBM Security Access Manager for Mobile 8.x before 8.0.1 and Security Access Manager for Web 7.x before 7.0.0 FP10 and 8.x before 8.0.1 allow remote attackers to conduct clickjacking attacks via a crafted web site.

CVE-2014-6077
Published: 2014-12-18
Cross-site request forgery (CSRF) vulnerability in IBM Security Access Manager for Mobile 8.x before 8.0.1 and Security Access Manager for Web 7.x before 7.0.0 FP10 and 8.x before 8.0.1 allows remote attackers to hijack the authentication of arbitrary users for requests that insert XSS sequences.

CVE-2014-6078
Published: 2014-12-18
IBM Security Access Manager for Mobile 8.x before 8.0.1 and Security Access Manager for Web 7.x before 7.0.0 FP10 and 8.x before 8.0.1 do not have a lockout period after invalid login attempts, which makes it easier for remote attackers to obtain admin access via a brute-force attack.

CVE-2014-6080
Published: 2014-12-18
SQL injection vulnerability in IBM Security Access Manager for Mobile 8.x before 8.0.1 and Security Access Manager for Web 7.x before 7.0.0 FP10 and 8.x before 8.0.1 allows remote authenticated users to execute arbitrary SQL commands via unspecified vectors.

Best of the Web
Dark Reading Radio
Archived Dark Reading Radio
Join us Wednesday, Dec. 17 at 1 p.m. Eastern Time to hear what employers are really looking for in a chief information security officer -- it may not be what you think.