Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #107678

OT: private info in .exe files from VS (was Re: How to stop Reverse Engineer a C, C++, VB or C# application?)

From Ken Brody <kenbrody@spamcop.net>
Newsgroups comp.lang.c
Subject OT: private info in .exe files from VS (was Re: How to stop Reverse Engineer a C, C++, VB or C# application?)
Date 2017-04-03 12:39 -0400
Organization A noiseless patient Spider
Message-ID <obttnb$1pv$1@dont-email.me> (permalink)
References <objh05$1697$1@gioia.aioe.org> <obm4q8$rdr$1@dont-email.me> <obmfr9$1u4m$1@gioia.aioe.org>

Show all headers | View raw


On 3/31/2017 4:59 PM, Real Troll wrote:
> On 31/03/2017 18:51, Ken Brody wrote:
>>
>>
>> In the general sense, you can't generate source code from an executable
>> file.  (You can't turn hamburger back into a cow.)  In some cases, it may
>> be possible, if you know a lot about the compiler and environment used to
>> build it.  (And debug info helps with that.)
>>
>> I'm curious what sort of "private" things could you see in the release
>> version of the program.  Unless your compiler/makefile/whatever is not
>> configured properly, a "release" build should have no extra debug info in
>> the file.
>>
>
> File folders etc in which they can see my real name because I use my real
> name when working on a windows system or at work.  Something like this:
>
[...]
>> $5de8c72a-9cb0-49ee-a263-660854fc0047    1.0.0.0  M
>> .NETFramework,Version=v4.5.2 TFrameworkDisplayName.NET Framework
>> 4.5.2       2¿ÞX         €&  € RSDS>rB}M–š‚3ÿYù
>> c:\users\xxxxxxxxxxx\documents\visual studio
>> 2017\Projects\Hello-World02\Hello-World02\obj\Release\Hello-World02.pdb
>
>
> Sometimes I post real working programs on some crack sites and now I am
> worried that people would know who is the real person distributing them.

We're getting into very compiler-specific things here, which should probably 
go into one of the Microsoft groups.  However, a quick test here on my copy 
of Visual Studio shows that even the "release" version defaults to having 
debug info generated.

Right-click the project, select "properties".  Then, under configuration 
properties, linker, debugging, make sure "generate debug info" is set to "no".

If there are still some "private" things remaining, you may walso want to 
set configuration properties, linker, manifest file, generate manifest to 
"no".  (No path names were in my test .exe within the manifest.  YMMV.)

-- 
Kenneth Brody

Back to comp.lang.c | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

How to stop Reverse Engineer a C, C++, VB or C# application? Real Troll <real.troll@trolls.com> - 2017-03-30 12:59 -0500
  Re: How to stop Reverse Engineer a C, C++, VB or C# application? scott@slp53.sl.home (Scott Lurndal) - 2017-03-30 18:45 +0000
    Re: How to stop Reverse Engineer a C, C++, VB or C# application? Real Troll <real.troll@trolls.com> - 2017-03-30 16:45 -0500
      Re: How to stop Reverse Engineer a C, C++, VB or C# application? Jerry Stuckle <jstucklex@attglobal.net> - 2017-03-30 18:53 -0400
      Re: How to stop Reverse Engineer a C, C++, VB or C# application? Ken Brody <kenbrody@spamcop.net> - 2017-03-31 13:56 -0400
        Re: How to stop Reverse Engineer a C, C++, VB or C# application? supercat@casperkitty.com - 2017-03-31 11:49 -0700
  Re: How to stop Reverse Engineer a C, C++, VB or C# application? Jens Stuckelberger <Jens_Stuckelberger@nowhere.net> - 2017-03-30 20:29 +0000
  Re: How to stop Reverse Engineer a C, C++, VB or C# application? "Rick C. Hodgin" <rick.c.hodgin@gmail.com> - 2017-03-30 14:06 -0700
  Re: How to stop Reverse Engineer a C, C++, VB or C# application? gordonb.1bihd@burditt.org (Gordon Burditt) - 2017-03-30 18:52 -0500
  Re: How to stop Reverse Engineer a C, C++, VB or C# application? Lew Pitcher <lew.pitcher@digitalfreehold.ca> - 2017-03-30 20:01 -0400
  Re: How to stop Reverse Engineer a C, C++, VB or C# application? David Brown <david.brown@hesbynett.no> - 2017-03-31 09:38 +0200
  Re: How to stop Reverse Engineer a C, C++, VB or C# application? fir <profesor.fir@gmail.com> - 2017-03-31 00:56 -0700
  Re: How to stop Reverse Engineer a C, C++, VB or C# application? supercat@casperkitty.com - 2017-03-31 08:59 -0700
    Re: How to stop Reverse Engineer a C, C++, VB or C# application? Real Troll <real.troll@trolls.com> - 2017-03-31 12:00 -0500
  Re: How to stop Reverse Engineer a C, C++, VB or C# application? Ken Brody <kenbrody@spamcop.net> - 2017-03-31 13:51 -0400
    Re: How to stop Reverse Engineer a C, C++, VB or C# application? Keith Thompson <kst-u@mib.org> - 2017-03-31 12:29 -0700
    Re: How to stop Reverse Engineer a C, C++, VB or C# application? Real Troll <real.troll@trolls.com> - 2017-03-31 16:59 -0400
      Re: How to stop Reverse Engineer a C, C++, VB or C# application? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2017-04-01 06:05 +0000
      Re: How to stop Reverse Engineer a C, C++, VB or C# application? Robert Wessel <robertwessel2@yahoo.com> - 2017-04-01 01:35 -0500
      OT: private info in .exe files from VS (was Re: How to stop Reverse Engineer a C, C++, VB or C# application?) Ken Brody <kenbrody@spamcop.net> - 2017-04-03 12:39 -0400

csiph-web