Thirteen Years of Service
Posts: 3,257
Threads: 163
RE: hacking the exe file 04-16-2013, 03:04 PM
#3
If you hardcode the password like this, you can just view it using a hex editor.
Edit: You can use a hash instead, although this still won't prevent some reverse engineers to crack your program, it will make it harder than just opening a hex editor. You have to hash the user input and compare it with your own hash. Use a secure algorithm for that, i.e. scrypt.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.
•
Thirteen Years of Service
Posts: 3,257
Threads: 163
RE: hacking the exe file 04-16-2013, 03:04 PM
#4
If you hardcode the password like this, you can just view it using a hex editor.
Edit: You can use a hash instead, although this still won't prevent some reverse engineers to crack your program, it will make it harder than just opening a hex editor. You have to hash the user input and compare it with your own hash. Use a secure algorithm for that, i.e. scrypt.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.
•
Fourteen Years of Service
Posts: 2,622
Threads: 213
RE: hacking the exe file 04-16-2013, 03:08 PM
#5
Plain password protection can be cracked in VB in 3 ways:-
1) Ollydbg and bypass password prompt [Moderate]
2) Decompiling by .Net reflector, Dis#, etc. [Easy]
3) Simply viewing in a text-editor [Easy]
If you encrypt it then it can be done in 2 ways:-
1) Ollydbg and bypass password prompt [Moderate]
2) Decompiling by .Net reflector, Dis#, etc. [Easy]
If you obfuscate it then it can be done in 1 way:-
1) Ollydbg and bypass password prompt [Moderate]
![[Image: rytwG00.png]](http://i.imgur.com/rytwG00.png)
Redcat Revolution!
•
Fourteen Years of Service
Posts: 2,622
Threads: 213
RE: hacking the exe file 04-16-2013, 03:08 PM
#6
Plain password protection can be cracked in VB in 3 ways:-
1) Ollydbg and bypass password prompt [Moderate]
2) Decompiling by .Net reflector, Dis#, etc. [Easy]
3) Simply viewing in a text-editor [Easy]
If you encrypt it then it can be done in 2 ways:-
1) Ollydbg and bypass password prompt [Moderate]
2) Decompiling by .Net reflector, Dis#, etc. [Easy]
If you obfuscate it then it can be done in 1 way:-
1) Ollydbg and bypass password prompt [Moderate]
![[Image: rytwG00.png]](http://i.imgur.com/rytwG00.png)
Redcat Revolution!
•
Fourteen Years of Service
Posts: 1,475
Threads: 91
RE: hacking the exe file 04-17-2013, 03:59 AM
#7
Never do that, it's never secure and regardless of whether this is .NET or C/C++, it still wouldn't be secure. If you do this in .NET you're basically asking for someone to crack your program though. It would take me about 2 seconds (literally) to get that key.
•
Fourteen Years of Service
Posts: 1,475
Threads: 91
RE: hacking the exe file 04-17-2013, 03:59 AM
#8
Never do that, it's never secure and regardless of whether this is .NET or C/C++, it still wouldn't be secure. If you do this in .NET you're basically asking for someone to crack your program though. It would take me about 2 seconds (literally) to get that key.
•