LinuxQuestions.org
Visit Jeremy's Blog.
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 01-11-2016, 05:55 AM   #1
Gary Baker
Member
 
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105

Rep: Reputation: 3
Angry Slackware iptables hacked - how to prevent again?


Was running Slackware 14.1 with iptables when noticed commands in history that were not mine and permissions had changed on some files. The firewall rules were very simple

Input drop
Forward drop
Output drop

With established,related rule.

What did I do wrong.

Thanks to all for help.
 
Old 01-11-2016, 06:01 AM   #2
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Slackware iptables hacked - how to prevent again?

Physical access and password guessed ?

Did you scanned for rootkits ?
 
1 members found this post helpful.
Old 01-11-2016, 06:13 AM   #3
Gary Baker
Member
 
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105

Original Poster
Rep: Reputation: 3
Did not scan for root kits.
No physical access possible.
Possible to have guessed password.
 
Old 01-11-2016, 06:19 AM   #4
Tonus
Senior Member
 
Registered: Jan 2007
Location: Paris, France
Distribution: Slackware-15.0
Posts: 1,407
Blog Entries: 3

Rep: Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514Reputation: 514
Slackware iptables hacked - how to prevent again?

Try rootkit hunter and chkrootkit.

Change password to stronger one.

What commands where passed and wich file permissions have been modified ?
 
1 members found this post helpful.
Old 01-11-2016, 06:47 AM   #5
Gary Baker
Member
 
Registered: Mar 2007
Location: Whitsett,NC
Distribution: Slackware 14.1 and MINT 17.1
Posts: 105

Original Poster
Rep: Reputation: 3
The entire home directory was modified to permission 1755 from 755.
Programs containing commands were removed from /use/bin.
Thanks for your help.
 
Old 01-11-2016, 05:09 PM   #6
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 Gary Baker View Post
The entire home directory was modified to permission 1755 from 755.
Programs containing commands were removed from /use/bin.
/usr/bin and contents is owned by root.
So you got yourself a root compromise.
Removing those files is not enough.
 
  


Reply

Tags
hacked



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
Newbie question about IPtables prevent it. Intergate Linux - Security 1 01-14-2013 02:14 AM
how do I block this type of traffic and prevent my site getting hacked. fordwrench Linux - Security 14 09-13-2010 08:38 AM
iptables - how to prevent forwarding between interfaces? driftwoodash Linux - Networking 1 10-10-2009 09:25 AM
IpTables Help - Hacked by ISP Peter_APIIT Linux - Security 13 06-28-2007 10:18 PM
iptables prevent some allow some john8675309 Linux - Software 6 02-02-2004 10:38 AM

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

All times are GMT -5. The time now is 09:39 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