News for hackers. Stuff that matters.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by Iv on Wednesday May 02, 2012 @12:22PM (#3919861)
How exactly is one supposed to make a clean-room reverse engineering in the absence of any documentation and sophisticated obfuscation on Skype's part ?
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by option_greek on Wednesday May 02, 2012 @12:48PM (#3919990)
Usually, that would mean reverse engineering to create specifications and then getting the product implemented by some one else using the specification which would then be termed as clean.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by Iv on Wednesday May 02, 2012 @01:18PM (#3920135)
Yes, and reverse engineering to create specifications is done... how ? It requires examination of the only currently working implementation that we have.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by aGHz on Wednesday May 02, 2012 @01:24PM (#3920158)
The term "clean room" has a well established meaning you probably aren't aware of, I refer you to [1], it might clear up what the original reply was referring to.

[1] http://en.wikipedia.org/wiki/Clean_room_design

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by Iv on Wednesday May 02, 2012 @03:04PM (#3920605)
I am well aware of the joke that is the clean-room process. Note that it supposes that the first team has access to the specification, source code, or any IP-encumbered indication about how the software in question works. In the case of Skype, the only public information we have is the binary.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by nl on Thursday May 03, 2012 @01:46AM (#3922532)
Note that it supposes that the first team has access to the specification, source code, or any IP-encumbered indication about how the software in question works

No it doesn't.

The Wikipeda link[1] mentions the original IBM PC clean room implementation by Columbia Data Products.

It doesn't have the complete story of that, but from memory the way it worked was CDP had one team documenting how the BIOS responded to inputs, and then a totally independent team reimplementing that behaviour.

Most clean room implementation don't have access to a specification, let alone source code.

[1] http://en.wikipedia.org/wiki/Clean_room_design

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by sireat on Thursday May 03, 2012 @11:44AM (#3924313)
Interesetingly enough, if you read on about more current cases it mentions Sony vs Connectix, which I thought Connectix lost, but actually the ruling was overturned on appeal.

From the ruling: "Some works are closer to the core of intended copyright protection than others. Sony's BIOS lay at a distance from the core because it contains unprotected aspects that cannot be examined without copying. The court of appeal therefore accorded it a lower degree of protection than more traditional literary works."

Thus one could try to make the same case for Skype.

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by cooldeal on Wednesday May 02, 2012 @03:27PM (#3920699)
>Note that it supposes that the first team has access to the specification, source code, or any IP-encumbered indication about how the software in question works. In the case of Skype, the only public information we have is the binary.

So what? That's not a valid excuse to distribute modified binaries to the public. If the "first" team wants to look at binaries to do their documentation, they can download the official Skype client from skype.com. Why do they need to download a hacked binary from Github?

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by Iv on Wednesday May 02, 2012 @03:59PM (#3920844)
Well this decisions effectively forbids the "team A" of a clean room process to operate in the regular open source mode of distributed and public development.

I understand the rationale behind it, I think it is wrong and has bad implications for the future.

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by JoachimSchipper on Wednesday May 02, 2012 @04:07PM (#3920894)
You are aware that clean room development is about protection from legal problems, not about solving the problem as efficiently as possible, right?
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by nuclear_eclipse on Wednesday May 02, 2012 @01:29PM (#3920181)
From my understanding, you are allowed to decompile and inspect the released binaries, as well as intercept and analyze all inbound/outbound data, as long as you aren't modifying the running binary in any fashion. Things like debuggers are commonly used for this goal, as are tools like wireshark for analyzing the traffic. Once you create a specification based on your analysis, someone can create a clean-room implementation from that spec.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by skypeopensource on Wednesday May 02, 2012 @02:44PM (#3920524)
Exactly. Deobfuscated version just comfortable to debugging.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by tonfa on Wednesday May 02, 2012 @03:43PM (#3920769)
Sure, but it doesn't mean you're allowed to publish a deobfuscated version...
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by Iv on Wednesday May 02, 2012 @04:00PM (#3920852)
This is a serious obstacle to collaborative open-source reverse-engineering.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by jlawer on Wednesday May 02, 2012 @04:45PM (#3921098)
Yes it is, but thats where other solutions need to be met.... say a script that de-obfuscates a vanilla binary package so the output is created on the users machine vs being distributed as such. You can distribute the script and leave compliance to the end user.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by Iv on Thursday May 03, 2012 @05:08AM (#3922976)
If the result of this script is forbidden to be distributed, this could be a rationale for forbidding the distribution of the script itself.

If I write a script that generates the Matrix movies from the binary file of, say, Elephant's Dream, I won't be allowed to distribute that.

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by tonfa on Thursday May 03, 2012 @07:39AM (#3923316)
Yes, copyright law is complicated. You need to make sure the script used to create a deobfuscated binary isn't a derived work from the original binary, whatever that means (that's where consulting with a lawyer can help).
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by Iv on Saturday May 05, 2012 @11:17AM (#3932280)
Is a patch a derived work from the file it applies to ? It is impossible to produce the patch without using the original file, yet intuitively, I would say no.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by wmf on Wednesday May 02, 2012 @12:25PM (#3919868)
It's hard, but people have made progress with that approach:

http://recon.cx/en/f/vskype-part1.pdf http://recon.cx/en/f/vskype-part2.pdf

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by eli on Wednesday May 02, 2012 @01:29PM (#3920187)
Those links detail reverse engineering the binary. I think Iv's point is that reverse engineering an existing binary is not what "clean room" means.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by e1ven on Wednesday May 02, 2012 @01:37PM (#3920217)
If team A uses the binary to write a spec, and team B uses the spec to re-implement without direct help from team A, it's generally considered legit.

This was the method used by Compaq to implement the IBM BIOS, back in the day.

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by Iv on Wednesday May 02, 2012 @03:02PM (#3920597)
Yes, and we agree that team A's work needs to be done before team B can work. A's work is exactly what this DMCA notification tries to shut down.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by recoiledsnake on Wednesday May 02, 2012 @03:31PM (#3920724)
> A's work is exactly what this DMCA notification tries to shut down.

What part of A's work involves distributing deobfuscated binaries to the general public?

Team B should only have access to the specifications developed by Team A and nothing else from them. That's the whole point of isolating them.

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by eli on Wednesday May 02, 2012 @02:56PM (#3920569)
Yup, I'm with you. I don't think anyone's done anything like that for Skype, though.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by danbmil99 on Wednesday May 02, 2012 @11:43PM (#3922289)
Seems like you could do it in theory by observing the protocol in action. Set up two machines a-skyping, sniff all the packets, think real hard, write code that interoperates with Skype clients.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by snarkinatree on Thursday May 03, 2012 @02:31AM (#3922653)
And how do you propose to decrypt those packets?
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by danbmil99 on Wednesday May 09, 2012 @03:00AM (#3947382)
didn't you see the part about "think real hard"?
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by recoiledsnake on Wednesday May 02, 2012 @02:01PM (#3920347)
Maybe then you're not "supposed" to do it?

For example, there is no reverse engineered libraries for Facetime and iOS API. If you use Apple's libraries, they can come after you for copyright infringement.

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by Tloewald on Wednesday May 02, 2012 @11:20PM (#3922230)
Cappuccino is exactly such a reverse engineered library, as is gnu step. For that matter Linux is a reverse engineered drop in replacement for the unix kernel.
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by nl on Thursday May 03, 2012 @01:49AM (#3922542)
I'm not familiar enough with Cappuccino to comment, but GNU Step was an independent implementation of the published OpenStep interfaces. That isn't reverse engineering.

Linux is an independent implementation of the Posix interfaces.

Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by ktizo on Wednesday May 02, 2012 @02:33PM (#3920476)
You can reverse engineer anything that you can reverse engineer. "Supposed" really doesn't come into it. If you buy a copy of osx and reverse engineer some libraries, then publish a description of their behaviour, so what?
Re:Microsoft sends GitHub DMCA shutdown for Skype open sourc... by cooldeal on Wednesday May 02, 2012 @03:21PM (#3920675)
That's fine, but if you publish the modified binaries of OS X's libraries with hacks to make them work in Linux along with the description, you will be in legal hot water.