Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-20-2006, 07:46 PM
|
#1
|
Senior Member
Registered: Feb 2004
Location: lost+found
Distribution: CentOS
Posts: 1,430
Rep:
|
What does junk the cache mean?
I am trying to see if
2.6.42 is vulnerable on my test server,
can you confirm you got the same:
[tester@test tmp]$ ./h00lyshit file
preparing
trying to exploit file
failed: Permission denied
They state:
** if y0u dont have one, make big file (~100MB) in /tmp with dd
** and try to junk the cache e.g. cat /usr/lib/* >/dev/null
What do they mean by
"and try to junk the cache e.g. cat /usr/lib/* >/dev/null" ?
|
|
|
09-22-2006, 04:52 AM
|
#2
|
Member
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227
Rep:
|
maybe so ur kernel is not vulnerable..i got the same on a not affected kernel. on affected kernel i get Exec format error.
Last edited by ~=gr3p=~; 09-22-2006 at 05:02 AM.
|
|
|
09-23-2006, 07:43 AM
|
#3
|
Member
Registered: Jan 2006
Location: Romania
Distribution: Suse 12.0, Slackware 12.1, Debian, Ubuntu, Gentoo
Posts: 301
Rep:
|
Hmm, from my knowledge, cat /usr/lib/* should show the contents of every file in /usr/lib, and >/dev/null sends everything printed to stdout (aka printed on screen and not an error) to /dev/null, that is, doesn't show it any more.
Basicly, I can't see any reason to use that command except to see which files you haven't got access to, or something like that. And, also, from what I know, /usr/lib has nothing to do with cache, but I am still new to this, so, anyone correct me if I am wrong.
Also, who are "they" and what's the deal with a 100Mb file in /tmp?
|
|
|
09-23-2006, 12:57 PM
|
#4
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
Quote:
Originally Posted by Valkyrie_of_valhalla
Also, who are "they" and what's the deal with a 100Mb file in /tmp?
|
"they" would be the person(s) who wrote the exploit...
i believe the 100MB file is only needed if you don't have any other big file to run the exploit against...
|
|
|
09-23-2006, 01:35 PM
|
#5
|
Member
Registered: May 2006
Location: Frankfurt, Germany
Distribution: SUSE 10.2
Posts: 424
Rep:
|
Quote:
Originally Posted by abefroman
What do they mean by
"and try to junk the cache e.g. cat /usr/lib/* >/dev/null" ?
|
Is it possible that they're just trying to clear the disc cache by reading arbitrary data?
|
|
|
All times are GMT -5. The time now is 11:46 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|