Search the web
Sign In
New User? Sign Up
ttcs · Trinidad and Tobago Computer Society
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Linux under attack: Compromised SSH keys lead to rootkit   Message List  
Reply | Forward Message #20062 of 24319 |
RE: [ttcs] Linux under attack: Compromised SSH keys lead to rootkit

These are unpatched servers, as far as I know.


From: ttcs@yahoogroups.com [mailto:ttcs@yahoogroups.com] On Behalf Of Deosaran Bisnath
Sent: Wednesday, August 27, 2008 6:30 PM
To: ttlug@yahoogroups.com; ttcs@yahoogroups.com
Subject: [ttcs] Linux under attack: Compromised SSH keys lead to rootkit


Linux under attack: Compromised SSH keys lead to rootkit

Posted by Ryan Naraine @ 2:13 pm

Categories: Patch Watch, Zero-day attacks, Vulnerability research, Botnets, Exploit code, Data theft, Open source, Pen testing, Metasploit, Arbitrary Code Execution, Kernel-level Exploits, Locally Running Web Servers, Complex Attacks, Research

Tags: Linux, SSH, Attack, U.S. Computer Emergency Readiness Team, Rootkits, Security, Spyware, Adware & Malware, Ryan Naraine

Compromised SSH keys leads to rootkitThe U.S. Computer Emergency Readiness Team (CERT) has issued a warning for what it calls ¡Èactive attacks¡É against Linux-based computing infrastructures using compromised SSH keys.
The attack appears to initially use stolen SSH keys to gain access to a system, and then uses local kernel exploits to gain root access. Once root access has been obtained, a rootkit known as ¡Èphalanx2¡í is installed, US-CERT said in a note on its current activity site.
From the advisory:
  • Phalanx2 appears to be a derivative of an older rootkit named ¡Èphalanx¡É. Phalanx2 and the support scripts within the rootkit, are configured to systematically steal SSH keys from the compromised system. These SSH keys are sent to the attackers, who then use them to try to compromise other sites and other systems of interest at the attacked site.
Phalanx, which dates back to 2005, is a self-injecting kernel rootkit designed for the Linux 2.6 branch.  It allows an attacker to hide files, processes and sockets and includes a tty sniffer, a tty connectback-backdoor, and auto injection on boot.
Details on the attacks ¡½ and targets ¡½ remain scarce but it¡Çs a safe bet this is linked to the Debian random number generator flaw that surfaced earlier this year. A working exploit for that vulnerability is publicly available.
To mitigate the risk from this attack, US-CERT recommends:
  • Proactively identify and examine systems where SSH keys are used as part of automated processes. These keys will typically not have passphrases or passwords.
  • Encourage users to use the keys with passphrase or passwords to reduce the risk if a key is compromised.
  • Review access paths to internet facing systems and ensure that systems are fully patched.
If a compromise is confirmed, US-CERT recommends:
  • Disable key-based SSH authentication on the affected systems, where possible.
  • Perform an audit of all SSH keys on the affected systems.
  • Notify all key owners of the potential compromise of their keys.
* Image source: wili_hybrid¡Çs Flickr photostream (Creative Commons 2.0)
Ryan Naraine is a journalist and social media enthusiast specializing in Internet and computer security issues. He is currently security evangelist at Kaspersky Lab, an anti-malware company with operations around the world.
See his full profile and disclosure of his industry affiliations. Send tips, ideas and feedback to naraine SHIFT 2 gmail.com
For daily updates on Ryan's activities, follow him on Twitter.



Thu Aug 28, 2008 2:25 pm

RichardJ@...
Send Email Send Email

Forward
Message #20062 of 24319 |
Expand Messages Author Sort by Date

Linux under attack: Compromised SSH keys lead to rootkit Posted by Ryan Naraine @ 2:13 pm Categories: Patch Watch, Zero-day attacks, Vulnerability research,...
Deosaran Bisnath
deobisnath
Offline Send Email
Aug 27, 2008
10:29 pm

These are unpatched servers, as far as I know. ________________________________ From: ttcs@yahoogroups.com [mailto:ttcs@yahoogroups.com] On Behalf Of Deosaran...
Richard Jobity
RichardJ@...
Send Email
Aug 28, 2008
2:25 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help