How can someone hack into a Linux server ?


 
Thread Tools Search this Thread
Special Forums Cybersecurity How can someone hack into a Linux server ?
# 1  
Old 06-30-2013
Bug How can someone hack into a Linux server ?

Hi!

I have a debian linux VPS and i am wondering how would someone be able to hack into it , in what ways ?

I've asked a more knowledgeable friend and he said the only way someone would be able to get into my VPS is via FTP or SSH, are there some other ways someone can enter my machine ?

I have extremely strong passwords for all the accounts enabled and use fail2ban as well to ban SSH and FTP attackers.

I don't use apache,mysql,email accounts and update the server as often as possible.

Would appreciate if some of you guys could tell me, in what ways can my machine be compromised ?

Thanks.
# 2  
Old 06-30-2013
some go in with a smile and a hello ... really ... you also have to be careful with internal hackers who have access -- you have heard of snowden and manning, right?

also, see if you can have users use SFTP instead of FTP ... turn off all unnecessary services and remove all compilers ... run the security scans as well as the hardening tools regularly if possible ...
# 3  
Old 06-30-2013
No other users have access to this VPS, only me, i have 3 accounts enabled, root,1user and www-data.

What security scans and hardening tools should i run ? I have very little knowledge about linux forgot to mention that!
# 4  
Old 06-30-2013
Moderator's Comments:
Mod Comment Deleted Links - Please Do Not Post Replies Which Are Only Links to Other Sites
# 5  
Old 06-30-2013
Anything open to access is part of the attack surface and can be attacked though whether this allows a successful hack is another matter.

The only way to secure a server is consider attacks and what you can do to prevent them.

In your case, you may have strong passwords, but are you going to know if someone tries your root account 506938 times with a brute force attack until they happen to find your password? Does your version of openssh have any security vulnerabilities that are remotely vulnerable? If you give someone else access, how do you know that they are changing things appropriately and not introducing vulnerabilities?
# 6  
Old 06-30-2013
I am considering attacks, actually i have proof of them and that's why i am posting here, trying to find out how they can get in other than SSH and FTP.

I do regular updates of my server so as far as i know everything is patched, should be no vulnerabilities,also,no one else has access to the server.

To brute-force my root account 506938 times they will need 253469 IP's cause they get permanently banned after 2 failed login attempts, but even if they did, my password is over 30 randomly generated characters long including upper + lower case letters, numbers, symbols and brackets.

For comparison a 10 char password with upper + lower case letters and numbers has a bit over 107 Billion combinations so i wish them good luck if they try to brute-force their way in lol.

Thats why i've posted here though to find out other ways they can get in other than SSH or FTP login so i can take measures to stop them or reduce their chances of success.

Last edited by DukeNuke2; 06-30-2013 at 10:20 AM..
# 7  
Old 06-30-2013
What services do you use, what ports do you have open? If you are not using a web server what is the account www-data for? Any service that is running on the server and that can be approached from the Internet by some port number, can be used for a hack and can be vulnerable. If there is a weakness in a service / daemon, than an attacker could potentially acquire the access rights of the user that is used to run that daemon, bypassing any strong password authentication you might have in place..
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Homework & Coursework Questions

Configure the AD Window server with Linux server(google Authenticator is installed)

Hi my name is Manju. ->I have configure the two way authentication on my linux server. ->Now I am able to apply two way authenticator on particuler user. ->Now I want to map this linux server to my AD server. ->Kindly tell me how to map AD(Active Directory) with this linux server. ... (2 Replies)
Discussion started by: manjusharma128
2 Replies

2. Red Hat

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... (1 Reply)
Discussion started by: chuikingman
1 Replies

3. IP Networking

how to hack linux driver to delay incoming packets

hello, can anyone suggest how to delay the incoming packets ?? or how the packets are prossed inside the kernal and a way to make the packets wait a while?? it wud be vry helpful regards sameer (7 Replies)
Discussion started by: sameer kulkarni
7 Replies

4. Solaris

tty hack

hi all, what i want to do when user open terminal like tty5 and do his work i want to see his terminal how can i do this (1 Reply)
Discussion started by: xxmasrawy
1 Replies

5. UNIX for Dummies Questions & Answers

Hack CPU Utilization

Hi friends, I am currently working on an issue where i should write a program which utilizes Cpu as specified by the user. The function should be provided with an argument ( how much percentage of CPU has to be utilized by the process ) for example CPU(75) should utilize 75% of CPU. The function... (11 Replies)
Discussion started by: nerdychandru
11 Replies
Login or Register to Ask a Question