forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


what is the best way to protect a exe?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
tim6389
Professional Member
Professional Member


Joined: 01 Aug 2002
Posts: 790

PostPosted: Tue Aug 06, 2002 4:11 am    Post subject: what is the best way to protect a exe? Reply with quote

hello all


what is the best way to protect a exe file so it can't get decompiled easy?

what programs are out there for this?

thanks
Back to top
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Tue Aug 06, 2002 8:06 am    Post subject: Reply with quote

Hi Tim,

If you use at least VDS 4 I don't think any of your compiled scripts could be decompiled easily.
Even if it would be possible it would be very hard.

Tommy
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Binary
Newbie


Joined: 02 Aug 2002
Posts: 13

PostPosted: Tue Aug 06, 2002 9:32 am    Post subject: Reply with quote

I would say its normal to use a packer like aspack (www.aspack.com) or upx (upx.sourceforge.net).
u can find a test table here: http://compression.ca/act-exepack.html or here http://www.logiccell.com/~jean/Win32comp/
Packers are also great because they make your exe smaller.

But dont forget this:
Quote:
Upon startup of a compressed EXE/DLL, all of the code is decompressed from the disk image into memory in one pass, which can cause disk thrashing if the system is low on memory and is forced to access the swap file. In contrast, with uncompressed EXE/DLLs, the OS allocates memory for code pages on demand (i.e. when they are executed).
Multiple instances of a compressed EXE/DLL create multiple instances of the code in memory. If you have a compressed EXE that contains 1 MB of code (before compression) and the user starts 5 instances of it, approximately 4 MB of memory is wasted. Likewise, if you have a DLL that is 1 MB and it is used by 5 running applications, approximately 4 MB of memory is wasted. With uncompressed EXE/DLLs, code is only stored in memory once and is shared between instances.
Some older virus scanners flag compressed EXE/DLLs as being virus-infected. (This is this reason I stopped compressing Inno Setup's EXEs.)
Back to top
View user's profile Send private message
Garrett
Moderator Team


Joined: 04 Oct 2001
Posts: 2149
Location: A House

PostPosted: Tue Aug 06, 2002 5:54 pm    Post subject: Reply with quote

In reality, security is futile. No matter what precautions you take, if your work is important enough for someone to hack or crack, they will do so regardless of what security you've opted to implement.

But you can make the job of hacking or cracking your programs harder by doing what you can to secure it like encryption, exe packing and such.


-Garrett
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group