Zombie's are having their historical remark. This can be described as an evil spirit in someone's body that make him/her work notoriously.
The same way we do have computer Zombies, where the computers are controlled by someone else (Hacker) to perform illegal or unwanted activities. Typically hackers choose zombies for attack, as using them will make a hacker completely or partially untraceable.
There are two type of architectures that a Hacker mainly use to attack any network.
1. Single computer model - In this model of zombie architecture, Hacker creates a Zombie and from that single Zombie computer it does Spamming.
This architecture is not robust and a slight analysis at victim computer can tell us about the attack. For Example - If a hacker is generating unnecessary traffic on your site using this model of Zombie, then by analysis of log you can say that there is a single IP (Zombie's IP) from where the requests are coming, and we can block certain IP on our site.
2. Multiple Computer Model - Here a Hacker creates multiple Zombies and further more Zombies, by this there are multiple computers available for a Hacker in network.
More computers means more IP to track, as a result this is really tough to say that this is a hacking attack on site of genuine traffic.
Experienced and professional hackers generally use this mechanism to attempt hacking without being tracked.
Generally a Zombie is created via a open port which is not being used. So first level of security starts from Ports itself, so be aware of open ports on your servers. There are many port scanning tools available in market (if you are not sure how to check open ports) by which you can handle your system ports effectively (please do some googling yourself for these tools).
Monday, August 30, 2010
Saturday, August 21, 2010
Easy way to analyze Apache log and create a report (Internet Traffic, IP based analysis or response codes)
There is an easy way to analyze Apache logs using grep and sed.
We can create different type of reports with the help of some simple commands.
I am taking following snippet of one Apache access log entry to explain scripts -
<IP of client> - - [20/Aug/2010:11:59:59 -0700] "GET <file name to get> HTTP/1.1" 404 330
1. Use following to get total number of request per hour on Apache.
grep "GET " <Apache log file Name> | sed -e 's/^.*2010://' | sed -e 's/:.*$//' | sort | uniq -c
This will help analyzing the traffic on our Apache server on any given point of time.
2. To get the total number of different HTTP response codes -
grep "GET " <Apache log file Name> | sed -e 's/^.*HTTP\/1.[0-9]" //' | sed -e 's/ .*$//' | sort | uniq -c
3. Now if we see that the traffic has been increased on any specific point of time. First thing comes into mind is that this traffic is real or any hacking attempt.
If the hacker is not smart enough and not using Zombies then we can see this by checking for total number of request from any specific IP -
grep "GET " <Apache log file Name> | sed -e 's/ - - .*$//' | sort | uniq -c
This can help us understand the trend on traffic on our site.
We can create different type of reports with the help of some simple commands.
I am taking following snippet of one Apache access log entry to explain scripts -
<IP of client> - - [20/Aug/2010:11:59:59 -0700] "GET <file name to get> HTTP/1.1" 404 330
1. Use following to get total number of request per hour on Apache.
grep "GET " <Apache log file Name> | sed -e 's/^.*2010://' | sed -e 's/:.*$//' | sort | uniq -c
This will help analyzing the traffic on our Apache server on any given point of time.
2. To get the total number of different HTTP response codes -
grep "GET " <Apache log file Name> | sed -e 's/^.*HTTP\/1.[0-9]" //' | sed -e 's/ .*$//' | sort | uniq -c
3. Now if we see that the traffic has been increased on any specific point of time. First thing comes into mind is that this traffic is real or any hacking attempt.
If the hacker is not smart enough and not using Zombies then we can see this by checking for total number of request from any specific IP -
grep "GET " <Apache log file Name> | sed -e 's/ - - .*$//' | sort | uniq -c
This can help us understand the trend on traffic on our site.
Friday, August 20, 2010
Sonatype released Nexus 1.7.2
Finally on 16th August Sonatype has released their much awaited version of Nexus (a maven repository manager). The features in this new release can be located @ https://issues.sonatype.org/secure/ReleaseNote.jspa?projectId=10001&version=10824
Improvement in search was the major point of concentration for Sonatype in this release.
Nexus provides great level of comfort in handling huge maven repositories. This tool is user friendly and secure.
The security alms in Nexus are XML based and robust enough.
Nexus provides a quicker approach to index the artifacts using Lucene which makes Nexus more reliable and quicker.
Nexus gives flexibilities to handle artifacts in public repositories, artifacts can be added or removed on the fly.
Subscribe to:
Posts (Atom)


