Wednesday, June 5, 2019
The Introduction To Malicious Software Computer Science Essay
The Introduction To Malicious Softw be Computer Science EssayMalw atomic number 18 is a collective term for all malicious softwargon program program which enters dodging without authorization of workoutr of the system. The term is created from amalgamation the words malicious and software. Malware is a very big hazard in todays computing world. It continues to grow in capacity and advance in complexity. As to a greater extent and more organization try to address the difficulty, the number of websites distri simplye the malware is rising at an frightening prise and is getting out of control. Most of the malware enters the system while downloading tears over Internet. Once the malicious software finds its way into the system, it s shtups for vulnerabilities of influence system and perform unintended exploits on the system fin ally slowing down the performance of the system.Malware has ability to infect otherwise executcapable code, data/system rouses, boot voiceitions o f drives, and create excessive handicraft on network leading to denial of service. When substance ab exploiter executes the septic buck it becomes resident in memory and infect any other file punish afterwards. If operating system has a vulnerability, malware can also take control of system and infect other systems on network. Such malicious programs (computer computer computer computer virus is more public term) are also dwell as parasites and adversely affect the performance of machine generally resulting in slow-down. rough malware are very easy to come upon and remove through antivirus software1. These antivirus software keep ups a repository of virus signatures i.e., binary pattern characteristic of malicious code. Files suspected to be infected are withstand for presence of any virus signatures. This method of noniceion worked well until the malware writer started writing polymorphic malware 1516 and metamorphic malware. These breed of malware avoid detection th rough use of encryption proficiencys to thwart signature based detection. Security products such as virus scanners look forcharacteristics byte sequence (signature) to identify malicious code. The quality of the detector is contumacious by the techniques employed for detection. A stealth malware detection36 technique must be able to identify malicious code that is hidden or embedded in the original program and should have some capacitance for detection of insofar un cognise malware. Commercial virus scanners have very low resilience to crude attacks because malware writers continuously make use of new obfuscation methods so that the malware could evade detections.2.1 Computer information processing system virusA calculator virus6 is basically a program which is indite by the programmers whose behaviour is to replicate itself and spread from one computer to another. The term virus is also normally, alone incorrectly, used to refer to other types of malware, including but not limited to adware .and these spyware programs that do not have a reproductive ability.Malware includes various computer viruses6, such as computer worms, Trojan horses17, most of them are rootkits, spyware which are also considered as dishonest adware and other malicious or redundant software, including proper viruses. Viruses are occasionally confused with worms and Trojan horses, which are theoretically different. A worm can exploit bail vulnerabilities to spread itself repeatedly to other computers through networks7, while a Trojan horse is a program that appears non-poisonous but felled seams malicious roles. Worms and Trojan horses17, like viruses, may harm a computer systems data or recital. slightly viruses and other malware have symptoms noticeable to the computer user, but some(prenominal) are surreptitious or simply do nothing to call attention to themselves. Some viruses do nothing beyond reproducing themselves.An recitation of a virus which is not a malware, but i s putatively benevolent, is Fred Cohens theoretical compression virus6. However, various antivirus professionals5 dont admit the concept of kindly viruses, as any beloved function can be implemented without involving a virus automatic compression, for instance, is available under the Windows operating system at the choice of the user. whatsoever virus leave by definition make unconstitutional changes to a computer, which is undesirable even if no damage is make or intended. On page one of Dr Solomons Virus pdf, the undesirability of viruses, even those that do nothing but reproduce, is thoroughly explained.2.1.1 Academic WorkVeith Risak published6 the article whose ennoble was as follows Selbstreproduzierende Automaten mit minimaler Information sbertragung (Self-reproducing automaton with minimum study switch over). The article described a fully serviceable virus write in assembler language for a explodeicular SIEMENS 4004/35 computer system.In the year 1980 Jrgen Kraus wrote his thesis on Selbstreproduktion bei Programmen at the University of Dortmund. In his work Kraus guess that computer programs4 can behave in a way parallel to bio enterical viruses.In the year of 1984 Fred Cohen at the University of Southern California wrote his paper on the Computer Viruses6 Theory and Experiments. It was the send-off paper of him in which he has explained to clearly call a self-reproducing program a virus, a term introduced by Cohens mentor Leonard Adleman. Fred Cohen published a exhibition that there is no algorithmic rule that can perfectly detect all electric potential viruses.An article that published on malware that describes useful virus functionalities was available by J. B. Gunn in the title Use of virus functions to provide a virtual APL predictor under user control in 1984.2.1.2 Science FictionThere are several(prenominal) myths associated with the science.The actual term virus was first used to symbolize a self-reproducing program in a small story by David Gerrold in extragalactic nebula magazine in 1969-and later in his 1972 novel, When HARLIE Was matchless. In that novel, a attentive computer named HARLIE writes viral software to recover damaging personal information from other computers to blackmail the man who wants to turn him off.Michael Crichton7 told as a sideline story of a computer with telephone modem dialing potential, which had been automatic to randomly dial phone number until it hit a modem that is answered by another computer. It was an at win to program the answer computer with its own program, so that the second computer would also begin dialing disorganised numbers, in reckon of yet a different computer to program. The program is assumed to spread exponentially through susceptible computers.2.1.3 Virus ProgramsThe creeper virus6 was first detected on ARPANET, the prototype of the Internet, in the early 1970s. Creeper was an new self-replicating program developed by Bob Thomas at BBN Technologies in 19 71. Creeper has used the ARPANET to infect DEC PDP-10 computers which are running on the TENEX operating system. Creeper gain admission via the ARPANET and banal itself to the isolated system where there was a message, Im the creeper, catch me if you can was displayed. The Reaper program was created to delete Creeper.A program called which is cognize as Elk Cloner was the first PC virus to appear in the uncultivated that is, outside the single computer or lab where it was created by Richard Skrenta, it attached itself to the Apple DOS 3.3 operating system and spread via floppy disk. This virus, created as a practical joke when Skrenta was studying in the high school and was injected in a game on a floppy disk. On his fiftieth iterative use the Elk Cloner virus would be activate, which prone to infecting the PCs and displaying a short poem beginning Elk Cloner The program with a personality.The first IBM PC virus in the natural was a boot sector virus dubbed and created by the Faroo q Alvi Brothers in Lahore, Pakistan, take inmingly to deter piracy of the software they had written.Before computer networks7 became widespread, most viruses spread on removable media, particularly floppy disks. In the early days of the PCs, many users frequently exchanged their information and programs on floppies. Some of the viruses are spread by infecting programs which are stored on these disks, while others programs installed themselves into the disk boot sector, which ensure that they would be run when the user booted the computer from the disk, normally inadvertently. Personal computers of the period would try to boot from the floppy at first if one had been left in the drive. Until floppy disks rejects, this was the most unbeaten infection system and that is why boot sector viruses were the most common in the wild for many years.Conventional computer viruses6 emerge in the 1980s, that are driven by the spread of PCs and the consequential increase in BBS, modem use, and so ftware sharing. Bulletin board-driven software giving out contributed directly to the swell of Trojan horse programs, and computer viruses which were written to infect readily traded software. Shareware and bootleg software were equally common vectors for viruses on BB musical arrangements Viruses can increase their chances of spreading over the several other computers which in networks7 by infecting the files on the particular network file system or a file system which can be inlet by other computers big viruses have become common since the mid-1990s. Most of these viruses are written in the scripting languages for Microsoft programs such as MS-Word and MS-Excel and spread throughout Microsoft Office by infecting documents and spreadsheets. Since Word central processing unit and Excel spread sheets were also available for Mac OS, most could also spread to Macintosh computers. Although most of these computer viruses6 may not have the capability to send contaminated email messages to those viruses which did take advantage of the Microsoft Outlook COM interface.Some old versions of Microsoft Word allow macros to repeat themselves with added blank lines. If two macro viruses at the same time infect a document, the combination of the two, if also self-replicating, can appear as a mating of the two and would probably be detected as a virus unique from the parents.A virus may also send a web address link as an instant message to all the contacts on an infected machine. If the recipient, thinking the link is from a friend which isa trusted source follows the link to the website, the virus hosted at the site may be able to infect this new computer and continue propagating.Viruses that spread using cross-site scripting were first reported in 2002, and were academically demonstrated in 2005.There have been multiple instances of the cross-site scripting viruses in the wild, exploiting websites such as MySpace and Yahoo.2.2 ClassificationIn wander to replicate itself , a virus must be permitted to execute code and write to memory. For this reason, many viruses attach themselves to feasible files that may be part of legitimate programs (see code shaft). If a user at ask rounds to begin an infected program, the virus code may be executed concurrently. Viruses can be separated into two types based on their performance when they are executed. Nonresident viruses straight away search for other hosts system or OS which can be infected, or infect those targets, and finally transfer organize to the employment program they infected. Tenant viruses do not search for hosts when they are happening. Instead, a resident virus masses itself into memory on execution and transfers control to the host program. The virus stays busy in the accent and infects new hosts when those files are accessed by other programs or the operating system itself.2.2.1 Nonresident VirusesNonresident viruses can be notion of as consisting of a scout module and a restitution mo dule. The finder module is responsible for finding new files to infect. For each new executable file the finder module encounters, it calls the replication module to infect that file.2.2.2 Resident VirusesResident viruses contain a replication module which is parallel to the one that is engaged by nonresident viruses. This section, however, is not called by a finder module. The virus27 masses the duplication module into memory when it is executed instead and ensures that this module is executed each time the operating system is called to take on out a certain operation. The replication module can be called, for example, each time the operating system executes a file. In this case the virus infects every suitable program that is executed on the computer.Resident viruses are sometimes can be divided into a class of fast infectors and a class of slow infectors. Fast infectors are those which are designed to infect as many files as soon as possible. A fast infector, for instance, can i nfect every potential host file that is accessed. This pose a special difficulty when using anti-virus software1, since a virus scanner impart access every prospective host file on a computer when it performs a system-wide scan. If the virus scanner fails to notice that such a virus is gravel in memory the virus can piggy-back on the virus scanner and in this way infect all files that are scanned. Fast infectors rely on their fast infection rate to spread. The disadvantage of this method is that infecting many files may make detection more likely, because the virus may slow down a computer or perform many suspicious actions that can be noticed by anti-virus software. Slow infectors, on the other hand, are designed to infect hosts infrequently. Some slow infectors, for instance, only infect files when they are copied. Slow infectors are designed to avoid detection by limiting their actions they are less likely to slow down a computer noticeably and will, at most, infrequently trigg er anti-virus software5 that detects suspicious behavior by programs. The slow infector approach, however, does not seem very successful.In most of the operating systems which use file extensions to determine program relations such as Microsoft Windows. The extensions may be normally hidden from the user by default. This makes it probable to create a file that is of a different type than it appears to the users or programmers. For example, an executable file may be created named picture.png.exe, in which the user sees only picture.png and therefore assumes that this file is an image and most likely is safe, yet when opened runs the executable on the client machine.An additional scheme is to generate the virus system from parts of existing operating system files by using the CRC16/CRC32 data. The initial code can be quite small (tens of bytes) and unpack a fairly banging virus. This is analogous to a biological prion in the way it works but is vulnerable to signature based detection . This attack has not yet been seen in the wild.2.3 Infection StrategiesVirus avoids detection31 by users, some viruses employ different kinds of deception. Some of the old viruses, especially on the MS-DOS operating system, make sure that the ultimately modified date of a host file stays the same when the file is infected by the virus. This approach does not fool antivirus software, however, especially those which maintain and date cyclic redundancy checks on file changes.Some viruses can infect files without increasing their sizes or damaging the files. They accomplish this by overwriting unused areas of executable files. These are called cavity viruses. For example, the CIH virus, or Chernobyl Virus, infects Portable Executable files. Because those files have many empty gaps, the virus, which was 1 KB in length, did not add to the size of the file.Some viruses try to avoid detection by killing the tasks associated with antivirus software1 before it can detect them.As computers a nd operating systems grow larger and more complex, old secrecy techniques need to be updated or replaced. Defending a computer over against viruses may demand that a file system migrate towards detailed and explicit allowance for every kind of file access.2.3.1 Read Request InterceptsWhile some antivirus software employ various techniques to counter stealth mechanisms, once the infection occurs any recourse to clean the system is unreliable. In Microsoft Windows operating systems, the NTFS file system is proprietary. Direct access to files without using the Windows OS is undocumented. This leaves antivirus software little alternative but to send a read request to Windows OS files that handle such requests. Some viruses trick antivirus5 software by intercepting its requests to the OS. A virus can hide itself by intercepting the request to read the infected file, handling the request itself, and return an uninfected version of the file to the antivirus software. The interception ca n occur by code injection of the actual operating system files that would handle the read request. Thus, an antivirus software1 attempting to detect the virus will either not be given permission to read the infected file, or, the read request will be served with the uninfected version of the same file.File hashes stored in Windows, to identify altered Windows files, can be overwritten so that the System File Checker will report that system files are originals.The only reliable method to avoid stealth is to boot from a medium that is known to be clean. Security software can then be used to check the dormant operating system files. Most auspices software relies on virus signatures or they employ heuristics, instead of also using a database of file hashes for Windows OS files. Using file hashes to scan for altered files would guarantee removing an infection. The security software can identify the altered files, and request Windows foundation media to replace them with authentic versi ons.2.3.2 Self-ModificationMost modern antivirus programs try to find virus-patterns inside ordinary programs by scanning them for so-called virus signatures. Unfortunately, the term is misleading, in that viruses do not possess unique signatures in the way that human beings do. Such a virus signature is merely a sequence of bytes that an antivirus program looks for because it is known to be part of the virus. A better term would be search strings. Different antivirus programs1 will employ different search strings, and indeed different search methods, when identifying viruses6. If a virus scanner finds such a pattern in a file, it will perform other checks to make sure that it has found the virus, and not merely a coincidental sequence in an innocent file, before it notifies the user that the file is infected. The user can then delete, or in some cases clean or heal the infected file. Some viruses employ techniques that make detection by means of signatures difficult but probably no t impossible. These viruses modify their code on each infection. That is, each infected file contains a different variant of the virus.2.3.3 Encryption With A Variable KeyA more advanced method is the use of simple encryption to encipher the virus. In this case, the virus consists of a small decrypting dependent methods and an encrypted copy of the virus code. If the virus is encrypted with the help of different key for each infected file, the only part of the virus that leftovers stable is the decrypting unit, which would (for example) be appended to the end. In this case, a virus scanner will not able to detect directly the virus using signatures, but it can still detect the decrypting unit, which still makes indirect revealing of the virus possible. Since these would be symmetric keys, stored on the infected host. In fact completely possible to decrypt the final virus, but this is almost certainly not required, since self-modifying code is such a scarcity that it may be basis for virus scanners to at least flag the file as suspicious.This may be old , but solid, encryption involves XORing each byte in a virus with a even, so that the exclusive-or operation has only to be frequent for decryption. It is doubtful for a code to adjust itself, so the code to do the encryption as wll as decryption may be part of the signature in many virus definition.2.3.4 Polymorphic tagPolymorphic code was the first technique that posed a serious threat27 to virus scanners. likewise various normal encrypted viruses such as a polymorphic virus1516 infects files with an encrypted copy of itself, which may be decoded by a decryption method. In the case of polymorphic viruses or polymorphic worms10, however, this decryption module is also modified on each infection. A well-written polymorphic virus thus has no parts which have a bun in the oven identical between infection, making it very difficult to detect directly using signatures. Antivirus software can detect it by decryptin g the viruses using an emulator, or by statistical pattern analysis of the encrypted virus body. To enable polymorphic code, the virus has must have a polymorphic engine which is also called mutating engine or mutation engine anywhere in its encrypted body. Some viruses employ polymorphic code in a system that constrain the change rate of the virus appreciably. For example, a virus can be planned to alter only slightly over time, or it can be programmed to refrain from mutating when it infects a file on a computer that previously contains copies of the virus. The benefit of using such sluggish polymorphic1516 code is that it makes it more difficult for antivirus professionals to get representative sample of the virus, because tempt files that are infected in one run will naturally have identical or parallel sample of the virus. This will make it more liable that the detection by the virus scanner will be variable, and that some instances of the virus may be able to avoid detection.2 .3.5 Metamorphic CodeTo avoid being detected by emulation, some viruses revise themselves completely each time they are to infect new executables. Viruses that make use of this technique are said to be metamorphic. To enable metamorphism, a metamorphic engine must be needed. A metamorphic virus is usually very large and complex. For example, W32/Simile consists of over 15,000 lines of assembly language code, 90% of which is part of the metamorphic engine.2.3.6 Avoiding Bait Files and other Undesirable HostsA virus wants to infect hosts in order to multiply further. In some cases, it might be a bad idea to infect a mass program. For example, many antivirus softwares perform an integrity check of their own code. Infecting such programs will therefore increase the likelihood that the virus is detected. For this reason, some viruses are programmed not to infect programs that are known to be part of antivirus software. Another type of host that viruses27 sometimes avoid are bait files. B ait files (or goat files) are files that are specially created by antivirus software, or by antivirus professionals themselves, to be infected by a virus. These files can be created for various reasons, all of which are related to the detection of the virusAntivirus professionals can use tempt files to take a test of a virus. It is more rea runic to store and exchange a small, infected lure file, than to swap a large application program that has been infected by the virus.Antivirus professionals can use bait files to study the actions of a virus and assess detection methods. This is particularly useful when the virus is polymorphic1516. In this case, the virus can be made to infect a large number of entice files. The grimy files can be used to test whether a virus scanner detects all versions of the virus.Some antivirus software employ bait files that are accessed regularly. When these files are modified, the antivirus software warns the user that a virus is probably active on the s ystem.Since bait files are used to detect the virus, or to make detection possible, a virus can benefit from not infecting them. Viruses typically do this by avoiding suspicious programs, such as small program files or programs that contain certain patterns of garbage instructions.A related strategy to make rally difficult is sparse infection. Sometimes, sparse infectors do not infect a host file that would be a suitable candidate for infection in other circumstances. For example, a virus can decide on a random basis whether to infect a file or not, or a virus can only infect host files on particular days of the week.2.4 Vulnerability and Countermeasures2.4.1 The Vulnerability of Operating Systems to VirusesJust as genetic transition in a population decreases the chance of a single disease wiping out a population, the diversity of software systems on a network as well as limits the destructive potential of viruses. This became a particular concern in the 1990s, when Microsoft gai ned market dominance in desktop operating systems and office suites. Microsoft software is targeted by virus writers due to their desktop dominance.Although Windows is by far the most popular target operating system for virus writers, viruses also exist on other platforms. Any operating system that allows third-party programs to run can theoretically run viruses.As of 2006, there were at least 60 known security exploits targeting the base installation of Mac OS X (with a Unix-based file system and kernel). The number of viruses6 for the older Apple operating systems, known as Mac OS Classic, varies greatly from source to source, with Apple stating that there are only four known viruses, and independent sources stating there are as many as 63 viruses. umpteen Mac OS Classic viruses targeted the HyperCard authoring environment. The difference in virus vulnerability between Macs and Windows is a chief selling point, one that Apple uses in their beget a Mac advertising. In January 200 9, Symantec announced the discovery of a Trojan that targets Macs. This discovery did not gain much coverage until April 2009.While Linux, and Unix in general, has forever natively blocked normal users from having access to make changes to the operating system environment, Windows users are generally not. This difference has continued partly due to the widespread use of executive director accounts in contemporary versions like XP. In 1997, when a virus for Linux was released-known as Bliss-leading antivirus5 vendors issued warnings that Unix-like systems could fall prey to viruses just like Windows. The Bliss virus may be considered characteristic of viruses-as opposed to worms-on Unix systems. Bliss requires that the user run it explicitly, and it can only infect programs that the user has the access to modify. Unlike Windows users, most Unix users do not log in as an administrator user except to install or configure software as a result, even if a user ran the virus, it could no t harm their operating system. The Bliss virus never became widespread, and remains chiefly a research curiosity. Its creator later posted the source code to Usenet, allowing researchers to see how it worked.2.4.2 The Role of Software DevelopmentBecause software is often designed with security features to prevent unauthorized use of system resources, many viruses must exploit software bugs in a system or application to spread. Software development strategies that produce large numbers of bugs will generally also produce potential exploits.2.4.3 Anti-Virus Software and other Preventive MeasuresMany users install anti-virus software that can detect and eliminate known viruses after the computer downloads or runs the executable. There are two common methods that an anti-virus software application uses to detect viruses. The first, and by far the most common method of virus detection is using a list of virus signature definitions. This works by examining the content of the computers mem ory (its RAM, and boot sectors) and the files stored on fixed or removable drives (hard drives, floppy drives), and comparing those files against a database of known virus signatures. The disadvantage of this detection32 method is that users are only protected from viruses that pre-date their last virus definition update. The second method is to use a heuristic algorithm to find viruses based on common behaviors. This method has the ability to detect novel viruses that anti-virus security7 firms have yet to create a signature for.Some anti-virus programs are able to scan opened files in addition to sent and received email messages on the fly in a similar manner. This practice is known as on-access scanning. Anti-virus software does not change the underlying capability of host software to transmit viruses. Users must update their software regularly to patch security holes. Anti-virus software also needs to be regularly updated in order to recognize the latest threats27.One may also m inimize the damage done by viruses by making regular backups of data (and the operating systems) on different media, that are either kept unconnected to the system (most of the time), read-only or not accessible for other reasons, such as using different file systems. This way, if data is lost through a virus, one can start again using the backup (which should preferably be recent).If a backup session on optical media like CD and DVD is closed, it becomes read-only and can no lasting be affected by a virus (so long as a virus or infected file was not copied onto the CD/DVD). Likewise, an operating system on a bootable CD can be used to start the computer if the installed operating systems become unusable. Backups on removable media must be carefully inspected before restoration. The Gammima virus, for example, propagates via removable flash drives.2.4.4 Recovery MethodsA number of recovery options exist after a computer has a virus. These actions depend on the virus. Some may be sa fely removed by functions available in most anti-virus software products. Others may require re-installation of damaged programs. It is necessary to know the characteristics of the virus involved to take the correct action, and anti-virus products will identify known viruses precisely before trying to dis-infect a computer otherwise such action could itself cause a lot of damage. New viruses that anti-virus researchers have not yet studied therefore present an ongoing problem, which requires anti-virus packages1 to be updated frequently.2.4.5 Virus RemovalOne possibility on Windows Me, Windows XP, Windows Vista and Windows 7 is a tool known as System Restore, which pay backs the registry and critical system files to a previous checkpoint. a lot a virus will cause a system to hang, and a subsequent hard reboot will render a system restore point from the same day corrupt. Restore points from previous days should work provided the virus is not designed to corrupt the restore files an d does not exist in previous restore points. Some viruses disable System Restore and other important tools such as Task Manager and Command Prompt. An example of a virus that does this is Cia Door. Many such viruses can be removed by rebooting the computer, entering Windows safe mode , and then using system tools.Many websites run by anti-virus software companies provide free online virus scanning, with limited cleaning facilities (the purpose of the sites is to sell anti-virus products). Some websites allow a single suspicious file to be checked by many antivirus programs in one operation. Additionally, several capable antivirus software programs are available for free download from the internet (usually confine to non-commercial use), and Microsoft provide a free anti-malware utility that runs as part of their regular Windows update regime.2.4.6 Operating System ReinstallationReinstalling any OS is another loom to virus removal. It involves either reformatting the computers hard disk drive and installing the operating system and
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.