Huawei Offers 'Complete and Unrestricted' Source Code Access
An anonymous reader writes "The BBC reports that 'Huawei has offered to give Australia unrestricted access to its software source code and equipment, as it looks to ease fears that it is a security threat. Questions have been raised about the Chinese telecom firm's ties to the military, something it has denied. Australia has previously blocked Huawei's plans to bid for work on its national broadband network. Huawei said it needed to dispel myths and misinformation.' But is this sufficient? Will they be able to obscure any backdoors written into their equipment?"
Does the Australian Govt have anyone that can actually properly security audit this? I am sure they are not going to want to spend the money to hire someone who can. Also, who is to say the binary blob firmware doesn't have a back door. Its not like the Australians are going to compile it and install it themselves.
>insert some FUD about hardware bugs followed by that pdf on trust
what about hardware based backdoors? how about purposely imposed design flaws that are undetectable, but easily exploitable remotely? Perhaps they have their own CHAMP like device embedded, only activated by some type of remote RF.
The software source code will be fine, but during manufacturing a hardware chip can be added to the NIC's or routers that will phone home independently of what the IO's sees. To make it more fun, they will only add it to a couple of pieces of hardware in the large order, so they can claim it was a manfacturing defect, and they dont know how those got in there..
...seeing as how it's their source code being released.
No. Yes. In that order.
Source code doesn't speak to the character of the company who commissioned its development, anyway.
And, that's really what people don't trust.
Australia: "You are a security threat we need to see your code!"
Huawei: "Ok, here is our full source code"
Sensationalism Department: "There must be obscure back doors they might hide in their code!!!"
Just because the US Congress, which is still in the stone ages as far as understanding of technology, decries them as a threat using classified information doesn't mean it's true. It just means the US likes to cock block China as often as it possibly can, not withstanding the shady backroom deals that enticed this in the first place.
Much like I assume a lot of other /. readers, my trust in the equipment I use to do what it's supposed to do comes from my access and ability to read the source code. There have been minor dust-ups in the open source world about allegations that other governments than China inserted back doors in widely used software, and we still see those allegations surfacing from time to time, but never with anything solid to back them up. I believe searches on the obvious keywords will turn up stories linked from here, as well as links to source code repositories of very high quality indeed.
So my advice for Huwaei is, let the world see your source code, and please set up a mechanism for reviewing your own code and patches.
-- That grumpy BSD guy - http://bsdly.blogspot.com/
Is Australia planning on building their own code from that source?
Because how would they know that what they were running was actually the source code they were provided?
And would Australia even be interested in jumping through that extra hoop considering that there are other vendor options available where Australia feels this isn't necessary? The price difference between Huawei and other vendors would have to be fairly sizable to warrant that.
Or, even more insidious, I've heard of the possibility to include backdoors via the compiler rather than via the source code.
http://en.wikipedia.org/wiki/Backdoor_(computing)
Quote from that article:
It is also possible to create a backdoor without modifying the source code of a program, or even modifying it after compilation. This can be done by rewriting the compiler so that it recognizes code during compilation that triggers inclusion of a backdoor in the compiled output. When the compromised compiler finds such code, it compiles it as normal, but also inserts a backdoor (perhaps a password recognition routine). So, when the user provides that input, he gains access to some (likely undocumented) aspect of program operation. This attack was first outlined by Ken Thompson in his famous paper Reflections on Trusting Trust (see below).
If Huawei's code requires anything more than generic gcc, Australia may not be able to verify 100% security, regardless... unless they're given the source code to the compiler as well.
Long story short, this just seems like a huge hassle that Australia is probably going to avoid anyway.
Just my 2 cents...
When American telecom companies won contracts to supply soviet satellite, I think it was Poland, with telecom equipment, The CIA or NSA or both managed to get back doors into the equipment to both monitor calls and in the event of hostilities, to shut the phone system down completely. If American companies let their Government subvert their technology in foreign countries, China would be foolish not to.
You'd bury the covert functionality in the hardware. Good luck finding it.
If the Chinese Government said the sky was blue,I'd doubt it.
-signed Admiral Thomas Dalton Ackbar
Search for "Reflections on Trusting Trust" by Ken Thompson. At the end of his paper, he talks specifically about hiding code in firmware that never appears in the sources. The only way to be sure is to validate every single bit in the firmware, and every single gate on the silicon.
it's the same as the cisco code they just changed some names around.
We no put secret backdoor code in yo phone! We no pee-pee in your Coke!
So... Anybody know anything about any launch coooooooooodes?
An enigma, wrapped in a riddle, shrouded in bacon and cheese
http://cm.bell-labs.com/who/ken/trust.html
Do we get access to the compiler's source code too?
Is their h/w and s/w being audited for back doors and spyware?
No need to audit US sourced equipment. Thanks to CALEA we are 100% certain its been bugged.
Have gnu, will travel.
how do you know that this code they are giving out is the code that is compiled and loaded on their devices?
Why is it that we suppose China's telecoms are spying for their government? Is it because they have slanty eyes? How unlikely a way to do espionage. I guess it's because the US thought up the idea, and of course, caused a good deal of trouble with stux. WE are the sneaky bastards.
Thought up the idea? You can't be serious... this practice is hundreds of years old. The U.S. and China are just the latest in a long line of powerful nations trying to get a leg up any way they can.
Will they be able to obscure any backdoors written into their equipment?"
Yes.
-
- - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
It's not an unlikely way to do espionage you clod, it's the simplest way to do it. What's simpler than having direct access to all the communications infrastructure, accessible from anywhere in the world?
A successful API design takes a mixture of software design and pedagogy.
What is the chance of seeing cisco and others do the same?
I'll believe it when I see it. Many, if not most, of their products run on VxWorks, a proprietary closed-source real-time operating system. All it takes is for someone to find a way to access the t-shell and you own the box. I believe this was recently shown to be trivial to do with access to the web interface (no login needed). Once you are in the t-shell you own the box. In VxWorks the t-shell is like root on steroids. You can call any function, access at any global variables or any memory location that you choose.
VxWorks historically has not been a secure operating system, leaving security entirely up to the applications developer.
VxWorks is not like a traditional operating system where you load programs off of a filesystem and execute them, with a clear separation between the OS and applications. Instead, everything is linked together into a single binary blob. Now it's possible it has changed significantly since I last used it, but I doubt it.
This post is encrypted twice with ROT-13. Documenting or attempting to crack this encryption is illegal.
I am sure that the recipe for tainted food does not list lead, bacteria, or any other deadly contaminants.
Backdoors cleverly disguised as obscure implementation bugs are very hard to find, and if you find them, you do not know whether they are bugs or obscure implementation errors. Typically, making sure no backdoors are in a piece of complex software is more effort and more difficult than reimplementing it with trustworthy and competent people.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
Source code access is never enough to guarantee that something is free backdoors? How adds it to the hardware? How can I verify the devices coming in (from China in this case) has the right binaries installed? and don't forget about hardware backdoors. It is like trusting a PC manufacturer with a preloaded Linux installation because I have the source code of it on a DVD to review. If you can't trust the manufacturer there is no source that can help
If you think that you can trust source code, read Brian Kernighan 1984 Turning reward lecture.
http://cm.bell-labs.com/who/ken/trust.html
Didn't a black hat presentation show that they were basically running an ancient ripped off version of cisco ios? May as well just invite cisco to sue.
First consider the halting problem; you really can't tell what complex code can do.. although many eyes are better than none. Then you have to check every code release and compare all the hardware to software, etc. this is (the halting problem) a complex/hard problem.
Second, you have to see everything from the OS, the programs, programmable chips, firmware, etc.
Third, you have to hope there isn't anything type of "malware/spyware" that is loaded remotely post install, and that you see all the updates, etc. This would include the fear of back doors and automatic doors (default passwords, etc.).
In the 1800's every major telegraph wire ran through England and while they said they wouldn't spy, the spied on EVERY msg. The benefit of spying to great for China/PLA not to attempt something in the past, present or future.
http://www.hawknest.com/
This particular AC has mod points. Cheers.
I'm sure the US government will step and tell Australia not to, and I'm sure our PM will knuckle her forehead and say "By your command".
.. know what I mean.... nudge nudge ... know what I mean.....
This would set a dangerous precedent for source code to be made available and I can't see the US government thinking it's a good idea for American companies to have to do so.
Not that I'm saying they've got US government backdoors in them, no I'm not
get over it ...they are saying if you want to see source here ya go and huge hackers in australia i bet there govt has hired a few to "penetration test it"
no govt doesn't have someone qualified and if needed i am sure we canucks can provide you with some....
fact is this just is an attempt at trade embargoing via fear.
plain and simple.
Who is to say that Cisco gear does not have a backdoor for the CIA or the NSA to spy as well?
I'd much rather have the Chinese government listening in on my communications than the US government (who no doubt would have access if US equipment is bought instead).
At least they won't extradite me for copyright violations.
Every first world country needs to know how to build it's own communication equipment. Any less, and I don't think you should be called first world.
Just because you can see the source code doesn't mean the binaries were compiled from it.
"I believe in Karma. That means I can do bad things to people all day long and I assume they deserve it." : Dogbert
This reminded me of The Underhanded C Contest -- where the goal is to introduce malicious-acting but innocent-looking bugs that, even upon discovery as bugs, could be passed of as programming errors and not intentional backdoors. This should be required reading for anyone reading potentially-hostile code that's trying to pass an audit.
Surely Huawei has a large enough networking codebase to put enough of these in that Oz won't find them, and even if they do find them all -- how do you prove that a bug with an unintended leak/security concern was malicious?
http://cm.bell-labs.com/who/ken/trust.html "The moral is obvious. You can't trust code that you did not totally create yourself."
What the BBC is reporting is not quite what was offered. The ABC quotes Mr Lord as:
"Huawei is willing to offer complete and unrestricted access to our software source code and our equipment in such an environment," he said. "And in the interests of national security, we believe all other vendors should be subject to the same high standard of transparency."
The reference to "such an environment" is an industry funded organisation dedicated to vetting this stuff.
The exercise is nothing more than a PR spin. Huawei knows full well that the other players will neither want to fund a centre that effectively lets a competitor back into the race nor subject their own code to such scrutiny and risk rejection. He is the local face of Huawei so he has to say these things, but they will not change anything.
Patent litigation: A doctrine of Mutually Assured Destruction... in which everyone seems willing to push the button
I'm not an authority on such equipment and usually take SF as simply entertainment value, but after watching BSG remake, I always wondered if such computer systems sold to USA has this kind of code inside.
mfwright@batnet.com
Great so the original source code MIGHT be clean but any update at any time could install just about anything.
Require them to pay $20 milllion to have the software and hardware evaluated. This evaluation process takes at least 3 years and will OF COURSE result in hundreds or thousands of "concerns" that must be addressed (fixed) before the hardware or software in approved for sale. By the time the equipment is fully vetted the process takes at least 7 years and of course everything is obsolete. rinse repeat as necessary.
Who needs a back door when you have a range of security vulnerabilities to choose from.
Here's the slide deck from the talk on Huawei talk at Defcon 20 this year. At the end of the talk the presenter addressed the topic of backdoors by saying (my paraphrase) given the state of the code, who knows if a given hole is a backdoor or unintential security vulnerability.
The deck is worth a read if only for the fortune cookie slides, which contain actual quotes from the object code:
http://phenoelit.org/stuff/Huawei_DEFCON_XX.pdf
Min
On the whole, I find that I prefer Slashdot posts to twitter ones because I don't get limited to 140 chars before
Is there anything new Slashdot can offer, other than this same old China bashing orgy?
If you think that equipments from Huawei is dangerous, what makes you think that Cisco equipment don't come with backdoors?
Which equipment the Stuxnet virus targeted?
Equipment from China or those from the Western countries?
It's easy to bash China - as China has become the poster boy for bashing orgy - from Presidential debate to this one in Slashdot - but I do expect MORE from those who come to Slashdot.
Unlike the tweedledee and tweedeldum on the presidential debate, you guys do have brains.
It's time you use your brain to think, rather than letting others doing the thinking for you.
If Huawei (and all equipments from all Chinese companies) are suspicious, what makes you think that equipments from Germany or Japan or Britain or Korea or Canada or USA aren't?
Muchas Gracias, Señor Edward Snowden !
The USA has put the word out that Huawei cannot be trusted. Why would they do that? Is it because the USA has lots of backdoor experience or is it because the USA wants to eliminate competitors?
It seems that news sites like /. have been filled with discussion regarding doubts about chinese manufacturers, but how many of you really believe there _wouldn't_ be any goverment backdoors in US or European made equipment? Whom of us can really say that products of major manufacturers like Cisco and HP would be completely backdoor free? Yeah tought so...
usa is jealous of china cuz its taking the place of usa in global market share.so usa creates false news and ploy for china.china should take legal action against usa.
something, then it is a sign that something else is going on. If anybody in the west uses ANY of these Chinese telcos or their hardware companies, they deserve to be massively cracked. It is long past time for the west to bring back ALL important manufacturing, and much of the rest.
I prefer the "u" in honour as it seems to be missing these days.
If Huawei (and all equipments from all Chinese companies) are suspicious, what makes you think that equipments from Germany or Japan or Britain or Korea or Canada or USA aren't?
If I'm running a business in Australia, each of the listed non-Chinese countries is a minor concern. All have strong intellectual property protection. They mostly don't have a reputation for cloning foreign products. China is a different matter entirely.
If I'm running a business in any of the listed countries, China or otherwise, obviously my own country is preferred. They'd kick in my door if they wanted something; it's easier and more fun than hacking. I'd like protection from the others.
If I'm running a business in Iran, I probably want Korea or Japan. China is trying to pry into my finances for trade negotiation, and everybody else just hates Iran.
All sufficiently complex software has security holes. Huawei's software undoubtedly has several. By simply employing their own "Red Team" to actively look for exploits in their normally-produced source code, but then always leaving 2-3 good remote exploits unpatched, they guarantee themselves a non-obvious backdoor. As development continues and new flaws are uncovered, they can bugfix some of the older witheld flaws, trading them for new ones.
If the code were open-source, at least the outside world would be on a level playing field with them, but when it's proprietary they have the advantage by a landslide (since the rest of the world has the additional burden of reverse engineering and/or fuzzing the equipment to find what they can grep code for). Providing just Australia one-shot access to review the source doesn't really change the situation much.
11*43+456^2
While the source code (both drivers and firmware) can show a lot, you can embed software in silicon. There is no access to it in either rom or ram. A fusible link for example can be just a chip on a board (in a multi-level board it can be hidden between layers). Accessing the board can be done with a very long/specific key sequence. But even if they don't do this, its not hard to access a public phone network (if you are on a wireless phone then they can receive all information wirelessly), and they can add tempest eavesdropping equipment along lines and switching equipment. Most phone conversations aren't encrypted (the government insists!). So we are worried about the Chinese listening, but the local national government? Why do we give them a pass?
totally understandable that they'd like a slice of the $47billion NBN pie, plus the possibility of ongoing service contracts and upgrade/replacement equipment. I imagine the gear bought from Cisco etc are already pwned by ASIO and the NSA if required....
If its anything like the linux kernel sourcecode they release for their android phones, then it won't compile to what actually gets onto the phones, same as zte.
But Australia is allied with US very tightly, they share a lot, it would present a risk to the operations of that alliance.
If you don't think China take every opportunity they can get to perform corporate and government espionage, then my boyo, you are living in the past.
Integrating with the NBN would present a truly golden opportunity for espionage for the government run and owned company Huawei. Why do you think they are trying so hard after being told No, No, and No.
So, you ask, what makes the difference with Germany or Japan or Britain or Korea or Canada or USA??? They are all our allies, and we already share information as allies do.
It's like some people don't realise that there is a geopolitical power struggle with two main sides....
"sorry, but china, you don't get our trust"
But the USA *does*???
I live in new zealand and my ISP gave me a huwei modem, nothing special, usual ISP junk. What was interesting was that it included a crudely photocopied and chopped up note that stated it contained open source programs and gave me a yahoo.cn email address for where I could obtain the source code and documentation.
Of course, to this day I have not had a reply.
Perhaps they got rejected because there were NO backdoors.
i would think that there is exactly ZERO chance of making a rigged simple component without making it look different from what is normal.
now you might be able to dink with an IC (by using a smaller process than the chip requires) but at the resistor/cap/diode level there is NO ROOM.
even if you somehow "bugged" a component tolerances would be murder.
Any person using FTFY or editing my postings agrees to a US$50.00 charge
http://cm.bell-labs.com/who/ken/trust.html
They need extensive testing and an object level code audit, along with tool chain certification to insure what they are running is what the code represents.
Blogging because I can...
As an Internet systems administrator, I am personally aware of the thousands of attacks per day on my systems from various places in China. If Huawei is so great, how come they tolerate and allow chinese hackers to attack our country on such a grand scale. There is of course the question of whether these attacks are sanctioned by the Communist Party. And I guess as well we should ask if we want to buy critical infrastructure components from a communist country. As far as the UnitedStates is concerned, I think we should by equipment made in the USA. And our neighbor to the north might want to consider that as well.. Chinese telecom equipment is in no way superior to our own, and perhaps only cheaper. But do we want to skimp on such important infrastructure?
Then how soon will it become necessary to learn to chinese? oh never mind they already speak english after taking our money to learn it...