TweetFollow Us on Twitter

Jul 90 Letters
Volume Number:6
Issue Number:7
Column Tag:Letters

Virus Defense

By Kirk Chase, Editor, MacTutor

Viruses, Worms, And Trojan Horses

Steve Seaquist

3126 Brinkley Road, #204

Temple Hills, MD 20748-6308

For those who don’t know who I am, I wrote SecurityPatrol, which was published in the February 1989 issue. I’m writing in response to the April 1990 issue’s Mousehole report of the first two destructive Mac programs, which were of the trojan horse and time bomb types.

In discussing the general topic of defense, typical success stories have involved many simple defenses that overlap and reinforce one another, so that if one subsystem temporarily breaks down, another can take up the slack until total defenses can be shored up. That’s where we’re heading now, with many tools, of different types, from different sources. There will soon be so many tools that no new virus, worm, trojan horse or whatever can be programmed to evade them all. Ours is becoming an environment both sensitive and hostile to destructive software. We can now, if we so choose, swarm like bees (or Maryland police cars, an awesome sight to behold) around new releases of harmful software, isolate their spread and track them back to their source.

What we need now are our own success stories. We need to catch people with unbroken threads of evidence that lead to convictions in court. We need to make our environment even more sensitive and even more hostile to destructive software. We need to force anyone who contemplates releasing destruction into our world to think long and hard on the question: “Just how certain am I that I won’t get caught?”

To start working toward our own success stories, we need to start doing three things we haven’t been doing, namely: audit-trails, cooperation among anti-virus software developers and glorifying the hero:

Audit-Trails

By audit-trails, I mean the unbroken threads of evidence that lead to convictions in court. Keeping an audit-trail takes the most work, by far, from everyone. It means keeping track of where everything came from: every disk, every document, every application, every system file. (Yes, yes, every disk and document too.) It means keeping track of people: who they say they are, what they look like (height, weight, pitch of voice, color of eyes, race, identifying marks and scars, etc), where and when you met them, what information they used to convince you they were who they said they were, whether or not they could have overheard that information, etc. They don’t have to be extensive notes, but take notes. And if you run a BBS, multiply everything I just said times the number of users on your system.

This may sound like too much work, but consider your own liability: If someone gave you an application program, and you gave it to someone else, and it turned out to contain the worse virus ever released, and they traced it back to you, how much could you tell them about the person who gave it to you? Will they believe you? It’s for your own protection too. In situations of mutual defense, it often makes little sense to distinguish between self-defense and defense of others.

So if a guy you don’t know very well offers you a disk, the very least you should do is ask to see some photo-id and take down the numbers. If this provokes a fearful reply “What do you want to see that for?”, just tell the truth “I like to keep a record of where I get everything, just in case it turns out to contain a virus or something.” If he balks, it’s probably because he hasn’t been keeping records himself and has just realized with force his own precarious legal position. (Don’t be surprised to see his face go pale.) Be compassionate, calm his fears that people are going to be out to get him and explain the need for group solidarity in fighting this war. You’ve just encouraged another citizen to keep records of everyone and everything, and you’re probably better off not accepting anything from him till he does anyway.

Cooperation Among Anti-Virus Developers

While I was finishing up SecurityPatrol for publication, some new viruses were discovered that I had not “contracted”. Since I needed to have an actual copy of a virus in order to fingerprint it (see the MacTutor article), I talked to various companies that were working on anti-virus software. I explained a secure arrangement that would allow them to send the viruses safely through MacTutor or the Washington Apple Pi users group. If I listened with my ears, I heard them say “Our lawyers have advised us we would be in a dangerous legal position if we sent anyone a virus.”. But if I listened with my heart and to the tones of their voices, I got the very strong feeling that they didn’t want to help out a magazine article that might undercut their own future profits.

The real reasons behind their non-cooperation are irrelevant. The key points are that non-cooperation exists and that it slows the progress of every one of the commercial product developers. Even if Apple were to work out a virus distribution system to get out copies of newer viruses to developers, there’s still the problem of analysis. What one of them knows about a new virus, they all should know, so that no one’s product is caught by surprise. In other words, we should be fighting the enemy, not one another.

Please understand, I’m not a mawkish ivory-tower-dwelling sophomore who thinks profit is a dirty word. Far from it. Profit is an excellent motive to dedicate people to a task, and security is a task to which I’d like to see many more people dedicate themselves. But I also believe security is a special case that threatens everyone’s profit, and as such, deserves special treatment. The survival of an anti-virus product should be based on approach, cost, ease-of-use, interface, performance, stability, support, upgrades to deal with new viruses, etc, but not on secrecy. Vermin hide in the dark, not in the sunlight.

I might add that Mainstay was the only group that gave me any help to speak of. If you’re undecided among anti-virus products, I think they should be rewarded for their attitude. But no one provided copies of the newer viruses.

As a result, I was unable to finish SecurityPatrol with defenses against the newer viruses in time for publication. My hope was then, as it is now, that MacTutor readers would, when they encountered a new virus, analyze whether its fingerprints vary according to variable data stored in the virus, fingerprint it over its invariant parts and mail the code and fingerprint numbers to MacTutor so that everyone would benefit from their analysis. That would extend cooperation throughout the developer community.

Glorifying the Hero

You can’t blame the press for needing to find something to write about. That’s the situation they’re in. Many virus writers are unconsciously eager to become infamous for the number of people they’ve hurt or angered, and when caught, freely provide interviews citing grandiose motivations, intended to show that they were actually doing the community a service (to get Apple to clean up its act on security, for example). The press should see through such claims which endanger the foundations of their own freedoms:

The 1st Amendment protects the idea by protecting its author. It does not confer unlimited mode of expression. If you express anger in words, in print or in paint on a canvas you bought, you are protected by the 1st Amendment. But if you express anger with fists or bullets, or in paint on the side of someone else’s building, even a government building, you are not. (If virus writers want Apple to clean up their act on security, they should say so, and how to do so, in print, or they should publish application programs that shore up the defenses. Those modes of expression are protected by the 1st Amendment. And in the free exchange of ideas, the stronger ones, possibly their own, will win out.)

We are partly to blame for the press having nothing to write about except bad news. When someone does something good, we don’t issue a press release about it. In effect, we don’t give them anything to write about except bad news. The only time anyone ever issues a good news press release, it’s a vendor touting a new product. (The press is loathe to provide free publicity; vendors are normally expected to pay for publicity.)

But make no mistake. The press is just as eager to print good news if they think it’ll sell, and news about viruses sells big. If you figure out exactly how a virus works or can be detected, produce a detailed description and send it in to a Mac magazine. (MacWEEK is a timely place for such info, and they helped me find people who knew about viruses, so they deserve to be rewarded.) That, friend, is a press release, and it’ll be your name that’ll be printed along with the description, not the name of the person who wrote the virus. You’re the hero, and you deserve recognition for your efforts. If you figure out how to modify SecurityPatrol to detect it, send in the code and fingerprints to MacTutor, and it’ll be your name again.

The popular press also has trouble distinguishing gifted programmers. Their only measures are how many people were affected and how severely. They don’t know that most viruses are written by junior and mid-level programmers who wish to be regarded as senior simply because they’ve figured out how to read Inside Macintosh and Tech Notes. But true seniority in programming reveals itself in the thoughtfulness with which flexible human needs are matched to inflexible machine realities. It’s a kind of maturity that comes from working on many projects, making many people happy and being happy that you made them happy. In other words, senior programmers have a joy of relating to people that virus writers know nothing about. And the popular press doesn’t know it either.

So at the same time as you provide your analysis of the new virus, be sure to point out what a simpleton its programmer was for understanding only the computer, and not even very well. If the virus does something particularly mindless, such as an INIT that installs itself into every file, not just INIT files, say so. If it skips a CODE resource-id number because it lost track of its own counter, say so. If it’s exactly the same as another virus except for a minor variation, say so. And always, always, always point out that its author isn’t fit to lick the dog poop off the boots of the programmers whose programs it infects. Maybe by the time its author is revealed, the press will be less inclined to talk about him as if he’s a genius or to analyze his ideas and motivations in depth as if there’s something there profound to be found.

I sincerely believe that, by shining bright light on all areas of Mac security, opening our eyes wide and paying very close attention to detail, we will create a place where vermin will have no place to hide. Please help.

More on Modula-2

Allen Stenger

Gardena, CA

This letter summarizes my experience with Modula-2 compilers on the Macintosh; it responds to the letter from Thorsten Kramp in the April 1990 MacTutor.

I have used both the SemperSoft compiler and the Metrowerks standalone (PSE) system. The SemperSoft compiler is well-integrated into the MPW environment. It produces good code and runs fairly quickly. (Is SemperSoft still in business? They don’t advertise in MacTutor anymore, and APDA no longer carries the compiler.)

The Metrowerks standalone system is also fairly fast, but produces very peculiar-looking code. Apparently each procedure is called through some sort of jump table. Also the linked applications are very large (100K for a 20-line program); most of this seems to be library routines. There are no MacsBug symbols. The Metrowerks system comes with a very nice symbolic debugger, which allows breakpoints to be set and shows formatted dumps of Macintosh structures. It also allows faster turnaround than the SemperSoft system (the Metrowerks compiler itself is about half as fast, but the link takes almost no time, compared to SemperSoft where you have to go through the slow MPW linker). The SemperSoft system has a few obscure bugs; the Metrowerks system has a few less-obscure bugs. The most annoying Metrowerks bug was that the very nice symbolic debugger refused to work on the program where I really needed it (it turned out that the debugger doesn’t like anchored variables).

For learning and miscellaneous fooling around (which seems to be Mr. Kramp’s need) the Metrowerks system seems to be the better choice. Its bulky object code makes it less attractive than the SemperSoft system for application development.

Metrowerks also makes an MPW version. In addition TML Systems is reported to sell a Modula-2 system. But I have not had experience with any of these, nor have I heard any reports on them.

World Wide Developers Note

Kirk Chase

MacTutor

Just a short note about the World Wide Developer's Conference in San Jose last May. Practically every session the speaker was asking for input from us developers. Apple is making some far reaching changes in the future. Now is a good time to send some feedback through AppleLink.

 

Community Search:
MacTech Search:

Software Updates via MacUpdate

Latest Forum Discussions

See All

Top Mobile Game Discounts
Every day, we pick out a curated list of the best mobile discounts on the App Store and post them here. This list won't be comprehensive, but it every game on it is recommended. Feel free to check out the coverage we did on them in the links... | Read more »
Price of Glory unleashes its 1.4 Alpha u...
As much as we all probably dislike Maths as a subject, we do have to hand it to geometry for giving us the good old Hexgrid, home of some of the best strategy games. One such example, Price of Glory, has dropped its 1.4 Alpha update, stocked full... | Read more »
The SLC 2025 kicks off this month to cro...
Ever since the Solo Leveling: Arise Championship 2025 was announced, I have been looking forward to it. The promotional clip they released a month or two back showed crowds going absolutely nuts for the previous competitions, so imagine the... | Read more »
Dive into some early Magicpunk fun as Cr...
Excellent news for fans of steampunk and magic; the Precursor Test for Magicpunk MMORPG Crystal of Atlan opens today. This rather fancy way of saying beta test will remain open until March 5th and is available for PC - boo - and Android devices -... | Read more »
Prepare to get your mind melted as Evang...
If you are a fan of sci-fi shooters and incredibly weird, mind-bending anime series, then you are in for a treat, as Goddess of Victory: Nikke is gearing up for its second collaboration with Evangelion. We were also treated to an upcoming... | Read more »
Square Enix gives with one hand and slap...
We have something of a mixed bag coming over from Square Enix HQ today. Two of their mobile games are revelling in life with new events keeping them alive, whilst another has been thrown onto the ever-growing discard pile Square is building. I... | Read more »
Let the world burn as you have some fest...
It is time to leave the world burning once again as you take a much-needed break from that whole “hero” lark and enjoy some celebrations in Genshin Impact. Version 5.4, Moonlight Amidst Dreams, will see you in Inazuma to attend the Mikawa Flower... | Read more »
Full Moon Over the Abyssal Sea lands on...
Aether Gazer has announced its latest major update, and it is one of the loveliest event names I have ever heard. Full Moon Over the Abyssal Sea is an amazing name, and it comes loaded with two side stories, a new S-grade Modifier, and some fancy... | Read more »
Open your own eatery for all the forest...
Very important question; when you read the title Zoo Restaurant, do you also immediately think of running a restaurant in which you cook Zoo animals as the course? I will just assume yes. Anyway, come June 23rd we will all be able to start up our... | Read more »
Crystal of Atlan opens registration for...
Nuverse was prominently featured in the last month for all the wrong reasons with the USA TikTok debacle, but now it is putting all that behind it and preparing for the Crystal of Atlan beta test. Taking place between February 18th and March 5th,... | Read more »

Price Scanner via MacPrices.net

AT&T is offering a 65% discount on the ne...
AT&T is offering the new iPhone 16e for up to 65% off their monthly finance fee with 36-months of service. No trade-in is required. Discount is applied via monthly bill credits over the 36 month... Read more
Use this code to get a free iPhone 13 at Visi...
For a limited time, use code SWEETDEAL to get a free 128GB iPhone 13 Visible, Verizon’s low-cost wireless cell service, Visible. Deal is valid when you purchase the Visible+ annual plan. Free... Read more
M4 Mac minis on sale for $50-$80 off MSRP at...
B&H Photo has M4 Mac minis in stock and on sale right now for $50 to $80 off Apple’s MSRP, each including free 1-2 day shipping to most US addresses: – M4 Mac mini (16GB/256GB): $549, $50 off... Read more
Buy an iPhone 16 at Boost Mobile and get one...
Boost Mobile, an MVNO using AT&T and T-Mobile’s networks, is offering one year of free Unlimited service with the purchase of any iPhone 16. Purchase the iPhone at standard MSRP, and then choose... Read more
Get an iPhone 15 for only $299 at Boost Mobil...
Boost Mobile, an MVNO using AT&T and T-Mobile’s networks, is offering the 128GB iPhone 15 for $299.99 including service with their Unlimited Premium plan (50GB of premium data, $60/month), or $20... Read more
Unreal Mobile is offering $100 off any new iP...
Unreal Mobile, an MVNO using AT&T and T-Mobile’s networks, is offering a $100 discount on any new iPhone with service. This includes new iPhone 16 models as well as iPhone 15, 14, 13, and SE... Read more
Apple drops prices on clearance iPhone 14 mod...
With today’s introduction of the new iPhone 16e, Apple has discontinued the iPhone 14, 14 Pro, and SE. In response, Apple has dropped prices on unlocked, Certified Refurbished, iPhone 14 models to a... Read more
B&H has 16-inch M4 Max MacBook Pros on sa...
B&H Photo is offering a $360-$410 discount on new 16-inch MacBook Pros with M4 Max CPUs right now. B&H offers free 1-2 day shipping to most US addresses: – 16″ M4 Max MacBook Pro (36GB/1TB/... Read more
Amazon is offering a $100 discount on the M4...
Amazon has the M4 Pro Mac mini discounted $100 off MSRP right now. Shipping is free. Their price is the lowest currently available for this popular mini: – Mac mini M4 Pro (24GB/512GB): $1299, $100... Read more
B&H continues to offer $150-$220 discount...
B&H Photo has 14-inch M4 MacBook Pros on sale for $150-$220 off MSRP. B&H offers free 1-2 day shipping to most US addresses: – 14″ M4 MacBook Pro (16GB/512GB): $1449, $150 off MSRP – 14″ M4... Read more

Jobs Board

All contents are Copyright 1984-2011 by Xplain Corporation. All rights reserved. Theme designed by Icreon.