Solved

Create binary files with dll extension that look important

Posted on 2014-11-02
9
109 Views
Last Modified: 2014-11-02
I have 2 files that limits and tracks program uses. I want the files to look important so as to less likely to be deleted.
If i give the filenames a dll extension will this cause any issues ?
something like Win32.dll or Win64.dll
0
Comment
Question by:isnoend2001
  • 4
  • 3
  • 2
9 Comments
 
LVL 24

Expert Comment

by:mankowitz
ID: 40418059
You can name a file whatever you want. As long as you don't put them in a particular directory, there is very little chance of someone trying to link to your fake dll. That being said, if the files are important, there are probably much better ways to hide them. Also, you run the risk of a security conscious person (or software) detecting that these are unused libraries and erasing them just to keep the system neat.

Consider keeping that sort of information somewhere else, If you are using VB, perhaps you could keep it in my.settings
0
 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40418060
Just naming the files differently will not give an issue, you should take care that your program still can use them.

What kind of files are they exactly and where did you put them? Do you know why they are being deleted? Is it the end users that delete the files?
0
 

Author Comment

by:isnoend2001
ID: 40418083
Thanks
Typical Paths

C:\Documents and Settings\All Users.WINDOWS\Documents\HomeBids\Win32.dll
C:\Documents and Settings\All Users.WINDOWS\Documents\HomeBids\AppFolder\Win64.dll
Each time the program is ran the files are opened and add 1 use to each and compared
If one is different or missing then the program shuts down

Open sfilename For Input As #fnumber
    Line Input #fnumber, sText
  Close #fnumber
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 38

Expert Comment

by:Gerwin Jansen, EE MVE
ID: 40418092
So renaming the files is not an issue. What about your fear that they maybe deleted? Who or what is doing that then?
0
 

Author Comment

by:isnoend2001
ID: 40418101
Thanks Gerwin Jansen
No one is doing it. I just want to be able to catch them if they try.
Example:
Win32.dll holds 3 (used 3 times)
if Win64.dll is missing or does not hold 3 then an attempt has been made to crack the program
0
 

Author Comment

by:isnoend2001
ID: 40418103
This seems to be my main concern:
unused libraries and erasing them just to keep the system neat
If the disk cleanup checks the last modified dll's date then this should not be an issue.
If this does delete both the dll's then the uses will start all over
0
 
LVL 38

Assisted Solution

by:Gerwin Jansen, EE MVE
Gerwin Jansen, EE MVE earned 250 total points
ID: 40418106
Just 2 files containing a number is not a very good way of protecting your software. If I would find out that the program is using the 2 files containing the same number to let the program run, I'd just create these 2 files each time before starting the program.
0
 
LVL 24

Accepted Solution

by:
mankowitz earned 250 total points
ID: 40418111
I agree. This doesn't give you much security at all. If I were a hacker, I'd just modify both files.  There are other ways to secure an application.

But that's beyond the scope of the question. Short answer is: yes, you can name the files whatever you want.
0
 

Author Closing Comment

by:isnoend2001
ID: 40418124
Thanks, i realize that this method is not fool proof the software tracks homeowners bids for home improvements and the majority
of users are not likely to be hackers ,especially for $50.00
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

809 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