Slashdot Log In
Windows Vista Tool Targeted By Virus Writers
Posted by
CowboyNeal
on Thu Aug 04, 2005 11:41 PM
from the infectious-diseases dept.
from the infectious-diseases dept.
An anonymous reader writes "Five proof-of-concept viruses that target Monad, the next version of Vista's command prompt, have been published on the web. Monad is a command line interface and scripting language that is similar to Unix shells such as bash, but is based on object-oriented programming and the .Net framework. The viruses' only action is to infect other shell scripts on the host's operating system. They would cause little harm in the wild, but would be relatively easy to modify using the information from the article, said Mikko Hyppönen, the director of antivirus research at F-Secure."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Short on Details (Score:3, Interesting)
But seriously, this article is very light on the details. I assume that these virus writers found a way to gain administrative rights using Monad, but the article makes it sound like these are just malicious scripts. It might as well be a advanced batch script that can spread it self then del
Re:Short on Details (Score:5, Informative)
You got it right when you said "it might as well be a batch script." These are just Monad scripts running on the system, just like batch files, perl scripts, Cygwin bash scripts, Ruby scripts, etc.
There is nothing intrinsic in Monad that enables these attacks, aside from it being a new language. In fact, Monad implements several features that help mitigate the dangers of traditional script viruses, as I outline here [leeholmes.com].
Parent
Re:Short on Details (Score:4, Informative)
Parent
Re:Short on Details (Score:3, Interesting)
I honestly chuckled when I read the article. Not that I hate MS in any ways, in fact I dual boot and tend to use Windows more than linux due to work. But honestlt, did ANYONE really believe that the next product out of MS would be ANY safer than previous products? I know that is what MS themselves claim they are focusing on, security that is, but with their trackrecord, I'd be surprised if we see less than 250 viruses over the first year or so after they release
Re:Short on Details (Score:5, Interesting)
Yes but you must remember that F-Secure are a bunch of alarmist gits who will jump at any opportunity to seed panic with regard to threats of viruses, hackers, "cyberterrorists" (if such a thing even exists), and whatever else they can dream up. Read through a decent sampling of their past press releases and you'll get the idea.
Certainly there are potential issues, but I don't think there's really anything to panic about yet.
Jedidiah.
Parent
Re:Short on Details (Score:3, Informative)
What? Say it isn't so! (Score:3, Funny)
Re:What? Say it isn't so! (Score:5, Insightful)
Parent
Comments from a Monad developer (Score:5, Interesting)
The fact that MSH is used as the execution vehicle is really a side-note, as it does not exploit any vulnerabilities in Monad. The guidance on shell script viruses is the same as the guidance on all viruses and malware: protect yourself against the point of entry, and limit the amount of damage that the malicious code can do.
That's not to belittle the dangers of script viruses, though.
I wrote a blog entry about it here [leeholmes.com], in relation to Monad.
Re:Comments from a Monad developer (Score:2, Funny)
Re:Comments from a Monad developer (Score:4, Insightful)
For those of you who still don't get it: stop logging in as an administrator you idiots.
Parent
Re:Comments from a Monad developer (Score:5, Insightful)
I'm sure I'm not the only developer out there who's had to rewrite some stuff to keep XP happy. And, despite the extra work, I see it as a good thing.
Parent
Re:Comments from a Monad developer (Score:5, Interesting)
You might not even need the popup. My firewall on a couple of machines has a database it can go out to search and see if this application is "known" and should have access.
It might be less secure than a total limited-account-lockdown, but it would be better than nothing. In fact, I think the latest version of ZoneAlarm already has this sort of "inner firewall".
Parent
Re:Comments from a Monad developer (Score:3, Insightful)
Re:Comments from a Monad developer (Score:3, Funny)
becuase people are retards and would click "no don't allow access" then proceed to whinge to tech support that their internet is broken, nothing works, blah blah...
OTOH, people are retards and would click "yes do allow access" then proceed to whinge to tech support that their computer is broken, nothing works, blah blah
Re:Comments from a Monad developer (Score:5, Funny)
Parent
Re:Comments from a Monad developer (Score:5, Funny)
Sneaky, huh?
Parent
Re:Comments from a Monad developer (Score:5, Funny)
Looking at the syntax, I think the GPL version is called Perl 6
Parent
Re:Comments from a Monad developer (Score:3, Funny)
Moobs.
KFG
Re:Comments from a Monad developer (Score:4, Informative)
The short answer: It's a codename. It won't ship with that name. Most likely it'll go with the less interesting "Microsoft Shell" or "msh".
The long answer: Monad [wikipedia.org] and Monads in functional programming [wikipedia.org] (long answer has been diverted to Wikipedia, because I'm lazy).
The non-answer: Get your mind of the gutter, you pervert. Not everything ending in "-nad" refers to genitalia.
Parent
Re:Comments from a Monad developer (Score:3, Funny)
Would you have preferred "Warthy Warthog" or "Sweaty Weasel"?
Doesn't bode well... (Score:3, Informative)
But seriously, this is like tipping over someone in a wheelchair. It's a BETA of WINDOWS. Hopefully MS will learn from this before the release, though. I'm not up for a whole new vector of threats against my windows boxen.
Jerry
http://www.cyvin.org/ [cyvin.org]
Not very sporting. (Score:2)
Nothing serious i must say (Score:4, Interesting)
This is actually nothing, it simply prepends/appends or put itself in the middle of existing MSH scripts. It is equivalent to, if you run a binary on your machine, it can attach itself to all the binaries on your machine.
On top of that, MSH by default on let digitally signed scripts to execute hence once infected scripts on execute. This is not really a threat at all.
No surprise here (Score:2)
What would really be a surprise, pleasant one at that, is to see a F/OSS program actually plug the holes in Vista before it can sink?
If you want... (Score:2)
That said, a lot more people would plug Windows holes (if for no other reason than to rid the world of zombies)... if MS would just free the source. But that would probably make poorly-written Perl code look good.
This just in! (Score:2, Redundant)
How is this different from *NIX shell scripts? (Score:5, Insightful)
I like bashing M$ just as much as the next
Re:How is this different from *NIX shell scripts? (Score:3, Interesting)
NO WAY! (Score:2, Funny)
windows now has a decent shell?!
will wonders never cease?
K.
So what? (Score:5, Insightful)
About the only way around this is code-signing to prevent modification (yeah, like I'm gonna sign every single perl script I ever wrote.....)
It's not like you can't do this in bash, awk, sed, perl, python, REXX etc. etc.
full circle wtf ? (Score:3, Funny)
when windows 95 came out the windows zealots where so quick to point out "no more haveing to type in dos windows is better than everything" now they will say "we have a shell windows is better than everything"
Leibnitz is rolling is his grave (Score:3, Interesting)
"There is also no way of explaining how a monad can be altered or changed in its inner being by any other created thing, since there is no possibility of transposition within it, nor can we conceive of any internal movement which can be produced, directed, increased or diminished within it, such as can take place in the case of compounds where a change can occur among the parts. The monads have no windows through which anything may come in or go out. The Attributes cannot detach themselves or go forth from the substances, as could sensible species of the Schoolmen. In the same way neither substance nor attribute can enter from without into a monad."
And they they've managed to attack them??? Oh, the humanity...
More Windows viruses? (Score:5, Funny)
An Example of One of the So-Called Viruses (Score:5, Informative)
All it does is find every .msh file and replace its contents with itself. That's it. You could do it with a .CMD file in any version of Windows (and of course in any other scripting language).
The other scripts get a bit more complicated (insert at a random spot in the file, etc) but that's basically it. There's no new vulnerability exposed by Monad.
- adam
PC World has the most sensationalized version... (Score:3, Informative)
- adam
Re:PC World has the most sensationalized version.. (Score:3, Informative)
It will probably not [microsoft-watch.com] be included in the final Windows Vista code either.
It'll be a separate, downloadable tool for all MS OS'es since Windows XP.
I'm still looking for the connection to Windows Vista here...
Misleading topic (Score:3, Informative)
Monad will also not be included with Windows Vista RTM.
So bloody what ? (Score:3, Interesting)
The Monad (Score:4, Funny)
But I'm sure that's just a coincidence.
i dont see why this is news.... (Score:4, Informative)
2) assume you already have command line access
a "virus" at this point is trivial... just append the code to append itself at the end of every file it assumes is a script for this command line.
this is like batch file viruses that format the drive... it isn't anything special, it's just a matter of getting the mark to run the file. nothing to see here.
Too many Moving Parts (Score:3, Insightful)
The more sophisticated you make a system, the more failure modes you introduce -- and the harder it gets to test the edge cases, because there end up being too many edges. You want Obejct Oriented? I'll give you an Object Oriented example. Let's have a "length" type with properties which correspond to its conversion into different measuring units.It may well be pretty, but outside of any programme dealing with units conversion it's fairly unnecessary. And it contains many programming hazards which would thwart the careless implementor. {BTW, that was a fictitious example; but I'm willing to bet there is at least one programming language out there that actually implements something like it.}
All a command shell really has to do is be able to launch programmes, police the I/O traffic and keep hold of some state information. If it can do all that right, any other functionality you need can be provided by external programmes. That way, everything is kept as simple as it needs to be; you haven't got code cluttering up things that don't need it. If you do build functionality into the shell, there should be a bloody good reason -- usually that reason is that some external programme is getting launched more than its fair share. And in that case you already have the code you need to incorporate and it's been thoroughly tested.
Everything that was once, will be again... (Score:3, Informative)
As time goes on, they keep reinventing bits and pieces of Unix.
Re:What's the motivation (Score:3, Funny)
Re:What's the motivation (Score:3, Insightful)
Re:What's the motivation (Score:5, Interesting)
Yeah, it sucks when that happens [mozilla.org].
Of course you can always "embargo" all your vulnerability details (see for example bug #294795) - and feel comfortable in your superior position!
Parent
Re:Oopsie! (Score:4, Interesting)
Oh, and just for completeness, vulnerabilities have been found in Firefox since 1.0, so the argument that only Microsoft releases "beta" (read: vulnerable/insecure) code as production-level software doesn't work either.
Parent
Re:Not a vulnerability (Score:5, Insightful)
Plus, Hakko Mipponen (or whatever his name is) has to make a living scaring the bejezus out of everyone - what better way to get started than with something that's not even really out of alpha?
Parent
Re:Not a vulnerability (Score:3, Insightful)
Am I suppose to believe you're him?
But very few of the most widespread viruses in the world rely on vulnerabilities.
Right, and assuming you are Hypponen, how does this affect you (or not)? I was making a comment about Slashdot, not you.
OTOH, assuming you are who you say you are, let me just say that I'm hardly the first person in the world to point out that companies like F-Secure tend to be on the unfortunate side of hysteria when it comes to reporting vulnerabilities. So don't be off
Re:Not a vulnerability (Score:3, Interesting)
The real issue is that I do not want a case-sensitive file system, or one that requires me to do all sorts of command line incantations to run a script. It's not my fault that Joe User and his 1,000,000 friends are stupid.
In any case, I can send you a tarball with the execute bit turned on and ask you to unpack it and run the REAL COOL ANNA KOURNIKOVA SCREENSAVER!!!, and chances are you'll do it. Chances are when Linux hits the "big time" there will be something slightly more functional t