Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Question about Visual Basic programming.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
X.inzo
Master Cheater
Reputation: 0

Joined: 28 Dec 2007
Posts: 302
Location: Tomorrow.

PostPosted: Thu Feb 05, 2009 1:59 pm    Post subject: Question about Visual Basic programming. Reply with quote

WTF, now I have to type it all over again.

My friend and me made a program (a trainer), we made it in visual basic.. and we want to keep it kinda private Smile our question is, how do we do that?
We know it's possible to work with hardware ID's and MAC addresses, but how?

(so.. we made an application that needs to be protected from leechers and spreading the internet.
To do this, we would like to make it so that even if you acquired the application illegally, you can't use it without our permission.
How do we accomplish that goal?
Could we maybe get some help with this?

Thanks in advance.

_________________

{100 posts} {250 posts} {500 posts} {banned for spamming}
Back to top
View user's profile Send private message
Zerith
Master Cheater
Reputation: 1

Joined: 07 Oct 2007
Posts: 468

PostPosted: Thu Feb 05, 2009 2:06 pm    Post subject: Reply with quote

If you don't know how you do this and you've never done this before, then even if you manage to do this it will be most likely easy reverseable.

You could use some packer and add a password and stuff, still not completely protected but it should help.

Anyway... you shouldn't have coded this in Visual Basic... C/C++ would be better.
Back to top
View user's profile Send private message MSN Messenger
X.inzo
Master Cheater
Reputation: 0

Joined: 28 Dec 2007
Posts: 302
Location: Tomorrow.

PostPosted: Thu Feb 05, 2009 2:10 pm    Post subject: Reply with quote

Zerith wrote:
it will be most likely easy reverseable.


That is why I ask for help here.

_________________

{100 posts} {250 posts} {500 posts} {banned for spamming}
Back to top
View user's profile Send private message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Thu Feb 05, 2009 2:11 pm    Post subject: Reply with quote

methods that uses hardwareid's are only as good as how its coded if the hardwareid is hardcoded into the file then in can be manipulated..
same way with MAC ADDRESS's they can be spoofed and the string can be manipulated in the source..

other more practical solutions include self deletion..self mutilation..the use of various packers.. though none of these methods are full proof..

so unless your willing to spend money on a solution, i suggest just not releasing it.. (it cant get anywhere on its own o0)

regards BanMe
Back to top
View user's profile Send private message MSN Messenger
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Feb 05, 2009 2:48 pm    Post subject: Reply with quote

best solution is to have it so it can not work without connecting to your server where it will fetch some dynamic bytes which will make it work correctly. and then there is a check from who is the request coming from, etc.
Back to top
View user's profile Send private message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Thu Feb 05, 2009 3:24 pm    Post subject: Reply with quote

bah bypassed with logic, a few public tools.. and concepts.

Hook Winsock Recv and use memalyzer (DynamoRio) to track memory reads and writes (.data?)and maybe a binary sampling of likely places code would use to dynamically introduce changes to code flow..(one way to trace code flow in a rather simple form is GetFunctionLength() provided by dawark..as this function just searches for conditional statements and based on the addresses of the conditionals relative to funcion base it calculates function length) instead of retrieving length one could store compare and restore code paths(if one had stack information...on could do more) but i digress)

the best bet tracking the code changes occuring because of memory writes would probably be the Driver and the Dll.. Write a Dll that gets injected and loads the dll(Memalyzer) and calls CreateMirror(ImageFileHead.CodeSectionBase);

Track Reads and writes to recv buffer memory region(i suggest the generalpagefault method but w/e is best for you is cool)

could also make self-healing self-debugging code with the combination of such concepts Smile

regards BanMe
Back to top
View user's profile Send private message MSN Messenger
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Thu Feb 05, 2009 6:02 pm    Post subject: Reply with quote

The protection you write will probably no be able to keep out anyone. So get your self themida or WinLicense.


Have a look here is your serious into C++ protection.
http://www.codeproject.com/KB/security/AntiReverseEngineering.aspx
Back to top
View user's profile Send private message
arigity
Advanced Cheater
Reputation: 0

Joined: 03 Jul 2008
Posts: 65
Location: middle of nowhere.

PostPosted: Thu Feb 05, 2009 6:45 pm    Post subject: Reply with quote

read all important data (addresses, values to write, etc) from a server which will only respond correctly to yours/your friends IP
_________________
Back to top
View user's profile Send private message
BanMe
Master Cheater
Reputation: 0

Joined: 29 Nov 2005
Posts: 375
Location: Farmington NH, USA

PostPosted: Thu Feb 05, 2009 8:18 pm    Post subject: Reply with quote

as i stated above the best solution is doing nothing to protect it except not putting it out there..
Back to top
View user's profile Send private message MSN Messenger
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Thu Feb 05, 2009 8:31 pm    Post subject: Reply with quote

I agree with BanMe, if you just keep it between you two, it's not like it's going to program some legs for itself and stroll onto the internet.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites