Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
TetraWiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Jbindia VPS Server got hacked and was generation malacious traffic
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
[[category:KLOXO]] [[category:Jacob Ballas]] == Issue == The Server mail.jbindia.co.in (Kloxo panel) was disabled/ Null routed By ISP as it was generating malacious traffic .The server was kept down for one day . We requested to the ISP with following commitment . == what we committed == Once you hand over , we have scheduled to do the following # Bring down all Services , HTTP, Mail etc # Perform an root kit and rkhunter test to check the malicous content # Remove all the malicious content # Perform hardening as per the attached guideline for Centos which include Iptables , Bastile hardening , Os hardening . # Perform Penetrating testing via Backtrack and Vulnerability assessment via Nessus . # Put the server on Nagios Monitoring for performance , Risk assessment and vulnerabilities . == what we did == 1. iptables rules activated for outgoing and incomming traffic /etc/init.d/firewall http://wiki.lxcenter.org/How+to+secure+your+Kloxo+with+IPTABLES 2. Installed rkhunter ( http://rkhunter.sourceforge.net/ ) and chkrootkit (http://www.chkrootkit.org/ ) checked the server 3. Changing all world writable web directories protected find /home -xdev -type d \( -perm -0002 -a ! -perm -1000 \) -print0| xargs -0 chmod +t 4. look for all the files and directories with apache user and group ownership. Change to orignal user if required find /home -group apache find /home -user apache == important links == http://website-security.info/malicious-code-finder http://mythrobin.com/remove-malicious-code/ https://kb.mediatemple.net/questions/1973/How+to+uncover+malicious+code%7B47%7Dmalware+files
Summary:
Please note that all contributions to TetraWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
TetraWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)