Showing posts with label Billy Goat System. Show all posts
Showing posts with label Billy Goat System. Show all posts

Introduction to Bill Goat System

4

Posted by mady | Posted in | Posted on 1:07 AM

Recent years have brought a continued increase in both the importance
of security in networked systems and the difficulty of securing them.
The Internet has continued to expand, its connections have become
nearly pervasive, and its protocols and services have grown more
complex. Beyond the basic need for integrity, confidentiality and
privacy, security has become essential toward providing reliability,
safety, and freedom from liability. One of the greatest threats to
security has come from automatic self-propagating attacks. These
attacks include both viruses and worms. While the presence of these
attacks is by no means new, the damage that they are able to inflict
and the speed with which they are able to propagate has become
paramount. Further increases in connectivity and complexity only
threaten to increase their virulence.
A computer worm is a self-replicating computer program,
similar to a computer virus. A virus attaches itself too, and becomes
part of, another executable program; however, a worm is self-contained
and does not need to be part of another program to propagate itself.
They are often designed to exploit the file transmission capabilities
found on many computers. The main difference between a computer virus
and a worm is that a virus can not propagate by itself whereas worms
can. A worm uses a network to send copies of it to other systems and
does so without any intervention. In general, worms harm the network
and consume bandwidth, whereas viruses infect or corrupt files on a
targeted computer. Viruses generally do not affect network
performance, as their malicious activities are mostly confined within
the target computer itself.
In addition to replication, a worm may be designed to do any
number of things, such as delete files on a host system or send
documents via e-mail. More recent worms may be multi-headed and carry
other executables as a payload. However, even in the absence of such a
payload, a worm can wreak havoc just with the network traffic
generated by its reproduction. Mydoom, for example, caused a
noticeable worldwide Internet slowdown at the peak of its spread. A
common payload is for a worm to install a backdoor in the infected
computer, as was done by Sobig and Mydoom. These zombie computers are
used by spam senders for sending junk email or to cloak their
website's address. Spammers are thought to pay for the creation of
such worms, and worm writers have been caught selling lists of IP
addresses of infected machines. Others try to blackmail companies with
threatened DoS attacks. The backdoors can also be exploited by other
worms, such as Doomjuice, which spreads using the backdoor opened by
Mydoom.


1.1 Typical worm spreading logic:
Most worms use random IP address generation for spreading to
different computers. The worm sends its code as an HTTP request to the
target computer. Then depending on the specific worm, it exploits the
known vulnerability in it. For example, the CodeRed worm sends a HTTP
request to exploit a buffer-overflow vulnerability, which allows the
worm to run on that computer. The malicious code is not saved as a
file, but is inserted into and then run directly from memory. There is
no particular strategy used by the different worms for intrusion. One
typical strategy used by W32-Blaster worm is given below.
It generates an IP address and attempts to infect the computer that
has that address. The IP address is generated according to the
following algorithms:
• For 40% of the time, the generated IP address is of the form
A.B.C.0, where A and B are equal to the first two parts of the
infected computer's IP address. Once the IP address is calculated, the
worm will attempt to find and exploit a computer with the IP address
A.B.C.0. The worm will then increment the 0 part of the IP address by
1, attempting to find and exploit other computers based on the new IP
address, until it reaches 254.
• With a probability of 60%, the generated IP address is completely random.
• To avoid looping back to infect the source computer, the worm will
not make HTTP requests to the IP addresses 127.*.*.*.
• Some fixed characteristics of the TCP and IP headers are:

1. IP identification = 256
2. Time to Live = 128
3. Source IP address = a.b.x.y, where a.b are from the host ip and x.y
are random. In some cases, a.b is random.
4. Destination IP address = dns resolution of "windowsupdate.com"
5. TCP Source port is between 1000 and 1999
6. TCP Destination port = 80
7. TCP Sequence number always has the two low bytes set to 0; the 2
high bytes are random.
8. TCP Window size = 16384

Billy Goat System

0

Posted by mady | Posted in | Posted on 12:56 AM

What is Billy Goat System?
Billy Goat is a sensor designed system, built with the specific
purpose of detecting and identifying network service worms. Because of
this specific focus, Billy Goat can take advantage of worm specific
properties that would hinder general-purpose intrusion-detection
systems, toward more efficient and accurate detection.
What are the characteristics of Billy Goat System?
These requirements influence the desired characteristics of such a
system, particularly in the following aspects:
1. Accuracy: The goal of a WDS is the identification of worm-infected
machines. To offer real utility, it must be able to perform this task
with a high level of accuracy, so that its reports can be trusted by
system and network administrators as the basis for contention and
remediation action. A WDS can use highly-specialized techniques to
detect worm-infected machines. This enables increased accuracy, at the
expense of the ability to detect a wider range of attacks.
2. Speed: Given the explosive nature of modern worms, a WDS should be
able to detect an infected machine as quickly as possible, to provide
its users a chance to contain the damage, or even to function as the
basis for an automated response system.
3. Manageability: New worms and worm variants appear almost every day,
so the components of a WDS need to be updated regularly. At a systems
level, this process must be automated as much as possible, to be able
to deal with the monitoring of very large networks. At middleware and
architecture levels, this means the base infrastructure must offer
sufficient flexibility to enable the rapid creation of new detection
capabilities.
4. Interoperability: Many organizations suffer from the proliferation
of security tools, each with their own control, monitoring and
reporting mechanisms. Furthermore, many places already have some form
of monitoring console, virus-response policies and procedures, etc. A
WDS should integrate as much as possible with the existing tools and
processes.
5. Resilience: A WDS must operate under extreme conditions in terms of
network and processing load, particularly during worm outbreaks. These
conditions are more likely to induce failures than other environments.
However, a WDS has a specific advantage that is not enjoyed by most
other IDS's because of the repetitive nature of worm activity; the WDS
can afford to lose some data without reducing its utility. In
practice, this means it is satisfactory to build a system that can
"forcefully" recover from failure (for example, by automatically
rebooting or even reinstalling itself) rather than trying to resist
it.
6. Graceful degradation: While WDS's may benefit from a distributed
architecture, most worm outbreaks have the effect of overloading
network links. It is therefore necessary for all sensors to be able to
operate on their own (for example, reporting only local data). Given
this condition, while the global system may be impeded, its individual
sensors can still be useful during a worm outbreak.

A Final Word

Billy Goat has been designed to be scalable, to operate gracefully in
a large distributed environment, and to provide extremely accurate
detection of worm-infected machines. This paper describes a number of
interesting or useful techniques and components identified during the
process, of developing "Billy Goat".