Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Decompile An Exe

Thread Tools
 
Search this Thread
 
Old 26 March 2003, 03:17 PM
  #1  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Question

We had a breakin at one of our offices over the w/end & they took a CE device with some proprietry s/ware on it. The s/ware did something quite sexy & novel & there is good commercial potential.

Written in C++ & compiled in the form of an exe. How hard is it to decompile to get at the sourcecode & hence the IP?

Its not the end version or anything & as far as we can tell, its not been used yet, but just like to know the potential.

We're reasonably sure 99.5% that we were targeted for the s/ware (a team were 30 mins in a small office & the device was all that was taken in an office full of computers, laptops etc )

Thanks
Old 26 March 2003, 03:33 PM
  #2  
STi-Frenchie
Scooby Regular
 
STi-Frenchie's Avatar
 
Join Date: Sep 2002
Location: French side of the border at Geneva, Switzerland
Posts: 5,703
Likes: 0
Received 0 Likes on 0 Posts
Post

I'm no expert on the subject but there are various disassemblers out there which can take an exe file and display the assembler code. If the IP is in the string table it'll pop up quite quickly.

You could try downloading W32Dasm which I believe is one of the better ones, run it over a backup copy of your exe and see what it produces.

Sorry if this sounds scary but it's what the reverse engineers use to break things like serial number registration - or so I read.

[Edited by STi-Frenchie - 3/26/2003 3:45:21 PM]
Old 26 March 2003, 03:35 PM
  #3  
M3 TWT
Scooby Regular
 
M3 TWT's Avatar
 
Join Date: Jan 2003
Posts: 40
Likes: 0
Received 0 Likes on 0 Posts
Post

Hi,

I work as a C++ developer and am 99.99999% sure that there is no way to back out anything meaningful from an exe.

100% sure you can't back out the kind of 'high level' code that you wrote in the first place, but it might be possible to access assembly language type output.

If you are targeted by the kind of people who are sophisticated enough to analyse that type of code then I would say that you are more at risk from them hacking into your network and nicking the source code.

Hope this helps.
Old 26 March 2003, 03:38 PM
  #4  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Cool

M3

Thanks

Good job the source code is not on our network then
Old 26 March 2003, 04:16 PM
  #5  
Dizzy
Scooby Regular
 
Dizzy's Avatar
 
Join Date: May 2001
Posts: 2,537
Likes: 0
Received 0 Likes on 0 Posts
Post

How hard is it to decompile to get at the sourcecode & hence the IP
Dont see the relivance of the IP? Copying a peice of software is a dodle(ie. writing from scratch), decompiling to get code is tough (laughably so in windows code) but possible. Anything that is in the Resources is very easy to get at. and anything that is hardcoded as a string i.e. "This is my app isn't it wizzy" will appear in the compiled code.

If you have VC++ just open an EXE file and rather than "auto" select the binary or Resource option.
Old 26 March 2003, 04:20 PM
  #6  
BoxerFlat4
Scooby Regular
 
BoxerFlat4's Avatar
 
Join Date: Nov 2001
Location: N Wales
Posts: 923
Received 0 Likes on 0 Posts
Post

As a C/C++ programmer, agree with all the above. If there's an IP address in there, it probably could be found.


I'm just amazed no-one's queried what this sexy little product is.....






*cough* *cough*.....



Old 26 March 2003, 04:27 PM
  #7  
GaryK
Scooby Regular
 
GaryK's Avatar
 
Join Date: Sep 1999
Location: Bedfordshire
Posts: 4,037
Likes: 0
Received 0 Likes on 0 Posts
Cool

Puff,

Yeah hey why not send us all the .exe and we'll try and grab the IP, winner gets an iPaq, what d'ya say??????????????

Gary

Trending Topics

Old 26 March 2003, 04:33 PM
  #8  
stu200
Scooby Regular
iTrader: (1)
 
stu200's Avatar
 
Join Date: Apr 2001
Posts: 531
Likes: 0
Received 0 Likes on 0 Posts
Question

Puff,

Are you referring to an IP address hardcoded into the program, or the Intellectual Property Rights over the "sexy" bit of software ?

If it's the former, then it's relatively easy to get at, unless the code was obfuscated before (or during) compilation.

If it's the latter, then get a copy of the app and its sources onto a CD and send it to yourself in tonight's post ... being careful that nobody opens the envelope when it arrives tomorrow Make sure that you use a normal post box, rather than a company franking machine!!
Old 26 March 2003, 04:47 PM
  #9  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Cool

Intellectual Property!

Its something patentable as well (we're in the process of)

[Edited by Puff The Magic Wagon! - 3/26/2003 4:57:18 PM]
Old 26 March 2003, 07:54 PM
  #10  
stu200
Scooby Regular
iTrader: (1)
 
stu200's Avatar
 
Join Date: Apr 2001
Posts: 531
Likes: 0
Received 0 Likes on 0 Posts
Post

Thought so
Old 26 March 2003, 08:28 PM
  #11  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Post

Old 27 March 2003, 09:39 AM
  #12  
Fosters
Scooby Regular
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Post

Why do you want to decompile an exe when you've said "good job the source code's not on the network", implying you do have the code.

Did I misinterpret that?
Old 27 March 2003, 09:42 AM
  #13  
DJ Dunk
Moderator
Support Scoobynet!
iTrader: (5)
 
DJ Dunk's Avatar
 
Join Date: Nov 2001
Location: Not all those who wander are lost
Posts: 17,863
Received 0 Likes on 0 Posts
Post

I think it was the question as to whether they could decompile it to get at the code.
Old 27 March 2003, 09:43 AM
  #14  
Hanslow
Scooby Regular
 
Hanslow's Avatar
 
Join Date: Mar 2001
Location: Derbyshire
Posts: 4,496
Likes: 0
Received 0 Likes on 0 Posts
Smile

I think he's worried about the thieving scum decompiling it, getting some source code of sort, and ruining what they have probably spent loads on working out.

Given that they seemed to have targeted it specifically, they may be at least able to reverse engineer to assembler so they may know how the code works and re-engineer it themselves....it happens
Old 27 March 2003, 09:48 AM
  #15  
Fosters
Scooby Regular
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Post

If it was me (having seen what it did), I'd rewrite it. It'd probably be better than the poor effort the authors made in the first place.


Old 27 March 2003, 10:58 AM
  #16  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Cool

Mike

Its what you'll be integrating with...
Old 27 March 2003, 11:03 AM
  #17  
Fosters
Scooby Regular
 
Fosters's Avatar
 
Join Date: Jul 2000
Location: Islington
Posts: 2,145
Likes: 0
Received 0 Likes on 0 Posts
Post

Oh, uhmm... Get the miserable *******!!!!!

Old 27 March 2003, 11:18 AM
  #18  
MrDeference
Scooby Regular
 
MrDeference's Avatar
 
Join Date: Mar 2002
Posts: 337
Likes: 0
Received 0 Likes on 0 Posts
Post

If they will go to the effort of stealing the hardware, stealing the software is a doddle. Patent the idea asap.
All you need to do is hire a competent assembler programmer and use win32dasm.
Good luck, industrial espionage stinks.
Old 27 March 2003, 11:52 AM
  #19  
Hanslow
Scooby Regular
 
Hanslow's Avatar
 
Join Date: Mar 2001
Location: Derbyshire
Posts: 4,496
Likes: 0
Received 0 Likes on 0 Posts
Question

Puff,

How do they know what you are doing? Is it publicised within your industry? Leaked information? Inside job?

Seems a bit too specialised an op for a chance opportunity given what they did not take. How do they know what you do, and who are they likely to be or give the information to?

Intrigued at how specialised what they nicked was
Old 27 March 2003, 12:02 PM
  #20  
Puff The Magic Wagon!
Moderator
Support Scoobynet!
Thread Starter
iTrader: (2)
 
Puff The Magic Wagon!'s Avatar
 
Join Date: May 2000
Location: From far, far away...
Posts: 16,978
Received 15 Likes on 9 Posts
Post

We're hoping that a non-specialist was behind it (possible) but its a LOT of effort to go to just for that - plus the other members of the team need to be paid etc etc, as the risk is high. If its in the hands of a non-specialist, then the program will be completely useless in a couple of days

If not then we'll have to wait & see...
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
druddle
Computer & Technology Related
1
09 May 2002 11:17 AM
DazV
Computer & Technology Related
5
01 March 2002 07:19 PM
BuRR
Computer & Technology Related
1
30 January 2002 11:07 AM
Huge
Non Scooby Related
2
05 August 2001 05:24 PM



Quick Reply: Decompile An Exe



All times are GMT +1. The time now is 06:15 AM.