Does PureBasic insert an identifier in your executables?
Re: Does PureBasic insert an identifier in your executables?
The reason I asked if PureBasic inserts an identifier is because people who reverse engineer software first find out what compiler was used to build the program. Then they write functions to extrapolate which source code would produce the compiled code. Without identifiers, it's much harder to reverse engineer your software and most people won't even try.
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Re: Does PureBasic insert an identifier in your executables?
since purebasic first creates optimized ASM-code and then compiles this, it would be a helluvamess to try to reverse-engineer any code.
... anyhow, I would not be too afraid of reverse engeneering.
only in very few very special cases you'll get anything useful from it.
... anyhow, I would not be too afraid of reverse engeneering.
only in very few very special cases you'll get anything useful from it.
oh... and have a nice day.
Re: Does PureBasic insert an identifier in your executables?
I like hugs...greyhoundcode wrote:UserOfPure, Nituvious, shall we have a group hug?
▓▓▓▓▓▒▒▒▒▒░░░░░
Re: Does PureBasic insert an identifier in your executables?
Actualy decompilation is not much used for reverse engineering to machine code compiled programs. It's only used for easy to decompile applications, like Java and dotNET.toledo wrote:The reason I asked if PureBasic inserts an identifier is because people who reverse engineer software first find out what compiler was used to build the program. Then they write functions to extrapolate which source code would produce the compiled code. Without identifiers, it's much harder to reverse engineer your software and most people won't even try.
I reverse engineered a bit to write tools for games and even made unofficial patches that fixed bugs and i never ever decompiled anything. As i started with reverse engineering i tied it but it just did not work out. I even don't find a working decompiler. Yes there are some that produce recompilable code, but it's just 99% inline assembly. ^^
Reverse engineering is done with assembly level debuggers like OllyDbg or Softice or any other.
-
- Enthusiast
- Posts: 469
- Joined: Sun Mar 16, 2008 9:18 am
Re: Does PureBasic insert an identifier in your executables?
Just do a search/replace of all "pb_" bytes in the executable then. The exe will still run (I just tried) and there won't be any obvious references to PureBasic.
Re: Does PureBasic insert an identifier in your executables?
Thankyou very much. That exactly what I'm going to do. Does that also work with words like "Gadget"?UserOfPure wrote:Just do a search/replace of all "pb_" bytes in the executable then. The exe will still run (I just tried) and there won't be any obvious references to PureBasic.
-
- Enthusiast
- Posts: 469
- Joined: Sun Mar 16, 2008 9:18 am
Re: Does PureBasic insert an identifier in your executables?
Try it! :roll:
Re: Does PureBasic insert an identifier in your executables?
Is it worth the effort? I don't see any sense in doing this.toledo wrote:Thankyou very much. That exactly what I'm going to do.UserOfPure wrote:Just do a search/replace of all "pb_" bytes in the executable then. The exe will still run (I just tried) and there won't be any obvious references to PureBasic.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
-
- PureBasic Expert
- Posts: 4229
- Joined: Sat Apr 26, 2003 8:27 am
- Location: Strasbourg / France
- Contact:
Re: Does PureBasic insert an identifier in your executables?
Imho some people are afraid to admit they are using basic, c++ is so much cooler and looks more professional, especially if the exe is big with a lot of DLLs and .NET dependency.c4s wrote:Is it worth the effort? I don't see any sense in doing this.
For free libraries and tools, visit my web site (also home of jaPBe V3 and PureFORM).
- Kaeru Gaman
- Addict
- Posts: 4826
- Joined: Sun Mar 19, 2006 1:57 pm
- Location: Germany
Re: Does PureBasic insert an identifier in your executables?
why don't you practice programming?
FIRST grow your skills to a level where any of your products become WORTH being reverse engineered, THEN worry about it.
FIRST grow your skills to a level where any of your products become WORTH being reverse engineered, THEN worry about it.
oh... and have a nice day.
Re: Does PureBasic insert an identifier in your executables?
Even without the strings, it's very easy to detect if it's a PB executable, as we are linking to custom libraries which can be easy identified.
Re: Does PureBasic insert an identifier in your executables?
I hope you are not talking about decompilation here (an entriely different matter), but instead about some tool that knowing the compiler used the generate the code, and knowing its code generation patterns can try to rebuild some high level constructs from this.toledo wrote:people who reverse engineer software first find out what compiler was used to build the program. Then they write functions to extrapolate which source code would produce the compiled code. Without identifiers, it's much harder to reverse engineer your software and most people won't even try.
But in my opinion to reverse eng. a software you just need a disassembler, years of experience and a extremely good knowledge of both machine code and os calls. If you change some compiler/linker generated strings inside the exe this will not stop a person like the above mentioned, so it's quite useless. You are better off trying to wrap your code in some way (just to slow him down or to make this not worthy, not to stop him).
A tool like the one you mentioned would be really lame, because it's extremely easy to disrupt this ideal situation the tool is expecting, and it cannot be reliable at all in many cases. Would be a lot lot lot harder to write something like this than the compiler.
Last edited by luis on Mon Jan 18, 2010 6:01 pm, edited 1 time in total.
"Have you tried turning it off and on again ?"
A little PureBasic review
A little PureBasic review
Re: Does PureBasic insert an identifier in your executables?
True. Fred, can we add a BLOATWARE option? It should quadruple the file size (at least) and make it run 10 times slower!gnozal wrote:c++ is so much cooler and looks more professional, especially if the exe is big with a lot of DLLs and .NET dependency.

-
- Always Here
- Posts: 6426
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Does PureBasic insert an identifier in your executables?
Nope, to simulate large .Net apps PB apps would need to be at least 25% slower, be capable of crashing the entire system at the most inconvenient moment possible and only after the User has created an hour's worth of work and is less than two milliseconds away from saving it
Frankly, the people that use your application do not care what tools you used to craft it, they only care about how well it works, how reliable it is and how easy it is to use.

Frankly, the people that use your application do not care what tools you used to craft it, they only care about how well it works, how reliable it is and how easy it is to use.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Does PureBasic insert an identifier in your executables?
Foz wrote:10 times slower!
Well, "10 times" is 40 times more than "25%".IdeasVacuum wrote:Nope [...] at least 25% slower

If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!