Slashdot Mirror


First (proof-of-concept) .NET virus

Juergen Kreileder writes "Symantec says they've received W32.Donut, the first .NET virus: 'This virus targets EXE files that were created for the Microsoft .NET framework. W32.Donut is a concept virus. It does not have any significant chance to become wide spread. However it shows that virus writers are paying close attention to the new .NET architecture and attempting to learn how to exploit it before the Framework will be available on most systems.'"

143 of 384 comments (clear)

  1. .NET? by MantridDronemaker · · Score: 2, Interesting

    Heh I still haven't fully figured out just what .NET is - as near as I can figure it's a framework to allow for easier Application Hosting? I also get the idea that MS is going to be cramming it down our throats :)

  2. Also at El Reg by Anonymous+Brave+Guy · · Score: 5, Informative

    More details also at The Register.

    --
    If you disagree, post your argument. (-1, Overrated) isn't your personal censorship tool for views you don't like.
  3. heh by kitts · · Score: 5, Funny

    This is, of course, not counting the slightly philosophical argument that .NET is the first .NET virus.

    --
    -------------------------------------------------- ----
    charlton heston is more of a man than yo
  4. A concept virus? by k98sven · · Score: 4, Funny

    Sounds like the vaporware phenomenon has extended to virii.

    1. Re:A concept virus? by Squeeze+Truck · · Score: 2

      I believe that the removal of the "u" from colour (and humour, honour, behaviour &c.) was an intentional act attributed to that great American linguistic social engineer Noah Webster.

      The mispellings you speak of probably predate Mr. Webster however.

      --

      "Reactionaries must be deprived of the right to voice their opinions; only the people have that right." - Mao

    2. Re:A concept virus? by Squeeze+Truck · · Score: 2

      Ah the old prescriptive vs. descriptive debate...

      Yes, the rules of grammar should closely model how the language is actually spoken.

      However, there is much to be said for encouraging use of a "standardized" grammar. A standardized grammar means efficiency, which translates to political and economic power. Just look at the agony that China, India, Japan, Turkey &c. went (and go) through trying to make it so that everyone in the country is able to communicate with everyone else in the country.

      In Japan, for example, "standard Japanese" is said to be in decline.

      --

      "Reactionaries must be deprived of the right to voice their opinions; only the people have that right." - Mao

    3. Re:A concept virus? by Tony-A · · Score: 2

      Microsoft.

  5. Yay by 1g$man · · Score: 2, Insightful

    And this is different from any other Win32 virus how?

    So .net code is either compiled to native .exe code or into intermediate code, which a virus could, yes, infect. how is this more or less dangerous than compiling normal C/C++ code into an .exe which can spread viruses?

    1. Re:Yay by Archanagor · · Score: 2, Insightful

      But, isn't byte code related to assembly? (granted it's instructions for the .NET runtime, not an Intel x86 compatible machine, but it's still a sequence of instructions.)

      Wouldn't the virus still be a seqence of bytes? I mean, it's not like the virus scanners run the code in a virtual machine to determine if it's a virus.

      Also, what about macro viruses and e-mail viruses. Isn't this how AV software scans those files?

      Maybe I'm missing the boat here...

  6. The real question at hand: by Ieshan · · Score: 2, Funny

    If Symantec were to host a poll that asked:

    Is Microsoft .NET secure, after we found the first virus to infect the software:
    a) Yes
    b) No
    c) Hell No

    Would a) be the most popular choice because of Microsoft Vote-Rigging and Ballot Stuffing? ;)

    1. Re:The real question at hand: by Xenopax · · Score: 4, Funny

      What would be the results if Microsoft held this poll?

      Is Microsoft .NET secure, after Symantec found the first virus to infect the software:

      a) Yes
      b) Sure
      c) You bet!

    2. Re:The real question at hand: by cscx · · Score: 4, Funny
      a) Yes, Microsoft are evil soulless monsters
      b) No, "a" would be popular because it's true
      c) No, /.ers would flood the poll towards c
      d) No, polls are always accurate
      e) fish.
      You forgot:

      f) CowboyNeal.NET

  7. Even if I hate .NET, I have to be realistic... by 2Flower · · Score: 4, Interesting

    .NET is dangerous. It's a security disaster waiting to happen. I don't want to use it if I can avoid it...

    See last sentence. WILL we be able to avoid it, realistically? A lot of /.'ers might be able to, but folks who still have to live and work with Microsoft products in the workplace or even at home and want to get things done online might not have a choice. If online shopping services convert over to .NET or god forbid my bill payment services, it's going to be very difficult to avoid having to make that Passport account and start using .NET.

    So, taking the hypothetical stance that one would need to eventually get registered to use .NET services they can't avoid using, what can be done to protect yourself and your data? Are there any .NET developers out there who can comment on how much risk is involved and how it can be minimized beyond 'Don't use it'?

    1. Re:Even if I hate .NET, I have to be realistic... by wo1verin3 · · Score: 3, Informative

      The day i'm FORCED to use a passport, to do business with a NON-MICROSOFT company, is the day I stop doing business with that company.

    2. Re:Even if I hate .NET, I have to be realistic... by SirSlud · · Score: 2

      um .. throw our clothes off, and climb back up into the trees?

      I'm of the opinion that ANY of these technologies that automate/facilitate transparent communication between computers is, in itself, a virus platform. I mean, we'll get to a time where we won't even be sure what's a virus and whats not; I guess this is the idea behind 'trusted signing authorities', but really, doesn't this confirm the whole orwellian push towards trusting and serving corperate entities more so than our friend and his/her computer? I really don't mind wasting a few megabytes and engaging in application updates/downloads/installs/deinstalls/exports/impo rts/etc if it means I can actually keep knowing whats going on under the hood.

      What's the point of running a fatclient if all it ends up being is a thinclient with something to lose?

      Maybe this is where it should go. Your HD becomes your 'computer', then way we think of it now, and you still have to authorize things going from/to disk. Other than that, I dont want my OS acting as a thin client to a network when I have fatclient-style sensitive or important data on it.

      --
      "Old man yells at systemd"
    3. Re:Even if I hate .NET, I have to be realistic... by SnakeStu · · Score: 3, Insightful

      That's my first thought too, but... what if "that company" is the power company, or the garbage company, or the phone company (the only one to provide service in my area), or something like that? As much as I would love to live "off the grid" I'm not in position to do it yet, so if "essential" -- but privately owned -- services start forcing consumers to use Passport "to provide betteer service" (puke), I'm screwed, as would many people be.

    4. Re:Even if I hate .NET, I have to be realistic... by sheetsda · · Score: 2

      Granted I haven't been paying much attention to .NET, but it seems to me it's dangerous because the second someone is able to crack that server cluster they can know everything about everyone, everywhere. (I think applies to the branch they refer to as Passport). .NET, IIRC, is a software-stored-server-side-so-we-can-charge-you-m onthly thing. Thats a nice big fat DDoS target. "We're sorry, you can't use MS Office today because the internet is broken. Try again in a week." Any business that's using .NET when that happens is going to be hurting badly, on the bright side MS will probably lose its cash stockpile in lawsuits. If any of this is wrong somebody call me on it.

    5. Re:Even if I hate .NET, I have to be realistic... by Jaysyn · · Score: 3, Insightful

      umm...I still know lots of people without computers. If infrastructure companies decided to do this, how would they recieve payment from the less tech inclined. I don't think they would me handing out emachines to the constituents or anything like that.

      Jaysyn

      --
      There is a war going on for your mind.
    6. Re:Even if I hate .NET, I have to be realistic... by Jason+Earl · · Score: 5, Interesting

      AOL will almost certainly throw their millions of users towards some other system, and web sites will be forced to support both AOL's system or Microsoft's, or neither (they will probably just stick with whatever they are doing now).

      Trust me, Microsoft's Passport numbers look impressive, but that's almost entirely due to Hotmail (which Microsoft doesn't charge for). In other words they have a load of crap data, and they are just now trying to get folks to actually associate this information with useable information like credit card numbers. To make matters even more interesting, Microsoft has had several well published security exploits. Only the dimmest of dim bulbs is going to trust Microsoft with their billing information (especially since chances are good that all of the places that they purchase things online already have this information). AOL, on the other hand, already has billing information for each and every one of their customers. They have literally got exactly what they need to make Internet Shopping truly painless.

      Better yet, there is at least some chance that AOL will share their Passport equivalent, which will almost certainly spread to other large ISPs.

      And finally, every eCommerce site currently in existance already has a way to charge you money. They aren't likely to throw their old software away and change to a .NET only site. Microsoft is the only company I can think of that has a good reason to force paying customers towards .NET.

    7. Re:Even if I hate .NET, I have to be realistic... by CaptainSuperBoy · · Score: 5, Informative

      When you say .NET, you seem to be referring to the .NET initiative, a company-wide push for XML web services. This is separate from the .NET framework, which is what the virus is about.

      The .NET framework is an executable platform, with an intermediate language runtime (much like Java bytecode). This is the platform the virus was found on. For compatibility, a 5 byte stub of native code is used to start the execution of MSIL code. The virus infects this stub. You could compare this to a 'java' virus that infected your JVM.

      In contrast, the .NET initiative has its own problems. It seems like that's what you're thinking of - the issues with Passport, etc. That's a separate issue and it deserves a lot of evaluation before it's declared a safe platform for storing sensitive information.

    8. Re:Even if I hate .NET, I have to be realistic... by Kallahar · · Score: 4, Funny

      You said "Internet Shopping" when you should have said "AOL Shopping". If I want to buy a book online I don't want to be forced to sign up with AOL.

      Repeat after me: AOL is not the internet.

    9. Re:Even if I hate .NET, I have to be realistic... by Geeyzus · · Score: 2, Informative
      If online shopping services convert over to .NET or god forbid my bill payment services, it's going to be very difficult to avoid having to make that Passport account and start using .NET.

      So, taking the hypothetical stance that one would need to eventually get registered to use .NET services they can't avoid using, what can be done to protect yourself and your data?

      The whole world isn't online.
      • Don't pay your bills online. Mail them like many people do.
      • Don't shop online. Sometimes it is very convenient to do this, so in those cases look up the item online, and then call in the order over the phone using your credit card, or mail the vendor a check. If the online vendor you are looking at doesn't support this, choose another.
      As far as being a developer, there isn't much you can do, but you can minimize the risks to yourself by not using .NET (or computers in general) to handle your money transactions.

      Mark
    10. Re:Even if I hate .NET, I have to be realistic... by SirSlud · · Score: 2

      Hey thanks. It felt suragary sweet when it came out of me. I thought I had tripped onto the meat of the matter myself; nice to be validated. :)

      --
      "Old man yells at systemd"
    11. Re:Even if I hate .NET, I have to be realistic... by tshak · · Score: 2

      How is the .NET framework (what this article is about) dangerous? This is like saying "J2EE" is dangerous. What you are saying, is regardless of Sun, IBM, or MS (.NET services), that Web Services are dangerous. A Web Service is an open standard that .NET, J2EE, and other platforms support. Unfortunatly the .NET marketing campaign has greatly confused the issue.

      --

      There is no longer anything that can be done with computers that is nontrivial and clearly legal. -- Paul Phillips
    12. Re:Even if I hate .NET, I have to be realistic... by Jason+Earl · · Score: 2

      Tthe last big Passport hack made the news, as did the recent problems with Windows XP. People notice these things.

    13. Re:Even if I hate .NET, I have to be realistic... by jd142 · · Score: 2

      If you are on AOL you can have the familiar AOL interface to do your shopping and those same companies can provide shopping by more traditional means (HTML, etc.) while still using a AOL account.


      I am not an AOL user any more (I was about 5 years ago), so I could easily be mistaken. I thought AOL already does this for some of its partner stores. You could buy things at the partner store and they'd just end up on your aol bill.


      But I could easily be misremembering from years ago.

    14. Re:Even if I hate .NET, I have to be realistic... by josh_miller · · Score: 2, Insightful

      Public utilities will never force you to pay online. They may offer the opportunity, and it may require .NET, but they'll always accept a check. Imagine requiring internet access to get a phone or electric service! Won't happen. Ever.

  8. Even before you have a proof-of-concept app? by 2Bits · · Score: 2, Troll
    And you already had a proof-of-concept virus before you have a proof-of-concept application? Now, you have to wonder if this .NET framework was developed for applications or for virus. Or there's no distinction between the two, as far as .NET is concerned?

    1. Re:Even before you have a proof-of-concept app? by scott1853 · · Score: 2

      Technically, a virus is an application, just usually one that does something you don't want it to do.

    2. Re:Even before you have a proof-of-concept app? by Pfhreakaz0id · · Score: 3, Informative

      people have been writing .NET apps for well over a year. There are web sites (including some of MSDN, for instance), running on .NET .aspx pages. You can by books on .NET for pete's sake.

    3. Re:Even before you have a proof-of-concept app? by 1g$man · · Score: 3, Informative

      .NET can't be released because .NET is not a product.

      .NET is a platform. There are many applications and services that make up the platform. Some parts of the platform have been/are being rolled out.

      Passport/.NET my services is one
      Visual Studio.NET has "gone gold" and will be shipping soon.
      various bits of .NET are included in Windows XP
      .NET alerts are included in the latest MSN Messenger.

      Yadda Yadda.

      Anyway, I think calling this virus a ".NET virus" is mis-information. This virus is a Win32 virus. It doesn't work across all .NET implementations, only Win32 PE format executables. Therefore, it wouldn't work with .NET executables on another platform. It wouldn't even work on 64 bit windows.

  9. Conference included .NET virus capabilities by Dancing_monkey_boy · · Score: 5, Informative

    AV companies have been aware of the possibility for a while. It was discussed at the 2001 Virus Bulliten Conference. Here are the abstracts from two papers: MSIL For The .NET Framework: The Next Battleground? amd The Effects of Microsoft .NET on Malicious Threats.

  10. Mono by gordon_schumway · · Score: 4, Funny

    But does it work in Mono?

    --

    Ha! I kill me!

    1. Re:Mono by the_2nd_coming · · Score: 2, Informative

      Mono is not .NET

      Mono is an implementaion of C# that is it. .NET is a platform and an archetecture.

      --



      I am the Alpha and the Omega-3
  11. Author is benny by jtra · · Score: 5, Informative
    His home page is at:
    http://benny29a.kgb.cz/

    There was a interview with him for Softwarove Noviny (czech magazine), its translation is at:
    http://benny29a.kgb.cz/articles/iigi.txt

    --
    -- Wanna textmode user interface for ruby? http://freshmeat.net/projects/jttui/
  12. Origin? by jbailey999 · · Score: 5, Interesting

    If I remember right, the original word-macro "concept" viruses infected all of the inside of Microsoft within days and had a total payload of "See, I told you it could be done." Several news sources suggested that it was written inside Microsoft by a tech to prove a point.

    I wonder if this too, was a similar sort of event.

  13. l337 hax0r by xg0blin · · Score: 4, Funny

    Wow, he managed to make a virus that infects MICROSOFT software? Holy crap....

  14. The virus. by miguel · · Score: 5, Insightful

    Well, this virus really does not do anything interesting. .NET as any other complete programming environment will allow you to create replicating code (oh big surprise).

    These kind of virus programs will probably not succeed in the NT world with user permissions or in any system with per-user permissions (Linux). Although theoretically possible (root runs the virus) in practice this kind of virus programs never succeed on the wild due to this kind of security mechanisms.

    For .NET "applets" or any other .NET code that is downloaded from the network and executed, the virus would throw an exception because it would not have permission to touch your file system.

    1. Re:The virus. by gergi · · Score: 2, Troll

      um... have you ever looked at Microsoft track records about stuff like that? I would not trust the permissions surrounding .NET's applets (e.g. lock on file system access)... I can't wait for the first applet with a buffer overflow access violation that gives a hacker full access to a Windows server.

      --
      Nosce te Ipsum
    2. Re:The virus. by archen · · Score: 2, Informative

      Like the other worms (code red, nimda) that didn't infect NT? Security is more than running junk with user permissions. While users of NT might not be as prone to spread it, the virus itself might use other means (like the aforesaid worms) to spread itself. Who knows what in the hell is going to happen once there is a server version of Windows XP (gag).

    3. Re:The virus. by chrysrobyn · · Score: 2, Insightful

      These kind of virus programs will probably not succeed in the NT world with user permissions or in any system with per-user permissions (Linux). Although theoretically possible (root runs the virus) in practice this kind of virus programs never succeed on the wild due to this kind of security mechanisms. I must confess that I disagree that per-user security permissions halt this type of virus (re)productivity. Sure, %USER1% can't alter the files of %USER2%, but can't you see that %USER1% can use more than his/her share of the processor, hindering %USER2% in some way? Or, if %USER1% sends an e-mail to %USER2% containing self-replicating code, and %USER2% executes it (either through automation or ignorance), that has effectively circumvented per-user security. Now, you don't have just one virus on your system, but two.

    4. Re:The virus. by mrmag00 · · Score: 2, Insightful

      Criminals are terrorists too. When people steal you car they are terrorists because you can't get to work to publish your paper. Drugs support the terrorist ideals too - they degrade our society! shut the hell up, christ.

      I agree with the comment, but stop calling everybody terrorists. right now i could care less about my karma, just stop using this stupid word to describe everything.

    5. Re:The virus. by miguel · · Score: 3, Insightful

      Although it is not well known, .NET includes the same kind of functionality to develop "applets".

      .NET comes with a security system in place to enable to execute dynamically and untrusted code in your application domain.

      For example, you could be running an untrusted math analysis tool that is downloaded from the network into say your spreadsheet program without having to worry about the plugin damaging your system (security system kicks in).

      Miguel

  15. Did anybody else.. by mandolin · · Score: 5, Funny
    ..read that as "Symantec says they've released W32.Donut, the first .NET virus"?

    Now that's a business strategy.

    1. Re:Did anybody else.. by recursiv · · Score: 2

      But it *doesn't* say released!
      sheesh...

      --
      I used to bulls-eye womp-rats in my pants
    2. Re:Did anybody else.. by MrBlack · · Score: 2

      But why the silly name? the virus writer called it dotNet, but Symantec decided to call it Donut instead...why? Is naming a virus like naming a cyclone or commet?

  16. Not particularly surprising by gergi · · Score: 4, Insightful

    I'd find it more surprising that hackers weren't already at work trying to hack .NET. Imagine the free pickings some criminally-inclined hacker could have... all the credit card numbers, personal info, etc they ever desired about people who are on average probably pretty clueless (otherwise, they wouldn't be using .NET most likely)

    --
    Nosce te Ipsum
    1. Re:Not particularly surprising by sheldon · · Score: 2

      Well obviously you won't be one of them hackers since you apparently have no clue what .Net is.

  17. Re:Donut? by hogsback · · Score: 2, Informative

    AV companies rarely name the virus by the name the virus author wants. This is done so that there is, hopefully, less incentive to write a virus.

  18. And .NET... by xanadu-xtroot.com · · Score: 4, Funny

    ...was "voted" to be the "Platform of Choice".

    lol

    --
    I'm not a prophet or a stone-age man,
    I'm just a mortal with potential of a super man.
  19. Virus Check every SWF, etc? by gmhowell · · Score: 5, Insightful

    Do virus checkers currently check SWF, java, etc files that are downloaded through web browsers?

    It seems that while everyone says we have 'more than enough processing power' it is going to be sucked up by virus scanners and "do you want to run this" pop-up boxes.

    Except of course (for now) on Linux.

    A side point: everyone says "don't run as root, only run as a regular user". Sure. No problem. But suppose I run as a regular user, and get some virus/trojan/whatever. I've got a lot of stuff in my home directory. In fact, I'll even say that it's easier to replace / than /home/*. Are people doing development work under one account, reading email in another, browsing the web in a third, and ripping CD's in a fourth account? Didn't think so. And for that reason, sooner or later, we need more helpful Linux virus solutions than "don't run as root".

    --
    Jesus was all right but his disciples were thick and ordinary. -John Lennon
    1. Re:Virus Check every SWF, etc? by zulux · · Score: 5, Insightful

      In fact, I'll even say that it's easier to replace / than /home/*.

      This is the crux of the mater! /home/* has all of my carfully handmade files. The rest of the tree is all GPL/BSD stuff that I can get off the net and have reinstalled in under an hour. Trash my /usr/local/bin directory and I really won't cry. Trash my /home/posgres directory and I'll loose my billable hours for today.

      If anything Unix needs to push it over the top as far as a secure server operating systems is the ability to tell the OS that "This File can never be deleted and can only be appended to by Postmaster. Forever. No matter what. Even if I want to get rid of it later." If I could give my clints that, they would jump to UNIX no matter what hurdels thay had to jump - they have lost too many Outlook folders and too many database tables due to the insecurity of Windows. They would RUN to Unix.

      Just me and my rambelings. And yes I know about backups and rsyncing from a locked down OpenBSD box.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    2. Re:Virus Check every SWF, etc? by gmhowell · · Score: 2

      Why would you be kept from opening a fake smtp/ftp/http server? If I understand correctly, you'd only be prevented from running on ports below 1024. If I write a virus that creates an open mail relay on port 60000, couldn't I then just say to the spammers "hey, check out port 60000 when looking for relays".

      For some reason, I seem to remember that there was something special about ports1024 other than that they need root access, but I don't know the specifics. Little help?

      I agree that it should be harder to create virii for Linux. Not only do the plethora of distros make this more difficult, but so do the version numbers of programs within a distro (some Debian packages seem to update at least once or twice per week). But this also strikes me as at least a little bit 'security through obscurity'.

      And I'm not arguing for a change in that. What I'm arguing for (and not strongly at that) is that while the Linux community is relatively safe, wouldn't now be the time to put in various safety features? Wouldn't now be the time to put in virus scanners? Because of the small number, it should be easier to compile a fairly comprehensive list of signatures, so work can be devoted to the signature checker, rather than on writing signatures.

      Just a thought.

      --
      Jesus was all right but his disciples were thick and ordinary. -John Lennon
    3. Re:Virus Check every SWF, etc? by he-sk · · Score: 2

      Let's see:

      20:45 viktor@bart:~ $ which su
      /bin/su
      21:03 viktor@bart:~ $ echo "virus" > /bin/su
      bash: /bin/su: Permission denied
      21:03 viktor@bart:~ $ ls -l /bin/su
      -rwsr-xr-x 1 root root 23276 22. Okt 17:25 /bin/su
      21:04 viktor@bart:~ $ id
      uid=1000(viktor) gid=1000(viktor) groups=1000(viktor),24(cdrom),25(floppy),29(audio) ,44(video)

      Darn!

      --
      Free Manning, jail Obama.
    4. Re:Virus Check every SWF, etc? by dasunt · · Score: 2

      I'm a clueless linux user mostly, but wouldn't a root cron job to tar up your home directory and store it in a place not accessable by your user account work?

      Wow, that's a spiffy idea. I think I'll patent it with the name "backup". :)

    5. Re:Virus Check every SWF, etc? by mwa · · Score: 2

      Only put trusted directories in your path. If you use any directory that users (including you) can write to in your path, then you're vulnerable to this. Also never put relative paths (including [if not especially] '.'). An 'su' could be dropped in any random directory just waiting for you to call it when you're in that directory.

    6. Re:Virus Check every SWF, etc? by SanLouBlues · · Score: 2

      No need to check Java class files. Unless they're run locally they've got rather limited capabilities. That's why there haven't been any Java virii. The sandbox concept works well.

    7. Re:Virus Check every SWF, etc? by mandolin · · Score: 2
      If anything Unix needs to push it over the top as far as a secure server operating systems isthe ability to tell the OS that "This File can never be deleted and can only be appended to by Postmaster. Forever. No matter what. Even if I want to get rid of it later."

      It's hard to know you *never* want to get rid of a file, or even rename it or move it somewhere else.

      New viruses would just create a bunch of humongo crap files in your home directory (maybe called hardcoreporn.jpg for any admin/boss types happening to peruse your files) and then mark them undeletable.

      Finally, if you want to achieve a crude approximation of your goal just chown the files to root and chmod them to 444 or something. Of course this scheme fails when you're running as root..

    8. Re:Virus Check every SWF, etc? by Jason+Earl · · Score: 5, Insightful

      Imagine you are a virus. Now tell me how exactly are you going to spread using the stuff found in your home directory. Viruses spread by attaching themselves to executables, but I don't have any executables in my home directory, and if I did there is almost no chance that some other user is going to run them. If by some amazing obscure fluke I did have some binaries in my home directory, and I just so happened to mail one of those infected binaries to a friend, even if my friend did run this binary the virus is stuck with the same low chances for infection. It can only infect files that my friend has read access to, and it can only carry out tasks that my friend has permission to do.

      In other words such a beast has almost no chance of actually spreading.

      Now, someone could send you a malicious email attachment. Something along the lines of:

      #!/bin/sh
      rm -rf ~/

      Of course, this sort of binary has very little chance of getting run. After all, there isn't an email client for Linux that I am aware of that would make this sort of attachment easy to run. You would have to save it to your home directory, set the executable bit, and then run it.

      And even if you did run it, how would it spread. It might try and email itself to everyone in your address book, but Linux doesn't have a default address book, nor is it likely to ever have one. Some folks use mutt, others use Pine, Evolution has it's own format, as does Aethera, and for folks like me that use Emacs to read our mail there are several possible places to put our address book.

      Windows has a ton of viruses for four basic reasons:

      1) There are no sensible file permissions. Users can write to system files.

      2) Microsoft has made it easy to do some incredibly stupid things. For example, getting the contents of your address book is dead simple.

      3) Microsoft has blended the line between executable content and data. Double clicking on an icon can either launch a program or open a document. Some documents (like MS Word files) can even contain executable content with full access to your system.

      4) Microsoft is a ubiquitous mono-culture. A Microsoft exploit has plenty of susceptible victims, making it easier for viruses to spread. Even if someone did write a Linux mail virus, the chance of it working on both my Emacs/Gnus set up and someone else's Evolution setup is highly unlikely. Without enough susceptible victims viruses can't spread.

      Even if all of the Joe Sixpacks in the world were running Linux it still would be a good deal less dangerous than what Windows users currently face.

    9. Re:Virus Check every SWF, etc? by gmhowell · · Score: 2

      Scan through the rest of the thread. It works, except that you don't necessarily know when you were infected. So restoring that backup might just mean that you've restored the virus.

      But, that's basically what I do.

      --
      Jesus was all right but his disciples were thick and ordinary. -John Lennon
    10. Re:Virus Check every SWF, etc? by Steveftoth · · Score: 2

      Don't forget about class verification. Without that, it would be possiable to make a java class that could overrun or mess up the stack easily.

      I do think that it's amazing that the sun jvm hasn't had any really bad security problems with Java yet. At least after version 1.2 (afaik).

    11. Re:Virus Check every SWF, etc? by gmhowell · · Score: 2

      Good points, all. But I would like to make a reply to your final sentence:

      Even if all of the Joe Sixpacks in the world were running Linux it still would be a good deal less dangerous than what Windows users currently face.

      Windows should not be the yardstick. Hell, even Linus more or less thinks so. We (as Linux users/admins/programmers/whatever) should be attempting to achieve the ideal solution; we should not simply be trying to be better than Microsoft.

      IIRC, Plato talked about ideal forms. That is what we should be striving for.

      --
      Jesus was all right but his disciples were thick and ordinary. -John Lennon
    12. Re:Virus Check every SWF, etc? by Jason+Earl · · Score: 2

      NTFS permissions could do all of this and more. Of course, nearly 90% of the installed Windows base won't read NTFS partitions, and even if you are running a Windows NT based OS, chances are good that you haven't completely locked down the system files, or taken the current directory out of your path, or done all of the other things that would be necessary to make Windows match up to even the least secure Linux install I have ever seen. And if you did lock it down you will almost certainly find that some of your software no longer runs! When Windows NT came out you couldn't even run MS Office without allowing write access to files in the system directories (I am fairly sure that Microsoft at least has cleaned up their act since then).

      The theoretical security of Windows is no match for the actual security of even the laxest Linux install.

    13. Re:Virus Check every SWF, etc? by Jason+Earl · · Score: 3, Insightful

      Absolute security wouldn't be any fun. It would entail turning off the computer, burying it in concrete and firing it off towards the center of the sun. Linux gives the user a great deal of security without being unusable. It's pretty close to the "ideal form" IMHO.

      Of course, I am not too paranoid. You might prefer OpenBSD :).

    14. Re:Virus Check every SWF, etc? by he-sk · · Score: 2
      I guess you've never rooted anyone.


      Nice. Haven't thought of this.
      --
      Free Manning, jail Obama.
    15. Re:Virus Check every SWF, etc? by mcrbids · · Score: 2

      Right. Try "rm -rf /" as a user...

      Anyway, there is the LIDS project that you might be interested in... that it it's primary goal!

      -Ben

      --
      I have no problem with your religion until you decide it's reason to deprive others of the truth.
    16. Re:Virus Check every SWF, etc? by Bronster · · Score: 2

      2) Microsoft has made it easy to do some incredibly stupid things. For example, getting the contents of your address book is dead simple.

      So what:

      cat /etc/aliases ~/.aliases /home/*/.aliases | perl virusmailer.pl

      (the last just incase anyone else on the system has left their aliases file world readable).

      Will get quite a lot of programs. Of course you could make it more intelligent easily enough to account for most of the common programs.

    17. Re:Virus Check every SWF, etc? by Jason+Earl · · Score: 2

      This would work on a system that had a lot of users, but it certainly wouldn't work on a desktop system. Making sure that your shell servers were separate from your imap servers would close this hole up tight. Any user that ran this script (assuming that he or she was dumb enough to run it and yet smart enough to know how) would simply send root a big pile of mail (imagine the LART that user would get). This also assumes that your SMTP server isn't storing its aliases in LDAP somewhere.

      The fact of the matter is the number of machines on the Internet where people actively read their mail and also have an /etc/aliases that actually has valid addresses in it is totally small. In fact, even if everyone used Linux on their desktop the number of susceptible hosts would be miniscule. And since /etc/aliases doesn't generally hold a lot of mail addresses from another host (just the admin's, and hopefully he or she isn't entirely clueless) the chances of this virus spreading beyond one host is ridiculously small.

      The comparison between this problem and how easy it is to get a users email address list with Outlook is simply laughable.

    18. Re:Virus Check every SWF, etc? by Bronster · · Score: 2

      The comparison between this problem and how easy it is to get a users email address list with Outlook is simply laughable.

      Sure, though grepping through ~/mbox, /var/mail/$USER and similar spots will also find addresses, as will looking through things like Kmail and friends private mail storage. Shit, if you really wanted to you could write something that greps for email addresses through every file in ~/. Sure it's not quite so easy, but it's not rocket science either.

    19. Re:Virus Check every SWF, etc? by Tom · · Score: 2

      > If anything Unix needs to push it over the top
      > as far as a secure server operating systems is
      > the ability to tell the OS that "This File can
      > never be deleted and can only be appended to by
      > Postmaster. Forever. No matter what. Even if I
      > want to get rid of it later." If I could give my
      > clints that, they would jump to UNIX no matter
      > what hurdels thay had to jump

      man chattr

      this functionality has been in UNIX for years. it isn't used much, though.

      --
      Assorted stuff I do sometimes: Lemuria.org
    20. Re:Virus Check every SWF, etc? by Jason+Earl · · Score: 2

      Making it more difficult is the entire point. As long as you are actually storing the email addresses on your computer somewhere then the virus could potentially find them. However, you have raised the bar significantly for virus writers, and you have therefore made it much harder for the virus to actually find susceptible hosts for propogation. Getting the users address book in Windows is a one command type deal. Searching the myriad places that a Unix user might put their personal address book is another thing entirely. If I use LDAP for my address book and IMAP to read my mail chances are good that there aren't even any email addresses on my machine. And if the virus writer makes a mistake (say grep outputs some a line his script wasn't expecting), then it's game over the virus won't propogate on that machine and all machines with the same sort of setup.

      Computer viruses work in the same way that human viruses do. If enough of the population is immune to the virus, then the virus doesn't spread (even if there are susceptible hosts in the population).

      So the question isn't making viruses impossible. Clearly that isn't ever going to happen. The point is to make it more difficult for viruses to spread.

      Windows + Outlook has gone out of its way to make email viruses easy to spread, and even so chances are good that a careful Windows user has never been infected. If the average user was even a little bit better protected by his or her operating system and mail client then email viruses could very well cease to exist. Just removing the ability to launch a program by double clicking on the icon would probably see the end of email viruses. If users had to save the file to their hard drive, make the program executable by changing the properties and then double click on it I am sure that most viruses would fail to propogate.

    21. Re:Virus Check every SWF, etc? by Tony-A · · Score: 2

      Are people doing development work under one account, reading email in another, browsing the web in a third, and ripping CD's in a fourth account?
      Maybe they should be.
      Should a bug in software being developed be able to wipe out all your email?

    22. Re:Virus Check every SWF, etc? by Tony-A · · Score: 2

      You have a rouge account on a multiuser box. This rouge account sets up a server that claims to accept mail for everybody on the box. Big problem. Requiring root access to bind to a low-numbered port protects against forms of identity theft, but opens up a new set of vulnerabilities.
      I imagine the 1024 is completely arbitrary.

  20. Symantec. by ImaLamer · · Score: 3, Interesting

    Don't forget everytime a new version of Windows comes out Symantec gets to sell a million copies of it's software.

    I know most people won't agree, but doesn't Symantec stand to make a mint if this is true?

    I guess they needed a virus before they released anti-virus software.

  21. I tossed .NET in the fire and this came up! by Dutchmaan · · Score: 3, Funny

    One OS to rule them all, one OS to find them, one OS to bring them all, and in the darkness bind them.

    1. Re:I tossed .NET in the fire and this came up! by gergi · · Score: 2

      In the Land of Microsoft where the Shadows lie.

      --
      Nosce te Ipsum
    2. Re:I tossed .NET in the fire and this came up! by wiredog · · Score: 2
      The meter is much better if you say:

      In the Land of Redmond where the Shadows lie.

    3. Re:I tossed .NET in the fire and this came up! by zulux · · Score: 2

      One OS to rule them all, one OS to find them, one OS to bring them all, and in the darkness bind them.

      Please stop saying nasty things about my precious Emacs.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    4. Re:I tossed .NET in the fire and this came up! by sharkey · · Score: 2

      In Redmond where the shadows lie.

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  22. Wow... by Wakko+Warner · · Score: 5, Funny

    ...this is also quite possibly the first .NET application!

    - A.P.

    --
    "Remember when the U.S. had a drug problem, and then we declared a War On Drugs, and now you can't buy drugs anymore?"
  23. Homer Sez by ocie · · Score: 4, Funny

    MMMMM, W32.Donut.

    --
    JET Program: see Japan, meet intere
  24. Or decent backup by doublem · · Score: 3, Informative

    Set a Cron Job that does a backup every hour or two. Have the file time stamped and rotate out the oldest backups in a way that you hard drive space allows.

    Full backup every few days, and incrementals throughout the day. Bit of thrashing, but it will protect you from most problems.

    --
    "Live Free or Die." Don't like it? Then keep out of the USA
    1. Re:Or decent backup by gmhowell · · Score: 2

      Wish I had included this in my earlier post. I do okay backups, but backing all of that up is expensive for my broke ass. (Of course, I guess I could do the cheap hard drive bit.)

      But how do you know when the infection occured? At the very least, you'd have to check your crontab to ensure that you did set 'rm -rf ~/' to run every twenty minutes starting five days from now. IOW, yes, backups are nice, but wouldn't it be better to prevent the barn door from opening rather than closing it after the horses are out?

      (Again, I'm not trying to flame. I just think that a back up is only one part of a useful anti-virus policy.)

      --
      Jesus was all right but his disciples were thick and ordinary. -John Lennon
    2. Re:Or decent backup by doublem · · Score: 2

      Good point.

      I generally keep a fairly complete set of incremental backups on CD and ORB Disk, but restoring from backup, especially from tape or CD (SCSI ORB Drive is not a speed issue) is a massive time hit, even if you're only restoring your /home/ directory

      It's the old "An ounce of prevention is worth a pound of cure" scenario.

      Hey! I just admitted I was wrong! I must not have spent enough time reading /. The last few weeks.

      --
      "Live Free or Die." Don't like it? Then keep out of the USA
  25. No sandbox = .NET security by coltrane99 · · Score: 5, Informative
    (from the Symantec site)

    "Normally .NET files do not have any platform dependent code, but a small 5 byte stub. This stub executes the mscoree.dll _CorExeMain() function and thus the .NET MISL (intermediate language) gets control if the .NET framework is installed."

    "The virus infects .NET executables by attacking the 5 byte jump to the _CorExeMain() function. It replaces this jump, with another one to point into the last section of the executable, it overwrites its .reloc section with itself and nullifies the relocation directory."

    Interesting. I predict we will be seeing many, many attacks on .NET somewhat similar to this, since Microsoft kept function pointers (which are unverifiable) in the mix. Good for the checkbox battles, but fatal for security.

    1. Re:No sandbox = .NET security by edbarrett · · Score: 2, Insightful

      (from the Symantec site)

      "Normally .NET files do not have any platform dependent code, but a small 5 byte stub. This stub executes the mscoree.dll _CorExeMain() function and thus the .NET MISL (intermediate language) gets control if the .NET framework is installed."

      "The virus infects .NET executables by attacking the 5 byte jump to the _CorExeMain() function. It replaces this jump, with another one to point into the last section of the executable, it overwrites its .reloc section with itself and nullifies the relocation directory."

      The paragraph in between that you deleted read:

      Thus currently a .NET application executes native code before it will execute the platform independent code. According to Microsoft this native code will be removed and the operating system itself will recognize and execute .NET images.

      So, supposedly, this only infects Beta 2 of .NET. It also states this attack does not work against Beta 1.

    2. Re:No sandbox = .NET security by rhysweatherley · · Score: 2
      So, supposedly, this only infects Beta 2 of .NET. It also states this attack does not work against Beta 1.

      Only because Microsoft completely changed the metadata format between Beta 1 and Beta 2, for no discernable good reason.
  26. Sick of this sh*t by whovian · · Score: 3, Insightful

    From said Reigster article:

    However experts say emergence of the "proof of concept" virus means the industry needs to invest in changing the way antivirus software works and adapt it to new environments.

    Sigh. I must be in the minority thinking that the applications themselves can be written with security in mind.

    I hope the latest search for ET intelligence is fruitful so that we can be saved from ourselves.

    --
    To-do List: Receive telemarketing call during a tornado warning. Check.
    1. Re:Sick of this sh*t by corbettw · · Score: 5, Funny
      "However experts say emergence of the "proof of concept" virus means the industry needs to invest in changing the way antivirus software works and adapt it to new environments.

      Sigh. I must be in the minority thinking that the applications themselves can be written with security in mind. "

      What the "experts" really mean is they have to completely rewrite their anti-virus software to be .NET compatible, and that everyone will have to buy brand new copies of those programs. So when M$ says that .NET is good for business, we know they're right about at least one business (anti-virus software).

      --
      God invented whiskey so the Irish would not rule the world.
    2. Re:Sick of this sh*t by Jason+Earl · · Score: 2, Insightful

      My guess is that when Symantec says they have received this proof-of-concept virus what they really mean is that they wrote it.

    3. Re:Sick of this sh*t by Jason+Earl · · Score: 2

      Or better yet, a virus that only your engine could stop. I imagine that a really virulent fast spreading nasty virus that slid under everyone's radar except for the users of FooBeGone virus protection would be good publicity for FooBeGone.

    4. Re:Sick of this sh*t by kimihia · · Score: 2

      Most definately. I'm still appalled to see the C text books I was learning from still encourage use of gets() to read into fixed length buffers. And the explanation of the problems of buffer overflows was that it can cause your program to crash!

      I yelled and screamed but apparantly instead using fgets() is too difficult. FWIW, fgets() is just like gets() except you can tell it a maximum number of characters to snaffle.

      We need security from a DJB point of view. Every single byte accounted for. Don't go from a BIND9 or Microsoft point-of-view where you think about security when a "remote root exploit" is posted to Bugtraq.

      Maybe now the first virus for .NET has been concocted Microsoft will consider security.

    5. Re:Sick of this sh*t by Tony-A · · Score: 2

      Or a virus that uses the anti-virus software as an essential ingredient of the infection. Is everybody assuming that virus writers don't have access to anti-virus software?

  27. The torch has been passed by evilviper · · Score: 5, Funny

    The torch has been passed...

    Outlook -> .NET

    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  28. Concept Virus?? by SuperDuG · · Score: 2, Informative
    Since when are viruses legal to make. Last I checked viruses were illegal and I'm actually quite tired of hearing about them in a glamourous manner. I don't care if it's MS's fault about code or poor software writers who make coding mistakes and leave holes open.

    Virii are money making entities in themselves and I'm tired of seeing companies encourging the creation of Virii. I don't remember when, but I do remember a scandal typeness on the net a LONG while ago about McAffee going out to software writers to see if they would be interested in writing virii to test out their detector ... then they just happen to get released out into the wild.

    The other thing that I see wrong with Virii and Worms is that it kills the IT world. IT department heads are forced to clean up after end user mistakes when they could be developing. And when a worm like nimbda is released my bandwidth was cut by a third almost.

    It's rediculous ... and I'm really sick of it ... virii writers are the lowest of lows when it comes to software. A monkey can code, but a true hacker can realize when his code could harm something or someone.

    --
    Ignore the "p2p is theft" trolls, they're just uninformed
    1. Re:Concept Virus?? by jallen02 · · Score: 2, Insightful

      I think you missed the entire point of a "concept virus" on a non-widely distributed, or used, platform.

      Really, this virus was written to demonstrate the flaws in .NET in a more vociferous manner than saying, "Hey there are potentially threatning flaws with .NET."

      The virus is, already known to the virus protection people. The virus was not released nor spread in the wild and would have a damn hard time propagating about the Internet seeings how most people don't have the framework available...

      Jeremy

    2. Re:Concept Virus?? by SuperDuG · · Score: 2
      But WHY? is my main question ... there's no real reason to be making this virus except to make the virus scanning software more needed or at least the manufactures of symantec can go and say "Hey ... this virus affects .NET so you know that there will be others ... time to upgrade".

      And again ... why are virus scanning companies encouraging the creation of virii ?? I would think the world would be a better place with no Virii out there ... but then ... how would Symantec make any money??

      --
      Ignore the "p2p is theft" trolls, they're just uninformed
    3. Re:Concept Virus?? by SuperDuG · · Score: 2
      The reason I'm upset is simple. Virii creators shouldn't be held up as celebrities, but no higher than script kiddies. Anyone who codes knows they can make virii, but don't ... why ...

      Ethics. Though hacker ethics may be skewed from the status-quo, but they are still there. And any true hacker knows what their ethics are ... and I have yet to see someone who is truly a hacker make a virus. You think Torvalds couldn't screw quite a few people by putting some type of a backdoor in the kernel? ... of course ... but he doesn't because like a million other coders/hackers ... they have ethics that say something like this is wrong ... and they DON'T DO IT.

      so it shouldn't be encoraged is all I'm saying.

      --
      Ignore the "p2p is theft" trolls, they're just uninformed
    4. Re:Concept Virus?? by SuperDuG · · Score: 2
      Well I can't really see how this is redundant ... or how my parent comment is a troll.

      But thanks for the support.

      --
      Ignore the "p2p is theft" trolls, they're just uninformed
  29. And CNET also has an by inerte · · Score: 2, Informative

    article here.

  30. also by _avs_007 · · Score: 2, Insightful

    The virus wasn't even written in CLR. Basic security measures are similar to Java. Apps run in a sandboxed, and can only access what they have permission to access. So as an example, if you download code from the internet, or load an app from a non-local resource, by default it won't have access to System.Net, which contains the Networking classes...

    Also CLR code can be signed and authenticated, so if you run code, the Framework can check for Authentication/Authorization and Integrity. That will surely but a cramp on viruses.

    Also as far as buffer overflows are concerned, .NET is a lot more strict on memory, so I don't think that should be a concern. Besides, code sections don't even stay in the same place in memory. The garbage collector can actually move your objects around in memory if needed. With that in mind, a traditional buffer-overflow exploit probably wouldn't be garaunteed to work anyways. And thats if there even was a buffer-overflow problem to exploit.

    And when the CLR/CLI goes through ECMA standardization, you may not even have to rely on MS to supply the framework. I know groups are already working on getting a CLR platform on Linux as an example....

    1. Re:also by Steveftoth · · Score: 2

      Buffer Overflows are a possiablility if it is possiable to run a non-standard file in the CLR. If there is a way to trick the CLR to read a corrupted ( meaning not generated by the compiler ) binary that contains a virus and execute it, then buffer overflows can happen. It all depends on the implementation. Same thing COULD (in theory) happen to a java program if you were able to make a class file that caused to JVM to overflow.

      I don't know how the CLR works inside, but at least in Java it's hard to do that without writing native code. All java code is subject to verification before you run it.

  31. .NET virus not such a big deal by Tom7 · · Score: 5, Insightful


    Don't get all worked up, guys. Executable files that can modify other executable files to self-replicate are nothing new, and .NET is not "insecure" because viruses can be written for it. (Though it may be insecure for many other reasons! ;)) Linux has viruses too. The real question is how much damage such code can do once it's run -- on multi-user systems with permissions like linux and NT, presumably this is not much.

    (Regardless, kudos to the creator for the cool hack and for not unleashing it on the world!)

    Personally, I think the idea of high-level languages and portable binaries is a good one, so I am actually excited about the Common Language Runtime (etc.) aspect of .NET. I hate hate hate the web services and passport bit, though...

  32. Worrisome first volley by begonia · · Score: 5, Interesting

    Java, of course, is composed of byte code that runs in a "sandbox" which is supposed to prevent malicious attacks on a user machine. Say what you want about Java, but from what I can tell Sun has been pretty successful in achieving their security goals.

    OTOH, Microsoft, jealous of Java's success, is attempting a similar model and boasts similar security measures, claiming that with .Net Framework driven applications, it will be possible to download apps from the internet and run them without security concerns.

    The problem is that M$ is cutting a bunch of corners that make me very nervous. For example, the user only compiles a program the first time he runs it. After that a machine-code file is left on the user's machine for further runs. Also, M$ is attempting to mix "Managed Code" in with "Unmanaged Code". Their attempt is to make their apps run faster than Java code. But I'm afraid we're going to bear the misfortunes of their aggressive tactics, by being the real victims of a new wave of viruses exploiting these new holes...

    --
    RM
    1. Re:Worrisome first volley by purplemonkeydan · · Score: 2

      The ignorance on /. is particularly high today.

      Java, of course, is composed of byte code that runs in a "sandbox" which is supposed to prevent malicious attacks on a user machine.

      Applets are, yes. Applications are NOT. .Net is exactly the same. .Net "applets" loaded from the web are in a sandbox.

      Say what you want about Java, but from what I can tell Sun has been pretty successful in achieving their security goals.

      Not really. There are several ways Java applets can jump out of their sandbox, most relying on overriding ClassLoader security restrictions.

      Brown Orifice is a real-world example of this.

      Of course, both .Net and Java files are vulnerable to "old school" viruses, you know the ones that actually modify the executable files. Like this one.

  33. Oldish news by altan · · Score: 2, Informative

    More details also at cNet News. Its been there for a couple of hours, and I thought about posting it but was too lazy.

  34. Passport and .NET Security... by slashkitty · · Score: 4, Interesting

    Unfortunately, Passport, (which I believe offers the authentication for .NET services?) is really only secure as the least secure server it's deployed on. More unfortunately, it's deployed on microsoft.com. Even more unfortunately, there are still OPEN SECURITY HOLES on microsoft.com... Oh, how many many ways are their to hijack cookies or script actions with Cross Site Scripting? A lot.

    --
    -- these are only opinions and they might not be mine.
    1. Re:Passport and .NET Security... by barzok · · Score: 3, Informative

      You're not required to use Passport for .NET services. MS just makes it real easy to do so.

  35. Good and Bad by f00zbll · · Score: 2, Insightful
    As much as I dislike M$, this type of behavior is a double edge. Any system and language can be exploited, so it's no surprise some one wrote a virus for .NET. I would rather professionals reveal the flaws and weaknesses of .NET through accepted channels with concrete proof.

    Having a kid infect a .NET server makes it harder for those working with web services. Large institutions most likely will continue their web services plans, but it makes it harder for consumers to trust the services. Non technical people might thing all web services are full of security holes and decide none of it is any good.

    In microsoft's race to get something out, they are doing more damage to the perception of the web services industry than anything else. Consumers are already freaked about big corp taking too much control. It's great the security hole has been revealed, but it shouldn't have been so easy. Like the kid says in his interview, "they are the idiots." Is the consumer going to agree with the kid or the company that just got hacked?

  36. .NET pricing model by thrillbert · · Score: 5, Funny
    Small Developer

    $1,000 per year +

    $1,500 per application

    Large Developer

    $10,000 per year +

    $1,500 per application

    Virus Developers

    $1,200 per year +

    $0.25cents per computer infected*

    * Tracking provided by Bill Gate's Email Tracking System(tm)

  37. Where you are wrong... by JohnDenver · · Score: 4, Informative

    Firstly, I'm not a MS fan, I hate to defend them, but I feel compelled to correct gross misconceptions when I see them...

    1. .NET is pretty much a Java clone that supports many languages. That's it...
    .NET is a virtual machine. It's as dangerous a Java or any other programming platform. (Yes, .NET is capable of an applet like technology, restricting the program to not damage the system)

    2. .NET programmers aren't forced to use Passport just like Java programmers aren't forced to use Jxta. So, I don't see how they're going to force you to use Passport, let alone charge for it.

    3. Microsoft isn't looking to put everything on the Server. This would jeopardize thier client monopoly, and plus it makes absolutely no sense.
    If Microsoft wants to insure a steady revenue stream, they have two ways of doing this.

    A. Change the license to require companies to renew thier license after x years.
    B. Add new features to the next version causing customers to salivate and upgrade.

    They're pretty much doing a good job with B, but if they happen to fail, they can always revert to A.

    If you would like me to clarify on any further points, feel free to respond.

    --
    "Communism is like having one [local] phone company " - Lenny Bruce
    1. Re:Where you are wrong... by JohnDenver · · Score: 2

      Jesus... If I said it once, I'll say it again... All of the crap you're talking about is Passport, not .NET and by the way... The two aren't integrated. Passport is to .NET as Jxta is to Java.

      1. Passport is already out and available and relatively easy to use (integrating into an application), but the adoption is slow because most people don't need a global authentication service with personalized info.

      .NET makes the creation of Passport clones relatively easy, so I really doubt Passport is going to become a monopoly any time soon...

      This crap about .NET being a philosophy is about as much crap as Java being a religion. Both are tools in which you can develop client or server applications. Both are capable of using Passport, and both are capable of creating web services.

      Microsoft is trying to sell .NET as a platform where you can develop applications that can talk to your partners applications.

      They want to replace EDI (A very large sector) with SOAP and BizTalk (this would make it larger). That's where the money is...

      They're not focusing thier attention towards Joe Beer who may buy thier OS and pirate a version of Office for home. They know they can't squeeze money out of Joe beer for the priviledge to use Passport (A tool that saves Joe Beer 30 seconds to sign up on a new service)...

      You need to quit smoking too much wacky weed. Everybody knows a little bit now and then is good for the mind, but too much kills critical thinking...

      --
      "Communism is like having one [local] phone company " - Lenny Bruce
  38. The Score So Far by White+Roses · · Score: 2, Interesting
    .NET Virii: 1
    Java Virii: 0

    Seriously, wouldn't a Java virus be great? I mean, it runs on just about anything (including your PlayStation 2). I wonder why there aren't any roaming the net . . .

    Maybe because Sun actually put some effort into the security aspects of an inherently dangerous idea?

    --
    Do not touch -Willie
  39. Another article ".Net may lead to fewer viruses" by Alsee · · Score: 2

    I'm rather amused by this article: .Net may lead to fewer viruses, but I'm baffled by the name!!!

    The article is dated 28/09/2001, 4 months ago.

    They say:
    ".Net will almost undoubtedly create fresh infection mechanisms for virus writers to exploit."

    "[.Net] not yet addressed by AV[AntiVirus] products."

    "a .Net virus might contain only something that specifies where malicious code comes from."

    "Viruses that infect .Net binaries, Trojans written in .Net languages and malicious code taking advantages of .Net services are all possible."

    "it might allow 'viruses to propagate to operating systems that were previously considered low risk'"


    Why the HELL is the article titled ".Net may lead to fewer viruses"?!?!?!

    -

    --
    - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  40. Re:Might get modded as flamebait, but oh well... by Rupert · · Score: 2

    I keep hearing the marketshare argument, but it doesn't hold water. There are still more Apache webservers than IIS webservers, but which one almost shut down the internet by propagating Code Red? The worst hole I've seen in Apache lately is one where a user can see the contents listing of a directory even if that's turned off.

    --

    --
    E_NOSIG
  41. Only in stub, not truely a .NET/CLR security hack by dmarsh · · Score: 3, Informative

    This virus takes advantage of the fact that the PE for CLR executable assemblies includes a small stub to bootstrap itself into older platforms that do not recognize and or honor .NET PEs natively (i.e. older versions of Windows).

    This is really not part of .NET or the CLR, but rather a MS specific "optimization" that saves them from having to retrofit CLR PE recognition into their older platforms when the CLR is RTM. For more information, check out this thread[1] on the Developmentor .NET mailing list.

    The important thing to point out is that this hack does not foil CLR security. It's foiling standard Win32 security and only because of the afforementioned "optimization".

    Later,
    Drew

    [1] http://discuss.develop.com/archives/wa.exe?A2=ind0 107B&L=DOTNET&D=0&P=47726

  42. Comment removed by account_deleted · · Score: 3, Insightful

    Comment removed based on user account deletion

  43. Comment removed by account_deleted · · Score: 3, Interesting

    Comment removed based on user account deletion

  44. As a .NET developer... by JohnDenver · · Score: 2

    .NET is just like Java. It's a virtual machine environment that executes pseudo-machine code that is very readable, thus making it easy for the VM to indentify and prevent malicious code from running (giving your running in applet mode)...

    1. That right there makes a .NET a safer application environment than conventional executables.

    2. Passport and .NET aren't tied together.

    I would honestly predict that very few .NET applications will use Passport. Passport is already available today and pretty easy to implement with VB and ASP, but nobody is really using it. People just don't trust it, and there's not that much to gain from using it...

    Remember Passport is just an authentication service with extras. This is a commodity technology with a lot of players, and if it does get hot I'm sure Yahoo or AOL are very capable of making thier own competiting authenication services...

    --
    "Communism is like having one [local] phone company " - Lenny Bruce
  45. Why .NET is doomed by IGnatius+T+Foobar · · Score: 4, Insightful

    .NET is doomed to be a digital Petri dish for viruses. This is because Microsoft will rush it to market. Every day that passes without .NET being completed is another day that J2EE continues to entrench itself in the enterprise. This is happening because J2EE is actual good technology.

    Microsoft has to get some of the .NET framework rolled out quickly. And they're going to do that the same way they always do: by skipping most of the security QA they should be doing.

    Rest assured that .NET will be every bit as secure as Windows XP -- i.e. not secure at all.

    You can count on it.

    --
    Tired of FB/Google censorship? Visit UNCENSORED!
  46. First Java virus in 1998 by slashkitty · · Score: 3, Informative

    http://www.cnn.com/TECH/computing/9808/19/javaviru s.idg/ and I'm sure it's not the only one...

    --
    -- these are only opinions and they might not be mine.
  47. That's called "ext2". by devphil · · Score: 2


    There are flag bits called "attributes" that can be placed on ext2 files; see lsattr(1) and chattr(1). The one you want is either 'a' or 'i', I think, or some combination thereof.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  48. Comment removed by account_deleted · · Score: 3, Informative

    Comment removed based on user account deletion

  49. Go to jail, go directly to jail... by Duderstadt · · Score: 3, Insightful

    For those unfamiliar with .NET assemblies, here's a little tip for wanna-be virus writers:

    All .NET assemblies are digitally signed. The sig is put together by the complier and is guaranteed to be unique across space and time (ala a GUID).

    So, if you write a virus and release it into the wild, keep in mind that you might as well have 'GUILTY AS CHARGED' stamped on your forehead.

  50. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  51. Here's a proof-of-concept app for you by Zico · · Score: 2

    Don't ask me why I'm bothering to respond to such a moronic post, but if someone's really looking to for a proof-of-concept application for .NET, they can check out http://www.gotdotnet.com/team/compare/ to see how Oracle's benchmarks for their implementation of Sun's own J2EE blueprint Java Pet Store application were destroyed by rewriting it as a .NET app in C#. The performance improved by a factor of 28 in a fraction of the code. Oh yeah, Oracle supposedly rewrote their implementation in response, but curiously won't release the details about how they did it. How convenient. :)

  52. Re:Makes me Shudder by Zico · · Score: 3, Funny

    I see this .NET stuff being unleashed upon us with holes in it before it even gets started.


    Ermmm, which holes? You *did* read the article right? Or did you just not understand it?

  53. I looked directly at the face of evil. by tuxlove · · Score: 2, Funny

    I attended Bill Gates' keynote address at the CES convention this week. I (admittedly naively) expected something a little less partisan than what I saw, being that keynote speeches tend not to be so proprietary in nature. Okay, stupid me. But even in my wildest nightmares I never would have expected such blatant advertisement for Microsoft.

    I went just because I wanted to see Bill himself for some odd reason (I guess just to say that I did), and I paid the price. It was 1.5 hours of overproduced propaganda for M$ home electronics, ranging from the X Box to home automation to PDAs to music players to just about anything that could possibly have a single byte of M$ software grafted into it. Billy made it clear that they will dominate the world in all arenas, and I almost literally came away shaking.

    Central to many of the things he and his buddies demonstrated there seems to be .NET. Pretty much all of the devices are networked, either through hard lines or wireless, and are Internet ready. After seeing how the M$ television set notifies you of (and lets you view) instant messages, for example, I had to wonder if some day hackers will occupy their time busting into your home appliances with VB script.

    It's definitely time to be scared. The day may soon arrive when you pay M$ licensing fees with every toaster oven purchased, and even your freaking toilet can be hacked.

    1. Re:I looked directly at the face of evil. by Reziac · · Score: 2
      The really scary thing is, AFAICT Bill Gates truly believes he is taking over the world for its own good. :/

      The concept of hacking into household appliances is not just scary, it's downright dangerous. What if a hacker overloaded your oven and burned your house down? Or hacked into an invalid's oxygen supply and turned it off? Once it's possible, I don't think this sort of thing will remain a theoretical example for very long. :(

      --
      ~REZ~ #43301. Who'd fake being me anyway?
  54. btw, by poemofatic · · Score: 2



    Phat actually dates back to the 1920's.

    --

    When in doubt, have a man come through a door with a gun in his hand.

    1. Re:btw, by poemofatic · · Score: 2

      Probably too late to be of any use, but I tracked something down. I first heard this while listening to NPR a while ago, so that isn't too helpful. A friend of mine corroborated this from a book on slang he was reading. Online sources show varying histories, some claiming the word started in the 60's and some at the turn of the century. My friend with the slang book gave me the following reference:

      http://www.m-w.com/lighter/flap/flaphome.htm

      An excerpt:


      "It seems fairly certain that phat is fat, and fat is by no means new slang;
      in the second half of the 1990s it seems to have passed its zenith of
      popularity and to have begun the slide towards disuse and probably
      eventually-re-use. The playful if affected "ph" spelling (also seen, for
      example, in hip-hop spellings of phunky or Phar Side) is nothing new. Young
      people in the 1920s spelled "rats" as "Rhatz!" and shortened "that's too
      bad" to "stoo bad." Similarly, the young in the 1960s read magazines that
      loved "tuff," intentionally called themselves "freeks" and considered the
      spelling of "Amerika" to be a political statement. Nor are the young the
      only slang-speakers to play with spelling. Earlier in this century
      typesetters referred to type that was easily set as being phat--and, neatly
      enough, type that was difficult to set was lean--just going to show that
      others have played here before. Indeed, in 1885, the Post Express Printing
      Company in Rochester, New York, published the "Phat Boy's Birds-Eye Map of
      the Saint Lawrence River" with a drawing of a corpulent boy. The temptation
      to play with the "ph" spelling has been with us for more than a century."

      --

      When in doubt, have a man come through a door with a gun in his hand.

  55. Another "Concept Virus" that you've heard about by yerricde · · Score: 2, Insightful

    Sounds like the vaporware phenomenon has extended to virii.

    1. It's 'viruses'. ESR says so.

    2. Concept Virus is also the name of the virus commonly known as Nimda.

    --
    Will I retire or break 10K?
    1. Re:Another "Concept Virus" that you've heard about by Squeeze+Truck · · Score: 2

      The first virus I ever heard referred to as "concept" virus was a Word macro virus from about 4-5 years ago.

      --

      "Reactionaries must be deprived of the right to voice their opinions; only the people have that right." - Mao

  56. Saboteurs, *not* terrorists. by yerricde · · Score: 2, Informative

    Virus writers are terrorists.

    "Unlike acts of terrorism, acts of sabotage do not have a primary objective of causing casualties". They're not terrorists but mere saboteurs.

    --
    Will I retire or break 10K?
    1. Re:Saboteurs, *not* terrorists. by cduffy · · Score: 2

      It makes a big difference. "Terrorists" are people who (based on popular support of recent legislation) it's all right to hold indefinitely without charging, who have no lawyer/client privilege, and who, generally, should be shot at earliest opportunity.

      I don't agree with all of this, but it makes some sort of sense -- people who indiscriminately kill noncombatants should indeed be dealt with harshly. Virus writers do nothing of the sort, and the word should not be applied to them.

      If I crack someone else's computer, am I a terrorist? (Under law... or at least, proposed law, I would be at present... but never mind that). Do I deserve to be the subject to legislation given public approval because it was advertised to be used only against those who indiscriminately kill? No! -- and so, you see, the distinction is significant in the extreme.

      I'm not even inclined to go to the extremes you do; a 13-year old kid who writes a macro virus based on sample code he found around the web is not necessarily a truly horrible person undeserving of access to tech. A 20-year old who does the same for a technical challenge may be irresponsible in the extreme, and should rightly be held civilly liable for damages caused... but a truly horrible person? I won't grant that either.

  57. .NOT by Anonymous Coward · · Score: 2, Informative

    I'm impressed with the number of slashdot readers who, well, are incapable of reading. Hm, actually, no I'm not.

    This is not a .NET virus. It does not infect a .NET executable, it infects a PE executable. It would be a trivial matter to overwrite the entrypoint of a PE with a jump to the end of the file, tack on your own crap, and jump back. This virus does not target .NET, as it does not infect the IL, or utilize any of the framework. This is no different than the COM trojans of the DOS days, and no more a virus than a shell script designed to call rm, to which Linux is incredibly succeptable. It would be very trivial to pull this off with any binary executable format, all you would need to know is a little machine code for the intended platform, and where the entrypoint lies.

    Of course, if you read further in the explanation, and know anything about .NET, _CorExeMain is only an intermediary bootstrap for older OSes. It's interesting to note that Windows XP could not be affected by this because Windows XP does not launch it as a PE executable, rather immediately begins to compile and execute the .NET entrypoint instead.

    .NET itself is not immune to virii. To the contrary, the platform was built from the ground up to satisfy both internal compilation needs (System.Reflection) and debugging (System.Diagnostics.) However, .NET is also built from the ground up to employ a deep security model, where each function to each class is scrutinized by a user or administration editable regime of standards based on where the code lies, who is running it, what day of the week it is, etc. .NET installation in Windows creates two control panel applets for the purpose of configuring exactly what may run. For example, I can execute a program containing pointers that has been saved to my local machine if I have the appropriate permissions, but I would not be able to run that same program if the assembly resided on a website, or an SMB share.

  58. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  59. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  60. Re:Might get modded as flamebait, but oh well... by mcrbids · · Score: 3, Informative

    I'm unsure of the "troll factor" in this post, but I'm biting...

    In past experience, I find it's typically best to consider stability issues to be the fault of the underlying hardware.

    I've many times seen Linux perform flawlessly on motherboards that Windows was horribly unstable on. The reverse I've never seen (A Windows system stable on H/W that Linux was unstable on)

    That's not to say that there's some misconfiguration or something in your setup, but I've just never seen it. And note that not all hardware works with Linux (duh!) but we're talking stability here, not compatability.

    So, without any further ado:

    YOU HAVE BAD HARDWARE, DUDE!

    --
    I have no problem with your religion until you decide it's reason to deprive others of the truth.
  61. Re:Might get modded as flamebait, but oh well... by Reziac · · Score: 2
    Someone asserts, I've many times seen Linux perform flawlessly on motherboards that Windows was horribly unstable on. The reverse I've never seen (A Windows system stable on H/W that Linux was unstable on)

    Just to be contrary and perverse: On this box Win95 is utterly stable (hardly ever crashes, and never BSODs), but linux fell over regularly (mostly Gnome, but sometimes the base OS would just halt during startup) -- this was probably due to a disagreement with the S3Trio video card.

    On one particularly buggy batch of K6-2 CPUs, linux would not run at all, but Win32 will run just fine (tho it won't install; has to be installed with another CPU in place).

    I warned you this post was contrary and perverse :)

    --
    ~REZ~ #43301. Who'd fake being me anyway?
  62. I thought mono WAS a virus by Hektor_Troy · · Score: 2

    que?

    --
    We do not live in the 21st century. We live in the 20 second century.
  63. Re:Capabilities by evilviper · · Score: 2
    Right now one of the big problems is that all of your executables have the same permissions that you do.

    I see, you're saying that a program that allows a user to run a program as a different user doesn't exist. That's strang because I seem to remember using SUDO, the SUID bit & the SGID bit for some time now.
    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  64. Re:Capabilities by Tony-A · · Score: 2

    very few compiler programmers would think anyone would be insane enough to type "cc MySource.c -o /etc/cc/compiler-time-billing-log.txt".
    Or cp or mv.
    Fumble-fingers and tab completion.
    I destroyed several production web sites because of a we<tab> instead of wo<tab>.
    I'm too much a newbie to know what the details are, but what you want is the ability to run email viruses with impunity. You don't stop them from running. You stop them from being able to do anything, even delete themselves. Won't be easy. Might be some clues in Multics.