LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 06-08-2004, 10:59 PM   #1
snowman156
LQ Newbie
 
Registered: Oct 2003
Distribution: Slackware 10.0
Posts: 22

Rep: Reputation: 15
Why can't Windows be hacked?


This is a question that has been surfacing in my brain in my discovery of Linux and adoption of a new way to use my computer. I was watching a movie a while back, forgot the name, but the premise was a budding programmer hacked the source code of the reining OS and printed the code for the world to see. My question is, why can't this be done w/ Windows? My plebian thought process may be showing but if 16 year olds in Belarus can write viruses to crash hundreds of Windows using computers, what is to stop someone from extracting the source code of Windows and publishing to the world? It seems as if holes in the code are so easily, relatively, to exploit then why can't the entire code be put out there for anybody to rewrite, tweak, etc?
 
Old 06-08-2004, 11:02 PM   #2
HenchmenResourc
Member
 
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246

Rep: Reputation: 30
ethics
 
Old 06-08-2004, 11:15 PM   #3
HenchmenResourc
Member
 
Registered: Mar 2004
Location: SLC, Utah
Distribution: OpenSUSE 12.2
Posts: 246

Rep: Reputation: 30
lawsuits
 
Old 06-08-2004, 11:29 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
What the fsck does this have to do with Linux and why did you post in a Linux - General forum? Moved to General where this is more suitable. Please try to place your threads more appropiately, not everything goes in Linux - General.
 
Old 06-09-2004, 12:56 AM   #5
Capt_Caveman
Senior Member
 
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
but the premise was a budding programmer hacked the source code of the reining OS and printed the code for the world to see. My question is, why can't this be done w/ Windows?

http://www.wired.com/news/technology...,62282,00.html

Last edited by Capt_Caveman; 06-09-2004 at 12:58 AM.
 
Old 06-09-2004, 02:05 AM   #6
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Excuse me if I'm being ignorant...

But how exactly would one go about "extracting" source code from binaries?

I imagine you could draw some conclusions about how it worked with traces, etc -- but how could you possibly pull source code from a compiled binary?

--Shade
 
Old 06-09-2004, 02:42 AM   #7
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally posted by Shade
Excuse me if I'm being ignorant...

But how exactly would one go about "extracting" source code from binaries?

I imagine you could draw some conclusions about how it worked with traces, etc -- but how could you possibly pull source code from a compiled binary?

--Shade
It's not difficult. It's a process called "Reverse Engineering". Here is some interesting decompilers and disassemblers:

http://www.free2space.com/tools/decompilers/setup.html

However, back to the original question, what should we learn from hacking Windows anyway?. Besides using the knowledge from hacking windows to improve, let's say, wine, there's nothing in there that we need... Is there good applications and games for Windows? Yes, but the operating system itself is junk...
 
Old 06-09-2004, 09:52 PM   #8
pepsi
Member
 
Registered: Apr 2004
Posts: 63

Rep: Reputation: 15
i've herd you can't decompile win beacus it would take until hell freezes over, who said ethics, since when did virus programers have ethics
 
Old 06-09-2004, 10:31 PM   #9
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Quote:
Originally posted by pepsi
i've herd you can't decompile win beacus it would take until hell freezes over,
who would want to decompile an operating system, and windows? O'reilly's book 'security warrior' has a very good section on reverse engineering which mentions most people good at it are in linux now, not windows
 
Old 06-09-2004, 10:38 PM   #10
Stack
Member
 
Registered: Oct 2003
Distribution: FreeBSD
Posts: 325

Rep: Reputation: 30
Well this is so typical of people who cant program. Asking why things cannot be done when they dont understand the said thing. Sure you can decompile windows and have billions of lines of assembly. Compilation is a one way street you go down it and you are not comming back up.

It is hard to explain to someone who does not have an understanding of C and assembly but suffice it to say you lose the meaning of the code when you compile it.
 
Old 06-10-2004, 03:00 AM   #11
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
That's what I was thinking, Stack -- Which is why I was confused.

--Shade
 
Old 06-10-2004, 04:57 AM   #12
dave_starsky
Member
 
Registered: Oct 2003
Location: UK, Manchester
Distribution: Gentoo (2.6.10-r4) & Ubuntu
Posts: 145

Rep: Reputation: 16
It's legal to de-compile or dissassemble a program in order to fix a mistake, but not to add new features. So in theory you could decompile parts of Windows and fix any mistakes completely legally, at least in the UK anyway.
 
Old 06-11-2004, 02:57 PM   #13
Mega Man X
LQ Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 65
Quote:
Originally posted by dave_starsky
It's legal to de-compile or dissassemble a program in order to fix a mistake, but not to add new features. So in theory you could decompile parts of Windows and fix any mistakes completely legally, at least in the UK anyway.
Wouldn't it be easier to write the hole OS from scratch than fixing Windows problems? Lol, j/k. By the way, Starsky is a cool name from a TV show from the 70's, Starsky and Hutch. Funny game for PC and PS2 as well...
 
Old 06-15-2004, 02:34 PM   #14
dave_starsky
Member
 
Registered: Oct 2003
Location: UK, Manchester
Distribution: Gentoo (2.6.10-r4) & Ubuntu
Posts: 145

Rep: Reputation: 16
Quote:
Originally posted by Megaman X
Wouldn't it be easier to write the hole OS from scratch than fixing Windows problems? Lol, j/k. By the way, Starsky is a cool name from a TV show from the 70's, Starsky and Hutch. Funny game for PC and PS2 as well...
thats where I got my name from, I love that show
 
Old 06-15-2004, 05:05 PM   #15
Mau
Member
 
Registered: Jun 2004
Location: The Twilight Zone
Distribution: Mandrake 10 Official
Posts: 43

Rep: Reputation: 15
Anything can be decompiled, decrypted, de[insert name here]. You just have to think brute force

MD5's could be cracked, but it might take 2 billion years.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Did I get hacked? drj000 Linux - General 3 01-13-2005 02:54 PM
Have I been hacked? af_dave Linux - Security 3 07-14-2004 02:02 PM
HELP I think i got hacked spank Linux - Newbie 5 03-24-2004 08:59 AM
Being hacked -while using windows :( dave bean General 13 12-13-2003 11:01 PM
Was I hacked? aethereal Linux - Security 3 04-05-2001 04:24 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 12:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration