Solved

making contents of VB .exe unreadable

Posted on 1997-11-08
6
345 Views
Last Modified: 2008-03-17
what can I do to a VB .exe file to make ALL of the contents unreadable, including the "text" parts?
can it all be encrypted somehow?
pklite does not work with VB exe's.
0
Comment
Question by:rfb
  • 3
  • 2
6 Comments
 
LVL 3

Expert Comment

by:vmpn
ID: 1440273
It sould work with VB5 files because they can be compiled to machine code.
0
 
LVL 3

Expert Comment

by:vmpn
ID: 1440274
The other way is to have your own encryption algorithm for strings (go to ftp.simplenet.com, have encryption algorithms), you would turn all your string into constants that would have encrypted text in them and to use them you would do:

msgbox decrypt(mystring)

for encrypting algorithms you can use WIndows 95 built in. Very Hard to break.
go to:
http://premium.microsoft.com/msdn/library/techart/vbcrypto.htm
You need to be a member of msdn, but registration is for free (I think).

Sincerely,
VMPN



0
 
LVL 1

Author Comment

by:rfb
ID: 1440275
I really don't understand the answer. Just to be clear. I need to encrypt the contents of the .exe and be able to have it be able to execute while encrypted.
??
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 3

Expert Comment

by:vmpn
ID: 1440276
I say, do not encrypt text by encrypting exe, but encrypt text in the source code, and then decrypt it while running.

Sincerely,
VMPN
0
 
LVL 1

Author Comment

by:rfb
ID: 1440277
STILL., THERE ARE COMMANDS LIKE "CHANGE DIRECTORY" AND OTHER COMMAND-LINE COMMANDS THAT ARE CLEARLY VISIBLE IN THE .EXE FILE. i AM LOOKING FOR A WAY TO CONCEAL ALL PLAIN LANGUAGE FROM THE .EXE PRIOR TO SENDING OUT TO THE USER.
eNCRYPTING THE TEXT DOES NOT SUFFICE..

0
 
LVL 3

Accepted Solution

by:
ChrisLewis earned 60 total points
ID: 1440278
Don't bother.  VB executables are enherently "stringy".  Other than encrypting your strings as VMPN suggested, there is no way to keep VB from doing what it does.  There's also stuff that would be visible in ANY exe, such as the copyright & trademark  information, version information, needed DLL files, references to AActiveX controls & objects etc.  These are stipulated by the Windows API, & there is no way to get around it.

As for the VB stuff, well, you could change the names of all your controls so they look like junk (rather than Label1, Command1 etc), but if you want to totally remove & encrypt,  VB is not your answer.

Sorry,

Chris
0

Featured Post

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now