Path: utzoo!mnetor!uunet!munnari!murdu!u3369429 From: u3369429@murdu.OZ (Michael Bednarek) Newsgroups: comp.os.vms Subject: The dangers of VMS_SHAR Message-ID: <1335@murdu.OZ> Date: 7 Jan 88 02:28:56 GMT Followup-To: comp.os.vms Organization: I.A.E.S.R., Melbourne University Lines: 77 Keywords: virus trojan_horse vms_shar Summary: Watch out! bryce@hoser.berkeley.EDU (Bryce Nesbitt) writes in RISKS 6.2 : >Subject: Viral VAXination? (Re: RISKS-6.1) > >> (Martin Minow THUNDR::MINOW ML3-5/U26 223-9922) writes: >> >>Could a "harmless" CHRISTMA-like virus attack a VAX/VMS system? A >>recent network posting (RISKS?, LINKFAIL?) mentioned the possibility of a >>virus hidden in SHAR files which are _executed_ as .COM files to unpack >>them. > >I'm surprised nobody has mentioned this: Around here we don't "execute" >shar files to unpack them. Instead there is a handly little utility called >"unshar". I use a version on both Unix and my Amiga microcomputer. It >internally handles all of the "legitimate" commands that a simple file packing >shar might contain (echo, wc, cat, if, test, #, exit, etc.). > >It is much less vulnerable to attack. To use the example of the poster, unshar >would simple report "unknown command" if a "SET PROC/PRIV=ALL" was quietly >inserted in the middle of the file. > >The comp.sources.unix and comp.sources.misc archives undoubtably have C >source code for the taking. Now, I'm no UN*X guru, but I understood that `shar' files would be unpacked by feeding them to a shell, as in `sh c' (Hard terminal reset) and effectively logged anyone out doing a FINGER on my name. o Don't trust the `From:' field. Both UN*X and VMS can be fooled about the identity of the sender. No technical measure can be devised to exclude viruses, Trojan horses, etc. Your alertness is the only defense. And if you have been burnt, PUBLISH IT! Immediately! Naming names! Michael Bednarek Institute of Applied Economic and Social Research (IAESR) Melbourne University, Parkville 3052, AUSTRALIA, Phone : +61 3 344 5744 Domain: u3369429@{murdu.oz.au | ucsvc.dn.mu.oz.au} or mb@munnari.oz.au "bang": ...UUNET.UU.NET!munnari!{murdu.oz | ucsvc.dn.mu.oz}!u3369429 "POST NO BILLS."