hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

DJVASTVASTY2K
Hello M8's

I thought i would upload a nice little tool for you all it's not much but i like it very much in deed.

Happy Christmas

Best Regards

Adam

Vast Gsm

UPX is a versatile executable packer with the following features:

excellent compression ratio: typically compresses better than WinZip/zip/gzip, use UPX to decrease the size of your distribution !


very fast decompression: ~10 MB/sec on an ancient Pentium 133, ~200 MB/sec on an Athlon XP 2000+.


no memory overhead for your compressed executables because of in-place decompression.


safe: you can list, test and unpack your executables. Also, a checksum of both the compressed and uncompressed file is maintained internally.


universal: UPX can pack a number of executable formats:
atari/tos
djgpp2/coff
dos/com
dos/exe
dos/sys
linux/386
rtm32/pe
tmt/adam
watcom/le (supporting DOS4G, PMODE/W, DOS32a and CauseWay)
win32/pe


portable: UPX is written in portable endian-neutral C++


extendable: because of the class layout it's very easy to add new executable formats or new compression algorithms


free: UPX is distributed with full source code under the GNU General Public License, and may be used freely even with commercial programs.
You probably understand now why we call UPX the "Ultimate Packer for eXecutables".

UPX is based on experience with our previous packers DJP and lzop and uses the NRV compression library.

Supported executable formats

Here is a detailed list of all supported executable formats:

UPX Pack Unpack Description Link
atari/tos X X Atari TOS/MiNT executable FreeMiNT portal
djgpp2/coff X X DOS 32-bit COFF djgpp homepage
dos/com X X DOS 16-bit .com file
dos/exe X X DOS 16-bit executable
dos/sys X X DOS 16-bit .sys file
linux/386 X X Linux AOUT/ELF/script Linux
rtm32/pe X X Windows 32-bit executable or DLL
tmt/adam X X DOS 32-bit executable TMT Pascal
watcom/le X X DOS 32-bit linear executable Watcom C/C++
win32/pe X X Windows 32-bit executable or DLL

Copyright
Copyright © 1996-2002 Markus Franz Xaver Johannes Oberhumer
Copyright © 1996-2002 Laszlo Molnar
All Rights Reserved.

This program may be used freely, and you are welcome to
redistribute it under certain conditions.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
UPX License Agreement for more details.

-----BEGIN PGP SIGNED MESSAGE-----


ooooo ooo ooooooooo. ooooooo ooooo
`888' `8' `888 `Y88. `8888 d8'
888 8 888 .d88' Y888..8P
888 8 888ooo88P' `8888'
888 8 888 .8PY888.
`88. .8' 888 d8' `888b
`YbodP' o888o o888o o88888o


The Ultimate Packer for eXecutables
Copyright © 1996-2000 Markus Oberhumer & Laszlo Molnar
http://wildsau.idv.uni-linz.ac.at/mfx/upx.html
http://www.nexus.hu/upx
http://upx.tsx.org


PLEASE CAREFULLY READ THIS LICENSE AGREEMENT, ESPECIALLY IF YOU PLAN
TO MODIFY THE UPX SOURCE CODE OR USE A MODIFIED UPX VERSION.


ABSTRACT
========

UPX and UCL are copyrighted software distributed under the terms
of the GNU General Public License (hereinafter the "GPL").

The stub which is imbedded in each UPX compressed program is part
of UPX and UCL, and contains code that is under our copyright. The
terms of the GNU General Public License still apply as compressing
a program is a special form of linking with our stub.

As a special exception we grant the free usage of UPX for all
executables, including commercial programs.
See below for details and restrictions.


COPYRIGHT
=========

UPX and UCL are copyrighted software. All rights remain with the authors.

UPX is Copyright © 1996-2000 Markus Franz Xaver Johannes Oberhumer
UPX is Copyright © 1996-2000 Laszlo Molnar

UCL is Copyright © 1996-2000 Markus Franz Xaver Johannes Oberhumer


GNU GENERAL PUBLIC LICENSE
==========================

UPX and the UCL library are free software; you can redistribute them
and/or modify them under the terms of the GNU General Public License as
published by the Free Software Foundation; either version 2 of
the License, or (at your option) any later version.

UPX and UCL are distributed in the hope that they will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; see the file COPYING.


SPECIAL EXCEPTION FOR COMPRESSED EXECUTABLES
============================================

The stub which is imbedded in each UPX compressed program is part
of UPX and UCL, and contains code that is under our copyright. The
terms of the GNU General Public License still apply as compressing
a program is a special form of linking with our stub.

Hereby Markus F.X.J. Oberhumer and Laszlo Molnar grant you special
permission to freely use and distribute all UPX compressed programs
(including commercial ones), subject to the following restrictions:

1. You must compress your program with a completely unmodified UPX
version; either with our precompiled version, or (at your option)
with a self compiled version of the unmodified UPX sources as
distributed by us.
2. This also implies that the UPX stub must be completely unmodfied, i.e.
the stub imbedded in your compressed program must be byte-identical
to the stub that is produced by the official unmodified UPX version.
3. The decompressor and any other code from the stub must exclusively get
used by the unmodified UPX stub for decompressing your program at
program startup. No portion of the stub may get read, copied,
called or otherwise get used or accessed by your program.


ANNOTATIONS
===========

- You can use a modified UPX version or modified UPX stub only for
programs that are compatible with the GNU General Public License.

- We grant you special permission to freely use and distribute all UPX
compressed programs. But any modification of the UPX stub (such as,
but not limited to, removing our copyright string or making your
program non-decompressible) will immediately revoke your right to
use and distribute a UPX compressed program.

- UPX is not a software protection tool; by requiring that you use
the unmodified UPX version for your proprietary programs we
make sure that any user can decompress your program. This protects
both you and your users as nobody can hide malicious code -
any program that cannot be decompressed is highly suspicious
by definition.

- You can integrate all or part of UPX and UCL into projects that
are compatible with the GNU GPL, but obviously you cannot grant
any special exceptions beyond the GPL for our code in your project.

- We want to actively support manufacturers of virus scanners and
similar security software. Please contact us if you would like to
incorporate parts of UPX or UCL into such a product.



Markus F.X.J. Oberhumer Laszlo Molnar
markus.oberhumer@jk.uni-linz.ac.at ml1050@cdata.tvnet.hu

Linz, Austria, 25 Feb 2000



-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBOLaLS210fyLu8beJAQFYVAP/ShzENWKLTvedLCjZbDcwaBEHfUVcrGMI
wE7frMkbWT2zmkdv9hW90WmjMhOBu7yhUplvN8BKOtLiolEnZmLCYu8AGCwr5wBf
dfLoClxnzfTtgQv5axF1awp4RwCUH3hf4cDrOVqmAsWXKPHtm4hx96jF6L4oHhjx
OO03+ojZdO8=
=CS52
-----END PGP SIGNATURE-----
flame
thanks this tool rocks
can someone explain to me whats a "stub" and how should one use \ create one .
cool.gif
thanks again
scooby
QUOTE (flame @ Dec 28 2003, 08:39 PM)
thanks this tool rocks
can someone explain to me whats a "stub" and how should one use \ create one .
cool.gif
thanks again

stub has something to do with shared libraries.
eg.
when u want to have updated libraries and keep on using the existing ones.

more a developers thing smile.gif
DJVASTVASTY2K
Hello M8's

Thank You For The Reply Flame But What I Think A Stub Is This Below.>

I agree with what Scooby Is Relateing too, But I have found some more info below.

stub

A stub is a small program routine that substitutes for a longer program, possibly to be loaded later or that is located remotely.

For example, a program that uses Remote Procedure Calls (RPC) is compiled with stubs that substitute for the program that provides a requested procedure.

The stub accepts the request and then forwards it (through another program) to the remote procedure.

When that procedure has completed its service, it returns the results or other status to the stub which passes it back to the program that made the request.

1. <programming> A dummy procedure used when linking a program with a run-time library. The stub routine need not contain any code and is only present to prevent "undefined label" errors at link time.

2. <programming, networking> A local procedure in a remote procedure call. The client calls the stub to perform some task and need not necessarily be aware that RPC is involved. The stub transmits parameters over the network to the server and returns the results to the caller.

Abstract: USC is a new stub compiler which can be used to generate stubs which perform a wide variety of data conversion operations.

USC is flexible and can be used in situations were previously only manually code generation was possible. USC generated code is up to 20 times faster than code generated by traditional argument marshaling schemes such as ASN.1 and Sun XDR.

This paper presents the design of USC and a comprehensive set of experiments designed to compare USC performance with the best manually

What is stub.exe?
stub.exe is a small real-mode program which coff2exe attaches to the COFF executable code produced by djgpp. When you invoke a program compiled with djgpp, stub.exe is initially run.

It simply calls go32.exe, and passes it information it needs to run the COFF file attached to it. stub is much smaller than go32, so less disk space is used. Also, if you change go32, you don't have to change stub, and all the stub-ized programs will use the new go32 automatically.

Custom DOS Stub EXEs - VB automatically creates a DOS stub EXE for you when you build an executable.

The purpose for this is to output some text to the command line when your EXE is run from the DOS environment, explaining that it is a Windows app.

The Custom DOS Stub EXE feature allows you to place your own DOS stub EXE into your app, allowing you to customize the text that is displayed or even to run an actual DOS version of your application.

Also Flame maybe this might help too m8 this link below for more information

http://its.mine.nu/html/coding/essays/stub.html

Oh Ok, I found 1 more thing this might help too

http://www.undu.com/Articles/010119d.html

And the last 1 here

http://dos32a.sourceforge.net/html/util/1.html

And Here Is The Very Last 1 And It Releast To RPC DCOM

http://www.ncst.ernet.in/education/apgdst/...ecture/DCOM.pdf

This is all I can think of "Flame"
I Hope This Helps You And "Merry Christmas"

If I find anything else on STUBS I will post it

Best Regards

Adam

Vast Gsm
PegHorse
Yeah i know UPX rocks and its free smile.gif
Enjoy it, it is very usefull !
They are so many GUI possible for UPX smile.gif
Cop
may sound dumb, but can it be used to compress regular windows folders and stuff like that?
ComSec
nope just.. exe file AFAIK used several times....very good
oxygen007m
very tanks DJVASTVASTY2K ! wink.gif
this packer is very good but you know there are some other tools to do this .
i always use pecompact V1.84 very powerful but it is commercial . biggrin.gif
-----------------------------------------------
happy new year , all GSO members laugh.gif
The Storm
nice UPX roX da house. It`s very usefall 100000 thanks
Icarus
tanks for tool wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.