Free Republic
Browse · Search
News/Activism
Topics · Post Article

Skip to comments.

The Windows MetaFile Backdoor?
Security Now! ^ | 13 January 2006 | Steve Gibson/Leo LaPorte

Posted on 01/16/2006 9:48:37 AM PST by ShadowAce

This is a transcript from a show Steve Gibson did with Leo LaPorte. The link to the audio is at the above link. Also, I will excerpt a little of the relevant information here.

Steve: And so, you know, because I'm a developer when I'm not being a hacker, I wanted to understand - oh, and the other thing is, I want to write a robust testing application, you know, that always works all the time. So I wanted to know, like, okay, what bytes have to be set which way, what matters, what doesn't. Because, you know, that's the way you get something that is as solid as, you know, the code that I put out from GRC. So what I found was that, when I deliberately lied about the size of this record and set the size to one and no other value, and I gave this particular byte sequence that makes no sense for a metafile, then Windows created a thread and jumped into my code, began executing my code. Okay, Leo? This was not a mistake. This is not buggy code. This was put into Windows by someone. We are never going to know who. We're never going to know - well, actually I'm going to find out when because we're going to know when this appeared because this appeared - I'm guessing this is not in older versions of Windows, which is why this function - or if it is in older versions of Windows, it's done slightly differently. I'm still on the hunt.

So this is not my last report on this. I expect to have a much better sense for this a week from now. But the only conclusion I can draw is that there has been code from at least Windows 2000 on, and in all current versions, and even, you know, future versions, until it was discovered, which was deliberately put in there by some group, we don't know at what level or how large in Microsoft, that gave them the ability that they who knew how to get their Windows systems to silently and secretly run code contained in an image, those people would be able to do that on remotely located Windows machines...

Leo: So you're saying intentionally or - Microsoft intentionally put a backdoor in Windows? Is that what you're saying?

Steve: Yes.

Leo: Well, that's a pretty strong accusation. Could this not have been a...

Steve: Well, it's the only conclusion...

Leo: It couldn't have been a mistake?

Steve: I don't see how it could have been a mistake. Again, I'm going to continue to look at it. But from what I've seen now, this had to be deliberate. It was not what we were led to believe. Well, and it's funny, too, because then I thought, okay, wait a minute, Microsoft has lied to us. I reread the original vulnerability spec in, you know, their vulnerability page. And they never say this isn't the case. I mean, they describe it as a vulnerability, which it certainly is. Nowhere, you know, is even what I'm saying contradicted by their page.

Leo: So you're saying Microsoft, or people at Microsoft maybe unbeknownst to Microsoft, intentionally put code in Microsoft Windows that will allow anybody who knew about it access any Windows machine, to get into any Windows machine and run any arbitrary code on it.

Steve: Well, it's not like a trojan, where they would be able to contact a remote machine. But, for example, if Microsoft was worried that for some reason in the future they might have cause to get visitors to their website to execute code, even if ActiveX is turned off, even if security is up full, even if firewalls are on, basically if Microsoft wanted a short circuit, a means to get code run in a Windows machine by visiting their website, they have had that ability, and this code gave it to them.

Leo: And there'd be nothing anybody could do about it or - and in most cases detect it. So it sounds like - and I really want to be careful here because this is a very serious accusation. It sounds like this was done on purpose by Microsoft or somebody at Microsoft. It sounds like it was accidentally discovered. Microsoft reacted and has pulled it out now.

Steve: Right.

Leo: Could there be other backdoors like this?

Steve: Well, yes. I mean, that's the problem with a closed source operating system like...

Leo: I have to say, before we go any further, you're not an open source advocate. You're not a Macintosh advocate. You've been a Windows user. And frankly, you're my staunchest friend who's a Windows advocate. I mean, so this is not some plan on your part to discredit Microsoft.

Steve: Well, no. And in fact I'm sure, I mean, I'm hoping that we're going to see corroboration from other people who didn't think about or didn't look closely at this. I mean, frankly, if last week Microsoft had patched the older versions of Windows, I would have had no cause to look closely to understand how this exploit worked that was discovered. I believe that some very clever and industrious hacker figured this out, started using it, and Microsoft was caught off guard and thought, whoops, we've got to close this backdoor down. Now, you know, to say that Microsoft did this, I mean, on one level it's clearly true. But we don't know who knows about this in Microsoft.

Leo: It could have been a renegade programmer working for Windows who just thought he'd throw this in for fun.

Steve: Yes. I mean...

Leo: Let me ask you one more time, though...

Steve: But that's dangerous, too.

Leo: Well, of course. But let me ask you one more - you're convinced there's no way this could have happened by accident. It can't be a programming error or bad design.

Steve: No. No. I mean, you know, again, this is as much a surprise to me, Leo, as it is to, you know, anyone who hears this. I did not expect to see this. I expected to find, for example, that the way this exploit worked was that the SETABORTPROC was working correctly, and that I would give it a pointer to my own code a few bytes lower, then I would do something to force the metafile to abort, and then the metafile processing would use the pointer, the legitimate SETABORTPROC pointer, and then basically run the code that was located right there in the metafile. That's what I thought I was going to encounter, something that sort of made sense, like we were originally led to believe. Or actually I think, you know, Microsoft didn't say anything at all. So we just all kind of presumed this was another one of those coding errors that Microsoft now famously makes and corrects on the second Tuesday of every month. This wasn't a programming error. And, you know, so it's like, whoa. When I give it the magic key on the size of the metafile record, then it jumps directly into my code.

Now, again, I will know more in a week. I have to say that, you know, I want to call this preliminary. But I don't see any way that this was not something that someone in Microsoft deliberately put into Windows. And, you know, the other thing, too...

Leo: Could this have been at the request of a government agency, let's say? I guess not because, as you point out, it's not a trojan horse. You have to go to a site. You have to go to the site of somebody who knows about this exploit to be taken advantage of. And in fact, the scenario you describe is really the only scenario I can think of, Microsoft doing it so that, if worst case happened, they would be able to update a machine. They'd be able to say, go to the Microsoft site and we'll fix you or something. I mean, the NSA wouldn't put this in because they couldn't guarantee access to any computer.

Steve: I've looked back over all the documentation. I can't find anything about this documented anywhere. Okay, then I said - I played my own devil's advocate. Okay, so code is running in the metafile. Wouldn't that be useful? Wouldn't it be useful if a metafile could contain executable code, sort of as an undocumented feature? Microsoft never got around to writing about it; but they said, oh, this would be cool, and we'll use the SETABORTPROC. Notice that SETABORTPROC, it was just, I mean, this has nothing to do with printer aborting. It was just sort of a - it was a value that they had handy from other processing, and they sort of reused it. But this has got nothing to do with aborting printing. So it almost helped with the obfuscation and sort of, you know, the plausible deniability, except that this wasn't a coding mistake. And, you know, you even had to put the magic key into the length of the record in order to get this to work. And that was protection from somebody's metafile having a SETABORTPROC metafile record in it and tripping over this backdoor by mistake.

Leo: This is exactly what you would do, if you were going to write a backdoor, this is exactly how you would do it.

Steve: Yeah. Yeah. So I asked myself, isn't there, like, a constructive purpose for putting code in a metafile? And the problem is, code running in the metafile doesn't have access to the context of the metafile. It doesn't know what to do with it. It's, you know, it's powerless to use the objects that Windows is using. And there seems to be no way to get back to Microsoft's code from this. Again, I've got some more work to do, and then the timing of this Security Now! podcast coincided with, you know, I've known this for a day now. And I've been going back over it and trying to come up with a reason, I mean, a benign reason for this. And I just don't see it.

Leo: I suppose we should contact Microsoft and ask them what they think about this. But I doubt that we'd get a straight answer.

Steve: I've tried doing that before on other issues like this, Leo. And, you know, it's not useful. So...


TOPICS: Technical
KEYWORDS: backdoor; convictedmonopoly; exploit; getamac; internetexploiter; lowqualitycrap; malware; microsoft; securityflaw; spyware; trojan; windows; wmf
Navigation: use the links below to view more comments.
first 1-2021-4041-6061-80 ... 101-107 next last
But the only conclusion I can draw is that there has been code from at least Windows 2000 on, and in all current versions, and even, you know, future versions, until it was discovered, which was deliberately put in there by some group, we don't know at what level or how large in Microsoft, that gave them the ability that they who knew how to get their Windows systems to silently and secretly run code contained in an image, those people would be able to do that on remotely located Windows machines...
1 posted on 01/16/2006 9:48:40 AM PST by ShadowAce
[ Post Reply | Private Reply | View Replies]

To: rdb3; chance33_98; Calvinist_Dark_Lord; Bush2000; PenguinWry; GodGunsandGuts; CyberCowboy777; ...

2 posted on 01/16/2006 9:48:58 AM PST by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

This goes along with intel putting serial numbers in chips that can be remotely read, so your machine can be positively identified. Plus the anti trust suit against microsoft went away rather mysteriously because the feds (clinton) got them to put in this software backdoor as part of the settlement.


3 posted on 01/16/2006 9:55:56 AM PST by brainstem223
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

In the mid ninties The Clintons were putting pressure on Gates to allow a back-door in their soft-ware obstensibly to allow domestic tracking of computer systems used by criminals as a way of updating federal wiretap rules. The FBI's carnivore system came out of this as well. Gates was refusing to do it, the Clinton administration threatened sanctions(what do you think that lawsuit was really about?), and all of a sudden when Microsoft loses its case, it gets a slap on the wrist then nothing further about "back-doors" in the news.

So tin-foil hat time...or what?


4 posted on 01/16/2006 9:57:42 AM PST by mdmathis6 (Proof against evolution:"Man is the only creature that blushes, or needs to" M.Twain)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce
when I deliberately lied about the size of this record and set the size to one...

Sounds like a buffer overflow hack.

5 posted on 01/16/2006 9:58:51 AM PST by 6SJ7
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

Ping


6 posted on 01/16/2006 9:59:30 AM PST by bcsco ("The Constitution is not a suicide pact"...A. Lincoln)
[ Post Reply | Private Reply | To 2 | View Replies]

To: ShadowAce

The bloggosphere is all over this, for example Groklaw:
"Steve Gibson: MS WMF is a Backdoor, Not a Coding Mistake - Updated"
http://www.groklaw.net/article.php?story=20060113111825193

Steve may be over-dramatizing this, but Mr.Bill has a lot
to answer for here.

And security advocates will now be digging even harder
to see what else MS "overlooked" in their "security sweeps"
of the Windows codebase.


7 posted on 01/16/2006 10:00:03 AM PST by Boundless
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

IMHO, Gates made windows leak like a seive to benefit business....who has always wanted to know how and for what each one of use really uses a computer.......


8 posted on 01/16/2006 10:00:07 AM PST by mo
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce
Sounds like the FBI finally got their back door they wanted.

When they originally proposed this, there were several AV publishers, such as Frisk, who refused to play along.

It now appears that the FBI went straight to the source, as it were.


AV vendors split over FBI Trojan snoops:

Keystroke loggerheads

By John Leyden
Published Tuesday 27th November 2001 18:44 GMT

Antivirus vendors are at loggerheads over whether they should include in their software packages detection for a Trojan horse program reportedly under development by the FBI.

A keystroke logging Trojan, called Magic Lantern, will enable investigators to discover break PGP encoded messages sent by suspects under investigation, MSNBC reports. By logging what a suspect types, and transmitting this back to investigators, the FBI could use Magic Lantern to work out a suspect's passphrase. Getting a target's private PGP keyring is easy in comparison, and with the two any message can be broken.

MSNBC quotes unnamed sources who says that Magic Lantern could be sent to a target by email or planted on a suspect's PC by exploiting common operating system vulnerabilities.

Although unconfirmed, the reports are been taken seriously in the security community, and are consistent with the admitted use of key-logging software in the investigation of suspected mobster Nicodemo Scarfo. In that case, FBI agents obtained a warrant to enter Scarfo's office and install keystroke logging software on his machine.

Magic Lantern, which would be an extension of the Carnivore Internet surveillance program, takes the idea one step further by enabling agents to place a Trojan on a target's computer without having to gain physical access.

The suggested technique creates a clutch of legal, ethical and technical issues. Greater powers in the Patriot Act, which Congress is considering, may allow the tool to be used. But what if it was modified for use by hackers?

And antivirus vendors are mulling over the rights and wrongs of putting Magic Lantern on their virus definition list.

Eric Chien, chief researcher at Symantec's antivirus research lab, said that provided a hypothetical keystroke logging tool was used only by the FBI, then Symantec would avoid updating its antivirus tools to detect such a Trojan.

Symantec is yet to hear back from the FBI on its enquiries about Magic Lantern.

"If it was under the control of the FBI, with appropriate technical safeguards in place to prevent possible misuse, and nobody else used it - we wouldn't detect it," said Chien. "However we would detect modified versions that might be used by hackers."

Graham Cluley, senior technology consultant at Sophos, disagrees. He says it it wrong to deliberately refrain from detecting the virus, because its customers outside the US would expect protection against the Trojan. Such a move also creates an awkward precedent.

Cluley adds: "What if the French intelligence service, or even the Greeks, created a Trojan horse program for this purpose? Should we ignore those too?"

9 posted on 01/16/2006 10:12:24 AM PST by Ol' Dan Tucker (Karen Ryan reporting...)
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce
Gibson is making follow-up comments in his own forum.
Groklaw links to these, for example:
Re: Confused on the WMF issue, and curious of tools used.
Re: KnockKnock updated, and I'm off to get answers ...
I've found the code in Windows 2000 ...
Re: I've found the code in Windows 2000 ...

He doesn't seem to be backing down from "backdoor".

By the way "knock knock" is Steve's free tool to test
your system for the WMF backdoor.
10 posted on 01/16/2006 10:13:16 AM PST by Boundless
[ Post Reply | Private Reply | To 1 | View Replies]

To: ShadowAce

If, and thats a big *if* there is any meat to this accusation it had to be a lone programmer, no way is MS that stupid or evil..


11 posted on 01/16/2006 10:16:05 AM PST by N3WBI3 (If SCO wants to go fishing they should buy a permit and find a lake like the rest of us..)
[ Post Reply | Private Reply | To 2 | View Replies]

To: ShadowAce

you guys are all wrong. It's Bush's fault.


12 posted on 01/16/2006 10:22:45 AM PST by dubie
[ Post Reply | Private Reply | To 1 | View Replies]

To: Boundless; ShadowAce

> Groklaw links to these, for example:

And the grc site is not responding.

This is likely the slashdot effect (server overload
due to interest), but could also be a DDoS attack on
grc, which has happened before.


13 posted on 01/16/2006 10:22:45 AM PST by Boundless
[ Post Reply | Private Reply | To 10 | View Replies]

To: mo
Yes it would be much safer for peasants like us to allow Government to rule supreme in an "open" environment. The government would never be interested in what we do with our computers either.
14 posted on 01/16/2006 10:26:48 AM PST by Camel Joe (WANTED: Hot Tar and Feathers... I've Got a Rail)
[ Post Reply | Private Reply | To 8 | View Replies]

To: Boundless; ShadowAce

> And the grc site is not responding.

This link is working:
http://www.grc.com/x/news.exe?cmd=xover&group=grc.news

Contains links to Steve's latest comments.


15 posted on 01/16/2006 10:29:17 AM PST by Boundless
[ Post Reply | Private Reply | To 13 | View Replies]

To: N3WBI3
If, and thats a big *if* there is any meat to this accusation it had to be a lone programmer, no way is MS that stupid or evil..

I don't know about that. Doesn't Microsoft do code reviews of stuff they put in windows? If this is a backdoor, you can bet it was instigated by FedGov.

16 posted on 01/16/2006 10:29:18 AM PST by zeugma (Warning: Self-referential object does not reference itself.)
[ Post Reply | Private Reply | To 11 | View Replies]

To: Boundless; All

does anyone know if a similar backdoor exists in/on Mac OS X?


17 posted on 01/16/2006 10:29:46 AM PST by jacquej
[ Post Reply | Private Reply | To 10 | View Replies]

To: Boundless
He doesn't seem to be backing down from "backdoor".

Gibbie is his own hype machine, ergo he never backs down from anything he says, no matter how ridiculous it ends up being.

This "backdoor" thing is just a buncha bull from a guy who really doesn't know anything about computer security. Gibson is a hack, and not in a good sense either.

18 posted on 01/16/2006 10:30:52 AM PST by Senator Bedfellow
[ Post Reply | Private Reply | To 10 | View Replies]

To: jacquej

> does anyone know if a similar backdoor exists in/on Mac OS X?

Well, that's the thing about closed-source proprietary
operating systems. Who knows?

And if this WMF hook was a Clinton-era-inspired feature,
we can assume that MacOS and most Unix variants have
something similar.

Linux wouldn't though.


19 posted on 01/16/2006 10:34:44 AM PST by Boundless
[ Post Reply | Private Reply | To 17 | View Replies]

To: ScreamingFist

.


20 posted on 01/16/2006 10:57:08 AM PST by ScreamingFist ( The RKBA doesn't apply if I have a bigger gun than your bodyguard. NRA)
[ Post Reply | Private Reply | To 19 | View Replies]


Navigation: use the links below to view more comments.
first 1-2021-4041-6061-80 ... 101-107 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
News/Activism
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson