Slashdot Mirror


Skype Protocol Has Been Cracked

nsrCZ writes "The Skype core protocol has been reverse-engineered by a Chinese company. The interesting thing is, that although the protocol is closed, it is not patented and thus it is not against the law to crack it. If it's true, then it could affect the whole eBay/Skype business in many ways, including that they might not get their piece of the emerging Chinese cake." From the article: "By cracking the Skype protocol, the company claims it can also block Skype voice traffic, Paglee said. 'They could literally turn the lights off on Skype in China very, very quickly,' said Paglee, who is also a lawyer and engineer, speaking from California on Friday. The company could transfer the technology to the Chinese government, which has continually sought ways to tighten its filtering and control over the Internet. So far, the company doesn't have any plans to market its blocking capabilities, Paglee said."

42 of 279 comments (clear)

  1. Innovation by SleeknStealthy · · Score: 3, Insightful

    I love how the Chinese innovate. Corporate espionage, reverse engineering and overall IP infringement...Skype should have patented its technology, but it's not like the Chinese respect IP anyway.

    --
    Math
    1. Re:Innovation by Anonymous Coward · · Score: 4, Insightful

      I love how the Chinese innovate. Corporate espionage, reverse engineering and overall IP infringement...

      Yes, the US have been a good master.

    2. Re:Innovation by spyrochaete · · Score: 4, Insightful

      Thanks for sharing your generalizations about the most populous country in the world. Obviously every aspect of China meets your concise description.

    3. Re:Innovation by JPribe · · Score: 3, Insightful

      And patenting their protocol here in the States would have what effect in China? Please share, as I seem to have forgetten and am in need of a reminder.

      --

      Why go fast when you can go anywhere? O|||||||O
    4. Re:Innovation by sholden · · Score: 5, Insightful

      Because the US respected all the British IP in its early days.

    5. Re:Innovation by Jeremy+Erwin · · Score: 4, Interesting

      Perhaps I'm being unrealistically naive, but the original concept of the patent system was "full disclosure for protection". During the patent term, manufacturers would have to obtain a license to duplicate the patented object, but after those 17 years were up, no assistance (engineering or otherwise_ from the original inventor would have been necessary-- because the invention had been fully disclosed.

      If skype had patented its system, it would have had to disclose elements of its protocols which would make it quite easy for any espionage shop to infiltrate, route around or otherwise frustrate.

      Consider, for instance, a lock manufacturer. Their cylinders are described in exquisite detail in their patents. A person skilled in the art of lock-picking might find their patents to be of particular interest. But if the lock incorporates security mechanisms which defeat all potential attacks, it doesn't matter if they are disclosed.

      However, if the companies key manufacturing division and distribution network are infiltrated, then a duplicate key can probably be manufactured with a modicum of difficulty. That's why such practices are not disclosed in the patent, and are usually subject to "trade secret" regulations.

      P.S. I'm not so sure that the NSA and CIA let IP laws get in the way of espionage.

    6. Re:Innovation by IAmTheDave · · Score: 3, Insightful

      Thank you - not to mention that every true innovation stands on the shoulders of giants who came before. Want to know why patents/copyrights are killing innovation? Because there are now police lines around those proverbial shoulders.

      True, groundbreaking innovation is rarely anything more than a modification of an existing process or practice or idea or thought. An ingenious one, yes - but without the work that came before, there would be nothing. Stopping the work that can come after is nothing short of criminal.

      --
      Excuse my speling.
      Making The Bar Project
    7. Re:Innovation by tomstdenis · · Score: 3, Insightful

      Um hello, IBM PC clones anyone?

      Oh that's right you were born in the 90s and don't remember the 80s.

      Kids these days...

      --
      Someday, I'll have a real sig.
    8. Re:Innovation by babbling · · Score: 4, Interesting

      Why should Skype have patented this, and how does this negatively affect Skype?

      Skype don't get their money from people installing their client, they get their money from people paying for the extra services like SkypeOut, SkypeIn, and so on. They should regard maintaining the Skype clients as an unwanted hassle. What they really want is as many people as possible connecting to their servers and using the extra services. This is separate from the protocol.

      If I was an executive at Skype, I would view this as a good thing for the company. It's only going to result in more users. It's strange that Skype didn't voluntarily open up their protocol earlier!

    9. Re:Innovation by Em+Ellel · · Score: 5, Insightful

      Skype should have patented its technology, but it's not like the Chinese respect IP anyway.

      Erm, ok, if they patent it, don't they have to disclose details of it? Kinda defeats the purpose of having a secret closed protocol that Skype wanted. I think there might be a better way to protect IP, via "trade secret" or something like it, but I am no specialist in the area :-)

      -Em

      --
      RelevantElephants: A Somatic WebComic...
    10. Re:Innovation by kfg · · Score: 5, Insightful

      Even if our ancestors were also "wrong". . .

      IF our ancestors were also wrong. . .

      It remains to show they were wrong, and in doing so you necessarily question the legitimacy of the USA's sovereignity. We were signatory to no treaties to "respect" British IP and our ip laws still differ. It took a special act of Congress to partially respect the British copyright of Peter Pan (which is, in effect, in perpetuity, forbidden by the US Constitution).

      If and when China does not respect American ip they are wrong because we are both signatory to the Berne Convention treaty, even if we were both wrong to do so.

      And bearing in mind that the current administration has declared that treaties it has willfully signed are not binding upon it, as that violates American legal sovereignity. Yes, the Supremes have recently bitch slapped them over that, but the current adminstration seems to be gearing itself up to treat that as a legal opinion not actually binding upon it.

      And herein lies the real damage that has been done to America's international standing in the past few years. If we declare null and void international law to which we are signatory on war, torture and due process why the fuck should anyone respectfully decline to copy Pauly Shore movies, no matter how cruel that is?

      KFG

    11. Re:Innovation by saleenS281 · · Score: 3, Interesting

      So exactly where has China innovated?

      Automobiles they have "chery" whose entire line-up are shoddy copies of cars already produced by other manufacturers.

      We have Huawei, who has literally stolen Cisco's router code to make a "competing product".

      And then we have their military who happened to... yes steal their designs as well (at least the stuff they didn't just purchase from Russia and reverse engineer).

      So exactly what are these innovations taking place in China you wanted to defend?

      BTW, there's PLENTY more examples to prove how they don't innovate at all, just steal/reverse engineer/copy others if you need them.

    12. Re:Innovation by spyrochaete · · Score: 3, Funny

      That General Tso sure makes some delicious chicken! How's that for starters?

    13. Re:Innovation by tomstdenis · · Score: 4, Insightful

      And so is reverse engineering skype. I don't see why everyone is harping on China here. It's not like their the only country to do this.

      It's just ignorant xenophobia that allows people to bad mouth an entire nation based on what are essentially standard operating practices anywhere else.

      Tom

      --
      Someday, I'll have a real sig.
    14. Re:Innovation by tomstdenis · · Score: 3, Interesting

      Yeah, well you have to look at the audience... You got mostly white males in the ages of 16-24. They think they know everything about anything and therefore can easily feel comfortable shooting off about entire peoples they have never met. The fact that they're american doesn't help either :-)

      On the flipside some of the stereotypes and comments are well deserved. I mean, read comp.lang.c for a week. You'll get a lot of "I have to write this program and I don't have the first damn clue" types of posts, amazingly enough mostly from India. Look at phishing stats, they're mostly organized by people in Eastern block countries. That's not conjecture or hyperbole that's the truth. China does have a track record for more than just reverse engineering. Classic IP violations are more common than in other nations [although I wouldn't say it's epidemic like some people suggest].

      So like all nonsense there is some element of truth to it.

      Tom

      --
      Someday, I'll have a real sig.
    15. Re:Innovation by Schraegstrichpunkt · · Score: 3, Informative
      So exactly where has China innovated?

      Apparently you never heard of the MD5 and SHA-1 breaks.

  2. Does it really matter? by Rosco+P.+Coltrane · · Score: 4, Insightful

    Closed Skype protocol gets cracked in X months == Skype releases a new version with a new closed protocol that'll take X more months to crack. Big deal...

    Anyway, Skype is a big no-no for me. I don't like software that connects to who-knows-what and uses bandwidth all the time without any way to know what the heck it's doing.

    --
    "A door is what a dog is perpetually on the wrong side of" - Ogden Nash
  3. It could indeed. by Rob+T+Firefly · · Score: 5, Funny
    The company could transfer the technology to the Chinese government
    In other news, my front door could be unlocked with my house key, I could inhale the next time I need oxygen, and water could cause things it touches to become wet.
    1. Re:It could indeed. by regen · · Score: 3, Interesting

      The interesting thing is since skype uses encryption and encryption use by private citizens is illegal in China, just using skype could get you arrested. But then again, if the Chinese government wants to arrest a citizen in China they just do it and can find (or make up) a reason for the arrest afterwards.

  4. Wouldn't it depend on perspective? by Timex · · Score: 4, Insightful
    The interesting thing is, that although the protocol is closed, it is not patented and thus it is not against the law to crack it.

    I'm sure Skype's lawyers might see this differently.

    If this happened in the US, lawyers would be crying "foul!" on the basis of the protocol being a Trade Secret, and they would have something to say about the agreement that one sees when installing the software. I believe I remember seeing a "no reverse-engineering" clause in there.

    This being a Chinese source, though, means that US rules don't necessarily apply.
    --
    When politicians are involved, everyone loses.
    1. Re:Wouldn't it depend on perspective? by vertinox · · Score: 3, Insightful

      I'm sure Skype's lawyers might see this differently.

      I'm sure the Chinese authorities might not care what they see differently.

      --
      "I am the king of the Romans, and am superior to rules of grammar!"
      -Sigismund, Holy Roman Emperor (1368-1437)
    2. Re:Wouldn't it depend on perspective? by DerekLyons · · Score: 3, Interesting
      The interesting thing is, that although the protocol is closed, it is not patented and thus it is not against the law to crack it.

      I'm sure Skype's lawyers might see this differently.

      Skype's lawyers can see it however they want - but in this instance, they have no legal leg to stand on. It's not illegal to replicate something protected as a trade secret. (It *is* illegal to steal or 'borrow' it, or to hire employees from a rival to 'work on your own _x_'.)
  5. Blocking by slashkitty · · Score: 3, Interesting

    Do you really have to "crack" the protocol to block the traffic? Were their packets that well disguised?

    --
    -- these are only opinions and they might not be mine.
    1. Re:Blocking by Anonymous Coward · · Score: 5, Informative

      Excerpt from http://lists.grok.org.uk/pipermail/full-disclosure /2005-November/038646.html :

      *********

      1) Skype will initially attempt to contact supernodes, the IPs of which
      are in a file stored along with the other files that Skype installs. The
      first method of contact is direct. The source ports that Skype attempts
      to connect from are non-default ports. From my observations I could see
      that the UDP source port 1247 is the initial control channel. Once the
      connection is established, the rest of the communications is done in TCP
      over non-default source ports with ranges sweeping from 2940-3000.
      In general, any company that is serious about its security policy would
      have strict egress filtering rules, which makes identifying the
      non-default source/destination ports that Skype uses irrelevant since
      they would be blocked anyway.

      2) If the above fails, Skype will use the proxy server specified in Internet
      Explorer, and attempt to tunnel the traffic over port 443 using the SSL
      protocol. The destination IPs are of course random as above, which makes
      destination blocking out of the question. The only option left is to
      block SSL,
      which is not really a solution, unless you want to end up excluding all
      legal SSL destinations.
      Deleting the user's proxy settings would also disallow Skype from
      connecting. That would however leave the user without internet access.
      Even if the user had no proxy settings, and the proxying was done
      transparently (which would definitely include proxying http and https
      traffic), the Skype traffic (SSL) would again be transparently proxied,
      which puts us back at square one.

      ********

      The aforementioned link however speaks of a somewhat twisted method of blocking out skype by restricting outbound HTTPS to only the requests adressed by FQDN.

      Perhaps Skype will eventually just use SSL over 443 for the whole of the communication in order to establish connections, which is quite an effective method of bypassing any kind of firewall or filter put in place by a corporation. And the same technique holds true for any other "undesirable" protocol. With VPNs now starting to use SSL over 443 to evade restrictive outbound ACLs, it's getting more difficult to restrict what leaves your network.

  6. They renamed the protocol by Anonymous Coward · · Score: 4, Funny

    It's now call Scrype terraphone and it love you long time

  7. Re:Tapping by Barsema · · Score: 5, Informative

    From TFA :

    The company, however, has not been able to decrypt the phone calls passing through those computers and listen in because of the complicated encryption keys used during calls, Paglee said.

    So I guess not.

  8. Re:Open Source? by Macthorpe · · Score: 4, Funny

    So your solution to China cracking the protocol is to make it open-source.

    You are a genius.

    --
    "It does not do to leave a live dragon out of your calculations, if you live near him." - Tolkien
  9. Reverse Engineering by ultrasound · · Score: 4, Informative
    it is not patented and thus it is not against the law to crack it....

    Patenting something does not prevent anyone from reverse engineering it, and in fact they wouldnt need to because the mechanism would be documented in the patent.

    Reverse engineering is not 'against the law' in most parts of the world, only the US thanks to the DMCA (C is for copyright, not patent), so therefore they probably have not broken the law if they did this outside the US. At present it is legal in the EU to reverse engineer a competitors product for the purpose of producing a compatible interface, sadly however that may not be the case if the proposed "directive on criminal measures aimed at ensuring the enforcement of intellectual property rights" is ratified.

  10. Patents != legally uncrackable by Aim+Here · · Score: 5, Informative

    The article submitter seems to be a lot confused regarding the law. There's nothing unlawful about cracking a patented algorithm. It might be unlawful to market a device using the same encryption, in those parts of the unfree (softwarewise) world where software patents are implemented, but that's a different thing.

    Cracking encryption algorithms is generally only unlawful where the encryption is a method of encrypting copyrighted material, AND the country involved has implemented some variant of the DMCA or EUCD. That's the legal machinery that DVD Jon had problems with. The Skype Protocol won't be covered by DMCA-like provisions.

  11. Closed Protocol != Security by Penguin+Programmer · · Score: 4, Insightful

    Closed protocols are not a substitute for security. Any traffic that goes over the internet can be intercepted. Once you have the packets, it's just a matter of figuring out what they mean. This certainly does raise concerns that tapping into Skype conversations may become easy, but this was bound to happen eventually and should be no surprise to anyone.

    Besides, who really cares? Phone conversations can be tapped into. Cell phones, too. Everyone knows not to transmit confidential information over the phone.

  12. link to info on skype protocol by throwaway18 · · Score: 4, Interesting

    Lots of info on how skype works, including that the people who run skype could evesdrop on conversations, the possibility of using skype to relay non skype traffic and an overflow security hole (hopfully now fixed) were revealed four months ago.

    Silver needle in the Skype at Blackhat Europe

    1. Re:link to info on skype protocol by throwaway18 · · Score: 4, Interesting
  13. Re:Open Source? by BioCS.Nerd · · Score: 3, Insightful

    What the hell is that supposed to mean? First of all, let's address this statement:

    I can't do anything useful with it except when I use their crap.

    Perhaps you wrote this incorrectly, but, by definition, nothing is useful unless you use it. Would you care to elaborate why you think their service is useless crap? Oh yes, this nugget of gold:

    ... I hate Skype just because their protocol is closed.

    (emphasis mine)

    What you're saying, implicitly, is that you have no real qualms against Skype aside from their lack of openess with respect to their protocol. That's absurd! I could understand if you disliked this about their service, but to actually hate their service because of this one fact is borderline stupid.

  14. Re:DMCA? by drinkypoo · · Score: 4, Informative
    I realize that the DMCA doesn't extend outside of the USA, but could Skype use it to block this software/information in the US?

    This is why mod points should be more carefully controlled.

    The DMCA explicitly protects your right to reverse-engineer for the purposes of interoperability.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  15. Re:Open Source = Openser by mpapet · · Score: 3, Informative

    This isn't really an insightful comment. It's currently modded as such.

    Asterisk does not currently provide the nuts and bolts of connecting SIP callers. It's SIP integration is not built out so great either. (ex. can't easily connect to a STUN or RTP proxy)

    The normal procedure is to use an SIP server with asterisk as a voicemail backend.

    The SER and OpenSER SIP server projects both connect to asterisk.

    There is no reason to use skype's proprietary protocol. Good for the Chinese for putting a dent in their proprietary methods. Let SIP providers compete on a service basis, not protocol competition.

    --
    http://www.maxineudall.com/2010/02/should-economists-be-sued-for-malpractice.html
  16. NSA congratulates Paglee by kanweg · · Score: 4, Funny

    on being second.

    Bert

  17. Literally by RPoet · · Score: 5, Funny
    They could literally turn the lights off on Skype in China very, very quickly

    No, they could metaphorically turn the lights off on Skype in China very, very quickly.
    --
    "Oppression and harassment is a small price to pay to live in the land of the free." -- Montgomery Burns.
  18. Re:Tapping by Antique+Geekmeister · · Score: 5, Interesting

    I agree with you. Skype, due to its central corporate authentication of the RSA keys for customers, is ripe for law-enforcement mandated man-in-the-middle attacks. Without publising their protocol and any safeguards they've embedded in it, such as a public RSA key repository similar to those used by many GPG users, it's technologically easy for them to authenticate a centralized key upon request for NSA, CIA, FBI, or my aunt-Matilda-if-she-asks-them-nicely tap in the center of any conversation connection.

    For all such transactions, whether they are SSL, SSH, or some proprietary technology like Skype, you have to trust the site that holds the server keys or the people that write the software not to embed backdoors or fake keys to allow tapping. There are even technical reasons to permit such forgery: web-proxies for high-availability banking transactions, for example, may want to have their SSL keys multi-hosted. I've sat in on discussions about exactly that sort of approach and its security consequences.

    Anyone who assumes that Skype conversations is immune from a legal wiretap order or even an unconstitutional Patriot Act order that Skype dare not publish due to the Patriot Act's nature is engaging in wishful thinking. If you want real end-to-end encryption, you have to have personal control of the key exchange. In fact, that's how PGPphone used to work, if you can still lay your hands on a copy of it. It just never got broadly enough deployed, or provided the convenience and computer->cheap telephone call services that Skype provides.

  19. Further Clarification. by pavon · · Score: 5, Informative
    Patenting something does not prevent anyone from reverse engineering it, and in fact they wouldnt need to because the mechanism would be documented in the patent.
    Well no, because you can't patent a protocol. Instead they could patent a core method upon which the protocol is based, and that method would be made public - in non-specific legalese, that would in itself be practically useless for the purpose of implementing the protocol. The details of the protocol itself would still need to be reverse engineered.

    You are absolutely right about reverse engineering not being illegal. In fact even with the DMCA reverse engineering is still entirely legal. The catch with both the DCMA and patents is what you can do with the protocol once it has been reverse-engineered. In the case of patents, the basic priciples have been disclosed, and you are allowed to distribute any additional information that you learn about the implementation, but you are not allowed to implement the protocol without a patent license.

    In the case of the DCMA, you may be* prohibited from disiminating information that you have reverse-engineered, if can be used to circumvent a copyright protection device. I don't think that would apply in this case - what copyrighted work is being protected? The only possibility are the conversations themselves, but this does not allow you to listen in on anothers conversation, it simply allows you to initiate new coversations. Assuming that you are using secure cryptography, revealing the mechanism of the encryption does not weaken the security of the system, only revealing the keys, which in this case are generated per connection, like SSL.

    So unless Skype's security is crap, which I don't believe to be true, the DMCA would not restrict you from publishing the details of the protocol, or third party implementations of it. On the other hand patents could. Therefore, the submitter was correct in bringing them up as a potential barrier, even if his wording was not.

    * The law contradicts itself, and while there have been some precident setting cases, the interpretation is still very much up in the air.
  20. Re:DMCA? by drinkypoo · · Score: 3, Insightful
    as a previous poster pointed out, it interoperability didn't stop the MPAA suits against DeCSS.

    The DMCA also prohibits the construction, possession, and/or use of a device to defeat copyright infringement. In a case where the law contradicts itself, the people with the most money win.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  21. Re:Hmm by flooey · · Score: 4, Insightful

    What's to stop them from changing the protocol now?

    The several million people whose copies only support the current one.

  22. A lot has been known for a few years now ... by __aadkms7016 · · Score: 3, Informative

    This paper was published in 2004, by the VoIP group at Columbia. It reverse-engineers the Skype network with sufficient detail to let one make a serious attempt at firewalling Skype traffic.