LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-13-2014, 11:28 PM   #1
chuikingman
Member
 
Registered: Aug 2009
Posts: 91

Rep: Reputation: 16
Hack a centos linux box


HI,
I have a Centos linux box and there is interface connect to internet.
I stop the iptables in this box .
After a few day , I find the linux box have been hacked and install some perl script into the box .
Could anyone tell me how the hacker can login into the centos box without knowing the root passwd ???
How can they do it ?? please advise in detailed step...

Thank
 
Old 04-13-2014, 11:44 PM   #2
Smokey_justme
Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 534

Rep: Reputation: 203Reputation: 203Reputation: 203
Pff, it can range from infected client computer (the one that you used to login into the centos box) to brute-forcing you password... Ofcourse, an exploit is also possible.. What other services run on that box... Or it could be a man-in-the middle..

The only thing for sure from your question is that you made at least one mistake (and I'm telling you this so you can learn, not to critisize): 'root' logins in ssh shouldn't be enabled.. Use a normal account and 'su' or 'sudo' instead (with password)

Maybe give us the content of the perl script?
 
Old 04-13-2014, 11:55 PM   #3
chuikingman
Member
 
Registered: Aug 2009
Posts: 91

Original Poster
Rep: Reputation: 16
HI,
Actually, I want to know how Ican hack a linux box without using passwd ......Please advice ....
 
Old 04-14-2014, 12:55 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by chuikingman View Post
I want to know how Ican hack a linux box without using passwd ......Please advice ....
Then I advise you to find another board. This question is in violation of the LQ Rules.
 
Old 04-14-2014, 04:07 AM   #5
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983Reputation: 1983
Quote:
Originally Posted by chuikingman View Post
HI,
Actually, I want to know how Ican hack a linux box without using passwd ......Please advice ....
I think when you tell "I can hack" is in a generic sense, since it is your Linux system that has been allegedly hacked, isn't it? Anyway, no one here can provide detailed step by step description of the process, since it would really be in violation of the aforementioned LQ rules. We can only provide links and citations of such techniques, as Smokey_justme already did, in order to enhance security of Linux systems and implement counteraction. Other members are kindly invited to maintain this course and not derail from the topic.

If you have a founded suspicion that your system has been hacked and you need help to restore your system to a safe configuration, you may consider to move your thread to the Linux - Security forum (please, use the report button to ask for moving).
 
Old 04-14-2014, 08:25 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Reverse shells, compromised credentials, brute force, the list goes on and on...

See Compromise, breach of security, detection

Thanks to unSpawn, to whom we are grateful.
 
1 members found this post helpful.
  


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
can I hack into a roku box? linuxhippy Linux - Networking 7 02-22-2010 05:03 PM
LXer: Hack your Linux satellite box and access it online LXer Syndicated Linux News 0 02-28-2009 02:00 PM
Challenge issued........hack my box!!! vswr31 Linux - Security 2 10-12-2004 08:52 PM
need help help please with fedora .. Is my box being hack? golpemortal Linux - Software 7 07-25-2004 12:39 PM
How to build a Linux Security / Hack Box Pistol Linux - Newbie 4 10-31-2003 01:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:14 AM.

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