home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.os2.apps:5917 comp.security.misc:1171
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!agate!stanford.edu!rutgers!netnews.upenn.edu!msuinfo!uchinews!ellis!sip1
- From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
- Newsgroups: comp.os.os2.apps,comp.security.misc
- Subject: Re: Self-Extracting Binaries dangerous? (Was: REXXShip: Self-Extracting UUEncode!)
- Message-ID: <1992Sep6.175645.24543@midway.uchicago.edu>
- Date: 6 Sep 92 17:56:45 GMT
- References: <1992Sep6.025645.5101@midway.uchicago.edu> <18cf8rINNmpl@agate.berkeley.edu> <dank.715798089@blacks>
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: sip1@midway.uchicago.edu
- Organization: Dept. of Econ., Univ. of Chicago
- Lines: 52
-
- In article <dank.715798089@blacks> dank@blacks.jpl.nasa.gov (Daniel R. Kegel) writes:
- >Is it just me, or do other people shudder at the thought of
- >self-extracting binary archives? They seem dangerous to me
- >because they involve running a raw program straight off the net
- >without any visibility as to what it's doing.
- >It seems safer to give everybody a copy of, say, uudecode. Perhaps
- >IBM could include it in their next release as a security enhancement
- >for those folks who would otherwise blindly run things off the net.
-
- Not really (unless you consider GNU source code dangerous -- I suppose
- some people do :-)).
-
- The reason is that the REXXShip format, while self extracting,
- contains a wrapper in REXX code (and a short one, at that). You can
- look at the wrapper, compare it, and make sure nothing funny is going
- on. It is about a dozen lines. It is roughly analogous to someone
- handing you a twelve line program. If you are concerned about
- security then you just examine the source code (which this is) to make
- sure nothing strange is going on.
-
- This isn't a self extracting binary file (archive), which is a totally
- different beast. If someone hands you a file called FORMAT11.EXE it
- could be a self extracting archive. Or could it do something more
- dangerous? You just don't know. Unless you take the file and spend
- hours with a code examiner of some sort, disassembling the code, you
- won't know what it does until you run it. REXXShip is definitely not
- like this.
-
- Arguably REXXShip format is safer than UUEncoded format since the
- UUDecode utility itself could have been altered by a devious person.
- REXXShip at least elminates one step. Granted, it doesn't solve the
- problem of viruses or other maladies residing in the binary file it
- produces, but it doesn't run that binary file (unlike a binary format
- self extracting archive, which can run its contents -- or do anything
- else).
-
- Good point, though, and I'm glad you brought it up.
-
- Incidently, a much more efficient version of REXXShip is awaiting just
- a few finishing touches. It uses a modified XXEncoding type scheme so
- that the binary file only grows by about four thirds (plus overhead)
- instead of double after encoding.
-
- Also, the REXXShip format does not preclude the use of a standalone
- decoder. Time permitting I'll be writing a standalone decoder (for
- reasons of speed), so people will have flexibility.
-
- --
- Timothy F. Sipples | The OS/2 FREQ. ASKED QUESTIONS LIST is avail. from
- sip1@ellis.uchicago.edu | 128.123.35.151, anonymous ftp, in /pub/os2/all/faq.
- Dept. of Econ., Univ. | Or from LISTSERV@BLEKUL11.BITNET (send "HELP").
- of Chicago, 60637 | Family Values Means a Job
-