July 25, 2008

TFWM Website at a Glance

Contact Information

3891 Holborn Rd.
Queensville, ON L0G 1R0
Canada
p: 905-473-9822
f: 905-473-9928

Internet
September 2002

Visual Basic Virus

By Carol Robbins

All computer viruses, without exception, are programs, just like a word-processor, a computer game or the application used by a bank to process electronic transfers. The difference however, lies in the actions that these programs carry out. While these examples are designed to offer a beneficial service to the user, the payload of a virus normally involves reproducing itself and carrying out some sort of damaging action on the victim's computer.

To create a virus that worked and could enter users' PCs undetected used to require not just a large helping of malevolence, but also a considerable knowledge of computer programming. It was no easy task.

For some time now however, there has been an abundance of viruses written in simple programming languages. One of these languages, Visual Basic, is easy to both learn and to put into practice. Despite the obvious differences, this language is similar in many ways to the old DOS batch language used with .BAT files.

Visual Basic scripts are generated in Microsoft Visual Basic Scripting Edition, part of Microsoft's Visual Basic programming language. It is light, fast and portable and can be used in web browsers. Programs written in this language are able to access numerous Windows functions, from simply opening or closing files to complex operations such as sending e-mails, shutting down the system and many others.

The first programs to use Visual Basic internally were Microsoft office applications. Some ten years ago, macros could be programmed in Word 2.0, for example, in Visual Basic. Later, with the launch of Office 4.2, this possibility was fully implemented in Word 6.0 and Access 2.0. Later the facility was included in other Microsoft applications, as well as those of other software producers. With Windows 98 and Internet Explorer, the script interpreter is integrated directly in the system. This implies that viruses written in Visual Basic will be able to function throughout Microsoft architecture, giving them enormous propagation potential.

The great ease with which this language can be learned and used has prompted many virus writers to use Visual Basic. The most famous example was the infamous 'I LOVE YOU' virus. A closer look at the code of this virus, or any other in VBS, reveals that this language uses terms that are in essence quite simple, and which could give even the layman an idea about how the virus works. This probably explains why so many viruses are being written in this language.

These viruses not only use e-mail as a channel for spreading rapidly but are now increasingly using IRC or 'chat' channels. With millions of users worldwide, most of whom are oblivious to the threat of infection, IRC is becoming one of the most popular mediums for virus propagation.

The first VBS virus to have a significant impact was Melissa. This virus was spread in a Microsoft Word document supposedly containing the passwords for access to certain Internet porn sites. Once the user opened the document, the Visual Basic code would run Microsoft Outlook and send itself to the first 50 addresses in the address book. Despite this 'limitation', the virus spread like wildfire.

This system of virus programming was quickly taken up by others, albeit in a number of different forms. Bubbleboy included two malicious innovations: the ability to execute when the message was viewed in the preview pane and
the formatting of the hard disk without the user realizing.

The Loveletter virus (I Love You) is another example of a virus written in Visual Basic. Its code could be written on a single sheet of paper, yet it caused more widespread damage than any other virus to date. The devastation caused by this virus made the headlines around the world on May 4 2000 and many companies were forced to suspend e-mail services due to the avalanche of infected e-mail traffic.

So what was behind the incredible virulence of this malicious code? Basically two things: first the perfect bait for getting people to open an e-mail -a love letter- Perhaps nowadays it's not so common for someone to say 'I love you'.

The second factor was the ability of the virus to resend itself to all addresses in the victim's address book. Bearing in mind that a medium-sized company may well have hundreds of contacts listed in its e-mail address books, not to mention employees' personal address books, the scope for rapid worldwide propagation is daunting.

The continuation of these types of viruses in the future is assured. With many training centers using Visual Basic as an introductory system for programmers, this could easily become a breeding ground for future virus writers.

The best solution to avoid infection from this type of virus is, obviously, to have a reliable antivirus installed and ensure that it is permanently up-to-date. In the light of the rapid spread of viruses like 'I Love You', which propagate globally in a matter of hours, nothing short of daily updates is sufficient to ensure computers remain out of the reach of malware.

However, another factor must be taken into account: the antivirus should warn of the existence of dangerous script. Even if an antivirus is not updated, the application's scan engine should include heuristic script scanning to ensure that it is capable of detecting completely new Visual Basic viruses. This is the only real guarantee of complete protection. Security technology needs to anticipate threats, not just react to them. To this end, heuristic scan engines are as important to all computer users as keyboards, screens or any other component. Insufficient heuristic protection could mean the potential loss of all the information on a system. •

July 24, 2008
Since starting out in 1994 as a regional blues festival with an audience of 5,000, the Ottawa Bluesfest has grown into the largest blues festival in Canada and the second largest in North America, annually attracting around 300,000 music fans.
July 24, 2008
AES Executive Director Roger Furness has announced the culmination of the first phase of the Audio Engineering Society Oral History Project.
July 24, 2008
Broadcast systems integrator TV Magic today announced the appointment of Stephen Milley as the company's vice president of sales.
July 24, 2008
The old joke about being hit by divine lightning came frighteningly true at the First Baptist Church of Salt Springs, Florida. During a recent storm, lightning struck the church and damaged its projector beyond repair.
July 24, 2008
The old joke about being hit by divine lightning came frighteningly true at the First Baptist Church of Salt Springs, Florida. During a recent storm, lightning struck the church and damaged its projector beyond repair.
July 23, 2008
A family day out for twelve thousand at Millwall football ground, an unlikely setting you might say, but Millwall has travelled a long way from its dreadful reputation of the eighties.
July 23, 2008
Built in 1929 and designated a Texas State Historical Landmark, the Yucca Theatre in Midland, Texas, is home to the Midland Community Theatre and its world-renowned "Summer Mummers", a locally-produced and written show that harks back to the golden age of Vaudeville.
July 23, 2008
FOR-A Canada is celebrating its 20th anniversary this year. When first founded, the business of FOR-A America had been thriving in the U.S. and a sales network and relationships with video dealers in major cities such as Toronto, Montreal and Ottawa were established to satisfy demand in the Canadian market.
July 23, 2008
The RapcoHorizon Company, a leading manufacturer of audio/video interfacing and cable equipment, is unveiling its new 2EZ SVGA cable at CEDIA 2008 (Booth 336).
July 23, 2008
Sometimes you reach a time when you are so excited about what you’ve achieved you simply have to stand up and tell the world about it — and for us at Solid State Logic this is one of those moments.