PDA

View Full Version : How to upxed .exe & .dll files


The_hesham
8th September 2007, 01:41 PM
Dear all
i keep reading most of the topics about upx files and download the latest ver from http://upx.sourceforge.net/

I did not found any clear steps of
How to UPX .exe & .dll files?

Can some help, please?

Whiterat
8th September 2007, 02:08 PM
Best is:
upx --best --crp-ms=999999 --nrv2b -o FILE_OUT.exe FILE_IN.exe

famewolf
8th September 2007, 03:07 PM
Best is:
upx --best --crp-ms=999999 --nrv2b -o FILE_OUT.exe FILE_IN.exe

How does that differ from upx --brute file ?


Also upx 3.01 was released on July 31, 2007 so make sure you have the latest version for best results.

The_hesham
8th September 2007, 06:13 PM
Yes I have 3.01 but I read the help file and I'm not sure that I know the steps
Can someone elaborate,

Regards

famewolf
8th September 2007, 10:22 PM
Yes I have 3.01 but I read the help file and I'm not sure that I know the steps
Can someone elaborate,

Regards

Ok sparky..how much more elaboration do you need then for two different people to give you sample command lines?

If you can't figure out "upx --brute *" after reading my post you really don't need to run the app. It's a command line app.

The_hesham
8th September 2007, 11:27 PM
Ok sparky..how much more elaboration do you need then for two different people to give you sample command lines?

If you can't figure out "upx --brute *" after reading my post you really don't need to run the app. It's a command line app.

Ok sparky
I do not understand
upx --brute is this explanation well help me to compress & decompress
If u dont want to explain, sure somone else will

famewolf
8th September 2007, 11:53 PM
I guess "upx --help" was to much effort for you. If this and the previous posts are not clear enough for you I look forward to seeing someone else explain it so you can understand.

upx --help
Ultimate Packer for eXecutables
Copyright (C) 1996,1997,1998,1999,2000,2001,2002,2003,2004,2005, 2006,2007
UPX 3.01 Markus Oberhumer, Laszlo Molnar & John Reiser Jul 31st 2007

Usage: upx [-123456789dlthVL] [-qvfk] [-o file] file..

Commands:
-1 compress faster -9 compress better
--best compress best (can be slow for big files)
-d decompress -l list compressed file
-t test compressed file -V display version number
-h give this help -L display software license

Options:
-q be quiet -v be verbose
-oFILE write output to 'FILE'
-f force compression of suspicious files
--no-color, --mono, --color, --no-progress change look

Compression tuning options:
--brute try all available compression methods & filters [slow]
--ultra-brute try even more compression variants [very slow]

Backup options:
-k, --backup keep backup files
--no-backup no backup files [default]

Overlay options:
--overlay=copy copy any extra data attached to the file [default]
--overlay=strip strip any extra data attached to the file [DANGEROUS]
--overlay=skip don't compress a file with an overlay

Options for atari/tos:
--all-methods try all available compression methods

Options for djgpp2/coff:
--coff produce COFF output [default: EXE]
--all-methods try all available compression methods
--all-filters try all available preprocessing filters

Options for dos/com:
--8086 make compressed com work on any 8086
--all-methods try all available compression methods
--all-filters try all available preprocessing filters

Options for dos/exe:
--8086 make compressed exe work on any 8086
--no-reloc put no relocations in to the exe header
--all-methods try all available compression methods

Options for dos/sys:
--8086 make compressed sys work on any 8086
--all-methods try all available compression methods
--all-filters try all available preprocessing filters

Options for ps1/exe:
--all-methods try all available compression methods
--8-bit uses 8 bit size compression [default: 32 bit]
--8mb-ram 8 megabyte memory limit [default: 2 mb]
--boot-only disables client/host transfer compatibility
--no-align don't align to 2048 bytes [enables: --console-run]

Options for tmt/adam:
--all-methods try all available compression methods
--all-filters try all available preprocessing filters

Options for vmlinuz/386
--all-methods try all available compression methods
--all-filters try all available preprocessing filters

Options for watcom/le:
--le produce LE output [default: EXE]

Options for win32/pe, rtm32/pe & arm/pe:
--compress-exports=0 do not compress the export section
--compress-exports=1 compress the export section [default]
--compress-icons=0 do not compress any icons
--compress-icons=1 compress all but the first icon
--compress-icons=2 compress all but the first icon directory [default]
--compress-icons=3 compress all icons
--compress-resources=0 do not compress any resources at all
--keep-resource=list do not compress resources specified by list
--strip-relocs=0 do not strip relocations
--strip-relocs=1 strip relocations [default]
--all-methods try all available compression methods
--all-filters try all available preprocessing filters

file.. executables to (de)compress

This version supports:
amd64-linux.elf linux/ElfAMD
amd64-linux.kernel.vmlinux vmlinux/AMD64
arm-linux.elf linux/armel
arm-linux.kernel.vmlinux vmlinux/armel
arm-wince.pe arm/pe
armeb-linux.elf linux/armeb
armeb-linux.kernel.vmlinux vmlinux/armeb
fat-darwin.macho Mach/fat
i086-dos16.com dos/com
i086-dos16.exe dos/exe
i086-dos16.sys dos/sys
i386-bsd.elf.execve BSD/386
i386-darwin.macho Mach/i386
i386-dos32.djgpp2.coff djgpp2/coff
i386-dos32.tmt.adam tmt/adam
i386-dos32.watcom.le watcom/le
i386-freebsd.elf BSD/elf386
i386-linux.elf linux/elf386
i386-linux.elf.execve linux/386
i386-linux.elf.shell linux/sh386
i386-linux.kernel.bvmlinuz bvmlinuz/386
i386-linux.kernel.vmlinux vmlinux/386
i386-linux.kernel.vmlinuz vmlinuz/386
i386-netbsd.elf BSD/elf386
i386-openbsd.elf BSD/elf386
i386-win32.pe win32/pe
m68k-atari.tos atari/tos
mipsel-linux.elf linux/mipsel
mipsel.r3000-ps1 ps1/exe
powerpc-darwin.macho Mach/ppc32
powerpc-linux.elf linux/ElfPPC
powerpc-linux.kernel.vmlinux vmlinux/ppc32

The_hesham
9th September 2007, 12:14 AM
Whiterate said
upx --best --crp-ms=999999 --nrv2b -o FILE_OUT.exe FILE_IN.exe

You explain very much

How does that differ from upx --brute file ?

I can list 4 u how many commands in buzz
most of them made problems with the icons
I was looking for a clear command someone try it and it works withy min. prob.
The help u mention I raed it before asking & u still think it is clear!!
I'm looking 4 this correct command 4 more than 3 days.
each time the replyers have prob.
If reach 2 the right command just post it.

The_hesham
11th September 2007, 12:15 PM
Software Name: UPX4PC
Software Version: 1.2.1, Packaged with UPX version 3.00.
Release Date: 10th May 2007
Supports: Windows PC

The link

http://mobile-sg.com/software/?p=UPX4PC&platform=pc

UPX4PPC
Software Version: 0.4.2
Release Date: 9th September 2007

The link

http://mobile-sg.com/software/?p=UPX4PPC&platform=ppc

solomhamada
11th September 2007, 09:27 PM
Software Name: UPX4PC
Software Version: 1.2.1, Packaged with UPX version 3.00.
Release Date: 10th May 2007
Supports: Windows PC

The link

http://mobile-sg.com/software/?p=UPX4PC&platform=pc

UPX4PPC
Software Version: 0.4.2
Release Date: 9th September 2007

The link

http://mobile-sg.com/software/?p=UPX4PPC&platform=ppc


thanks the_hesham .. downloading and trying