Sign in
MSDN Blogs
Microsoft Blog Images
More ...
Larry Osterman's WebLog
Confessions of an Old Fogey
RSS for posts
Common Tasks
Blog Home
Email Blog Author
RSS for comments
RSS for posts
Search
Recent Posts
Alignment (part 1)
Posted
over 8 years ago
by
Larry Osterman [MSFT]
15
Comments
Little Lost APIs
Posted
over 8 years ago
by
Larry Osterman [MSFT]
32
Comments
Hacking the Decsystem 20
Posted
over 8 years ago
by
Larry Osterman [MSFT]
14
Comments
Where's Larry?
Posted
over 8 years ago
by
Larry Osterman [MSFT]
20
Comments
What is a BUGBUG?
Posted
over 8 years ago
by
Larry Osterman [MSFT]
27
Comments
Tags
Audio
Fascinating geek stuff
It's Funny :)
Microsoft History
Nifty Win32 tricks.
PDC2008
Personal Stuff
Security
Software Engineering
Things you shouldn't do.
Windows 7
Archives
Archives
November 2012
(1)
November 2011
(1)
September 2011
(3)
May 2011
(2)
March 2011
(2)
February 2011
(2)
January 2011
(1)
October 2010
(1)
May 2010
(1)
April 2010
(1)
February 2010
(1)
January 2010
(2)
November 2009
(1)
October 2009
(4)
September 2009
(5)
August 2009
(23)
July 2009
(4)
June 2009
(5)
April 2009
(1)
March 2009
(3)
February 2009
(1)
January 2009
(6)
December 2008
(1)
November 2008
(6)
October 2008
(11)
September 2008
(10)
August 2008
(11)
July 2008
(4)
June 2008
(5)
May 2008
(3)
April 2008
(4)
March 2008
(1)
February 2008
(3)
January 2008
(5)
December 2007
(3)
November 2007
(11)
October 2007
(12)
September 2007
(15)
August 2007
(14)
July 2007
(6)
June 2007
(7)
May 2007
(9)
April 2007
(2)
March 2007
(14)
February 2007
(8)
January 2007
(22)
November 2006
(7)
October 2006
(9)
September 2006
(6)
August 2006
(8)
July 2006
(7)
June 2006
(5)
May 2006
(8)
April 2006
(5)
March 2006
(15)
February 2006
(11)
January 2006
(17)
December 2005
(10)
November 2005
(10)
October 2005
(16)
September 2005
(16)
August 2005
(15)
July 2005
(15)
June 2005
(23)
May 2005
(27)
April 2005
(26)
March 2005
(20)
February 2005
(21)
January 2005
(28)
December 2004
(12)
November 2004
(21)
October 2004
(26)
September 2004
(23)
August 2004
(32)
July 2004
(32)
June 2004
(25)
May 2004
(24)
April 2004
(30)
March 2004
(13)
Links
Suggestion Box
Comment Policy
MSDN Blogs
>
Larry Osterman's WebLog
Blog - Title
kurakuraninja
Comments
Independent
15 Mar 2004 5:55 PM
Who cares about slashdot. Anybody taking slashdot seriously is an idiot and treated as such.
Vermyndax
15 Mar 2004 8:24 PM
Great stories... keep them up. Would love to hear about them.
Did anyone read "The Bug" by Ellen Ullman? Absolute worst case scenario - but the printing story made me think of that book.
matthew
17 Mar 2004 3:36 PM
not sure this is so bad. The advisory refers to specific registry keys, containing a variation of 'svrhost.exe'. If you don't have this key (I believe normal machines don't) you don't have the virus. Perhaps they need to clarify that the variation of 'svrhost' is not including 'svchost', but they don't actually say to delete 'svchost'.
But it's really far from the jdbgmgr hoax, as you genuinely do have a virus if the steps in their instructions are present on your machine.
So hoax? I think not
Larry Osterman
17 Mar 2004 3:43 PM
The registry key advice is ok, my heartbeat is with the comment "a variation of the same". As soon as they said those words, svchost.exe becomes a really easy variation on srvhost.exe.
I'm sure that the trojan's authors were counting on this confusion actually.
And the advisory DIDN'T say "not svchost". They said a variation of srvhost.exe. Which means that my mother will be sending me mail to delete that evil virus svchost.exe from my machine sometime soon.
Mat Hall
18 Mar 2004 10:04 AM
Thanks! That's answered my question from Raymond's blog... (And now I've added yet another thing to read to my list; at this rate I'll never get any work done!)
Mat Hall
18 Mar 2004 10:17 AM
Forgot the <a href=
http://yesihaveabeard.blogspot.com/2004_03_01_yesihaveabeard_archive.html#107963321132301660>trackback.</a>
Junfeng Zhang
18 Mar 2004 11:43 AM
Good to have you here!
Jerry Pisk
19 Mar 2004 12:38 PM
The problem really is that WNetAddConnection2 is a synchronous call that cannot be canceled. Ctrl+C handling is just a side effect.
Larry Osterman
19 Mar 2004 12:52 PM
You're right, but it was just an example. The comments I made above apply to EVERY console application that makes synchronous API calls. Like CopyFile. Or CreateFile.
If you like, replace NET.EXE with the internal "TYPE" command - try CTRL-C'ing a "TYPE \\DFFSDSDF\SDFSDFSFD\SDFSFSF". It gets blocked on a CreateFile API call while trying to do a DNS resolution of the server "DFFSDSDF", and the I/O can't be canceled because the CreateFile API is synchronous.
There's no way that the entire Win32 API set could have been made asynchronous, at a minimum, it would have caused MASSIVE waves of complaints on the part of our users, who would have insisted that we add synchronous versions of all the asynchronous APIs (for ease of use).
And then we'd be back where we are today, because the application authors would all use the synchronous version of the API.
And what about the user that uses "cat" under the Posix subsystem? That user isn't even running a Win32 application, they're running an app that's calling the synchronous Posix open() API with the non existant networked resource, which again is a synchronous API call and....
Btw, I'm using networks as examples here simply because DNS resolutions take time, and it's easy to generate a slow operation. This can happen with ANY synchronous operation.
Ed
19 Mar 2004 3:15 PM
I guess the question is then why are all of these processes (dhcp, lanman, etc) renamed to svchost instead of giving us their true names? Why keep the information hidden?
Larry Osterman
19 Mar 2004 3:20 PM
They're not. They're colocated in the same process.
Instead of taking up one process per service, the services are glommed together into the same process.
If you have the NT resource kit, you can use the tasklist command to find out what services are running in what process - use "tasklist /svc", it'll tell you what services are running in what process.
Mike Dimmick
19 Mar 2004 3:35 PM
Also, Process Explorer from www.sysinternals.com can tell you. A handy near-replacement for the standard Task Manager, with a lot more capabilities. One of the top tools in my toolkit.
Tejas Patel
19 Mar 2004 3:45 PM
Good luck to Oliver and Sharron.
Louis Parks
22 Mar 2004 5:56 PM
Wasn't MS-DOS / PC-DOS also a joint deal with IBM?
pjm
22 Mar 2004 7:38 PM
Did you just make this up, or did you read something someone else had just made up?
Page 1 of 875 (13,114 items)
1
2
3
4
5
»