Slashdot Mirror


'Stealth' Worm Hinders Sandbox Analysis

Tuxedo Jack writes "The Register reports that the new Atak worm cannot be analyzed or debugged by antivirus companies without quite a bit of work, due to the author being sloppy with his or her code. Windows machines, as per the norm, are the only vulnerable ones, and it still requires user intervention to infect. Perhaps future worms will start including this 'bug' in their releases. We can only hope not." It doesn't sound like a bug at all, from the virus writer's perpective.

461 comments

  1. Strange by Metteyya · · Score: 4, Interesting

    I've always heard that it takes a very good programmer to write effective and powerful virus.

    1. Re:Strange by cuzality · · Score: 5, Insightful

      "The greatest trick the Devil ever pulled was convincing the world he didn't exist." --Verbal Kint

      And the greatest trick this guy pulled is making himself look like an ID10T...

    2. Re:Strange by Homology · · Score: 2, Funny
      I've always heard that it takes a very good programmer to write effective and powerful virus. /I>

      Not on Microsoft Windows, it seems. From the article it's even better if the virus writer is sloppy.

    3. Re:Strange by ObsessiveMathsFreak · · Score: 3, Funny

      Clearly sir, you have never heard of VBA.

      Empowering amatuers with sysadmin capabilities since 1993!
      Where would you like script kiddies to joyride your computer to today?

      --
      May the Maths Be with you!
    4. Re:Strange by Anonymous Coward · · Score: 1, Insightful

      very good programmers dont write viruses, they have better things to do and create with their time.

    5. Re:Strange by scooby111 · · Score: 3, Interesting

      That alone is a powerful and elegant argument that some of these virus writers are in the business. I've long suspected that some of the smarter members of the antivirus teams are actually writing worms and viruses.

      Arsonists and firebugs like to watch firemen put out their fires. Is it really a stretch to apply that behavior to digital firestarters?

    6. Re:Strange by Anonymous Coward · · Score: 1, Funny

      I can't tell, are you being sarcastic?

      The creator of the Melissa virus left his email address in a comment. What sort of very good programmer uses comments?!?

    7. Re:Strange by forrestt · · Score: 1, Funny

      That's because Windows is used to running such code.

    8. Re:Strange by airjrdn · · Score: 1

      You're a Wintel programmer I take it?

      Obvious flamebait/troll.

    9. Re:Strange by nine-times · · Score: 0, Flamebait

      'I've always heard that it takes a very good programmer to write effective and powerful virus. /I>

      Not on Microsoft Windows, it seems. From the article it's even better if the virus writer is sloppy.'

      Funny. At first when I read this, being dyslexic, I thought you were saying something in the vein of "Not really. Microsoft Windows is poorly written, and look how effective and powerful a virus IT IS!"

    10. Re:Strange by Anonymous Coward · · Score: 0

      Uh oh, some Microsoft fanboi has mod points today, and he's giving a Flamebait mod to any post he disagrees with (ie. anything that criticizes any aspect of MS).

    11. Re:Strange by Anonymous Coward · · Score: 5, Funny
      The creator of the Melissa virus left his email address in a comment. What sort of very good programmer uses comments?!?

      The guy who framed that poor patsy for creating Melissa, that's who.

    12. Re:Strange by cuzality · · Score: 0, Offtopic

      Does that some from somewhere, or is that your personal philosophy?

    13. Re:Strange by FuzzyBad-Mofo · · Score: 0, Offtopic

      Oh, it's just my opinion. While possibly on topic, the quote you posted is unfortunately an infectious meme. 'X' cannot be proven true or false, so it must be true. Believe in 'Y' and salvation is assured. I have an allergy to crap like that.

    14. Re:Strange by Griffon26 · · Score: 1
      What sort of very good programmer uses comments?!?

      Forget that! What sort of programmer would make a virus in a language that forces comments to be part of your executable?

    15. Re:Strange by PeterPumpkin · · Score: 2, Interesting

      I imagine that is why there is a plethora of professional closed-source Windows freeware out there, with all the fancy professional "Easy To Use ONE CLICK Software!" (emphasis not added) - from entities that only produce or distribute freeware programs.

      The virii that come out of those are mostly yet-to-be detected, I'm sure...

      For example, on this specimin, they have:

      ATTENTION WIN XP USERS: Windows XP will not allow you to access 16-bit screen savers (which make up about 2/3 of all the screen savers out there, including many of your classic favorites.) To get around this, you need to use a screen saver utility like Screen Control, which allows you to access ALL your 16-bit and 32-bit savers with simple one-click access from your system tray. Try a FREE DOWNLOAD today.

      Uh huh - highly suspect.

    16. Re:Strange by Anonymous Coward · · Score: 0

      Of course, you could take the position that the "devil" is allegorical, representing evil, which probably does exist.

    17. Re:Strange by Random_Goblin · · Score: 1

      yes indeed I think the grandparent was thinking of very EVIL programmers!

      good...evil, such a fine line sometimes.

    18. Re:Strange by xandroid · · Score: 2, Informative

      Actually, that was first said by Baudelaire in "Le Joueur généreux", published 1864.

      "...la plus belle des ruses du diable est de vous persuader qu'il n'existe pas!"

      "...the devil's best trick is to persuade you that he doesn't exist!"

      --
      $ echo "ceci n'est pas une pipe" | sed -Ee 's/(eci n|pas )//g'
  2. so is this what MSFT does? by garcia · · Score: 3, Insightful

    They make such bad code knowing that it won't be looked at and hope that the hackers won't be able to find the holes?

    Without the recent access to the source for IE we would never have found out about BMP overflows, etc. Which was just poor and lazy coding.

    1. Re:so is this what MSFT does? by eldacan · · Score: 3, Interesting

      Just wondering: did people really find many bugs/bad coding/etc. in this code? I've only heard of this bmp thing, and that it was only in IE prior to version 6.

    2. Re:so is this what MSFT does? by Anonymous Coward · · Score: 0
      >I've only heard of this bmp thing, and that it was only in IE prior to version 6.

      Wasn't that prior to IE 5.5 ?

    3. Re:so is this what MSFT does? by spitzak · · Score: 3, Insightful

      This is about the fourth time I have heard the "BMP thing" being spouted by a Microsoft / closed-source apologist. Is there any documented evidence that this has been used in *any* virus/worm/hacks? And has there actually been more than one bug found (I suspect not, since trolls keep saying "bmp bug! bmp bug! bmp bug!") I don't think so.

      Availability of the source code does not lead to exploits. Anybody with even a moderate amount of experience with software development would know this. If the exploit was evident by looking at the code, the code writer would probably fix it. Every single exploit is discovered by accident, put in a "bug report", and the code writer has to spend a huge amount of time figuring out exactly how his code, which looks just fine, is producing the unwanted behavior. The discovery of unwanted behavior is exactly equal in both open and closed source.

      In fact the advantage of open source is not that it has fewer bugs, but that when such unwanted behavior is discovered by accident, a huge number of people will try to fix it. Even people who get it wrong will produce modified versions that are less likely to be attacked by a virus.

    4. Re:so is this what MSFT does? by aardvarkjoe · · Score: 3, Insightful
      This is about the fourth time I have heard the "BMP thing" being spouted by a Microsoft / closed-source apologist.
      Er ... don't know about anyone else, but "They make such bad code knowing that it won't be looked at and hope that the hackers won't be able to find the holes?" doesn't sound much like apologism to me. (Doesn't sound much like proper grammar, either, but I suppose that's beside the point.) If anything, the fact that we haven't heard about a rash of new exploits based on it seems to indicate that broken portions of the code aren't as obvious and easy to fix (or exploit) as some parties like to claim.
      --

      How can we continue to believe in a just universe and freedom to eat crackers if we have no ale?
    5. Re:so is this what MSFT does? by maximilln · · Score: 5, Insightful

      The parent is horribly bipolar.

      I have heard the "BMP thing" being spouted by a Microsoft / closed-source apologist

      Actually an apologist wouldn't be spouting about the BMP exploit. Rather an apologist would be trying to dismiss it as you do in here:

      Is there any documented evidence that this has been used in *any* virus/worm/hacks?

      There. Now you're being the closed source apologist by saying,"We're sorry about the BMP thing but does it really make a difference?" Since it's been pointed out that the BMP thing was only present in older editions of MSIE (5.5?) it's pretty plausible that the forensic trail of tracking any exploits is long covered, formatted, and reinstalled.

      And has there actually been more than one bug found

      The security industry has its hands full simply processing data on exploits which are submitted. The people who have time to go over that released source code routine by routine, structure by structure, loop by loop, aren't going to tell you about it first. If they're nefarious they're not telling anyone.

      Additionally, did you read this yesterday? Did you try contacting the authors who published those vulnerabilities? It's quite possible that they came onto those vulns by looking at the source code.

      So sit down and...

      If the exploit was evident by looking at the code, the code writer would probably fix it

      That's a bit shallow minded. Not every programmer who works for MS was a 4.0 overachiever who visualized code loops and logic flow in real time. Very few middle managers were 4.0 overachievers--many got to their position because they were better at social networking than coding networks. By the time the code gets to the upper management it's not being audited line by line. Even 4.0 students aren't always guaranteed overachievers with amazing perceptual abilities. Many 4.0 students know how to stand in line and keep their mouths shut. That's the most assured way to a 4.0.

      Every single exploit is discovered by accident

      I would agree that the majority of exploits are discovered by someone noticing erratic behavior in a program and taking the initiative to dig in deeper. However I know a number of people who take great delight in poring over changelogs and then going back to audit source code when "Bug in <sourcefile.c> fixed." The changelog may have been a roadsign but when sourcefile.c is 1000+ lines it's still a testament to skill to find the bug which was fixed.

      --
      +++ATHZ 99:5:80
  3. Mailers? by Deflagro · · Score: 4, Insightful

    Now just imagine if someone wanted to actually be malicious with this stuff..
    I wonder if a virus with some code to re-partition your drive on a reboot would cause this issue to be taken more seriously.
    I think we're just lucky these writers don't do more with the holes Microsoft gives them.

    --
    Der Tod ist der einzige Weg hier raus!
    1. Re:Mailers? by Tyler+Eaves · · Score: 4, Insightful

      The thing with destructive viruses is that they don't tend to spread very far, since by definition they take their host (and thus themselves) out after a few minutes or hours, where as something like Code Red, Nimda, etc,etc, can go for years without being removed.

      --
      TODO: Something witty here...
    2. Re:Mailers? by ites · · Score: 5, Insightful

      Read about the mechanics of disease spread with respect to viruses and you'll see why this does not happen.

      Highly damaging viruses don't spread far. Today's virus/work/trojan writers want to capture large numbers of zombie PCs and resell these networks. They aim for control, not damage. It's about money, not vandalism.

      --
      Sig for sale or rent. One previous user. Inquire within.
    3. Re:Mailers? by Short+Circuit · · Score: 1

      That's why they generally have activation dates. They don't deliver their payload until a certain date.

    4. Re:Mailers? by JohnFluxx · · Score: 1, Redundant

      That doesn't mean it can't just starting changing random numbers slowly in a spreadsheet etc.
      That would be incrediably damaging.

    5. Re:Mailers? by Deflagro · · Score: 3, Insightful

      But technically, if someone decided to make the virus malicious and mail itself out first before injecting the damaging code...then you can have a Code Red that kills machines.
      Although, like a poster below, the data changing aspect would be a more annoying bug.

      I'm just saying that MS can be made to look real bad in the eyes of corporations. Mind you, the person responsible for something like that would get the death sentence under Patriot Act or something i'm sure.

      --
      Der Tod ist der einzige Weg hier raus!
    6. Re:Mailers? by Anonymous Coward · · Score: 0

      A good analogy is the common cold vs ebola...
      me

    7. Re:Mailers? by (54)T-Dub · · Score: 3, Insightful

      Yes, but the longer a host is infected the more opportunities it has to infect other machines. Especially if the user doesn't know they are infected. Not to mention the "hype" factor of big destructive viruses tends to help quell their outbreak.

      --

      "I can not bring myself to believe that if knowledge presents danger, the solution is ignorance" - Isaac Asimov
    8. Re:Mailers? by Lumpy · · Score: 5, Insightful

      but creating an ebola computer virus would not be hard.

      code red for example if it had a timed payload that X minutes after infection kill the machine and that number of minutes was 3 days in the future it would be able to widely spread and STILL cause the death of the host machines.

      the scaries is the stealth virus that spreads slowly, is silent and act's mostly benign for 90 to 120 days then simply kicks in for a full boat infection/attack+death 4 hours after final activation.

      by the time it was discovered most people would be helpless.

      --
      Do not look at laser with remaining good eye.
    9. Re:Mailers? by Anonymous Coward · · Score: 0

      It is interesting to compare computer viruses (virii?) with their biological namesakes. HIV is a good example, it's both deadly and spectacularly successful. A warning for the future of computer viruses or a false analogy? I can't decide, can you?

    10. Re:Mailers? by Anonymous Coward · · Score: 0

      but creating an ebola computer virus would not be hard.

      Actually ebola burns itself out too quickly.. if it had a longer incubation period it would do much more damage.

      the scaries is the stealth virus that spreads slowly, is silent and act's mostly benign for 90 to 120 days then simply kicks in for a full boat infection/attack+death 4 hours after final activation.

      Agreed. I'm waiting for one of these to hit eventually.

    11. Re:Mailers? by maxwell+demon · · Score: 1

      Not if they take the HIV strategy: Be destructive, but only after a long time (so you have plenty of time to spread). A computer virus with that strategy will certainly use all the stealth strategies the author knows about, since it will depend on not being found too early.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    12. Re:Mailers? by Anonymous Coward · · Score: 0

      Don't forget that the I love you-virus spread itself in a couple of days , if not hours... So if you set a trigger on 1 weeks from infection you'll be able to get enough infections. Say: [day1]-virus goes live,

      [day2]....[day5]-infect as much as possible without being detected,

      [day6]...[day10]-Sit tight do nothing to ensure that all virusses that are spread until day 5 set in, because somebody hasn't opened up his mail yet...

      [day11]-screw up harddrive...

    13. Re:Mailers? by Anonymous Coward · · Score: 0

      [day12] release virus again because the hole isn't patched yet....

    14. Re:Mailers? by Anonymous Coward · · Score: 0

      So you're suggesting rubber keyboard covers then?

    15. Re:Mailers? by Demonspawn · · Score: 1

      The problem with the HIV strat, however, is that unlike some of thier biological counterparts, all computer virii are cureable. Somtimes you have to wipe and reload to do so, but it is still cureable.

      --Demonspawn

    16. Re:Mailers? by magefile · · Score: 1

      Much like biological pathogens, which is why bioweapons can't be too efficiently lethal - they don't want to kill off the carriers! So why aren't destructive virus authors using the same tactic that proved successful for bio pathogens - an incubation/infection phase, a transmission/contagious stage, and finally a destructive phase? Or is there an assumption that that gives people enough time to detect, disinfect and patch?

    17. Re:Mailers? by tmasssey · · Score: 5, Interesting
      You really don't think something like that would be noticed?

      Let's imagine a *really* slowly reproducing virus: one that attempts to infect just a single computer a day. Now, you *could* go even slower, but 1 a day is pretty slow, wouldn't you agree?

      Now, on day 1, there might be only a single packet sent by a single computer. I don't think anyone is going to notice that. But at some point, a large-enough collection of computers will send out these requests, and it will get noticed.

      The question is, how many infected computers do you need before your attack is detected? If it's something like Code Red, a few thousand will get noticed: they spew out too many requests. One a day? It's harder to say. Will someone notice when there are 100,000 attacks a day? 1,000,000? But how long will it take to *get* to 100,000 infected computers? How many attacks will fail? Odds are, most of them will fail: not every IP has an attackable computer...

      In other words, you could easily create a silent attack that doesn't kill anyone. Or a very noisy attack that also kills no one because it's stopped in time. Can you create a somewhat silent attack that infects a large number of people before they find out? Very tricky. It's an almost impossible balance: crash too soon and it doesn't really do anything, wait too long and it'll get caught.

      To me, the better attack would be a *lightning* quick attack. Something like Slammer. According to this, Slammer was able to attack every vulnerable computer available in 20 minutes. I'm not sure how much I believe this, but I've heard that 15 Million computers were infected in that same 20 minutes. Is 15 Million dead computers enough for you?

      Create a virus that spreads for an hour. Infect 15 million computers. Kill them. Good luck stopping that. The best part is, if you do your job correctly, either build a virus that only remains in memory or have it destroy the local copy of the virus in the process of killing the computer. Not only will the computers be dead, but it'll be *real* hard to figure out what hit you...

      Now that I write that, that is a little scary...

    18. Re:Mailers? by mrogers · · Score: 5, Informative
      This paper predicts that a fast-scanning Nimda-like worm launched against a small "hit list" of known vulnerable machines could infect millions of machines in minutes - too fast for any human-mediated response. Such a worm could reach saturation point and begin destroying its hosts before most admins had even noticed what was happening. Even those who noticed would not have time to study the worm's behaviour, let alone analyze its code. Stealth code would therefore be unnecessary, except to make it more difficult for subsequent investigations to identify the source of the worm.

      The hit list technique speeds up the initial phase of infection, which is normally slow and vulnerable to isolated failures. The list is compiled ahead of time by normal vulnerability scanning; the machines on the list are simultaneously infected to start the attack. Each copy of the worm then scans for and infects further vulnerable machines as quickly as possible, dividing the address space at each hop to avoid unnecessary overlaps (some redundancy might be desirable, but completely random scanning would be inefficient). The list can be divided in a topology-aware way to reduce congestion that might otherwise limit the rate of infection.

    19. Re:Mailers? by Bob+McCown · · Score: 1

      Somewhat akin to killing the patient, and starting over with a new baby.

    20. Re:Mailers? by caluml · · Score: 1

      I think worms should be more intelligent about how they find other hosts. Assuming they're looking for Windows machines, what about trying the following?

      Local subnet
      NBTSTAT -C
      NETSTAT
      Looking for \\ in the registry.
      RIP/OSPF packets?
      RFC 1918 address ranges (less chance of hitting IDS/firewalls on the edge of the networks)
      Finally, maybe a few days after exploring these ranges, start looking for random hosts, but excluding the large chunks of address spce that are unassigned.

      I think it should only scan, and change files between 3 and 7 am, to minimise the chance of a network admin wondering what the traffic was.

    21. Re:Mailers? by Anonymous Coward · · Score: 0

      One time, at band camp, a virii got into my boxen and stole all my PIN numbers!

    22. Re:Mailers? by Blimey85 · · Score: 1

      I don't think wiping and reloading is really a cure. You are starting over, not fixing what you already have. And how many people even know how to wipe and reload? I used to think everyone knew stuff like this but after dealing with my wifes family and most of our friends I've realized that at least the people I know, don't know computers. When people get a virus, they don't know what to do. They often will go and buy Norton or whatever and then find out that they waited a bit late on that one...

      --
      How is it that one careless match can start a forest fire, but it takes a whole box to start a campfire?
    23. Re:Mailers? by msim · · Score: 1

      These zombie pc viruses are a major arse pain with littlw release anywhere in sight.

      Aside from putting a bounty on spammers heads to stop it. It has been getting so bad that if i had the abilities to, i would be tempted to consider creating a virus that would try a number of ways to get onto a pc through known *OLD* exploits, and once successful terminate the spammers viruscode then proceed to flick a popup screen saying "get a virus scanner & update your computer" once randomly every day akin to the old nagware that fortunately seems to be less around nowadays.

      Then again another option is to just put a grenade in their "drink cup holder" and piss the problem off entirely.

      --

      Life is like a box of chocolates, you never know when your gonna get food poisoning.
    24. Re:Mailers? by Anonymous Coward · · Score: 0

      It's true the worms that infect a large numbers of machines do so because their main purpose is propogating themselves and not trying to take down the machine. However, a worm writer could possibly create a hybrid type worm that can carry a destructive payload as well as trying to propogate itself to a large number of machines and this could be devastating. The scenario that would worry me is a worm that randomly chose what it's main purpose was. For example 5 out of every 10 worm infections would remain alive for a few days (possibly even slowly corrupting the file-system like the worm that hit the Black-Ice users a few months ago or just wiping the drive in one fell swoop at the end of it's window) and try to propogate itself via the vulnerability (like a blaster type worm) or through user-actions (like a SoBig worm). The other percentage of the worms let's say 3 of every 10 would instantly wipe the drive/kill the machine. The remaining 2 out of 10 infections could organize DDoS attacks on important networks like Microsoft Update, Spam Blacklist servers, Akami or the Root DNS servers... even the other "5 of 10" inefctions that are propogating themselves could participate in DDoS attack in between propogation attempts. Other functionality that could be built in would be detection-evasion and possibly some way of dynamically regenerating it's codebase to avoid a standalone fix tool. I honestly don't think that we have seen the worst of it... but let's hope that we have.

    25. Re:Mailers? by Lumpy · · Score: 2, Interesting

      actually you have a point there that would work well...

      do a slammer attack, fast as hell infection rate delay only a 3 minutes or so and then roll the dice to speak.

      give computers a 50% chance of dying or simply an immune carrier/spreader.

      that would be even more evil... there is a 50 50 chance that your Pc unce infected will be killed, or it becomes a spreader until it is cured.

      now make the virus morphing. try attack1, infect. if attack1 fails, use attack2 and morph to hide from scanners.

      so you got atacked, cleand it, there is still a chance of you getting reinfected and killed.

      --
      Do not look at laser with remaining good eye.
    26. Re:Mailers? by Anonymous Coward · · Score: 0

      As far as biological viruses are concerned the most successful are the ones that can reproduce WITHOUT killing the host. The fact certain people describe successful computer viruses as the ones that crash systems is telling....

    27. Re:Mailers? by king-manic · · Score: 2, Interesting

      Liek natural virii dormancy is required for widespread infection. A dead machine is an early signal somethign is wrong and brigns attention. A dormant virus would not do so. Look at aids and herpes versus ebola. Dormancy helps it spread, virilence is independant.

      --
      "There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy."
    28. Re:Mailers? by Coryoth · · Score: 2, Interesting

      The question is, how many infected computers do you need before your attack is detected? If it's something like Code Red, a few thousand will get noticed: they spew out too many requests. One a day? It's harder to say. Will someone notice when there are 100,000 attacks a day? 1,000,000? But how long will it take to *get* to 100,000 infected computers? How many attacks will fail? Odds are, most of them will fail: not every IP has an attackable computer...

      The solution to that sort of problem is not to just pound wildly on everything out there. Set up your virus to create a P2P style communication network of nodes and actually have instances of the virus COORDINATE their attack.

      Such a system could be quite nasty indeed.

      Jedidiah.

    29. Re:Mailers? by It'sYerMam · · Score: 1

      Precisely. What happens if a particularly virulent, yet stealthy and destructive virus has a dormancy period of a week... a month...?
      The fastest spreading viruses can infect millions of machines in that time, and then... whammo. Especially effective if it only required a hole to get in, not to take down. Then you have no way of patching your machine against an attack...

      --
      im in ur .sig, writin ur memes.
    30. Re:Mailers? by king-manic · · Score: 2, Insightful

      However, Virelence will dictate response. the RPC worms are stilla round because some machines have never been patched. Thus it will be a issue until all machine are pacthed. However the stoned temple monkey is no longer aorund. IT killed the computer so it mediated a response either the machien died or admins raced to fix it.

      Critical mass for infection is harder to reach if your lethal. The virus writter would have to predict reactive patterns and behavior in the wild. Hard. A lethal virii would have a shorter window. If it had a syncranized dormancy and waited till critical mass, then maybe. But you have to balance more time to get caught vs more time to spread.

      --
      "There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy."
    31. Re:Mailers? by kitty+tape · · Score: 1

      The tradeoff is speed. The random methods do fail to hit a real machine a lot of the time, but generating a random IP is really fast. More complex methods are slower. Thus, you may very well have the same number of successes in the same amount of time even if your hit rate is much lower.

      --
      ----- "Type theory is like pretzels on crack." -- random friend
    32. Re:Mailers? by Alsee · · Score: 1

      The recent Slammer virus infected about 200,000 machines in under 15 minutes. Researchser have been warning that a properly coded virus agressively released could infect millions of machines in under 15 minutes. Under 15 minutes. They call it a Warhol virus.

      I also thought of a nasty twist. A virus could hook itself into the filesystem. Rather than simply attempting to wipe the drive it could immediately begin encrypting files with a random key held only in RAM. It would take a while to encrypt the entire drive, but as part of the file system it could allow normal operation to continue by decrypting files on the fly, thus going unnoticed while it encrypts.

      So long as the computer is running it will continue operating normally and attempting to infect new hosts. After a reboot, or say after a random timer expires, the key would be wiped. The entire harddrive would be irretriveably encrypted.

      The impact would be staggering. Millions of machines wiped before any alert could be sounded, before you could even yank the plug.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    33. Re:Mailers? by Fulcrum+of+Evil · · Score: 1

      Such a worm could reach saturation point and begin destroying its hosts before most admins had even noticed what was happening.

      We even have a name for it: Blitzkrieg.

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
    34. Re:Mailers? by dacarr · · Score: 1
      Not necessarily. Remember the hype of Michelangelo a few years ago? Take that time-bomb effect (it goes off on a given day), write some virus that is hard to notice unless you closely examine the registry, have it infect such as Sasser (open port) and/or Nimda/ILoveyou/etc (stupid luser opening attachments), and before you know it you blow up tons of boxes.

      And before you go saying that lusers now know better, well, remember that they are still called 'lusers'.

      --
      This sig no verb.
    35. Re:Mailers? by gmuslera · · Score: 1

      ESR wrote something about this yesterday here, about an "hypotetical" Final virus that deletes all (he call it a SciFi story, but lets see how much time takes to become reality), and have some nice consequences, like lot less spam.

    36. Re:Mailers? by j3ll0 · · Score: 1

      Yeah...given the way the time vs # of infections curve looks like for the Slammer type worms, you could do some serious damage in around 20 minutes. I think that is going to be the scenario that causes people to start taking proactive security more seriously.

      With respect to your nasty twist...that's only really going to impact home users. Your serious corporate operators would have daily backups. Most of your Win32 backup platforms read the files through the native APIs, and so would backup the decrypted version of the file. So, yeah...you'd kill a lot of machines, but big corporate would just get a chance to properly test their DR plan, and lose a day.

      If you wanted to cause serious disruption to big corporate, a better twist would be to hunt out General Ledger type databases, randomly inject\modify data, and then silently die.

      The fallout from that sort of attack would be monstrous...

    37. Re:Mailers? by caluml · · Score: 1
      Thus, you may very well have the same number of successes in the same amount of time even if your hit rate is much lower.

      Yes, but without flooding the network with easily noticeable packets.
      I might miss one packet on port 139 in the midst of normal traffic. But when it is 95% of the traffic, it shows up really easily on tcpdump.

    38. Re:Mailers? by whittrash · · Score: 1

      To follow the same idea of a self injecting virus. What if a virus went a bit more sci-fi based on a bateria like profile. What if someone made a BitTorrent like virus, it uploaded the sharing code to the exloited computer first, then registered itself in an auto generated group and searched the net for other groups or viruses to steal code from. It could upload new virus code to itself over time and intentionally infect itself in parts of its network to test the code. Of course most systems would eventually crash, but the few that didn't would mutate to the next level as they grabbed code and integrated it into the BitTorrent DNA. Eventually it could give itself an immune response, to stay one step ahead of the people trying to patch it once a successful mutation had arrived. The virus could autmatically swap bits of code (much like bateria do) to give itself immunity to the latest patch. The virus could even maintain code for different systems so it could infect anything it touched. The whole net could turn into a churning vat of net goo.

      It would be a great B movie screen play. But who would star in it, maybe Daniel Baldwin and Michael Dudikoff who will play hackers? Who would be the villain you ask! A fake Michael Powell played by Louis Gosset Junior who wants to censor all data on the net and a fake whats his name, the head of the FBI played by Patrick Swayze's brother Don Swayze as the incompetant FBI guy who won't listen until its too late! I will call the movie, Datavore. The sequel will be Datavore II, the reboot. Datavore III will have the data come to life. Datavore IV will be Freddy vs. Datavore.

    39. Re:Mailers? by Zen+Punk · · Score: 0

      What about a virus that has code which ensures it propagates itself to a certain number of other hosts before it destroys its native host?

      --
      Sleep is futile.
    40. Re:Mailers? by voixderaison · · Score: 1

      Worms need not be benign in order to propagate and destroy. The Witty worm probably infected within 45 minutes every vulnerable machine which was exposed on the internet and powered up at the time -- and then wrecked them.

      The Spread of the Witty Worm
      Witty Worm Analysis -- LURHQ

      A hybrid worm/mass-mailer-virus could have the best of both worlds -- lying "dormant" for a while on filesystems, in email systems ready to infect any systems that wake up late in the day -- even after it's destroyed the bulk of the vulnerable Windows systems on the net. If it were further hybridized with worms that can be delivered as adware/spyware it would crawl down browsers, bypassing both your firewall and your antivirus program, and then spew itself out via email and network probes to infect the soft candy center that exists at the heard of most networks. We've seen worms that do each of several very clever things. A worm that does all of them won't be stopped in time on today's networks.

      If Witty had exploited LSASS instead of a second-tier firewall product, people in Hawaii would have woke up that morning to a Windows-free world. Kinda like the computer version of 28 Days Later where we *NIX users would be wandering around a nearly-empty internet wondering, "where did everybody go?" (Well, OK, most of us would be wondering, "Why is my network connection so fast today?")

      It could happen with the next buffer-overflow exploit in anything on Windows that listens on any of the ports that we all know and loathe. A Witty/LSASS worm would have destroyed a significant percentage of the Windows systems in the world within two hours. I am left with questions.

      Would managers of IT shops continue to act as though Windows insecurity isn't a problem?

      Would Microsoft be able to get the CERT advisory revised a couple days later to strike the recommendation that customers consider using a more secure system?

      If the world keeps licking the Microsoft Windows Tootsie Pop, eventually we're gonna know how many licks it takes.

      --
      Things should be made as simple as possible, but not any simpler. -- Albert Einstein
    41. Re:Mailers? by stev_mccrev · · Score: 1
      Read about the mechanics of disease spread with respect to viruses and you'll see why this does not happen. Highly damaging viruses don't spread far.

      Well, yes, but only if the virus distribution channel is dependant on its host.

      In real life terms, a disease that is spread through a dirty water supply can be extremely more deadly than one that requires the host to infect others through close contact.

      But, this notion is harder to apply to PC virii, as there aren't really other distribution channels available.

      However, if someone wrote a virus that spread across the net, infecting PC's in the usual manner, but its payload destroyed all printers or PDAs or some other peripheral device connected to the host, it could be much more malicious, as destroying targets would not limit the spread of the virus.

      Though I do agree with your point that today's virus writers want control, not damage.

    42. Re:Mailers? by Anonymous Coward · · Score: 0

      Woulda given you a +1, Interesting if you hadn't lost your mind and written that second paragraph.

    43. Re:Mailers? by DMUTPeregrine · · Score: 1

      This paper is also quite interesting. Distributed computing meets the worm.

      --
      Not a sentence!
    44. Re:Mailers? by Anonymous Coward · · Score: 0

      How difficult would it be to make a Slammer-type virus, maybe something that abused Netbios UDP 137 or 138, that mutated randomly? Maybe if the starting version made it so that 1/2 the packets had a single byte delete, insert or change.

      So you start to see some versions that are a little longer, have randomly more interesting effects... give the virus an artificial "lifespan", so that it kills it self (at least the first version does ;) ) and leaves the host open to reinfection at some later point :)

    45. Re:Mailers? by mrogers · · Score: 1

      How thoroughly evil. :-) Thanks for the link.

    46. Re:Mailers? by whittrash · · Score: 1

      I agree Michael Dudikoff was a bad choice, it should have been Elijah Woods and McCauly calkin as the hackers.

  4. Sloppy or devious? by hcdejong · · Score: 5, Insightful

    From the article: "I haven't seen such ruses used in a mass mailer in a long time. This piece of code is so sloppy, it's devious," said Mircea Ciubotariu, a researcher at Romanian AV firm BitDefender.
    I'm sure it's lost something in the translation. The rest of the article suggests it's by design rather than accident.

    1. Re:Sloppy or devious? by toasted_calamari · · Score: 2, Interesting

      Perhaps the AV people just like to convince themselves that the virus writers are bad coders, rather than live with the apparent reality that some of them are actually quite good.

      Or maybe I'm to cynical.

    2. Re:Sloppy or devious? by afidel · · Score: 3, Informative

      No, from what I read the virus has a crappy date detection routine and for some reason the "safe" environment they run tests in causes it to break. Of course when writing a virus you go for lean and mean rather than using the standard bloated OS interface so it's not a bug in the virus so long as it works correctly under a normal environment.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  5. Script kiddies becoming worse? by Turn-X+Alphonse · · Score: 0

    Sounds like a strip kiddy tried to write a virus, got lucky and is now making alot of trouble. Maybe this is the virus of the future... write it totally backwards or in a different language and then watch the anti-vir companies squirm.

    --
    I like muppets.
    1. Re:Script kiddies becoming worse? by Anonymous Coward · · Score: 0

      Sounds like a strip kiddy

      Hey buddy, you take your child pornography someplace else, mmmmmkay! :)

    2. Re:Script kiddies becoming worse? by irokitt · · Score: 4, Funny
      Sounds like a strip kiddy tried to write a virus

      Strippers writing viruses? Sounds like a Fox special. And, being your typical Slashdotter without a girlfriend, I have to ask, do you have pictures?

      /grammar nazi
      --
      If my answers frighten you, stop asking scary questions.
    3. Re:Script kiddies becoming worse? by Anonymous Coward · · Score: 0

      That's "kiddy", not "kitty". Unless you're Pete Townsend, you may not want what you're asking for.

    4. Re:Script kiddies becoming worse? by Anonymous Coward · · Score: 0

      Maybe irokitt is doing research too!

    5. Re:Script kiddies becoming worse? by kannibal_klown · · Score: 1

      I just read an article about a famouse porn star actress (Asia) that now writes html, maintains her webpage herself, and plays Unreal 2004.

      Almost along the same lines.

    6. Re:Script kiddies becoming worse? by mslinux · · Score: 1

      Many notable ideas come from researchers who beforehand knew nothing about "how to go about" things. People from the outside looking in sometimes make dramatic discoveries very quickly as there have no preconcieved notions on "how things should be". "If you can describe your subject with numbers... quantify it, then you know something about it. If you cannot quantify it, then your knowledge of it is of a feeble and unsatisfactory type." -- Kelvin

    7. Re:Script kiddies becoming worse? by donscarletti · · Score: 1

      I believe the Melissa virus was named after a stripper. Does that count?

      --
      When Argumentum ad Hominem falls short, try Argumentum ad Matrem
  6. Re:Okay...? by ePhil_One · · Score: 3, Funny
    Worm or Virus?

    Since they claim it requires user intervention, that would make it a virus, since worms are self-propagating.

    Of course, given the accuracy I've come to expect from Slashdot summaries, it could be a new version of MS IE...

    --
    You are in a maze of twisted little posts, all alike.
  7. Hex it? by Gunfighter · · Score: 1, Insightful

    Can't they break it down with a hex editor and see what's under the hood?

    --
    -- Stu

    /. ID under 2,000. I feel old now.
    1. Re:Hex it? by Short+Circuit · · Score: 2

      Sure, but they can't step through it. The virus detects the debugging environment and exits.

    2. Re:Hex it? by vasqzr · · Score: 1, Funny


      Can't they break it down with a hex editor and see what's under the hood?

      You've watched Hackers way too many times.

      Dade: This isn't a virus. It's a worm!

    3. Re:Hex it? by Jonboy+X · · Score: 5, Insightful

      Can't they break it down with a hex editor and see what's under the hood?

      Not really. It's kinda like looking at that blueprints to a race car. Even if you know every little bit of the thing, you don't really understand what it does or how it does it until you can take it out on the test track.

      Besides, looking at compiled code in a hex editor is kinda like looking at a jpeg in a hex editor. Maybe you see some interesting patterns, but it's tough to get the big picture.

      BTW, yes, it is bad analogy week here on Slashdot. Didn't you get the memo?

      --

      "In a 32-bit world, you're a 2-bit user. You've got your own newsgroup, alt.total.loser." -Weird Al
    4. Re:Hex it? by Anonymous Coward · · Score: 5, Insightful

      Apparently they want to run it in one of the "modern" debuggers. If the program manages to run through a few very simple tests, it'll detect it's in a debugger environment and can easily self-destruct.

      I did things like this years ago when fiddling around with a copy protection scheme. (Remember those days?) Trivial, really .. but they're right: I don't think things like that have been done in a while. Some vandal's been playing with the Way-Back Machine :-)

      If you really step through the code with a debugger, you can see the tests and traps (if you know what to look for) and avoid them. But that's tedious, to say the least.

      Obviously somebody at the virus scanner companies couldn't be bothered, and was impressed with or surprised by a lousy "debugger bit test".

    5. Re:Hex it? by Anonymous Coward · · Score: 1, Interesting

      yes but x86 is not a fun one to disassemble. mix in the windows dll calling and a few other normal things, and i would guess it would take a long time to disassemle something as simple as win95's notepad.

      because x86 is a CISC type of processor, its hard to find instrictions after the first dynamic jump (is that data or code for the next x bytes?)
      think of it as if we didn't have spaces when we wrote. you could still read it, but it would take longer. youcouldstillreadit,butitwouldtakelonger.

      RISC code is usually easier to disassemple because it always starts on a word aligned byte.
      either way though, any code that self-rewrites or has dynamic jumps are a pain to take apart.

    6. Re:Hex it? by alienw · · Score: 1

      Well, you don't use hexedit, you use IDA. Of course, it's still a pain in the ass because even a 20kb long program is a major bitch to disassemble, especially if it's written in c++ and has hooks into the windows api.

    7. Re:Hex it? by HappyClown · · Score: 5, Interesting
      There's plenty of ways they'll be able to analyse it eventually, the problem is just that the tools they normally use trip up so they'll have to resort to more painful approaches and it'll take them a lot longer to figure out exactly what is going on.

      Anti-debugging techniques have been in use for a long time. As an example, I remember attempting to reverse engineer some (ahem) commercial code about 15 years ago on x86 (MS-DOS). The first problem I hit was they'd replaced the keyboard interrupt (INT 9) with their own handler, so my debugger no longer responded to keypresses. After I worked around that I then discovered that they'd used the breakpoint interrupt (INT 3) to implement some critical functionality. Normal users would never even know, but as soon as you're in a debugging environment everything falls apart.

      To be fair, them replacing the keyboard handler wasn't an anti-debugging feature but it still had the same effect since it still rendered my debugger impotent. It sounds like this virus has a similar effect.

      Of course it wasn't long before the debuggers started to provide ways to overcome these types of problems, but it was always a constant game of leapfrog and I can't imagine much has changed.

    8. Re:Hex it? by int19 · · Score: 1

      Probably, however keep in mind that all they would get is a disassembly at best. I'm not sure how the AV companies operate, but it would be a difficult/tedious/perhaps-impossible task of making proper sense of that.

      Go dis cat or something and attempt to trace it's execution; not so fun.

    9. Re:Hex it? by micromoog · · Score: 4, Informative
      It's hard, but not impossible. To go with your first analogy, a skilled auto engineer WOULD be able to tell you many things about the real-world performance, based only on reading the blueprint.

      Unless the writer has gone to great lengths to obfuscate, a disassembler combined with a skilled x86 assembly programmer should be able to tell you all about what it does. Maybe the AV companies don't have those skills . . . methinks they should.

    10. Re:Hex it? by Anonymous Coward · · Score: 0

      Run the debugger under expect or some other scriptable program that can run interactive programs. Run it through and count the number of steps it took to hit the exit. Next time have the debugging session scripted to run n-1 steps, find the saved instruction pointer, this should let you determine the function that called exit if the author used an exit function, if he instead exited based on the check function return then run the debugger and let it run n-2 steps and you should see the address of the check function. Either way it is easy to use a hex editor or the debugger itself to change the check function to always return false.

    11. Re:Hex it? by mr_z_beeblebrox · · Score: 1

      Can't they break it down with a hex editor and see what's under the hood?

      Forgive me for nitpicking moderators, how is a question insightful? This question SEEKS insight it doesn't RELAY insight. It is a good question though, but that should be a category.

    12. Re:Hex it? by frenetic3 · · Score: 4, Informative
      I'm guessing it's a standalone EXE, and it would require some advanced knowledge, but you could create the process with the CREATE_SUSPENDED flag and then inject code to replace in the import table any API calls the virus uses to detect the debugging environment (I'm guessing the one they use is the simple IsDebuggerPresent() Win32 API call)

      This used to be a pretty heinous hack but seems well documented now; googling for the keywords:
      SetThreadContext ebp eip CreateProcess CREATE_SUSPENDED WriteProcessMemory
      will get you some interesting results and tutorials.

      * http://codeproject.com/system/api_spying_hack.asp
      * http://tochna.technion.ac.il/project/Win32APIInter ceptor/doc/Win32APIInterceptorNew.pdf

      Pretty cool shit.. anyway, the point is after you put a dummy IsDebuggerPresent that always returns false, you can step through it normally.

      Or, heh, a method that would probably be a million times easier would to simply step through the code until it calls IsDebuggerPresent and change the value of EAX to 0 after it returns (since the return value of functions is placed in EAX after return).

      Anyway, just musing and putting up those links because I learned a lot about how Windows internals work through playing with things like that and figured others might want to learn.

      -fren
      --
      "Where are we going, and why am I in this handbasket?"
    13. Re:Hex it? by Anonymous Coward · · Score: 0

      The AV companies say they don't hire bad guys, but it used to be that the people who wrote viruses never released them, they'd just put it up on a BBS somewhere and let vandals actually release the things. I'm sure more that a couple former "grey-hat" virus authors (who never released any viruses - just wrote em) have been hired by AV companies, and you better believe those guys know x86 assembly.

    14. Re:Hex it? by Anonymous Coward · · Score: 0
      It is a good question though, but that should be a category.

      Like interesting maybe? We should petition for em to add that to /.

    15. Re:Hex it? by IamTheRealMike · · Score: 1

      Yeah, I'm not especially sympathetic - getting apps which utilise copy protection to run under Windows emulation often requires detailed tracing and disassemblies of the programs in question. Debugger detection in particular isn't especially hard to counter especially if you have tools like DLL relayers. If they're being stymied by anti-debugger checks then ... well, they need to hire some black hats.

    16. Re:Hex it? by Nogami_Saeko · · Score: 1

      Hmm... Interesting. Although programmers writing copy-protection techniques have been doing this sort of stuff for ages to try and keep reversers out of their code.

      I'm frankly surprised that they find it so much of a hinderance that the worm checks for a debugger, that should be absolutely trivial for them to bypass. Likewise this "date" thing that they say prevents running in a sandbox.

      --
      "Nothing strengthens authority so much as silence." - Charles de Gaulle
    17. Re:Hex it? by An+ominous+Cow+art · · Score: 1

      Like I said in another thread, use a hex editor to NOP out the offending code as well as any that checks for it being modified.

    18. Re:Hex it? by Anonymous Coward · · Score: 0

      Yeah, God forbid the antivirus people would actually have to do some work to earn their money instead of using canned tools over and over again. Since when has assembly language been considered advanced knowledge among virus/antivirus people? If it really is considered advanced then I guess we have a sad state of affairs.

  8. Interesting Concept by pHatidic · · Score: 3, Funny

    Atak uses a variety of tactics in its attempts to escape antivirus analysis. Its main trick is to check to see if it's being run in a debugging environment. If so, it exits to avoid detection.

    Would that make this worm a 'night crawer'?

    Badum Ching!

    1. Re:Interesting Concept by mikael · · Score: 1

      Sounds like trying to debug webcam software on Windows. If you run in Debug mode, Visual Studio can't find the web camera. Similarly RealPlayer won't start playing a new track until you quit debugging your application.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
    2. Re:Interesting Concept by moranar · · Score: 1

      BAMF!

      --
      "I think it would be a good idea!"
      Gandhi, about Internet Security
    3. Re:Interesting Concept by Anonymous Coward · · Score: 0

      I found a way in windows to crash almost any
      debugger with a small piece of code.

      UnampViewOfFile(hInstance);

      The trick is doing something after that.
      Actually, what you want is to copy your code
      onto the stack before that call, and jmp
      to it.

  9. Easy way to be safe by tomhudson · · Score: 4, Funny

    So all you have to do to be safe is make sure you've got a debugger running, and the virus kills itself. I guess that adds new meaning to the term "de-bugger" :-)

    1. Re:Easy way to be safe by julesh · · Score: 1

      No, I think it checks if it is running under a debugger, not just inside one.

      It's actually a fairly easy check to make on windows. I believe you can set an unhandled exception handling function and then call DebugBreak(). If you get to the exception handler, then you aren't being debugged.

  10. The 2nd oldest trick in the book by magefile · · Score: 4, Funny

    "You're right, it's pure genius - they couldn't guess we'd do that, because only a frickin' idiot would do that!" - paraphrased from (approximately) 3.14 million movies.

  11. Makes for better AV companies by StickMang · · Score: 5, Funny

    Maybe this will teach them how to teach outside the (sand)box! Maybe they can harness their synergy with this new paridigm shift into sandbox free thinking.

    Ahh, its 1999 all over again :)

    1. Re:Makes for better AV companies by DA-MAN · · Score: 5, Funny

      Score: +5 Buzzwords!

      --
      Can I get an eye poke?
      Dog House Forum
  12. geez! by manavendra · · Score: 2, Funny

    Just what we wanted - buggy bugs, erm, viruses!

    You know something's wrong with the world, when the malicious software itself is flawed..

    --
    http://efil.blogspot.com/
    1. Re:geez! by fuzzix · · Score: 1

      Not as flawed as this (page renders like shit in moz - scroll to the bottom...) How did this one get around?

      NAME: Simpsons
      ALIAS: Trojan.BAT.Simpsons

      This is a simple BAT trojan that deletes all files on C:, A:, B: and D: drives. The trojan uses 'DELTREE /Y' DOS command to delete the files. The trojan then tries to delete SIMPSONS.* files, but there are no more files on affected drives after the DELTREE command.

      The trojan is distributed as a self-extracting WinZip package that displays standard WinZip message after being run and then extracts the trojan and spawns it.

      This trojan was reported to be in the wild in late June, 2000. However, it does not seem to be significantly widespread (as it does not replicate further by itself).

      [Eugene Kaspersky, KL]

    2. Re:geez! by Xabraxas · · Score: 1
      (page renders like shit in moz - scroll to the bottom...)

      What's wrong with it? I use firefox and the page looks fine.

      --
      Time makes more converts than reason
    3. Re:geez! by fuzzix · · Score: 1

      With firefox 0.9x for Windows at work it rendered terribly - the content far down the page.
      With mozilla 1.7x here on Linux it's fine.

    4. Re:geez! by Xabraxas · · Score: 1

      Weird. I figured that you must have been using Moz on Windows because I've been using Moz on Linux for a long time now and have never had a problem with f-secure's site.

      --
      Time makes more converts than reason
    5. Re:geez! by Anonymous Coward · · Score: 0

      actually, it's the stuff that's *not* flawed that worries me. poorly coded stuff causes easily noticable symptoms (i.e. crashes, &c.), that immediately tips me off that something's not right with my box. they're usually pretty easy to find, and clean out, as well (haven't had to do a re-install on my home honeypot system in 4years -- but plenty of manual repairs). it's the well-coded, sneaky ones that bother me. nasty little buggers that load as kernel wrappers, eat less than 100kb, don't show up in task lists, use polymorphic encryption, &c. -- those are a much bigger p.i.t.a. (i.e. script-kiddie using VCL makes something that takes me ~5min to make sure i've cleaned off, after a safe boot to a mirror partition, the first time that my system crashes suspiciously. sneaky, nasty, trojen only gets discovered when i try to run a process that doesn't work well with it... after tracing the aparent new glitch down (could take hours), the clean-up (and possably repair) might require all night... for one box.

  13. "So sloppy it's devious"? by ites · · Score: 4, Interesting

    One or the other... devious or sloppy... but surely not both.

    Maybe it's just a sign that malware is evolving along the same rules as organic life: accidental errors get selected for survival value and passed along to following generations.

    Malware that detects and disables attempts to reverse engineer it... ?

    Or perhaps we can read the anti-virus researcher's comments in a totally different light: /tinfoil on

    "Most viruses [which we develop ourselves to stimulate sale of our products and services] have a function to let us easily identify and sandbox them. In this example, the function is broken. So sloppy it's devious [and perhaps intended as a warning that we're not paying our freelance coders enough]." /tinfoil off

    Nah.

    --
    Sig for sale or rent. One previous user. Inquire within.
    1. Re:"So sloppy it's devious"? by shadowcabbit · · Score: 3, Insightful

      One or the other... devious or sloppy... but surely not both.

      Yes, it is both. It's sloppy because whoever wrote this virus forgot to disable the suicide code before releasing it into the wild. The writer obviously would have written this into the virus during development so that he didn't hose his own machine.

      It's devious because now virus writers know that "forgetting" to "fix" their virus pisses off more people in high places, instead of just plain pissing off more people. It wastes resources and diverts attention from bigger threats-- or smaller threats which just get lucky.

      It's a tactic so totally stupid that it borders on brilliance.

      --
      "Why Subscribe?" Good question...
    2. Re:"So sloppy it's devious"? by Gigahertz · · Score: 5, Interesting

      Thats one way of looking at it... if you like looking at it the wrong way.

      It was intentional, there is no question of this. It's funny that they're calling the code sloppy, and I wish I had a copy of the virus to see if I can figure out why they're saying this.... but its obviously intentional, but barely genious....

      Too much is being made of it... It's not a new technique outside of viruses, it's been mentioned further up the page, and personally I've dealt with programs that do the same thing, and effort always wins. You find the test traps, and you patch around them. It's not even any harder for them to detect, or add signatures in their virus definitions for, it's only more difficult to analyze what it does, but we know its a virus... so this is a non-news waste of time, the attention brought to it assures that more viruses will come equipped with a debugger check, and likely some virus writer will take the extra effort to make the code SO complicated/long/difficult to trace through (this may be the case with them calling the code sloppy) and a lot of extra $$ will be wasted and probably find its way into the cost of anti-virus software subscriptions....

      It's not as if virus writers are the anti-virus writers bread and butter.... oh wait... yeah they are.

    3. Re:"So sloppy it's devious"? by chris_mahan · · Score: 1

      Well, why should virus writers spend time and energy into debugging their software when there are hundreds of people at antivirus companies ready to do it for them for free?

      --

      "Piter, too, is dead."

    4. Re:"So sloppy it's devious"? by That's+Unpossible! · · Score: 1

      It's a tactic so totally stupid that it borders on brilliance.

      "There's a fine line between stupid... and clever."

      --
      Ironically, the word ironically is often used incorrectly.
    5. Re:"So sloppy it's devious"? by Tony-A · · Score: 1

      Ever had code that worked under a debugger but failed when the debugging stuff was removed?

      Now if you take advantage of code with that kind of characteristic, ....

    6. Re:"So sloppy it's devious"? by rodac · · Score: 1

      "or add signatures in their virus definitions for"

      I am still waiting for when someone studies and figures out how a virus scanner works and adapts the virus to it.
      For example, does anyone think a virus scanner will scan the entire executable when scanning a file?

      No, that would take ages, what the scanner instead does is reading the first x kb of the exe and the last x kb of the exe to check if someone has been modifying any of the tables for load-linking. And most virii gets added to the end of the exe since that is the easiest place to put the virii.

      What a virus would need to do is to understand the filestructure of an exe and insert itself somewhere random in the middle of the exe, where the scanners never check.
      This would require the virus to be more intelligent and understand the exe filestructure to modify it and add a block of code to somewhere in the middle of the file.

      The only solution to that is to change virus scanners to start scanning the entire file instead of just a few kb at select places.
      And you think todays virus scanners make the computer slow ...

    7. Re:"So sloppy it's devious"? by Gigahertz · · Score: 1

      This is one of the reasons why they analyze the viruses... to find out how they infect other files, so they can add to their virus definitions how/where to find the viruses in other files.

  14. Not a worm by goldspider · · Score: 5, Informative
    "...and it still requires user intervention to infect."

    Then it's not a worm.

    --
    "Ask not what your country can do for you." --John F. Kennedy
    1. Re:Not a worm by cuzality · · Score: 2, Informative

      "A computer worm is a self-replicating computer program, similar to a computer virus. A virus attaches itself to, and becomes part of, another executable program; a worm is self-contained and does not need to be part of another program to propagate itself."

      Source: Wikipedia

    2. Re:Not a worm by haystor · · Score: 1

      It is the self-replicating part that makes it fail the definition of worm.

      There is another term for code that requires a user to run and do things. It is called a "program".

      --
      t
    3. Re:Not a worm by bradkittenbrink · · Score: 1

      Umm, that doesn't mean that that's the only difference between a virus and a worm. A worm typically does not need to be activated by the user. A standalone program that causes damage to the system (and may send copies of itself to other systems) but requires activation by a user is typically called a trojan

    4. Re:Not a worm by drinkypoo · · Score: 1
      And when you have to run the program, and it masquerades as something else, we call it a "trojan".

      By some arguments, however, copying itself into an email is a form of replication. Like a virus, it will not infect every system into which it intrudes, only those with weak immune systems, which is to say stupid users :)

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    5. Re:Not a worm by DavidTC · · Score: 1

      Specifically, it's called a trojan horse.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    6. Re:Not a worm by julesh · · Score: 1

      I believe a worm is a program that sends copies of itself to another computer. A trojan is a malicious program that requires activation by the user. So this is a trojan worm.

    7. Re:Not a worm by Anonymous Coward · · Score: 0

      A trojan worm? Who'd bring THAT inside the walls?

    8. Re:Not a worm by jfengel · · Score: 1

      "Trojan" also implies that the program is disguised as something the user wants. I first saw it applied to programs uploaded to bulletin boards as games or utilities, and they often actually served those purposes in addition to the malware payload.

      I suppose that matches this case, but man, what kind of a fool does the user have to be to take software from an unsolicited email? At least with a BBS you were fooled into inviting the software in. I'd like a separate category for programs that are obviously malicious and are run only by the dumbest users (or by smart users who are momentarily careless; I've seen those, too).

    9. Re:Not a worm by Anonymous Coward · · Score: 0
      I believe a worm is a program that sends copies of itself to another computer.

      A worm needs to be self-replicating, a test which this fails. Hence its just a Trojan Horse whose secret payload is a mass mailing of itself.

  15. How does it do that? by GillBates0 · · Score: 5, Interesting
    Maybe this is a trivial question for l33t haxx0rz, but how would a program figure out it was running in a debugger? The register article doesn't explain this. Are the checks limited to a set of debuggers, which probably set a certain environment/variables which can be probed?

    One possible method I would probably use (off the top of my head) is to find out the time elapsed between executing two instructions - the time would be fairly high if the code were being singlestepped to.

    --
    An Indian-American Hindu committed to non-violent thought/speech/action alarmed by the global explosion of radical Islam
    1. Re:How does it do that? by kisrael · · Score: 0

      Mod parent up; that's a very good question, and fun for speculation.

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    2. Re:How does it do that? by afidel · · Score: 1

      Uh, check the processor? Yeah there's a flag that is set when it's in debug mode. Of course the code to check the flag is easily recognized and JMP'd over so it doesn't take a genius to defeat it, wonder why it would have even slowed down the guys at an AV lab?

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    3. Re:How does it do that? by Anonymous Coward · · Score: 0

      You got it right. Funny that no one mentioned that; maybe they don't want this ancient bit of magic to get out?

      Silly, really: any processor manual describes it. The 8080's had it, Z80, 8086, etc. I presumed the new processors still did (although I haven't debugged anything or worked at that processor register level in years) since debuggers still exist and still work.

      Someone at the virus scanner firms just couldn't be bothered, I guess. Or didn't realize what was going on. (doh)

    4. Re:How does it do that? by JamesO · · Score: 5, Informative

      You hook the int 2 (?) and int 3 during the run, so your code gets called before the debugger's breakpoint handler, amongst other techniques.

      Have a look at this paper and be enlightened :)

    5. Re:How does it do that? by g0bshiTe · · Score: 4, Interesting

      The virus most likely makes use of the Windows API, in such a case the virus would just have to keep an eye on the memory, when it notices a BREAKPOINT set on a certain API call (which is usually never encountered on a normal computer, unless reversing) the program exits.

      There are tons of CRACKME's (small program written solely for people to crack or bypass) I have seen which look for debuggers and will exit if encountered.

      --
      I am Bennett Haselton! I am Bennett Haselton!
    6. Re:How does it do that? by beuges · · Score: 2, Informative

      From MSDN:

      IsDebuggerPresent

      The IsDebuggerPresent function determines whether the calling process is being debugged.

      BOOL IsDebuggerPresent(void);

      Parameters
      This function has no parameters.
      Return Values
      If the current process is running in the context of a debugger, the return value is nonzero.

      If the current process is not running in the context of a debugger, the return value is zero.

      Remarks
      This function allows an application to determine whether or not it is being debugged, so that it can modify its behavior. For example, an application could provide additional information using the OutputDebugString function if it is being debugged.

      To determine whether a remote process is being debugged, use the CheckRemoteDebuggerPresent function.

      To compile an application that uses this function, define the _WIN32_WINNT macro as 0x0400 or later. For more information, see Using the SDK Headers.

      Requirements
      Client: Included in Windows XP, Windows 2000 Professional, Windows NT Workstation 4.0, Windows Me, and Windows 98.
      Server: Included in Windows Server 2003, Windows 2000 Server, and Windows NT Server 4.0.
      Header: Declared in Winbase.h; include Windows.h.
      Library: Use Kernel32.lib.

    7. Re:How does it do that? by kisrael · · Score: 1

      Huh...
      Actually, I'm almost surprised processors still have the "debug flag"...maybe I've spent too much time in VM land (Java), but given all we've heard about speculative processing and the like, it's amazing we can debug at all...

      --
      SO YOU'RE GOING TO DIE: The Comic for Dealing with Death
    8. Re:How does it do that? by ryants · · Score: 5, Informative
      There are a couple of ways. Here's one that I took from "Building Secure Software". Debuggers tend to reset the processor instruction cache on every operation. Normally this doesn't happen except when a jump happens. So you can write code that changes instructions that should definitely be in the cache. If we're not running under the debugger, this has no effect, because the change doesn't cause the cache to refresh. Under a debugger, things can break:
      1 cli

      2 jmp lbl1

      lbl1:
      3 mov bx, offset lbl2

      4 move byte ptr cs:[bx], 0C3h

      lbl2:
      5 nop

      6 sti

      ; Continue normal operations here
      Commentary:

      1 Clear interrupt bit, so that code is sure to stay in the cache the entire time

      2 Causes CPU I cache to reload

      3 Store addr of lbl2

      4 Store a RET over the nop at lbl2 (0C3h = RET)

      5 nop to be clobbered only if under debugger

      6 Remove interrupt bit

      Of course you need to be a bit stealthier than this, but this is the basic idea.

      --

      Ryan T. Sammartino
      "Ancora imparo"

    9. Re:How does it do that? by micromoog · · Score: 1

      Maybe it checks to see if it's on the Internet by attempting to contact some known server. If it's on an isolated network, it quits.

    10. Re:How does it do that? by neil.pearce · · Score: 1

      Software breakpoints are achieved by modifiying the code being executed, so on an x86 processor you insert (I think) the byte 0xCC (an INT 3 instrution) in the code and the INT 3 call is trapped by the debugger.
      Checking through the program for them or doing checksums is pretty lame, so they probably set some sort of decryption routine involving the actual byte values of the decryption code itself, so if you try stepping through (naively) it doesn't decrypt correctly.
      You could place specific bytes below the stack pointer that you've calculated won't get overwritten through iterations of your own code, but will if somebody is interupting it and (for instance) saving and restoring registers between calls.
      You could presumably search loaded system DLLs, process names, semaphores etcs... for well-known debugger items.

    11. Re:How does it do that? by StillAnonymous · · Score: 4, Interesting

      There are literally dozens of ways to check for the presence of debuggers. Some people have already mentioned some here. Here's a few more:

      Int68:

      MOV AH, 43h
      INT 68h
      CMP AX, 0F386h
      JZ FoundDebugger

      Check for SoftIce(most common/powerful debugger) by using the CreateFileA API to check for the SICE VXDs.

      And an interesting one found in the SafeDisc protection where(if I recall) they use a checksum of the GDT to decrypt a section of code. The debugger modifies this table and will cause the code to crash.

    12. Re:How does it do that? by vi+(editor) · · Score: 2, Informative

      This is a very stupid method (not for a virus of course...).
      If a processor uses a different cache updating scheme which updates the instruction cache upon writes into memory then your program won't run.
      You might argue that "this would be stupid processor design" or "not necessary for any decent processor to do this" - well, such methods were the reason why several copy (crack) protected old DOS programs won't run on Pentium computers. The method used there was exploiting the same effect with the instruction pipeline instead of the instruction cache. Some nops were overwritten with a ret or an interrupt call causing a program within a debugger to exit. However, the pipeline on the Pentium was either too small or a write triggered a refresh - I don't recall the actual details. So the program always exited.

    13. Re:How does it do that? by schabi · · Score: 2, Interesting

      Well, how can I toggle the interrupt bit in userspace? I presume this is only allowed when running in kernel mode (ring 0 on x86).

      --
      plim-plam-plompudding
    14. Re:How does it do that? by julesh · · Score: 2, Informative

      1. STI/CLI are priveleged instructions, so cannot be run by a windows process (other than a driver)

      2. This will only stop a debugger in single step. If the user spots what you're doing, they just put a breakpoint after this code and run through the whole section and it works fine.

    15. Re:How does it do that? by maxwell+demon · · Score: 1

      Well, it's called "speculative debugging". The debugger guesses what might have happened. Good debuggers will also tell you an estimated probability of the correctness of what they tell you.

      SCNR

      --
      The Tao of math: The numbers you can count are not the real numbers.
    16. Re:How does it do that? by scharkalvin · · Score: 1

      Writeing to the code segment is also a privilged
      operation.

    17. Re:How does it do that? by IamTheRealMike · · Score: 3, Interesting
      And an interesting one found in the SafeDisc protection where(if I recall) they use a checksum of the GDT to decrypt a section of code. The debugger modifies this table and will cause the code to crash.

      SafeDisc also loads a driver into the kernel which reads the debug register in the CPU. SafeDisc does a whole ton of clever things though, those guys really know their stuff, so I can well believe it hashes the GDT too.

      The most common techniques are checking for SoftIce (a very, very popular kernel level debugger) using a variety of techniques, google for "MeltIce" to see one I patched Wine to work with a few weeks ago, checking the x86 debug register, playing with interrupts, examining a Windows internal structure called the PEB, and so on... lots of devious tricks you can use.

    18. Re:How does it do that? by buttahead · · Score: 1

      and if it did that, could they not see it was checking for the dubug process...

    19. Re:How does it do that? by djtack · · Score: 1

      If you still have some gmail intives, could you send one to dylan@io.com (I fear no spam harvesting-bot). Thanks!

    20. Re:How does it do that? by Anonymous Coward · · Score: 0

      It's actually INT 1 (EXCEPTION_SINGLE_STEP) & INT 3 (EXCEPTION_BREAKPOINT)
      that handle debugging events on a x86 cpu.

      But to hook these handlers, you need a driver. I suspect the anti-debugging tricks are much more high-level (thus also easy to defeat) than that.

    21. Re:How does it do that? by ryants · · Score: 1

      I didn't claim this was a good or practical way. It was just "a way".

      --

      Ryan T. Sammartino
      "Ancora imparo"

    22. Re:How does it do that? by BillKaos · · Score: 1

      Check for SoftIce(most common/powerful debugger) by using the CreateFileA API to check for the SICE VXDs.

      Sorry, the workaround for this is years old, SICE is so powerful that for any debugger check you can easily workaround it.

      This will change with Palladium thought.

  16. AV software particularly effective? by Short+Circuit · · Score: 1, Troll

    I'm not familiar with how AV software innards work, but if the virus exit()s if it detects itself running in a debugging environment, wouldn't AV software make the virus moot?

    I mean, it still resides on your machine, but it refuses to run.

    1. Re:AV software particularly effective? by Azrael+Newtype · · Score: 2, Insightful

      The talk of running in a sandbox enviornment was for AV software companies. They intentionally release viruses into a sandbox environment in order to figure out how they work to develop the countermeasures included in their updates. A regular user with AV software doesn't have a separate sandbox for running e-mail usually, so it'd install into the main system, and therefore infect, and the AV software wouldn't even see it, as it won't until they release new DAT files for whatever AVS you run.

      --
      I'm always right and I can prove it, because to the best of my knowledge, I've never been wrong.
    2. Re:AV software particularly effective? by Short+Circuit · · Score: 1

      Uhm, I thought the article made a clear distinction between a "sandboxed environment" and a debugging environment.

      But I guess a public discussion forum isn't a good place to discuss how AV software works.

    3. Re:AV software particularly effective? by kfg · · Score: 1

      Yes, because one can be in the sandbox enviroment without being in a debugging enviroment. The latter in this case being run inside the former.

      Just like you could specifiy being in an automotive enviroment but might also specify being in a driver's seat enviroment.

      (Conversely, I'm in a driver's seat enviroment right now, but not in an automotive one, since my desk chair used to reside in an automobile)

      KFG

  17. Ironic quote by mabu · · Score: 4, Insightful

    "I haven't seen such ruses used in a mass mailer in a long time. This piece of code is so sloppy, it's devious," said Mircea Ciubotariu, a researcher at Romanian AV firm BitDefender.

    Considering virus writers are more motivated by being devious than impressing analysts, doesn't it seem inappropriate to assume the coding was "sloppy?"

  18. Another worm that requires user intervention... by Microlith · · Score: 1

    is another worm that I'll never see on my Windows box!

    1. Re:Another worm that requires user intervention... by Almond+Tree · · Score: 0

      Yeah, but can I get it to run under WINE?

      --

      bau bau chicka chicka mau mau

    2. Re:Another worm that requires user intervention... by Anonymous Coward · · Score: 0

      "is another worm that I'll never see on my Windows box!" ...until your mum, girlfriend, sister, etc. needs to check her email...

    3. Re:Another worm that requires user intervention... by msim · · Score: 1

      Fortunately my mum, dad, sister and girlfriend are all well trained in the arts of if-in-doubt-delete and how to download the latest virus def's weekly. :-)

      --

      Life is like a box of chocolates, you never know when your gonna get food poisoning.
  19. what is it gonna be? by Anonymous Coward · · Score: 3, Insightful

    "This piece of code is so sloppy, it's devious," said Mircea Ciubotariu

    If it's intentional, it's not sloppy...
    If it's not intentional, it's not devious...

    1. Re:what is it gonna be? by fasthek · · Score: 1

      sharp analysis.

  20. Re:Okay...? by perly-king-69 · · Score: 1, Funny
    Of course, given the accuracy I've come to expect from Slashdot summaries, it could be a new version of MS IE...

    ...or a dupe.

    --

    --
    This sig is inoffensive.

  21. "HER" code? by md358 · · Score: 4, Funny

    C'mon, *her* code? Isn't that a bit gratuitous? I mean, we're talking about code here, not a delicious turkey dinner.

    1. Re:"HER" code? by Anonymous Coward · · Score: 0

      It's a joke moron. Not to mention being a "family guy" quote.

    2. Re:"HER" code? by Anonymous Coward · · Score: 0

      Oh, you mean a time when people had time to relax, it only took one income to support a family, employers had some loyalty to their employees, and it didn't take 5 PhDs to get an entry level job?

    3. Re:"HER" code? by Anonymous Coward · · Score: 0

      yes its sexist, but i caught the reference, which is why it was funny.

      lighten up people

    4. Re:"HER" code? by Anonymous Coward · · Score: 0

      Be useful and start cooking, female.

    5. Re:"HER" code? by Eythian · · Score: 1

      Actually, it's not necessarily (well, the language use bit, anyway). In English, 'he'/'his' can be used for a gender-non-specific singular pronoun for animate things (like people), unless it is known that the person is female. Inanimate things are referred to as 'she'/'her', which is why boats are usually called 'her'. It has nothing to do with male and female, it's just a feature of the language.

      Note: There is mention of it on wikipedia.

  22. Sound familiar? by captnjameskirk · · Score: 5, Funny

    1) Contains a "bug", well let's just call it a "feature". 2) Sloppy code, but Hey! it works. Sort of. 3) Run on Windows only. Sounds like every piece of comercial software sold by Microsoft to me.

    1. Re:Sound familiar? by j_sp_r · · Score: 1

      Word for the mac :P

    2. Re:Sound familiar? by Anonymous Coward · · Score: 0

      One of Murphy's Laws of Combat - If it's stupid and it works, then it isn't stupid.

  23. More damaging. by khasim · · Score: 5, Insightful

    If the virus randomly changed a few numbers in a few of the Excel spreadsheets it could access.

    Damaging the computer itself is too easy to catch and causes people to take it seriously.

    Changing data has more implications for CORPORATIONS and would take longer to detect.

    1. Re:More damaging. by IWantMoreSpamPlease · · Score: 1

      Agreed, but the question is the motivation of the virus writer.

      Some years ago there was a virus that looked in word docs for certain law-enforcement related keywords, and then did damage.

      One virus had been commented "stop making money billy and fix your software" (or words to that effect)

      If a virus writer had an agenda, wiping Windows PCs would be a prime one.

      --
      So rise up, all ye lost ones, as one, we'll claw the clouds.
    2. Re:More damaging. by Anonymous Coward · · Score: 5, Interesting

      This comment should be Score:10

      It has been awhile since a virus actually *did* something real bad to screw a user.

      First Gen virii: Wipe hard drives, boot sectors, etc. For the most part, I haven't scene these for awhile...

      Second Gen virii: Zombie annoying spam/dos crap that is annoyingly hard to remove. Slows the computer down but most clueless users probably don't even notice until one of us comes to clean off the 200 or so spyware/spam virus crap they have on thier machine...)

      Next-gen: Random sentence inclusion into all word docs, change #'s in excel sheets, alter contents of address books, random data into access/sql databases.

      That sh*t would be brutal to deal with.

      Its one thing to know you have to restore from backups after a harddrive is wiped, or you just can't seem to shake the virus.

      Its a whole other ballgame when the virus goes undetected for a month and the excel sheets you've been conducting your business with have been screwed with. Yeah, you can restore and recreate a month's worth of work, but how do you account for the decisions you've made with bad data over the course of that month?

      Or even more fun, long documents you produce for meetings or public distribution. Embeded within are names harvested from your address book appended with a few choices words?

      "Our gross margins have increased by 12% this last quarter and Larry Teasdale is teh suck."

    3. Re:More damaging. by thoromyr · · Score: 1

      I don't recall the name, but a number of years ago I remember dissecting a Word macro virus that had (commented out) code that would randomly delete a letter or word from a document (I think each time it opened). Truly hideous Thoromyr

    4. Re:More damaging. by ArsenneLupin · · Score: 3, Insightful
      All this would still be way to tame. Why stop at corrupting data, when you can have way much more fun leaking it?

      Or even more fun, long documents you produce for meetings or public distribution. Embeded within are names harvested from your address book appended with a few choices words?

      Why not scan Word documents for names, and cross-reference those with your address book? As soon as a match is found, mail them said document. John Smith will surely be glad to learn that you intend to announce to him at next week's meeting that you'll fire him. Or ACME-soft will be pleased to learn that you are so dissatified with their service that you are shopping for a competitor ;-) But fore-warned is fore-armed. Endless fun!

    5. Re:More damaging. by The+Conductor · · Score: 2, Funny

      Wan't a smilar virs targete at slashcoe?

    6. Re:More damaging. by Anonymous Coward · · Score: 0

      I belve thre is a smilar virs infectng sme copes of Iterne Exlprer.

    7. Re:More damaging. by maxwell+demon · · Score: 1

      But I could imagine that making Windows just look a bit less stable (like, every now and then, a save from a random program destroys the file instead, programs start to crash randomly once in a while, ...) would be more effective in making Windows look bad. After all, instability is what everyone expects from Windows anyway, so if the increase if instability isn't too rapid, you wouldn't really suspect a virus, but just blame Microsoft. Thus, such a "slightly destructive" virus would probably cause more long-term damage to the Windows platform than a "wiping Windows" virus.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    8. Re:More damaging. by default+luser · · Score: 1

      This has already been done.

      One of the earliest Word macro viruses were the Wazoo variants. It would randomly replace words in documents with "Wazoo", and infect other documents opened after the infected one.

      It's not hard to imagine something less obvious and more nefarious already in circulation...we had enough trouble noticing something as obvious as Wazoo...

      --

      Man is the animal that laughs.
      And occasionally whores for Karma.

    9. Re:More damaging. by LWATCDR · · Score: 2

      How about a virus that randomly changes == to = in files :)

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    10. Re:More damaging. by KilobyteKnight · · Score: 0, Redundant
      But I could imagine that making Windows just look a bit less stable (like, every now and then, a save from a random program destroys the file instead, programs start to crash randomly once in a while, ...) would be more effective in making Windows look bad. After all, instability is what everyone expects from Windows anyway, so if the increase if instability isn't too rapid, you wouldn't really suspect a virus, but just blame Microsoft: Thus, such a "slightly destructive" virus would probably cause more long-term damage to the Windows platform than a "wiping Windows" virus.


      You've described the normal behavior of Windows. How could you tell Windows had a virus?
      --
      When will Windows be ready for the desktop?
    11. Re:More damaging. by nine-times · · Score: 5, Insightful
      'Next-gen: Random sentence inclusion into all word docs, change #'s in excel sheets, alter contents of address books, random data into access/sql databases.

      That sh*t would be brutal to deal with.

      Its one thing to know you have to restore from backups after a harddrive is wiped, or you just can't seem to shake the virus.

      Its a whole other ballgame when the virus goes undetected for a month and the excel sheets you've been conducting your business with have been screwed with. Yeah, you can restore and recreate a month's worth of work, but how do you account for the decisions you've made with bad data over the course of that month?'

      You're absolutely right, and I bet most people aren't taking what you're saying seriously enough. Do you know how many businesses keep track of things, even financial data, in just Excel spreadsheets? I mean, NO real paper trail, and even nothing clear to check the numbers against?

      Even when you're talking about corrupting data, it's one thing to delete a random letter from a word document- a spell-check will probably catch it. If a virus added a particular sentence to word documents (the same sentence each time), you can at least find out if the document has been corrupted by searching for that sentence. Even random sentences, which would be much harder to deal with, would be noticable when someone goes to read it. However, shifting individual numbers in an Excel document 10%, up or down, randomly? That could easily go unnoticed for a long time, and even when you go to the backups, how do you know you have retrieved an old enough version to be an uncorrupted version?

      The idea kind of reminds me of the Office Space/Superman III scheme of writing a virus that rounds down to the nearest cent and sends the excess to a bank account.

    12. Re:More damaging. by Anonymous Coward · · Score: 0

      Why not actually physically damage the computer. Flash a bios to remove the hard drive speed limiters, and WEEEEEEEEEEEEEEEEEEEE look at the drive spin. Then there is no need to restore from backup because there is nothing to restore to.

    13. Re:More damaging. by shopi · · Score: 2, Insightful
      How about not changing nor destroying documents, but *encrypting* them? Then you could extort those companies and goverments with your secret key.

      This is called "cryptovirology" and here is a really interesting book about it.

    14. Re:More damaging. by shotfeel · · Score: 1

      That's one way. Even worse, IMO, is something we're already starting to see. Not viruses that are there to mess up what's on the computer, but to sit silently, harvesting data that can be used to cause damage in the "real world". Think identity theft, stolen credit card numbers, and all the other forms of fraud and damage that can be caused by viruses that harvest data.

      My data I have safely backed up. My bank account is another matter.

    15. Re:More damaging. by IWantMoreSpamPlease · · Score: 1

      Agreed-

      IN fact, several of my clients can't tell when they have viruses that cause their system to go haywire, they merely assume Windows is being Windows, and it's time for a wipe and re-install.

      Sad how many people can get used to such poor software.

      --
      So rise up, all ye lost ones, as one, we'll claw the clouds.
    16. Re:More damaging. by qodfathr · · Score: 1

      Ouch! You have a sick mind!

      --
      Yes, it's true. This man has no dick.
    17. Re:More damaging. by Anonymous Coward · · Score: 0

      here's my 2Cents.

      1. Infect one file & change word/sentence.
      2. take that sentance before the change and use it as the new change in the next infection.
      3. (see step 2)

      Random, schmandom. If there's a set list of words to randomly chose from then repair is easier. Not easy mind you if the words are common, but easier. Plus this method is multi lingual. If you're Hebrew and your letter to grandma suddenly has the sentence "Bill Gates iz my Bitch" in English it my show your hand too soon.

    18. Re:More damaging. by The+Conductor · · Score: 1

      Moded fnny? Yu tink my tpos ar funy? I ty relly hrd!

    19. Re:More damaging. by Anonymous Coward · · Score: 0

      My bank account is another matter.

      Heh, that's why I still insist on paper statements. My bank may CLAIM that they're backing up, but I'm not taking any chances. Screw e-statements!

    20. Re:More damaging. by DeltaHat · · Score: 1

      Next-gen: Random sentence inclusion into all word docs, change #'s in excel sheets, alter contents of address books, random data into access/sql databases.

      The implications of this are truly horrific. Imagine a virus that quietly intercepted and altered data being read and written to a database. Not big changes, just +/- 10%. In a large corporate database with millions of records, this could go undetected for weeks. How long is the average tape rotation on a large database? What, maybe 7-10 backups? After that, all the backups are contaminated and nothing can be trusted. If you can't trust some of your data, you can't trust any of it.

    21. Re:More damaging. by Talla · · Score: 1

      Next-gen: Random sentence inclusion into all word docs, change #'s in excel sheets, alter contents of address books, random data into access/sql databases.

      I doubt that. The point of todays viruses is to make money for the writer, and they can't do that if they're removed, so they do as little harm as possible. These will survive much easier than destructional viruses. If there's a new development in viruses, my guess is it will be one that actually provides some kind of benefit for the user, to create a kind of symbiosis.

    22. Re:More damaging. by nolife · · Score: 1

      Or even more fun, long documents you produce for meetings or public distribution. Embeded within are names harvested from your address book appended with a few choices words?

      Somewhat related but using a different attack vector.
      A few years ago, A guy and a few of his friends I knew, would scan blocks of ISP's ip space with nmap and nbtscan tools to find open and or default Windows shares.
      From there using smbclient [note 1] to mount, you could edit the eudora.ini file to modify signatures, the real name, modify documents in the attachments directory, change win.ini, delete c:\*.ini and many others. Of course this was not automatted and not as efficient as what you describe but from what I saw, it raised much havok.

      I bet that line in the autoexec.bat sending win386.swp | lpt1 used alot of paper and ink on bootup.

      [note 1]
      Versions of Windows prior to W2K had a strage way of handling remote computer names that were connected to shares. If you connected to \\COMPUTER1 but specified your own computer name with the -n switch in smbclient as COMPUTER1, the shared connection would not show up on the real COMPUTER1. Bascially, the user of COMPUTER1 has no idea that anyone was connected at all and netview (or whatever it was called) would show no remote connections. If they shutdown while you were connected, they would get a prompt that COMPUTER1 was connected remotely, do you still want to shutdown. Not very informative.

      --
      Bad boys rape our young girls but Violet gives willingly.
    23. Re:More damaging. by NarrMaster · · Score: 0

      Excellent Targets:
      DeBeers
      Big Oil
      Record Companies

      --
      That's right. All your base.
    24. Re:More damaging. by jschottm · · Score: 1

      For even more fun, write a virus/worm that does this (including changing the time/date stamp so it's not obvious what file's been changed lately), but cleans up after itself completely. Given the number of documents on the average business computer, the cost of finding a machine that has an open vulnerability but no sign of whether or not it was affected would be tremendous.

    25. Re:More damaging. by eyeye · · Score: 1

      More implications for hospitals too.

      --
      Bush and Blair ate my sig!
    26. Re:More damaging. by LWATCDR · · Score: 1

      Can I call it the Wirth virus?
      Damm you all! I will show you the superiorty of Pascal, Modual, and Oberon!

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    27. Re:More damaging. by PeterPumpkin · · Score: 1

      my guess is it will be one that actually provides some kind of benefit for the user, to create a kind of symbiosis.

      I believe you are talking about spyware :D

    28. Re:More damaging. by Carnildo · · Score: 1

      If there's a new development in viruses, my guess is it will be one that actually provides some kind of benefit for the user, to create a kind of symbiosis.

      It's called "spyware".

      --
      "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
    29. Re:More damaging. by Anonymous Coward · · Score: 0

      The original destructive viruses were built for jollies.
      Now we're seeing that people can get actual money for a stable of "owned" machines, and I think that's where things will stay. Script kiddies aside, the real virus writers are going to go where the money is.
      If they ever find a profit motive in destroying machines, of course, we'll be sunk.

    30. Re:More damaging. by NoMercy · · Score: 1

      Just remember the punishment is often limited only by how much damage is done, if they can make a few milion in lost revenue from a hacker breaking into a webserver can you imagine how much they'd be pinning you with if you managed to damage surveys and altered business decisions which totalled bilions?

      99 Consecutive life sentences time :/

    31. Re:More damaging. by jnieuwen · · Score: 1
      > It has been awhile since a virus actually *did* something real bad to screw a user.

      Well, not exactly. You are forgetting the witty worm which appeared in march this year.

    32. Re:More damaging. by j3ll0 · · Score: 1


      I don't know about overseas, but here in .au, business are required to be able to produce financial data for 13 years. That means we have an annual tape going back 13 years, a monthly tape going back 13 months, a weekly tape going back 5 weeks, and daily backups...

      Total pool for any given box is ~35 backup sets.

    33. Re:More damaging. by Feanturi · · Score: 1

      How about a virus that randomly changes == to = in files :)

      That's not going to do much on the typical windows box. If it did manage to get into a developer's environment and do that, it would be readily noticable that something was wrong, as soon as you tried to compile something.

    34. Re:More damaging. by wolrahnaes · · Score: 1

      hehe...so that's where the RIAA gets its numbers ;P

      --
      I used to get high on life, but I developed a tolerance. Now I need something stronger.
    35. Re:More damaging. by Anonymous Coward · · Score: 0

      You know, there were some word-based macrovirii, that did that thing:
      altered common surnames, inserted grammar errors and some stupid sentecnes just before printing the document, and after turned all the stuff back. So, if you don't re-check the papers after printing, you could easily get incorrect documents officially signed and approved.

    36. Re:More damaging. by maxchaote · · Score: 1

      If there's a new development in viruses, my guess is it will be one that actually provides some kind of benefit for the user, to create a kind of symbiosis.

      What you're describing is Windows XP.

    37. Re:More damaging. by Grithok · · Score: 1

      I take it no one remembers the Wazoo virus? http://www.pdxtc.com/199908-truthvirus.htm "If I remember correctly, it was a virus that made the word "Wazoo" appear in your word processor every time the "w" key was depressed. It circulated among students at the University of Washington. It's believed that the virus was written by a practical joker at Washington State University (WSU or Wazoo)."

    38. Re:More damaging. by Anonymous Coward · · Score: 0

      Son, you don't need a virus writer to do that.

      I just spent the last two months combing through data correcting dates corrupted by MS Access/VB/XP's inability to deal with non-US format dates.

      I agree, not pretty.

    39. Re:More damaging. by mat.h · · Score: 1

      Why stop at corrupting data, when you can have way much more fun leaking it?
      ... someone thought about three years ago. How many internal office memos were delivered to your inbox by Sircam?

  24. Re:Okay...? by LowneWulf · · Score: 2, Informative

    The formal definition changes depending on who you ask, but in this case, the key attribute that defines this as a worm instead of a virus is that viruses embed themselves in other programs. This program doesn't infect other programs, it just runs as a separate program placed in your Windows\system directory.

  25. Elementary, my dear Watson... by bfg9000 · · Score: 5, Funny

    This piece of code is so sloppy, it's devious

    It shouldn't be hard to find the author, he obviously works at Microsoft.

    --

    I'm not normally an irrational zealous dickhead, but I figure "When in Rome..."

    1. Re:Elementary, my dear Watson... by Anonymous Coward · · Score: 0

      Yup. Windows was devious enough to find itself on the majority of computers, but something tells me this virus isn't THAT devious.

    2. Re:Elementary, my dear Watson... by gilroy · · Score: 1
      Blockquoth the poster:

      It shouldn't be hard to find the author, he obviously works at Microsoft.


      It's often said, by closed-source vendors, that having open source would lead to superviruses, because anyone could look at the source and design a virus. Run logically the other way, that seems to imply that viruses are written by people with access to the source code -- and, for Windows, who has access?...

      No, I don't really believe it, either. But it's fun. :)
    3. Re:Elementary, my dear Watson... by SpinyManiac · · Score: 1

      Don't forget, Microsoft are talking about making their own AV software.

      OK, I'll take the hat off.

      --
      It's never too late to have a happy childhood.
  26. Hack it by Manip · · Score: 2, Insightful

    It isn't that complicated to find the part of a code that causes a break in execution (end-point). So when it detects the debugger and breaks execution couldn't you reverse engineer it from that point and maybe write a mod (like a game crack) to avoid the debugger detection?

    This would allow the rest of the program to work as normal just without the self-defence code.

    1. Re:Hack it by DavidTC · · Score: 1
      That's why you make the test non-obvious. You don't stick a check and jump in there, you have a check earlier that make an overload on a certain instruction which makes another instruction do something slightly different which makes another, perfectly normal check exit. If you know your instruction set well, you can do all sorts of crazy tricks like exploiting bugs people might not be aware of, because their assembler normally hides them. Eventually, of course, anything can be figured out (tntil we get DRM viruses), but it can take time.

      Which is why I seriously doubt this had anything to do with 'sloppy code'. First of all, no one 'accidently' leaves code in to exit under a debugger...no one writes code like that except on purpose.

      Second, if this was an internal check written just to keep this guy from infecting himself, the check would be very obvious and easy to bypass. As it wasn't, duh, obviously it was delibrately obfusticated.

      --
      If corporations are people, aren't stockholders guilty of slavery?
  27. Code sloppy? by g0bshiTe · · Score: 4, Insightful

    My guess is that they are so confounded, that by releasing that statement labelling the coding as sloppy they hope to draw the writer out in some way. Seems they are going for his/her ego.

    Because hey no coder legit or illicit wants to be thought of as a sloppy coder.

    --
    I am Bennett Haselton! I am Bennett Haselton!
    1. Re:Code sloppy? by chrysrobyn · · Score: 1
      Seems they are going for his/her ego. Because hey no coder legit or illicit wants to be thought of as a sloppy coder.

      I've written my share of code, professionally and academically. Most of it was sloppy, and I acknowledged that from the day it was written. I'm not a terribly efficient coder, and never pretended to be that. I may not be the best at it, and in fact many of my methodologies are inconsistant with how a pro would do it.

      I chose my profession, semiconductor design and manufacturing, based on my like of computers, but the inability to take software seriously enough to do so professionally. There are days when I script portions of my job -- it's quick and dirty (and inelegant and sloppy), but the fact that I can do even that puts me on a higher level than many of my peers.

      I don't take it personally when someone criticizes my code or even my coding style. They're right. Maintenance aside, it's tough to be too critical of code whose lifetime is certainly finite and whose results are accurate.

      An e-mail worm written sloppily may still propagate just as well. I would argue that a worm writer's ego is not harmed by verbal criticism from his/her enemy, but that his/her worth is solely judged by infection rate.

    2. Re:Code sloppy? by Anonymous Coward · · Score: 0

      You mean like that episode of The Shield where Dutch said the rapist had a sexual disfunction on TV to piss him off?

    3. Re:Code sloppy? by DMUTPeregrine · · Score: 1

      Because hey no coder legit or illicit wants to be thought of as a sloppy coder.
      Like these guys?

      --
      Not a sentence!
    4. Re:Code sloppy? by g0bshiTe · · Score: 1

      Mod this one up, they have a valid point.

      --
      I am Bennett Haselton! I am Bennett Haselton!
  28. obscurity by double_ooh · · Score: 5, Funny

    The code is so bad that they can't read it, so it's insecurity through obscurity?

  29. Finally! by teamhasnoi · · Score: 5, Funny
    Those DMCA violating virus 'terrorists' will be prevented from infringing the copyrights of the poor, disadvantaged virus writers.

    This content author has villified every artist who has ever had their work reverse engineered.

    This is a great day for copyright, authors, and those downtrodden by IP terrorists!

    1. Re:Finally! by Kissing+Crimson · · Score: 4, Interesting

      Mod parent up! This raises an excellent point: don't the AV companies daily violate the DMCA by reverse engineering virus code? If not, how long until somebody puts some kind of copy protection system into a virus and then sues all the AV companies? (I know, copy protection in a virus would be a bit odd, but hey...)

      --
      What's that smell? Ah, that's my karma burning...
    2. Re:Finally! by julesh · · Score: 1

      They could do this.

      They might even succeed, at which point they would be awarded an amount in the same ballpark as the value of their IP which has been violated (i.e., not a whole lot).

      But, while doing so, they'd probably be arrested and charged with (whatever offence distributing a virus is in your jursidiction).

      I don't think any of them are that stupid.

    3. Re:Finally! by debrain · · Score: 3, Informative

      Viruses are not copyright; if they were the author would be admitting to a felony, where 1. s/he cannot benefit, and 2. they cannot claim possession of something illegal, ala. controlled substances. Copyright is, in essence, a form of constructive possession. A virus is like child porn, in that sense. It's worse to claim you own it than to argue for your possessory rights.

      Hope that makes sense. :)

    4. Re:Finally! by Anonymous Coward · · Score: 0

      viruses are copyrighted, well the code is, to the creator. just like everything else that is written.

      you can benefit from a crime indirectly. ie if you get beat down by the police during an arrest and you sue them, you can get a lot of money that you wouldnt have if you didnt do something criminal.

      its not illegal to possess viruses, or create them. its illegal when they start causing damage and accessing computers without authorization.

    5. Re:Finally! by Felipe+Hoffa · · Score: 1

      If someone steals three pounds of cocaine, who can the robbed one complain to?

      Fh

    6. Re:Finally! by Jack9 · · Score: 1

      Excuse me, but a felony where? What kind of virus? Is it a virus if it changes your homepage? You're not thinking this through...as well as you think you are.

      --

      Often wrong but never in doubt.
      I am Jack9.
      Everyone knows me.
    7. Re:Finally! by Alsee · · Score: 3, Informative

      Viruses are not copyright; if they were the author would be admitting to a felony

      The first half is absolutely false, and the second half could be false as well. Everything you create is automatically covered by copyright. And it is not a felony to create a virus, only to intend to release it. If you accidentally release it you might get nailed by civil suits (but not criminal ones), and if someone else released your virus without your permission you would not be subject to anything.

      There's a DMCA exemption to decrypt software, but only for interoperability purposes. There is also a DMCA exemption for law enforcement agents. However any non-law-enforcement agent decrypting a virus in an effort to combat it *would* be commiting a felony. The DMCA is seriously fuxored.

      Oh, and I just thought of something else. Commiting a felony by decrypting the virus is still commiting a felony even if the (criminal) author of the virus is unknown.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    8. Re:Finally! by Frank+T.+Lofaro+Jr. · · Score: 1

      A virus writer could steal some content for a litigous company and anonymously spread a virus which distributes this content.

      And sit back and watch from the shadows as the content company sues the victims of the virus for contributatory copyright infringements (their PC was an integral part of the infringement),

      --
      Just because it CAN be done, doesn't mean it should!
    9. Re:Finally! by Dogtanian · · Score: 1

      X writes a program that, whilst it may have virus-like possibilities, is not a virus in itself. Y uses X's program as the basis of the virus.

      Company Z reverse-engineers Y's virus and in the process reverse-engineer's X's program and reveals its secrets. X finds out.

      What now?

      --
      "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
    10. Re:Finally! by debrain · · Score: 1

      Ugh. Quite right; that wasn't very well thought out. My original post, though sounding ok, is thoroughly incorrect and should be modded down.

      Viruses are copyright their respective owners, automatically.

      The only way one could be released without legal culpability to the author would be if it was stolen, I guess. Even then, the author, knowing potential consequences in damage flowing from its release, must show that s/he was not negligent in permitting its release, in addition to not having intended, nor been willfully blind to it. It may also be possible that it is necessary to justify its creation, in lieu of potential consequences.

      The civil/criminal distinction is thin. In criminal court, you would be guilty only beyond reasonable doubt of innocence. In civil, it would probably be a balance of probabilities (ie. 50% of the jury). Accidental release may be covered under criminal (ie. gross?) negligence, if the damage, or potential damage of the virus, is high enough. Civil would most certainly have negligence as a cause of action.

      It is possible that a virus, for example, designed to set off nuclear warheads through NORAD may induce criminal negligence for its mere creation, even absent any intention for use. Given the severe and precise consequences, the burden of proof would probably shift to the author to prove absence of intent. There is a grey area somewhere in the middle between intellectual/innocent virus creation & study, and precise malevolent virus creation, probably leading to the burden of proof shifting to the author to display a lack of intention.

      Apologies for the inaccurate post.

    11. Re:Finally! by debrain · · Score: 1

      Hrmm.

      X sues Y for copyright infringement, contributory negligence to X-Z, violation of license, etc.
      X sues Z for trade secrets, copyright infringement, etc.
      Y sues Z for trade secrets, copyright infringement, violation of license, etc.
      Feds indite Y for damages, if any result. X in negligence for creating a crappy software program similar to a virus (very, very weak; eg. Microsoft Outlook; CDC Backoriface).
      If anything arises regarding X's contributions to the virus, X sues in defamation.

      That could cover a bunch of it.

      Who wins? Who knows.
      Who benefits? The lawyers.

    12. Re:Finally! by DMUTPeregrine · · Score: 1

      what about those "viruses" that make you click an EULA before viewing? They aren't illegal. So make it have copyrighted data, that can't be copied without reverse engineering. Anyone who reverse engineers it gets sued.

      --
      Not a sentence!
    13. Re:Finally! by Draknor · · Score: 1

      This would actually make a very interesting case - have a destructive virus (or some spyware or something) infect a computer, present the user with a EULA pop-up saying something to the effect "By clicking ok you agree to allow this program to [nasty thing] and not blame the author", wait for the user to click Ok, then [do nasty thing]. You'd have one of two outcomes -

      1. EULAs are proven to be binding, so you don't go to a federal, pound-me-in-the-ass prison, or

      2. Precedent is set against EULAs

      Sort of a win-win situation, I would say!

      And of course, IANAL and I probably don't know what I'm talking about.

    14. Re:Finally! by juhaz · · Score: 2, Insightful

      There are other examptions in DMCA than those two, virus research would probably be under the "Security testing" exception.

      This exception permits circumvention of access control measures, and the development of technological means for such circumvention, for the purpose of testing the security of a computer, computer system or computer network, with the authorization of its owner or operator.

    15. Re:Finally! by Alsee · · Score: 2, Interesting

      Hmm, interesting argument there but I don't think it would fly in this case.

      For purposes of this subsection, the term ''security testing'' means accessing a computer, computer system, or computer network

      You're not accessing a computer, computer system, or computer network. You are accessing the virus.

      The only way I can see it fit is if you are working on an already infected system and you attempt to argue that the virus is now part of your computer system. Chuckle. There's sort of a logic to it, but I'm not sure that would be accepted as the intent of that exemption.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    16. Re:Finally! by debrain · · Score: 1

      The Microsoft EULA was held as binding insofar as it stipulates that MS cannot be sued outside Washington state. A class action brought against MSN in Ontario, Canada was thrown out because it was necessary to sue, after agreeing to a click-through license stipulating jurisdiction. This was the first EULA case, I think, and it was upheld, for click-through licenses.

      If the virus has a click-through EULA stipulating the consequences, then it would probably be a barrier to a successful lawsuit. A blanket waiver of liability would probably be insufficient (ie. author assumes no responsibility for damages), but a specific waiver (ie. author guarantees damages will result and user, by agreeing, accepts full liability for these damages) could potentially protect the author and associates.

      If the user can avoid installing the virus by not accepting the agreement, then it becomes the users fault. This would spread liability from the author, presuming that the EULA is maintained, to all the accepting users, in theory. The validity of this license may be increased if the virus may have actual uses, such as in combination with other software, or it may be disabled.

      The license can also probably include various 'do not reverse engineer' clauses.

  30. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  31. Clarification, there are 2 issues by ItWasThem · · Score: 4, Informative

    Hopefully this clears up the "Is it sloppy or is it devious?" posts. It is both.

    Number 1 (from the article):
    Atak uses a variety of tactics in its attempts to escape antivirus analysis. Its main trick is to check to see if it's being run in a debugging environment. If so, it exits to avoid detection. The ploy prevents casual perusal of the code by researchers and (potentially) rival virus writers.
    So that part is intentional.

    A possible bug, related to the way Atak checks its activation date, prevents it from being run in a "sandbox". A sandbox is a virtual environment commonly used by AV researchers to look at the behaviour of malware in a safe environment.

    So what I think they are saying is that even with it's ability to detect if it's being run in debug mode they would still normally be able to run it in a sandbox. Unfortunately (for the AV companies) there's the second thing. The seemingly unintentional bug that prevents it from working in a virtual environment.

    1. Re:Clarification, there are 2 issues by mikael · · Score: 4, Funny

      The Good news: The virus writer has released a patch that fixes these two bugs

      The Bad news: You can't download these patches, you have to wait for them to self-install onto your system.

      --
      Vintage computer adverts: http://www.vintageadbrowser.com/computers-and-software-ads
  32. Hex Value Analysis by john.mull · · Score: 2, Funny

    Found embedded in the virus code... 56 42 56 63 72 69 70 74 20 72 6f 58 6f 72 7a 21

    --
    Isaiah 43:19 (NCV)
    Look at the new thing I am going to do. It is already happening. Don't you see it?
    1. Re:Hex Value Analysis by Simon+(S2) · · Score: 1

      Found embedded in the virus code... 56 42 56 63 72 69 70 74 20 72 6f 58 6f 72 7a 21

      should be 56 42 53 ....

      --
      I just don't trust anything that bleeds for five days and doesn't die.
    2. Re:Hex Value Analysis by Anonymous Coward · · Score: 0

      For those too lazy, with the mistake it reads:

      VBVcript roXorz!

  33. BAM! by Anonymous Coward · · Score: 0

    BAM! Take that!
    cuzality..... 1
    goldspider....0

  34. It's part of the API - From MSDN by soundman32 · · Score: 5, Informative

    IsDebuggerPresent
    The IsDebuggerPresent function indicates whether the calling process is running under the context of a debugger.
    This function is exported from KERNEL32.DLL.
    BOOL IsDebuggerPresent(VOID)
    Parameters This function has no parameters. Return Value If the current process is running in the context of a debugger, the return value is nonzero. If the current process is not running in the context of a debugger, the return value is zero. Remarks This function allows an application to determine whether or not it is being debugged, so that it can modify its behavior. For example, an application could provide additional information using the OutputDebugString function if it is being debugged.

    --
    No sharp objects, I'm a programmer!
    1. Re:It's part of the API - From MSDN by ArsenneLupin · · Score: 1
      This function is exported from KERNEL32.DLL.
      BOOL IsDebuggerPresent(VOID)
      Parameters This function has no parameters. Return Value If the current process is running in the context of a debugger, the return value is nonzero.

      Couldn't the AV companies simply patch their kernels so as to make that call lie through its teeth? Oh, wait, they don't have the source!

    2. Re:It's part of the API - From MSDN by Kirth · · Score: 2, Interesting

      Ohmygod? And how is this IsDebuggerPresent set? I mean, could I write a debugger which does not set that? Or how is the kernel (or whatever kernel32.dll is) supposed to know a debugger is running?
      --

      --
      "The more prohibitions there are, The poorer the people will be" -- Lao Tse
    3. Re:It's part of the API - From MSDN by ncaHammer · · Score: 1
      ? Why you need source for this ? Just change the instructions to
      XOR EAX,EAX
      RET
    4. Re:It's part of the API - From MSDN by The+Conductor · · Score: 1

      But how do you know the function value returns on EAX? Unless the docs actually say that, and you believe them, it could be at the address pointed to by EAX, or the top of the stack. Or maybe different places depending on how the function was called. Or maybe some other handler that wraps around the function affects the value or how it is passed, or depends on EAX having the correct value.

    5. Re:It's part of the API - From MSDN by Anonymous Coward · · Score: 0

      yeah but you just change the condition jump and move on which involves one byte code change.
      first you brakepoint the call to isDebuggerPresent
      ("BPX isDebuggerPresent" in softice)
      then you look at the return compare example:
      CALL kernel32.IsDebugPresent
      CMP EAX,00
      JNE *exit address jump*
      JP *keep going jump*
      Now change the JNE (jump if not equal) to a JE (jump if equal)
      I'll go send my invoice for my consulting to the AV research labs now, Please reply to this post with PO numbers =P

    6. Re:It's part of the API - From MSDN by Ben+Hutchings · · Score: 1

      It's not going to let just any process take control over any other process (not by design, anyway). There is an API that debuggers have to use to attach to another process and that is what enables the debugged process to use this function. Having said that, the debugger could patch the call within the target process.

    7. Re:It's part of the API - From MSDN by Ark42 · · Score: 1


      Most windows system functions use the PASCAL/__stdcall calling convention, which tells you how the parameters are passed and returned, and if the size of the return value is = 32bits, I believe it is passed in EAX.

    8. Re:It's part of the API - From MSDN by irix · · Score: 1

      Or how is the kernel ... supposed to know a debugger is running?

      I don't know Win32 internals, but on Unix a process being debugged is "traced" by the debugger - see the ptrace(2) man page for more details. It allows the process doing the tracing (the debugger) to control the traced process (the progam being debugged).

      If I were doing this on Unix, I'd just call ptrace() with PTRACE_TRACEME in my process and if it returned an error because it was already being traced (i.e. run in a debugger) then I'd exit. Apparently the Win32 API just has a function call that exposes this in an easier fashion. The kernel knows which processes are being traced.

      --

      Do you even know anything about perl? -- AC Replying to Tom Christiansen post.
    9. Re:It's part of the API - From MSDN by Feanturi · · Score: 1

      If I understand correctly, a debugger utilizes the system in such a way that only 1 instance of a debugger (any brand, not relevant) can be running on a machine at a given time. So it's apparently a huge red flag, easily seen.

    10. Re:It's part of the API - From MSDN by CyberVenom · · Score: 1

      The PSAPI is used under Win32 to debug processes. SoftICE bypasses this, but most other debuggers have to use this API in order to gain access to the target program's memory space without generating a protection fault.

  35. Stealth Worm??? by pandrijeczko · · Score: 4, Funny

    Isn't a "stealth worm" that requires "user intervention" a paradox?

    --
    Gentoo Linux - another day, another USE flag.
    1. Re:Stealth Worm??? by Frac · · Score: 1

      Isn't a "stealth worm" that requires "user intervention" a paradox?

      I guess what they meant was that some non-stealth worms install a blinking system tray icon that goes "downloading..."

      Oh wait, that's Windows Update.

    2. Re:Stealth Worm??? by santos_douglas · · Score: 1

      Actually, not to be picky, but that's a contradiction.

    3. Re:Stealth Worm??? by Alsee · · Score: 1

      This is the worm you're looking to run.
      This is the worm I'm looking to run.

      There is nothing to notice here.
      There is nothing to notice here.

      You can go back to playing Minesweeper and Freecell.
      What? Those games are crap!

      You can go back to playing Solitare.
      I can go back to playing Solitare.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    4. Re:Stealth Worm??? by satans_advocate · · Score: 1

      Isn't a "stealth worm" that requires "user intervention" a paradox?

      No, it's an oxymoron.

  36. Custom VMWare environment or hardware? by swb · · Score: 4, Insightful

    I'm kind of surprised that AV companies don't use custom VMware-type environments that can be debugged at a level above what the virus or any other processor could detect, or use special hardware/simulators that also can't be detected.

    I'd think this would give them greater granularity and more control over the entire environment than trying to just run in it in a standard debugger.

    1. Re:Custom VMWare environment or hardware? by lachlan76 · · Score: 1

      You mean like Bochs?
      I've never used it for debugging, but apparently you can. And if you can't, then why not just modify it so you can? It's Open Source.

    2. Re:Custom VMWare environment or hardware? by Zapman · · Score: 1

      It wouldn't supprise me if they do use VMWare, and the like.

      The next level will be detecting if you're running in a vmware instance. Probably not too hard... just look at the nic type if I had to guess.

      There are some things that won't work without a full blown, isolated lab environment. I'm kinda supprised that the virus companies aren't using THAT setup already. Have everything install from images, and have 5 or so computers, and call it a day.

      --
      Zapman
    3. Re:Custom VMWare environment or hardware? by Anonymous Coward · · Score: 0

      VMWare is trivial to detect

    4. Re:Custom VMWare environment or hardware? by swb · · Score: 2, Interesting

      There are some things that won't work without a full blown, isolated lab environment. I'm kinda supprised that the virus companies aren't using THAT setup already. Have everything install from images, and have 5 or so computers, and call it a day.

      That was probably their first step.

      I'd think the ultimate setup would be a high end machine with 8-16 CPUs capable of x86 virtualization that could be run a half-dozen or so images that would be virtually networked with each other.

      That way you could simulate a real network on real machines, including a server, clients, etc and see what happened. Even setting up and imaging a lab of 8 machines and a server would be time consuming.

      Doesn't anyone sell x86 virtualization on Sparc or IBM mainframe hardware?

    5. Re:Custom VMWare environment or hardware? by Chester+K · · Score: 3, Informative

      I'm kind of surprised that AV companies don't use custom VMware-type environments

      They do, but you can still tell whether your code is running in one of these environments if you're tricky enough. This is exactly the "sandbox" they're referring to.

      --

      NO CARRIER
    6. Re:Custom VMWare environment or hardware? by Anonymous Coward · · Score: 0

      Bochs is nothing compared to VMware.

      It's slow and barely runs anything at all.

      VMware on the other hand is quite fast and runs many x86 operating systems perfectly.

    7. Re:Custom VMWare environment or hardware? by Repugnant_Shit · · Score: 1

      Here is another example of where open source is useful. If it were a Linux virus, you could modify your kernel/glibc/whatever with checks, traps, etc. to target this specific virus, and it would be much more difficult for a virus to detect that it was running under a modified system, as opposed to a debugger.

    8. Re:Custom VMWare environment or hardware? by Anonymous Coward · · Score: 0

      I run 5 VMware instances on my little laptop all the time. This machine is only 2.2 Ghz and only has 1 GB of RAM. A better machine could easily run well over a half-dozon instances.

      I use it to do exactly what you described and it's quite fast. VMware rocks.

    9. Re:Custom VMWare environment or hardware? by micolous · · Score: 1

      Bochs and VMWare are two different types of emulators; bochs emulates a lot more, as I understand. However, qemu is a open source and much faster virtual machine. Though VMWare is probably still faster than qemu, qemu is an improvement over bochs, in terms of speed.

      Also, remember how much you paid for qemu and bochs. Generally it's under a dollar. (Data transfer costs) VMWare costs several hundred dollars, but you do get the CD, box and associated items made from dead trees.

      --
      SSdtIGFzIGJvcmVkIGFzIHlvdSBhcmUK
    10. Re:Custom VMWare environment or hardware? by swb · · Score: 1

      I guess I was thinking of a "better" computer system that could more completely virtualize an x86 environment, and have a set of images running close to full speed.

    11. Re:Custom VMWare environment or hardware? by Anonymous Coward · · Score: 0

      Have you used VMware? It does completely virtualize the environment. And it runs close to full speed.

      Try it, the demo version is free. You'll be surprised by the quality of it.

      I was a VMware beta tester prior to v1.0 and even then it was a nearly perfect piece of software.

    12. Re:Custom VMWare environment or hardware? by Anonymous Coward · · Score: 0

      Bochs virtualizes the CPU, other than that VMware actually does more. However, Bochs can run on non-x86 platforms due to that feature (at the cost of massively slower performance).

      A couple hundreds of dollars for VMware is a great deal for what it does. It easily saves that much if you just consider the cost of one extra machine.

    13. Re:Custom VMWare environment or hardware? by Alsee · · Score: 2, Insightful

      I think he means more advanced hardware that would be impossible to detect. Slave a CPU to an external master CPU. The master CPU would be completely invisible to the slave. All of the slave's registers and interrupts and RAM would be undetectable because they would be perfectly authentic. Give the master CPU total read/write access and the ability to single step the slave CPU's clock. The slave couldn't even detect timing anomolies because all extra processing would be done on the master CPU, plus the slave's clock itself could be undetectably paused - the actual CPU clock line.

      I assume Intel and AMD must already have almost exactly this sort of hardware available for development work.

      I guess the virus could then try to look to peripheral hardware for timing information, like video cards and harddrives. On one hand it would be a major pain for an AV company to accurately virtualize the timing in peripherals, but on the other hand the virus writer is facing unknown peripherals connected to an unknown system with wildly variable timings.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    14. Re:Custom VMWare environment or hardware? by Gunstick · · Score: 1

      I can detect if I'm running emulated or not.
      Just reading 2 times a non existant memory location gives 2 different results (random bus signals). I don't know of any emulator doing this correctly.

      Or waitstates. An emulator always makes same waitstates, even if on a real system they are slighly varying.

      --
      Atari rules... ermm... ruled.
    15. Re:Custom VMWare environment or hardware? by Ben+Hutchings · · Score: 1

      The i386 architecture allows reading of some control registers (such as the GDT) at all privilege levels. Unless the VM can ensure that the real value always matches the virtual value set by the guest OS then code running at virtual ring 0 inside the VM can detect the difference. See this document about virtualisation.

    16. Re:Custom VMWare environment or hardware? by Alsee · · Score: 1

      Just reading 2 times a non existant memory location gives 2 different results (random bus signals). I don't know of any emulator doing this correctly.

      As I described: All of the slave's registers and interrupts and RAM would be undetectable because they would be perfectly authentic.

      A genuine motherboard with a genuine bus and genuine non-existant memory would give genuine random results. It's just got extra lines slaving it to another system. Same goes for waitstates, though the wait states may be more stable if you single-step the slave rather than having the master pause it at virtual breakpoints.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    17. Re:Custom VMWare environment or hardware? by juhaz · · Score: 1

      That would be one hell of a system. Despite all the downplaying, x86 CPU's are on the top end of the speed curve, not bottom and with virtualization being as expensive as it is...

      8 CPU SPARC cluster might BARELY be able to simulate one x86 machine of equal clock speed, with a fast simulator.

  37. It's New Coke! by blueZhift · · Score: 2, Insightful

    This reminds me of the whole New Coke thing years ago. Was it pure genius that Coke managed to sap Pepsi sales with the sweeter more Pepsi-like New Coke while hanging on to loyal customers with the reintroduced Coka Cola Classic, or was it a colossal blunder that they were just lucky enough to escape and still get ahead? Who knows? Unless the virus writer is caught, we may never know. Right now, I guess he or she is saying, "Yeah, I meant to do that!"

    In any case, I guess when it comes to virus writing sloppy coding pays off. And perhaps sloppy != stupid, unless of course you get caught! I suppose the next trick is for someone to release a code obfuscator that produces sloppy looking code.

    1. Re:It's New Coke! by Anonymous Coward · · Score: 0

      Was it a plan to win Pepsi drinkers, or just a mistake? Neither.

      Coke knew that the domestic market for its elixir had reached its fullest point. They had their share, and Pepsi had their's. The market left, worth fighting for, is the rest of the world.

      Only in America did we get "new coke", because the rest of the world had to be won over with the original formula.

      Here at home, the "new coke" was designed to be shitty, so that people would forget what real coke tasted like, and to be run long enough to clear the shelves of "old coke". That way, when "classic coke" returned, people forgot what coke actually tasted like, but accepted "classic coke" as the original.

      What really happened was Coke wanted to make more money on their share of the US cola market, by replacing sugar with corn syrup. Corn syrup is much cheaper than sugar, and tastes different. They needed something to clear out palattes before changing the formula.

      So, what really happened was they fooled us, kept their market share, and continued to sell the rest of the world the original formula, while we got shit here. Why? Because we are stupid and loyal.

    2. Re:It's New Coke! by Anonymous Coward · · Score: 0

      Totally true. This is exactly the same strategy used by NASA to fake the moon landings. They invented this country they called "the Soviet Union" and the press totally bought it. They then claimed we were in some arms race with this make believe country (Do you know anyone who actually *visited* the Soviet Union? NO!) and then faked the moon landing.

      This was a convenient cover to explain all of rapid technological advances. Computers, radio and other so-called "inventions" were not outgrowths of the space program, but were actually technology gifts given to use by the Vulcan vessel that made first contact.

      So, yea. It's just like your New Coke insight.

    3. Re:It's New Coke! by Raffaello · · Score: 2, Interesting

      Nice try, but Coca Cola Classic (as well as most sodas) are made with "sugar and/or corn sweeteners." This means that the manufacturers use a pretty common linear programming technique to determine what ratio of the two different sweeteners to use in production on any given day based on commodities futures markets (remember, these guys actually take delivery of the futures contracts they buy), and transport costs.

      Just because corn sweeteners are cheaper today, doesn't mean that Coca Cola won't be able to buy a vast quantity of sugar at an even lower price due to commodities futures market fluctuations. They leave the door open by printing their labels with the "and/or" bit.

      BTW, did you know that Hershey uses so much sugar and cocoa that they have their own commodities futures trading room in house that specializes in these contracts?

    4. Re:It's New Coke! by glsunder · · Score: 1

      Coke does produce sugar only (no corn syrup) coke for various countries and for passover (search for kosher coke). I guess some people search these out like the grail. Some people claim that sugar tastes better than corn syrup, but I've read that taste is more affected by the water quality of where it was made.

  38. pi million? by Anonymous Coward · · Score: 0

    you know you've gone insane when..

    you try to think up a random number and the first thing you think of is pi.

  39. DCMA Violation! by Anonymous Coward · · Score: 5, Insightful

    Hey... If they reverse engineer this thing, won't they be violating the DCMA? I say the virus writer should sue all the anti-virus companies.

    By copying parts of the virus into their virus scanning signatures, perhaps everyone running the anti virus software is also violating the DCMA, I say fire off a few hundred law suits and see what happens.

    (Maybe with thinking like this RIAA will hire me.) ;-)

    1. Re:DCMA Violation! by g0bshiTe · · Score: 0

      Thats not a bad point except for a few points.

      1) was the software copyrighted in the first place?
      2) does the end user actually agree to a EULA?

      --
      I am Bennett Haselton! I am Bennett Haselton!
    2. Re:DCMA Violation! by Anonymous Coward · · Score: 0

      1) yes. anything you write is copyrighted by you, unless you specificly waive that right
      2) no, but who cares. copyright is not dependent on EULAs

    3. Re:DCMA Violation! by hawkeyeMI · · Score: 1

      I could be wrong here but I think anything you write is copyrighted by default. In order for it to be copyable, you have to grant rights via a license. This is the idea behind the GPL. You have no rights to distribute unless you follow its terms.

      --
      Error 404 - Sig Not Found
    4. Re:DCMA Violation! by DavidTC · · Score: 3, Interesting
      EULAs don't have anything to do with it...I didn't agree to any EULA on DVDs. The DMCA applies regardless. (Although it would be funny as hell to have an EULA with a virus...just wait till they're installing another program, and pop up a window that looks like that specific installer program (There are only about five.) with an EULA for your virus. Spyware, of course, already figured this out.)

      And, yes, someone should write a short bit of copyrighted work (I suggest a hiaku or limerick...those are definately protected under copyright law, and fairly small.), and encrypt it into a virus. If they ever get caught, possibly they can sue antivirus companies, because the antivirus company would probably admit to decoding their virus before they realized it was a trick.

      An even funnier gag would be to store the poem, unencrypted, on the hard drive, and have the virus prevent you from accessing it. Ergo, removing the virus is circumventing a access control device, and all antivirus software that does so is illegal.

      Yes, yes, the software could delete the poem, also, but we all know that deleting a file doesn't make it go away. (If deleting a file does count, someone should write a program that decodes DVDs, rips the MPEGs, and then just deletes them, so you have to go and immediately undelete them.) You could always recover it from the hard drive using undelete tools. So basically, they'd have to secure erase the poem...and I'm willing to bet no antivirus software has that built in, so if they realized what was going, at the very least you'd have forced an upgrade.

      And it's entirely likely that no one will realize what's going on. So if the virus writer ever gets caught, he can take the antivirus companies down with him by suing their pants off for distributing an access control circumvention device for his stuff.

      God, I love the DMCA. It's so monumentally stupid.

      --
      If corporations are people, aren't stockholders guilty of slavery?
    5. Re:DCMA Violation! by g0bshiTe · · Score: 1


      EULAs don't have anything to do with it


      Have you ever read a software EULA? In it, it specifically states you agree not to reverse engineer or decompile the software in any way.
      --
      I am Bennett Haselton! I am Bennett Haselton!
    6. Re:DCMA Violation! by Anonymous Coward · · Score: 0

      In most places it's actually illegal to create viruses/trojans. Even though the author owns the copyright, do you he he wants to actually defend it?

      That would point authorities straight at him for creating malicious software.

    7. Re:DCMA Violation! by mangu · · Score: 1

      Suppose the thing was written in Hardickistan, where it's not illegal. But Hardickistan has signed the Bern Convention, which means that works copyrighted there have a valid copyright in all signatory nations. Voila (or viola, using /. spelling), you get the DMCA protecting virus writers.

    8. Re:DCMA Violation! by Alsee · · Score: 1

      As he said, EULAs don't have anything to do with it. The DMCA makes it a felony to decrypt regardless of whether there is an EULA involved or not.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    9. Re:DCMA Violation! by Alsee · · Score: 1

      Even though the author owns the copyright, do you he he wants to actually defend it?

      Irrelevant. The decryption is still a felony whether the author gets involved or not.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
    10. Re:DCMA Violation! by quantum+bit · · Score: 1

      Have you ever read a software EULA? In it, it specifically states you agree not to reverse engineer or decompile the software in any way.

      Sure, but you only need to agree to the EULA in order to actually install/use it. Pre-DMCA anyway, it might not be necessary to do that in order to reverse-engineer something.

    11. Re:DCMA Violation! by Anonymous Coward · · Score: 0

      It's not irelevant. If the owner does not take legal action then nothing will be done.

    12. Re:DCMA Violation! by Alsee · · Score: 1

      It's not a civil offence. It's a criminal offense. If they find out about it they are supposed to prosecute. How would you like to be guilty of a felony with a 5 year prison sentence and be sitting there HOPING that the Feds don't prosecute a clear criminal case? And hoping that no one publicly points out that the Feds are failing to prosecute a clear felony?

      Hell, if exactly that case came up I'd be in the front lines screaming that the Feds are failing in their obligation to enforce the law. Having "the good guy" prosecuted under the DMCA is the best way to point out just how broken the DMCA is.

      The DMCA is a seriously fuxored law and it DOES make it a crime for anti-virus experts to fight any encrypted virus.

      -

      --
      - - You can't take something off the Internet! That's like trying to take pee out of a swimming pool.
  40. I had no idea by dmaynor · · Score: 1

    That using softice to make isdebuggerpresent() return false was sooooooo hard.

    1. Re:I had no idea by Anonymous Coward · · Score: 0

      somebody seems to be forgetting that the virus quits when in a debugger...

    2. Re:I had no idea by Anonymous Coward · · Score: 0

      SoftIce is trivial to detect.

    3. Re:I had no idea by Anonymous Coward · · Score: 0

      somebody seems to not realize that isdebuggerpresent is the *way* the virus knows its in a debugger. if it returns false, the virus has no clue what's going on

  41. Yeah, 'sloppy'. by Vengeance · · Score: 2, Interesting

    Uh huh, that's what it was, sloppy coding that leads to one's new virus being very difficult to analyze and fight...

    --
    It was a joke! When you give me that look it was a joke.
    1. Re:Yeah, 'sloppy'. by Anonymous Coward · · Score: 0

      Yeah, Rho. It was sloppy coding. Now *jedi hand wave* go back to coding. This isn't the code you're looking for.

    2. Re:Yeah, 'sloppy'. by NewtonsLaw · · Score: 1

      Uh huh, that's what it was, sloppy coding that leads to one's new virus being very difficult to analyze and fight...

      This would also explain why Microsoft Windows or Internet Explorer doesn't show up as a virus :-)

  42. How does this equate to sloppy? by Anonymous Coward · · Score: 5, Insightful

    I don't understand... Why are they saying the code is sloppy? It seems to me that what they are doing is intentional. So it's not sloppy in the sense that it is full of mistakes.

    I also don't understand how stopping execution if your product is being debugged equates to "sloppy". It seems to me that a large number of software companies would WANT their software to behave in this way to make reverse engineering and hacking harder?

    In fact, if it is so difficult for antivirus companeis to debug this, when why isn't more software using this technique to make piracy more difficult, and/or hacking network games harder?

    1. Re:How does this equate to sloppy? by AZhole · · Score: 1

      Sort of reminds me of boxers that are accused of being 'awkward'. Usually these guys are not that skilled but whoever they fight, even top flight guys, ends up looking bad.

    2. Re:How does this equate to sloppy? by Ytsejam-03 · · Score: 2, Insightful
      I don't understand... Why are they saying the code is sloppy? It seems to me that what they are doing is intentional.
      This is a very short article, and I don't think that the author thought this behavior was due to sloppy code. Note the first two paragraphs:
      "There's a new mass mailing virus in town, and it's built to make life for AV researchers even more difficult.

      Atak uses a variety of tactics in its attempts to escape antivirus analysis. Its main trick is to check to see if it's being run in a debugging environment. If so, it exits to avoid detection. The ploy prevents casual perusal of the code by researchers and (potentially) rival virus writers."
      The reference to sloppy code is only is only made in the following quote from the article:
      "I haven't seen such ruses used in a mass mailer in a long time. This piece of code is so sloppy, it's devious," said Mircea Ciubotariu, a researcher at Romanian AV firm BitDefender.
      As another poster suggested, perhaps something got lost in the translation.

      While this may make the virus a little harder to analyze, I don't see how it would slow the anti-virus companies down much. Anti-virus researchers would simply need to change the code, disabling the section that checks to see if a debugger is attached. This is likely a simple matter of disassembling the code and changing the appropriate jump statement.
    3. Re:How does this equate to sloppy? by serbanp · · Score: 1
      As another poster suggested, perhaps something got lost in the translation.

      You're right. The guy actually meant to say "...This piece of code is so slippery, it's devious,".

      Serban

    4. Re:How does this equate to sloppy? by Feanturi · · Score: 1

      when why isn't more software using this technique to make piracy more difficult, and/or hacking network games harder?

      Microsoft games have a tendancy to detect a debugger. Last one I bothered to try was AoE II, which politely informed me that I needed to close the debugger that was running, and try again. So I went with a disassembler instead.

  43. EULA by Fuzzums · · Score: 5, Funny

    A viruswriter should add an EULA to his/her virus.

    - You may execute this virus 'as is'.

    - We accept no claims of any kind of any or all damage done by this piece of software.

    - You are responsible for the consequences of executing this software.

    - You are NOT allowed to disassemble the code (DCMA).

    - etc, etc..

    --
    Privacy is terrorism.
    1. Re:EULA by knodi · · Score: 1

      You reminded me of a variation on an old blond joke-

      "Understand the DMCA? Heck, I can't even spell it!"

      --
      Austin is more fun than Dallas.
    2. Re:EULA by maxwell+demon · · Score: 3, Interesting

      Well, if that virus comes with a click-through EULA, which even explicitly tells about all the damages the virus will do, and have the "user" agree, it would probably give an interesting legal situation: After all, the user explicitly agreed to every single damage the virus does, by clicking the "I agree" button.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    3. Re:EULA by epsalon · · Score: 1

      It would be even stickier if you neglect to provide the "I reject" button...

    4. Re:EULA by Spaceman40 · · Score: 1

      The funny thing is - people would just click "I Agree" anyway...

      Just put a bunch of legalese at the beginning of the license, make it look all legit, and keep anything that might possibly sound interesting/bad low enough in the license so that people would never end up reading it.

      Social engineering at its best: legal protection :)

      --
      I [may] disapprove of what you say, but I will defend to the death your right to say it.
    5. Re:EULA by lavaface · · Score: 1
      A viruswriter should add an EULA to his/her virus.

      Are you talking about MS Windows?

  44. Re:Mailers? OT by IWantMoreSpamPlease · · Score: 1

    >>What's the opposite of PRO....CON. What's the opposite of PROgress...?

    errr...CONventions? ;-)

    I'm kidding, everyone knows it's congress.

    --
    So rise up, all ye lost ones, as one, we'll claw the clouds.
  45. Secunia by __aaxpkq8573 · · Score: 1

    So, will Secunia add this to Windows or mysteriously add 2 more to Linux, Apple, et al?

  46. Re:Okay...? by darkmeridian · · Score: 3, Funny
    Of course, given the accuracy I've come to expect from Slashdot summaries, it could be a new version of MS IE...

    ...or a dupe.


    --
    This sig is inoffensive.
    --
    A NYC lawyer blogs. http://www.chuangblog.com/
  47. You're missing the point by Anonymous Coward · · Score: 1, Interesting

    That would require the anti-virus companies do something more than sit around and find viruses and write signatures that match.

    The Symantec's and McAfee's fo the world have got a nice symbiotic relationship with virus writers. Why would you interrupt cash flow to try to essentially "escalate the tech war"?

    Think about it. I think its the dirty secret of all the anti-virus companies. I think they all suck, as do their products.

    --Tom

    1. Re:You're missing the point by elrusoloco · · Score: 1

      If this isn't tin-foil conspiracy theory thinking, I don't know what is. What's next? You going to accuse the people that write defrag utilities of intentionally leaving your disk fragmented so that you have to keep using their software? Cars are specifically designed to break down immediately upon the expiration of the factory warranty in such a way that only the dealer can fix?

      To whom ever modded this "interesting" - you're entitled to your own definition of "interesting", but I disagree with it.

    2. Re:You're missing the point by magefile · · Score: 2, Insightful

      Look, I disagree with the GP too, but your counterargument is bogus. First, many file systems (HFS, ext2-3 spring to mind) don't need debugging. Second, the warranty is set to just under the MTBF for a reason, and there's no tin-foil hat their - the companies will admit it, because there's nothing illegit or sneaky about it.

      OTOH, you have a group of largely unknown people writing viruses, and a group of people who profit off of their bad behavior. Besides, even if the AV companies didn't have a symbiotic relationship with the writers, why spark an arms race?

    3. Re:You're missing the point by elrusoloco · · Score: 1

      I'm not sure how the point about filesystems is relevant, so I'll let that go. As far as your warranty argument - if that is true, we should all buy Hyundays, as they offer the longest warranty. Does that imply that Hyundays last the longest on the road? No....they're crap. Although I'm not sure what MTBF stands for.

      As to the arms race - as far as I can tell, we're already in the midst of it. Fortunately for AV companies, they'll never win, as the world keeps pumping out better idiots and more malicious coders.

    4. Re:You're missing the point by magefile · · Score: 1

      Whoops ... the filesystem thing should've read defragging, not debugging. MTBF is mean time between failure. Manufacturers try to set the warrenty before than the MTBF so that they don't have to pay for repairing stuff that is expected to be broken. That doesn't mean the warranty is always set *just* *before* the MTBF, just that it's never set after it.

      And why escalate the arms race more than necessary?

    5. Re:You're missing the point by elrusoloco · · Score: 1

      Ok, defragging makes sense. About warranties - that doesn't address my example. MTBF for Hyundays surely is not 10 years or 100,000 miles. And MTBF for Toyotas is well over the standard 5 years - those cars run forever. About the arms race - what do you mean by 'escalating' it? Are you suggesting that the AV companies stop trying to reverse-engineer viruses? I'm not sure what you're arguing for.

    6. Re:You're missing the point by Anonymous Coward · · Score: 0

      "Are you suggesting that the AV companies stop trying to reverse-engineer viruses? I'm not sure what you're arguing for."

      I think he might be suggesting that if you have a business that is based on a very simple, "3 guys looking for viruses and coming up with signatures", you will only increase expenses if you try to get fancy.

      The Anti-virus business is not very pretty; its sloshing through crap and selling people subscriptions. If you spend more on basic research or better tools, where is the return?

      In the board room at Symantec, they're not looking for an end to the virus threat, they're looking for increased realization. And you do that by cutting expenses and increasing revenue.

      Ergo, they'll only do as much as it takes to maintain the status quo on the viruses, and spending on R&D will be minimal, as it doesn't help the bottom.

      Every company works this way, do you think AV companies are doing this out of the good ness of their heart? Of course you don't. Once you understand that its a business, then you understand the AV companies will be concerned primarily about the revenue. Not about having the ultimate AV lab.

    7. Re:You're missing the point by swb · · Score: 1

      The Anti-virus business is not very pretty; its sloshing through crap and selling people subscriptions. If you spend more on basic research or better tools, where is the return?

      But it's trivial to argue that better AV analysis systems (VMs, hardware systems, whatever) can result in lower costs through fewer labor costs, less overhead (ie, one decent VM box that can virtualize an entire network vs. several labs worth of boxes and their infrastructure and support people).

      You ultimately will run into diminshing returns, but if the AV companies figure that there's nothing worth innovating in the AV process, they're mistaken. And it's also not unusual for innovations attempted for one purpose provide payoffs in others.

  48. Simpson's adaptation by dfj225 · · Score: 3, Funny

    AV Guy: Man you are really sloppy! Virus Writer: Sloppy like a fox!

    --
    SIGFAULT
  49. Dear me, how remarkably fucking stupid. by devphil · · Score: 4, Insightful
    This function allows an application to determine whether or not it is being debugged, so that it can modify its behavior.

    We call those heisenbugs and they are the bane of a programmer's existence. The whole damn point of a debugger is to replicate the same behavior as normal, not allow the program to choose to exhibit a different behavior.

    "I'm going to look at you more closely now. Please act normal. (But it's your call if you don't.)"

    Yeah, that "surprise inspection" works great everywhere else, why not in programming? Fucking morons...

    I was happier not knowing about this function. soundman32, I shake my fist at thee. :-)

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
    1. Re:Dear me, how remarkably fucking stupid. by zijus · · Score: 1

      This comment is just to be moded at 6 exceptionaly. So seldom is the question asked "Why are doing what we do ? Does it make sens?" This comment is a glory for it's author. (Just a little too rude)

    2. Re: Dear me, how remarkably fucking stupid. by Black+Parrot · · Score: 1


      > > This function allows an application to determine whether or not it is being debugged, so that it can modify its behavior.

      > We call those heisenbugs and they are the bane of a programmer's existence. The whole damn point of a debugger is to replicate the same behavior as normal, not allow the program to choose to exhibit a different behavior.

      if debugging
      goto bugfreeimplementation
      else
      goto regularimplementation
      --
      Sheesh, evil *and* a jerk. -- Jade
    3. Re:Dear me, how remarkably fucking stupid. by Tony-A · · Score: 1

      Just a little too rude
      Extreme rudeness called for IMNSHO.
      No personal insult should be perceived as given or received.

      Countdown.
      Melissa was #1.
      This is #2.

    4. Re:Dear me, how remarkably fucking stupid. by CyberVenom · · Score: 1

      It's ok, man! Just bust out your L337 H4X0R 5K1LLZ and patch Kernel32.dll :-D
      Of if you're really lazy, just ask nicely and I'll make a anti-anti-debugger patch for K32 when I get home. :-p
      Oh, wait, that would violate DMCA wouldn't it, since I live in the US...?
      Which begs the question: Can the code used in a virus be copyrighted, and if so, can the DMCA be used to prevent reverse-engineering? What if the virus contains legitimate copyrighted code stolen from a respectable organization - could the DMCA be used in this case to prevent the AV companies from dissecting the proprietary code?

    5. Re:Dear me, how remarkably fucking stupid. by Anonymous Coward · · Score: 0

      My sentiments exactly!

      I don't have the energy right now to refute your post line by line.

      People often use this function to provide more detailed information to the debugger by performing CPU-intensive calculation that would negatively impact performance on a live app.

      You should really try to understand a technology before you use phrases like "how remarkably fucking stupid" or "fucking morons." These types of criticisms should be reserved for only the worst ideas.

      For example, I might use those phrases when describing a Constitutional amendment discriminating against homosexual couples or the Patriot Act or the "doctrine of pre-emption" or a second term for President Bush. (Sorry. I couldn't help myself.)

    6. Re:Dear me, how remarkably fucking stupid. by Anonymous Coward · · Score: 0

      Its for low-level hardware access or time-critical programs where running in debug mode changes program behaviour. The coder can add code so that only in debug mode the program doesn't screw up timer based calls or hardware accesses.

    7. Re:Dear me, how remarkably fucking stupid. by juhaz · · Score: 1

      Everything over certain limits not only only can be, but is automatically copyrighted, so yes, even a code in virus is under copyright.

      DMCA has several exceptions, though. Poking at viruses would probably fall under this one:

      6. Security testing (section 1201(j)). This exception permits circumvention
      of access control measures, and the development of technological
      means for such circumvention, for the purpose of testing the security
      of a computer, computer system or computer network, with the
      authorization of its owner or operator.

    8. Re:Dear me, how remarkably fucking stupid. by CyberVenom · · Score: 1

      Maybe, but one must consider:
      Does the reverse-engineering of a virus directly test the security of a computer system?

      I would have to say, no, although reverse-engineering of the operating system in the name of discovering potential exploitable holes would fall under this clause.

      Strangely, that would mean that by the letter of the law, in the act of making a virus, the viruswriter has more leagal grounds than the AV professional has in the analysis of that virus. (The release of the virus into the wild, or even the intent to do so would fall under another damages-related law I'm sure, but the DMCA security testing clause would be an interesting defense for a virus writer caught in the act of writing a virus, but with no proof of intent to release it.)

    9. Re:Dear me, how remarkably fucking stupid. by zijus · · Score: 1

      IMNSHO ??

    10. Re:Dear me, how remarkably fucking stupid. by Anonymous Coward · · Score: 0

      IMNSHO == In My Not So Humble Opinion.

      Or were you just questioning why the poster wasn't humble?

  50. It's part of the API - So what? by Mask · · Score: 1

    So what prevents the AV to hack KERNEL32.DLL and make IsDebuggerPresent return FALSE?

    On UNIX, you can attach one debugger at a time. I guess that this is also true for windows. The virus may try to debug itself - to detect/prevent others from debugging it. And even technique will not "save" the virus from inspection.

    1. Re:It's part of the API - So what? by CyberVenom · · Score: 1

      Along the lines of "Debugging itself", the virus could use the INT3 trick. This could be teoretically patched out of the virus, but it gets very hard to deal with if INT3 is actually used extensively in the code for more than just a debugger check, since remapping many instances of INT3 (a 1-byte opcode) to a different 2-byte INTterupt would cause problems with overwriting memory or skewing offsets, making debugging a real pain.

  51. Re:Okay...? by ePhil_One · · Score: 4, Interesting
    viruses embed themselves in other programs.

    You're right.

    This program doesn't infect other programs, it just runs as a separate program placed in your Windows\system directory.

    Wouldn't that qualify it as a "Trojan Horse" then? Generally a Trojan Horse is a program that tricks the user into running by appearing as something it is not (hence the double extension trick). Of course the classic Trojan Horse appears to be one thing (like a weather program, or an clock syncronizer) but while it does that thing it secretly does something else, like install keyloggers, adware, etc.

    Admittedly, the AV makers have been trying to pollute the definitions, calling these e-mail Trojans "worms" in a PC attempt to avoid assigning blame to the users, but I've always felt these three definitions to be pretty clear and well defined.

    --
    You are in a maze of twisted little posts, all alike.
  52. But you miss the point by wowbagger · · Score: 1

    The virus writers DO NOT WANT their worms to be destructive to the host IN ANY WAY.

    If the worm did randomly corrupt the spreadsheet, the user will eventually clue to the fact that his PC is infected, and will take steps to clean it up.

    What these guys want is a silent infection. They want your computer to stay infected forever, so that they may continue to use it forever. Thus, ANY effect of the worm that is negative to the computer owner is to be avoided (the worms that cause instability do so because they are poorly written, not by design).

    Yes, if a worm writer wanted to be destructive to as many hosts as possible, then he would write his worm to silently infect as many hosts as possible until some trigger event, then wipe the hosts out.

    But were he to do so, then he would not be able to resell the services of the infected machines to spammers and make money.

    1. Re:But you miss the point by Anonymous Coward · · Score: 0

      The virus writers DO NOT WANT their worms to be destructive to the host IN ANY WAY.

      Yet. It's only a matter of time before someone who doesn't want any payment for services and just wants to see millions of computers have their data destroyed writes a virus that does just that.

    2. Re:But you miss the point by Talla · · Score: 1

      Yet. It's only a matter of time before someone who doesn't want any payment for services and just wants to see millions of computers have their data destroyed writes a virus that does just that.

      It would still be detected by virus companies and others, they would find out what it does, the press would publish it on the front page, and people would panic, and have their computers cleaned. Normal users don't bother doing that if they are in no immediate danger.

  53. Undetectable debuggers by dmaxwell · · Score: 1

    Code like this seems to call for a new class of debugger. How hard would be to write a "debugger" that functions as a state monitor of a virtual machine? The virtual machine could even do things like maintain the appearance of real time even if it is being single stepped. I suppose the debugger could even have "personalities". Basically, you'll need to ability to tie into arbitrary API and ABIs on the OS that is running in the debugger. This means the debugger would have to know quite a bit about the structure of OS it's hosting.

    I suspect this sort of thing would be easier to do for FOSS OSes than Windows. But even on Windows, all sorts of known entry points and returns could be monitored. This could be a case where things like Palladium reduce security. A piece of malware would otherwise have no way of detecting it isn't running on a real machine. Palladium or NGSCB or whatever they're calling it this week of course includes measures to detect and frustrate virtual machine attacks.

    1. Re:Undetectable debuggers by IamTheRealMike · · Score: 1

      Wine already does this - while it's far from perfect it already implements debugger hiding to a certain extent and some more code is in there to allow even quite advanced techniques like the ones SafeDisc uses to work - though it's not activated yet.

    2. Re:Undetectable debuggers by The+Conductor · · Score: 3, Interesting

      It is not easy to make a software emulation of hardware that is exact without taking a huge performance hit. The processor, yes, but all that peripheral hardware is where the real emulation work is. Early versions of the UAE Amiga emulator emulated the video scan in the Amiga custom chips pixel-by-pixel, and it was so slow that UAE stood for "Useless Amiga Emulator." They later settled on refeshing the video on the (emulated) horizontal scanline flyback, which broke some exotic plasma-screen demos (which manipulated the palette in the middle of a scanline...try doing that on a PC!) but at least made UAE useful.

      Of course some partisan wankers had to write sofware that detected the emulation evironment & refused to run, apparently in the belief that emulation would kill the Amiga hardware market (not admitting that it was already cold & dead).

      What you describe can be done in hardware though, consisting of an FPGA + CPU board that plugs into the CPU socket and a communication cable to a separate debuggging PC. They are called In-Circuit Emulators (ICE) and are expensive, but very powerful, tools popular for embedded development.

    3. Re:Undetectable debuggers by Anonymous Coward · · Score: 0

      These exist for several microcontrollers (HC11) and for older x86 chips but for a modern P4 system you would need to emulate the host-bridge, RAM, system timer, essentially the entire motherboard. To give you an idea of the scope of this, when Intel verified the logic of the P4 it took 1 week to simulate 6 billion cycles. This used a compute farm of several thousand P3 machines(yes, running Linux). Interesting paper about the process

      I actually made an 8080 emulator that ran on an FPGA PCI card. It had a host bridge, RAM and an interface to the PCI bus. Unfortunately it ran at 400 kHz(1/12 the speed of the original) but one could change the microcode on the fly and view/modify just about any register in the design.

    4. Re:Undetectable debuggers by juhaz · · Score: 1

      Performance is hardly a big deal in something like this, though, when you're just trying to look at how something works. You're probably step-by-stepping trough it anyway.

      Not that a virus would take much use of peripheral hardware anyway, and emulating same system is vastly faster than something totally alien like amiga-on-pc.

  54. I knew it! by Stevyn · · Score: 5, Funny

    There is still a way to blame microsoft for this!!! I was getting a little worried there.

  55. Read the Result! by Anonymous Coward · · Score: 1, Funny

    Authorized Researcher Only.

    Attachment: result.zip

    1. Re:Read the Result! by Anonymous Coward · · Score: 0

      I'm not able to download the attachment, can you send again? ----- ;) j/k.

  56. Hardware emulators do this by hughk · · Score: 1
    Essentially you have a processor and a fancy logic probe linked together so that everything the processor does is monitored and if necessary intercepted. You plug it in in place of the usual processor and you can see exactly what is going on.

    You tend to do this kind of thing for debugging embedded realtime processors.

    --
    See my journal, I write things there
    1. Re:Hardware emulators do this by TubeSteak · · Score: 1

      can't you use that to reverse engineer the hardware too? Like the CPU or whatever else you're logic probing?

      --
      [Fuck Beta]
      o0t!
    2. Re:Hardware emulators do this by hughk · · Score: 1
      It is really hard to build up a picture of a complex chips internal state, especially if there is program memory built into the CPU without external access. Reverse engineering these would normally take serious hardware like an SEM.

      However, they are great for debugging "close to the metal" where you want to examine the interaction of logic signals and certainly it has helped debugging microcontrollers. The problem is that they aren't cheap.

      --
      See my journal, I write things there
  57. Explain for non-programmers? by TubeSteak · · Score: 2, Informative
    Its main trick is to check to see if it's being run in a debugging environment. If so, it exits to avoid detection...

    A possible bug, related to the way Atak checks its activation date, prevents it from being run in a "sandbox"... "I haven't seen such ruses used in a mass mailer in a long time. This piece of code is so sloppy, it's devious"

    Does anybody have a theory (that they can explain in fairly simple terms) as to why it won't run in a sandbox? Wouldn't a windows session in VirtualPc etc. be indistinguishable from the real thing?

    Someone, anyone, clue me in to what's going on.

    --
    [Fuck Beta]
    o0t!
    1. Re:Explain for non-programmers? by lboxman · · Score: 1

      I would assume that by "sandbox" they don't exactly mean "a virtualPC session". I think they're actually trying to run it inside a debugger, so that they can disect what the code does. Apparently this program uses some system call that debuggers don't allow, or something like that.

      --
      Regexes are like cocaine. The first hit is pretty good, but afterwards you try to use them to solve all your problems.
    2. Re:Explain for non-programmers? by An+ominous+Cow+art · · Score: 1

      Then they should be able to NOP it out, along with any code that checks its own checksum, or whatever other anti-tampering code may be in there.

      Sounds pretty interesting. If I didn't hate x86 assembly so much I'd take a look at it myself.

    3. Re:Explain for non-programmers? by myowntrueself · · Score: 1

      For copy protection purposes, some commercial software checks for just this; so that it makes it tougher to crack it.

      There are plenty of apps that, for this reason, won't run in vmware for example.

      --
      In the free world the media isn't government run; the government is media run.
    4. Re:Explain for non-programmers? by TubeSteak · · Score: 1
      Obviously I'm wrong, but I thought that a decent emulation program would be indistinguishable from the real deal. I mean, can't you emulate different hardware setups? Even different CPU architectures?

      I guess I'm asking at which/what point does the the emulation layer slip up and reveal to the program that its not running on true hardware.

      --
      [Fuck Beta]
      o0t!
    5. Re:Explain for non-programmers? by Anonymous Coward · · Score: 0
      If I didn't hate x86 assembly so much I'd take a look at it myself.

      Admit it, you just don't understand assembly.

    6. Re:Explain for non-programmers? by bn557 · · Score: 1

      Admit it, you just don't understand assembly.

      Perhaps that's why he hates it?

      --
      Humans are slow, innaccurate, and brilliant; computers are fast, acurrate, and dumb; together they are unbeatable
  58. well, we have virus... by zogger · · Score: 1

    and the great debates over virii and viruses. usually viruses as applied to the cyber world.

    So, why do we still use "worm"? It is not latiny scientific-geeky enough. We should be saying "vermis" singular and "vermi" plural, well, I think so anyway...

    1. Re:well, we have virus... by Anne.O.Neimaus · · Score: 1

      Or go essoteric, and call it a wyrm. Typically acts more like a dragon, anyway.

    2. Re:well, we have virus... by Anonymous Coward · · Score: 0

      Or in old english it would be "orm"

    3. Re:well, we have virus... by zogger · · Score: 1

      in cryptzoology(which I like, it's just a fun subject), there is a legendary/mythical mountain worm in switzerland called, I think, the "tatzelwurm". That spelling is probably wrong, and I'm remembering it from some book I read in junior high, either a frank edwards or a bernard heuvelmans.

      but ya, we need better cooler names for cyber bugs.

  59. Nothing new by Anonymous Coward · · Score: 4, Informative

    Viruses which could detect that they are being run in a debugger were common 10 years ago when I used to work for an anti-virus company. For example, One-Half is such a virus.

  60. Embedded Stealth Viruses by Simonetta · · Score: 1

    A worst-case scenario involving viruses would be if a virus writer were able to get his (always guys here doing this stuff) code into the compiliers for embedded systems. Then the virus could lie undetected in the millions of unnoticed systems in hospitals, air traffic controls, automobiles, traffic lights, ect... until activated by an external event or date. The effect for the West would be like Klattu's shutting down the electricity worldwide for a minute in "The Day the Earth Stood Still" (1951, Robert Wise, director).
    The embedded microcontrollers have had the same price/performance gains as desktop/office PCs and now many have firmware systems that are too big to monitor on the assembly language level. Even 32K has lots of room to hold a nasty little bug undetected.
    The companies that write compiliers for embedded systems are often very small. I'm not sure as to the extent that they realize the amount of damage that could be done by a virus in embedded systems firmware spread over millions of units. I'm sure that they're super professional, though. However, as the firmware development gets outsourced to the third world, this becomes an excellent undetectable opportunity to invoke major havoc.

    On the same note, I would assume that all of the high tech military equipment that the USA has been selling to its allies over the past twenty years has trojans in the firmware that will render the equipment inoperable should the 'allies' try to use it against US forces. I mean, that just makes sense, doesn't it?

    1. Re:Embedded Stealth Viruses by Bob+McCown · · Score: 1

      Interesing idea. Im not sure how embedded device programming is now, but when I was doing it (late 80's, early 90's), we were constantly tweaking the code to get the last few bytes of memory down. Anything that stuck in a virus-like amount of code would have been immediately noticed from the code size, and instrucion set. Though, now, Im willing to believe that nobody really knows how big their stuff should compile down to, so stuff like this could pass unnoticed.

    2. Re:Embedded Stealth Viruses by Simonetta · · Score: 1

      Hello,

      People writing for embedded systems in the late 1980's were usually writing for the Intel 8051 family or the Motorola 68HC11 or 6809 families, or the Z-80 family. Those families are still supported due to the huge amount of code already in place. But the chips themselves now mostly have internal rewritable Flash ROM instead of external EPROMs and many of the peripherals are incorporated into the processor chip itself. The processors have grown to surface-mount packages with 100 pins per inch being common. Plug in replacements for the 8051 now have higher speeds and 3 clock cycles per instruction instead of the original 12 clocks per instruction. They are also much cheaper.
      Newer embedded systems tend towards the Harvard architecture chips like the Microchip PIC, the Atmel AVR, and TI MPS series. They run much faster than older embed CPUs and are also very cheap. The Atmel Tiny11 AVR 32 RAM registers, 1024 bytes of rewritable program memory, runs at 6 MIPS and costs $0.41 in quantity 25 at Digikey. One time programmables have all but disappeared.

      16 bit MPUs with interated peripherals like the 68000 family are much cheaper than 15 years ago. Their firmware is usually written in C and it's not uncommon for them to have 128K or 512K internal flash memories. This is where viruses that manage to get into code can lie dormant. Especially since the code can be locked so it can't be examined after burning into the chip. If a third world developer put a virus into a common device with a 16 bit microcontroller and installed millions (like traffic lights or ATMs) throughout the country, we could be easily crippled, fast and hard.

  61. Sandbox is like the Matrix... by fasthek · · Score: 1

    Anyone mention that a sandbox is a bit like the Matrix? In a way a sandbox is to a virus, what the matrix is to Neo. How can Neo find out he's inside the matrix, there are hardly any symptoms, apart from some glitches maybe. If viruswriters will adept this strategy to check for sandboxes(and they will) it is for AV companies to act on that. So AV companies have to be creative aswell as viruswriters have to be.... Point being, if sandboxes are essential to AV companies they will have to adjust their sandboxes or else abandon it's concept. What kind of adjustments could one make: 1 prevent detection of sandbox 2 prevent "exit-ing" by the virus from the sandbox Ad 1. One way to prevent detecting could be to add a virtual layer by creating a virtual OS inside a sandbox as to camouflage the fact that the virus is being executed inside a sandbox. (the matrix inside the matrix) Else abandon the sandbox concept and create an alternative. For instance... one could imagine creating a virus with an monitoring function as to find out malware and analyse it? (Somewhat like "agents" in the matrix.) -- Just being philosophical. --

  62. Re:Okay...? by Anonymous Coward · · Score: 0

    It's amusing when the First Post gets modded redundant.

  63. Re:Okay...? by Anonymous Coward · · Score: 0

    Yeah, this is definatly a trojan. A trojan doesn't neccesarily need to be a part of a program, it can pretty much anything (like an email) doing something not expected. A virus should be a program which actually INFECTS files - not just makes files up, but modifies existing files (or disks) to propegate itself. A worm is something that basically spreads itself through a network.

    So really it's been probably years since we've really seen a virus outbreak. The problem is that you hand these terms to the media and they swirl them around since they really have no idea what they're really talking about. For the most part, it seems like AV companies have been keeping their terms strait, but now days you have online articles which incorrectly quote what the AV companies said it was.

  64. Bug/sandbox? by julesh · · Score: 4, Insightful

    A possible bug, related to the way Atak checks its activation date, prevents it from being run in a "sandbox"

    Sounds more like a bug in the sandbox to me. A sandbox should be indistinguishable from running on a real non-virtualised computer.

    1. Re:Bug/sandbox? by Anonymous Coward · · Score: 0

      Okay, go make one.
      1. Make sure all the hardware timings stay exactly the same, and keep the real time clock in sync when the sandbox is paused, and make sure all externally available time sources can be kept synced as well. Make sure you know about every undocumented processor, hardware, and software feature (or bug?) that would react differently under a sandbox.
      2. ???
      3. Profit!

  65. It doesn't even really matter by Sycraft-fu · · Score: 1

    It's just a bit more work. Copyprotections have been doing this for ever. Well debuggers get better, but even more, it's not a problem for a skilled assembly hacker. The code exits? Ok, find where it exited, and change it so it doesn't do so. Continue debugging until it happens again, then patch around that, etc.

    More work, but nothing that can't be eaisly overcome. Also, I'm not sure if you can detect the kernel debugger easily. Windows has a kernel debugger where you run one system in KD mode, and hook it to another system that actually runs the debugger. I'm not sure if Windows sets a flag to indicate the KD is running or not, and if it doesn't, it would be hard to detect.

    1. Re:It doesn't even really matter by magefile · · Score: 1

      So ... is that proof that DRM is a virus? Sweet! SCOTUS, here I come!

    2. Re:It doesn't even really matter by Anonymous Coward · · Score: 0

      yeah, but the kernel debugger isn't any good for debugging applications, just stuff in the kernel like a device driver.

    3. Re:It doesn't even really matter by Sycraft-fu · · Score: 1

      No, you are cammiting a logical falacy of joint effect. Just because both share common code, doesn't mean they are the same thing. Besides, copyprotection was doing this first, long before the DCMA. They continue to try it, and crackers just patch around it. Nothing they can do about it since the place the program died is, by definition, the place that the code to check for the debugger. Patch around that, you are good to go. There's only so many times they can put the check in.

    4. Re:It doesn't even really matter by Jack+Schitt · · Score: 1

      A scheme I've been thinking of detects the debugger and simply sets a flag. Later on, (at a random time), the flag is checked. If flag == True, then one of about 200 different errors conditions is created (i.e. a tempfile is allocated, written to, deleted, and then an access is attempted. The error causes program exit).

      It may take several days, maybe weeks, for a programmer to determine that the errors are not real. Maybe even longer to figure out the they are all related to a flag that was set at program start up.

      If the program watches the system clock, it's easy to tell that it was paused, and can then set the flag.

      BTW, though I may sound like I know what I'm talking about here, I can assure you that I've never tried this sort of protection before, it's just a theory.

      --
      This message brought to you by Jack Schitt's Previously Shat Shit
  66. Counterexample by Ungrounded+Lightning · · Score: 3, Interesting

    Highly damaging viruses don't spread far.

    Unless the damage is delayed and/or random.

    Big counterexample is AIDS:

    - Attacks the immune (i.e. antivirus) system directly.
    - Goes dormant until the infected cell is activated for other purposes.
    - Mutates "rapidly" for a virus (though slowly on reproductive cycle time scales), resulting in mutiple strains from a single infection after a few years.
    - Infects slowly enough that it doesn't create a tight cluster of infected individuals.

    This enables it to spread widely before the occasional activation of the immune system cells carrying it expand its infection in an exponential cascade taking out the doomed host.

    Birthday viruses / easter eggs are a simple mechanism to allow wide spread of computer viruses before they take out their hosts - and the hosts that are down at that time provide a reinfection reservoir. But it's primitive compared to AIDS.

    A highly damaging virus could be made which makes random choices on when to utterly trash its host.

    They aim for control, not damage. It's about money, not vandalism.

    Unfortunately, while there are several criminal enterpises spreading worms/trojans/viruses whose intent is to create DDoS zombies, spam remailers, or keylogger/filters looking for bank account access or other sensitive information, there are still plenty of virus authors chasing other things - including those who will vandalize machines for the fun of it.

    And there are power groups with significant membership whose agendas would be advanced by taking out as much as possible of the IT infrastructure of the world - the more widespread and more lasting the damage, the better for their purposes. A family of worms with AIDS-like properites would serve their interests nicely.

    Finally - while diseases evolve to be relatively benign, they do so randomly (and designed programs often don't do quite what was intended, especially on first release). Sometimes you get one that strikes a balance between spread and damage that results in a massive, widespread dieoff among the host populatin before the combined evolution of the disease and hosts contain its remanents. Classic example: Bubonic Plague.

    So let's not be lulled by analogies to the common cold and childhood diseases. They're the result of a lot of death and misery before the diseases found a stable niche. And while computer viruses share much of the math of disease spread they are designed, not evolved, and can easily have properties rarely seen in nature.

    --
    Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
    1. Re:Counterexample by Suidae · · Score: 1

      A highly damaging virus could be made which makes random choices on when to utterly trash its host.

      It might be more interesting to have it base the decision partly on the local infection rate, such that when the majority of hosts on the local subnet are infected, or when infection rates stop rising, 90% of the hosts are trashed at the same time.

    2. Re:Counterexample by Suidae · · Score: 1

      A family of worms with AIDS-like properites would serve their interests nicely.

      It seems that infecting through the hosts backdoor would be less effective for computer viruses.

  67. Sloppy code? by wvitXpert · · Score: 5, Funny
    Atak worm cannot be analyzed or debugged by antivirus companies without quite a bit of work, due to the author being sloppy with his or her code.
    Hmmm... let me guess, the virus is written in such sloppy code that it just blends right in with the Windows code? ;^)
  68. In Canada it is. by Beardo+the+Bearded · · Score: 1

    In Canada, anything you write or build is automatically copyrighted. That includes the form and the content.

    I don't know about the US.

    --

    ---
    ECHELON is a government program to find words like bomb, jihad, plutonium, assassinate, and anarchy.
  69. Any debugger exploits? by Arakonfap · · Score: 2, Interesting

    This could be a pain if it evolves further - and that the virus writers figure out ways of exploiting the debuggers that are running. I'm not aware of any exploits for any debuggers - so that's good atleast!

    1. Re:Any debugger exploits? by rd4tech · · Score: 1

      So whoever writes a virus should make it clean to understand and nice to detect? :)

  70. I'm waiting... by gillbates · · Score: 0

    For the worms which will detect and disable AV software....

    What will the Windows community do when a virus disables the AV software and prevents it from loading?

    --
    The society for a thought-free internet welcomes you.
    1. Re:I'm waiting... by DragonTHC · · Score: 2, Informative

      those already exist. they have for quite some time.

      --
      They're using their grammar skills there.
    2. Re:I'm waiting... by Anonymous Coward · · Score: 0

      IIRC, the cih.spacefiller virus did that. It infected a site that I worked at, and the virus scanners just made the problem worse. Of course, not updating definitions was part of the problem originally, but once infected, updating the settings was worthless.

    3. Re:I'm waiting... by Anonymous Coward · · Score: 0

      I had to clean such a virus of my neighbor's computer.

      What a pain.

  71. It's not a bug... by Anonymous Coward · · Score: 0

    ... it's a feature ;)

  72. not by Moderation+abuser · · Score: 4, Interesting

    Hmm, scan word docs looking for legalese adding and removing the word "not" at appropriate points.

    should/will/must should/will/must not

    Fairly simple but that alone could cause some interesting effects on contracts etc. I'm sure there are other simple and more effective ways of changing the meaning of sentences which would require the re-reading of them by the authors to guarantee that the meaning is correct.

    --
    Government of the people, by corporate executives, for corporate profits.
    1. Re:not by Anonymous Coward · · Score: 1, Funny

      This is not a very scary idea...

    2. Re:not by kasperd · · Score: 1

      Hmm, scan word docs looking for legalese adding and removing the word "not" at appropriate points.

      An interesting variant would be to not do it to documents on disk, but rather do it only when printing. Imagine you print three or four copies of a contract, that had the word not removed in different places, and then they gets signed.

      --

      Do you care about the security of your wireless mouse?
  73. Allready Here by eadint · · Score: 1

    Ive encountered a couple of worms and viruses that do just that.
    its great cause it makes me a lot of money, charging for their removal.

  74. catching the writer by TheCoop1984 · · Score: 1
    Just a few thoughts. It would be almost impossible to catch the writer normally, if he doesn't do anything stupid like put his address or name or anything that could be linked to him in the code. They would have to pin down the first email sent that had the virus attached to it, and in a blizzard of spam that is extremely difficult.

    And, isnt a better virus not a standalone .exe, but a patch that patches some critical file like win.exe or rundll32.exe or something? That way it is almost impossible to get rid of, since the user would have to find the origional file and copy it over, which would be made more difficult by the virus some way. Coupled with the changing-excel-values payload, that could be an extremely deadly virus that is very difficult to get rid of...

    --
    95% of all computer errors occur between chair and keyboard (TM)
    1. Re:catching the writer by Draknor · · Score: 1

      Except in XP, there's "file protection", so that if any of the windows system files get changed, they are automatically restored from the c:\windows\system32\dllcache directory. And if you try & change *those* files, Windows pops up a dialog asking you to insert the XP CD to restore the damaged files.

      So it wouldn't be impossible to do, but definitely more complicated.

  75. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  76. Ob by Anonymous Coward · · Score: 0

    You're new here aren't you? That is the standard for M$FT appologism here on slashdot. Wait till you see some posts by linux advocates!

  77. Heisenbugs, Schroedinbugs, Mandelbugs... by Scorchio · · Score: 1

    I found a new variant a couple of months ago. A bug that only occurs when I try looking for it. I found it while debugging something else, but tracing it through was causing the target machine to lock up completely every time on the most innocent of instructions. Run the code freely, and it would be fine. The odds are it was just the debugging process was messing with some critical timing of something in the hardware. As to what exactly, shall remain a mandelbug, but it was certainly a brainache at the time.

    1. Re:Heisenbugs, Schroedinbugs, Mandelbugs... by ars · · Score: 1
      Actually it's not a timing bug, or a debuger issue.

      I can give you a 100% guarantee that it's a memory overflow issue.

      Every single time you get a bug that is triggered on the most simple instructions it's actually a memory overflow bug. Every time.

      Run it under valgrind, you'll see.

      --
      -Ariel
  78. I was about to disagree, but... by Anonymous Coward · · Score: 0

    I was about to disagree with the thinking, but if I'm in charge of Symantec's AV division, I'm charged with maximizing cash flow.

    The way you maximize cash flow is to get more subscribers, not come up with an ultimate virus protection.

    If you come up with the ultimate protection, you sell it once. If you sell subscriptions based on the status quo, then figure it out.

    That's not tin-hat thinking, that's how business is run. Its all about maximizing revenue, baby.

  79. You're assuming people would fix it... by rsilvergun · · Score: 5, Insightful

    most people don't fix their computers until they no longer work at all. A virus like this would have little impact on the computer. If it was well hidden enough, it wouldn't get fixed when the person call tech support for other problems either. The key is being quite and unintrusive right up till the end, then you lay waste to the computer.

    Frankly, I'm with the first poster. I good 'ole fashion hard disk reformatter would light some fires out there. I'm tired of seeing people with 5 or 6 viruses, uncountable spyware programs and everthing on their computer broken wanting the damn things fixed without a clean install because they don't know what a file is and have no idea how to back things up.

    --
    Hi! I make Firefox Plug-ins. Check 'em out @ https://addons.mozilla.org/en-US/firefox/addon/youtube-mp3-podcaster/
    1. Re:You're assuming people would fix it... by syukton · · Score: 1

      hey now, those people keep me employed. I *like* charging $45/hr to sit in front of their computer with them and show them how to nuke viruses and spyware and explain why things like defragging regularly is good.

      Though, you remind me of this client I had a few weeks ago. The poor fellow actually HAD a burner in his laptop and nobody ever showed him how to burn a CD. He had a ton of pictures on that laptop from a myriad of vacations he took over a period of YEARS, and then his hard drive physically died. I couldn't do a damn thing for him but show him how to back up his files in the future. :(

      --
      Reinvent the wheel only at either a lower cost, greater effectiveness, or your own personal enrichment and satisfaction.
  80. Remember the old days by Eudial · · Score: 4, Informative

    Remember the old days of self modifying assembly code?

    (ie:
    instruction purpose
    1-20 alter instruction 21-40
    21-40 alter instruction 1-20, jump to 1
    1-20 do something
    21-40 alter 50-70 and 1-20
    50-70 do something, jump to 1-20)

    All alteration naturally is done in the most tricky of ways.

    Ah, those were the days.

    --
    GAAH! MY PRINTER IS ON FIRE!!! PUT IT OUT! PUT IT OUT!
    1. Re:Remember the old days by Gunstick · · Score: 2, Interesting

      hehe, and what about this:

      analyze CPU speed timings.
      install Xor crpyting interrupt routines 1, 2, 3 and 4
      routines 1 & 2 decrypt current instruction+2
      routines 3 & 4 encrypt current instruction-2

      the program has to run at exactly the right speed to be in sync with timers.

      Oh and the main program of course runs in trace mode, doing some fancy things at each instruction, so a debugger can't run.

      oh yeah... good old days :-)

      --
      Atari rules... ermm... ruled.
  81. Are there viruses attacking anti-virus program? by Anonymous Coward · · Score: 0, Troll

    I am curious if there are such thing as viruses attacking specifically firewall and anti-virus apps. Anti-virus apps relies on viral signatures to detect them. But if one releases a new virus that slips past through an anti-virus app and prevents it from working properly in the future or modify firewall apps, a second (and third, fourth, ... ) virus may get in easily undetected.

    Can anyone familiar with virus writing explain if it's possible or not (and why)?

  82. You mean the virus authors aren't cooperating? by GrnArmadillo · · Score: 1

    Don't they realize their job is to produce easily counterable products that keep AV software writers in business? You might think they actually wanted their viruses to suceed or something....

  83. Not strange at all - 1 000 000 Monkeys by Anonymous Coward · · Score: 0

    The 1 000 000 monkey 'theory' could be true if you refer to 'perfect virus' instead of Shakespear.

    1. Bob makes virus 'A 1.0' based on exploit 'A' releases its source. No payload of true significance.

    2. Paul makes virus 'B 1.0' releases its source. This virus is of course based on exploit 'B'. No payload.

    3. Saul takes A 1.0 addes B 1.0 + new 'BUG' and as a bonus includes code to wipe hdd whithin a short period.

  84. true but then blueplint == source code by SmallFurryCreature · · Score: 1

    you compile/build the blue print to get the exe/car. This is more like a parts list, or the remains of the car after being squashed. Or perhaps anologies just don't work when taken to far :)

    --

    MMO Quests are like orgasms:

    You may solo them, I prefer them in a group.

  85. Re:free ipod by Anonymous Coward · · Score: 0

    Make sure to strip the referrer if you think you want to check this out - please, don't feed the spammers ;)

  86. HardICE by hughk · · Score: 1

    Please remember that SoftICE comes from the name of an In-Circuit Emulator which mentioned in my other post. A good one will decode the instruction stream and allow to put watch points anywhere in memory. The operation of a true ICE is totally transpernt to software. SoftICE is just a software approximation, but you could do something similar with a complete software emulator such as Bochs which models the processor as software.

    --
    See my journal, I write things there
  87. The law is not programming (Re:Finally!) by cascadingstylesheet · · Score: 1

    This raises an excellent point: don't the AV companies daily violate the DMCA by reverse engineering virus code? If not, how long until somebody puts some kind of copy protection system into a virus and then sues all the AV companies? (I know, copy protection in a virus would be a bit odd, but hey...)

    I'm not saying that stupid things never happen in law (hell no I'm not saying that) but you are having a fallacy here. Law is not applied in a mechanistic fashion, like a computer program. Human intervention is present at many points (police, prosecutor, judge, jury) and usually prevents absurd scenarios like a law designed to prevent circumvention of computer security being used against those examining viruses.

  88. Mal-MalWare by Atlas_Smirked · · Score: 1

    Never ascribe to genius that which can be simply explained as an act of stupidity.

  89. What a bizzare statement by autopr0n · · Score: 3, Insightful

    It would seem that making a virus hard to debug/analize would be the hallmark of a well-written virus, not a poorly made one.

    I realize that 'easy to exicute' is a design goal of most software writers, but I'd think virus writers would want to focus on other things.

    --
    autopr0n is like, down and stuff.
    1. Re:What a bizzare statement by Anonymous Coward · · Score: 0

      You've been watching too much pr0n, the word is analyse not analize.

      Lets go through some examples:

      1. Your mother was brutally analized by a gang of horny hillbilly hobos.

      2. Investigators analysed the footage of her being analized and discovered she really enjoyed it.

  90. vindication by sacrilicious · · Score: 4, Funny
    the new Atak worm cannot be analyzed or debugged by antivirus companies without quite a bit of work, due to the author being sloppy with his or her code.

    See, this is what I've been trying to tell my boss: I'm not writing sloppy code, I'm trying to prevent people from reverse engineering our product!

    We visionaries are always persecuted.

    --
    - First they ignore you, then they laugh at you, then ???, then profit.
  91. All these techniques would be irrelevant... by Atario · · Score: 1

    ...if you ran your virus inside a virtual machine (like VirtualPC), and stepped the machine through cycles to see what it does.

    In other news, VMWare announces new partnership with Norton...

    --
    "A great democracy must be progressive or it will soon cease to be a great democracy." --Theodore Roosevelt
  92. Code Red that kills machines by A55M0NKEY · · Score: 1

    Using a signal that would put the viruses into kill mode would let them spread until it was time to take down all infected machines at once. In kill mode, the virus would broadcast the kill signal to other infected hosts, and then cause havoc/destruction on its host.

    In order to get around firewalls, the virus would have to hijack a common means of communication like email. It would not want to monitor any ports as virus researchers would be able to detect it and the incoming connections would likely be blocked by firewalls, and it wouldn't want to depend on opening any outgoing connections once in kill mode because this would likely be blocked by firewalls.

    Using detectable means to spread in the first place is one thing, but keeping the kill signal functionality secret until after it was too late would be paramount for this scheme.

    It might pick one or more popular email clients to hijack, monitoring incoming email messages as they are recieved or opened for a 'kill message'. A kill message might consist of a random number inserted into the message with certain properties like being divisible by 2243243243323243242342343243243254325215 with a remainder of 2822. The number might be segmented into chunks seperated by spaces so that no chunk was so long as to arouse suspicion. The number could be base 26 with the letters a-z serving as digits. That way, when properly broken up into eye pleasing random length 'words' the 'number-phrase' would be impossible to detect and filter using regular expressions. The number-phrase could be added to the first line of a random message in the infected person's inbox and forwarded ( or resent ) to random people that person knows via email. This would destroy the privacy of that person by sending their inbox messages, and propagate the kill signal in a way that can not be detected and filtered.

    If, after recieving a kill signal, the virus waited a random amount of time up to a few hours, then you could choose the properties of a kill signal number to be able to set off the cascade by sending an infected person an inoccuous message with the phrase in it.

    Suppose your phrase was: "My fortune cookie had one six twelve sixteen twenty two and thirty eight listed as lucky numbers." Concatenate the letters from a-z in that phrase, and you have a base twenty six number that isn't likely to appear in any other email message in the whole world ever. (Lotto numbers may be suspicious. Steganography is an art. Let the messages be monitored in all locations for a fixed length kill phrase, and non a-z characters ignored, and you could put your phrase anywhere say: Hey what's [up C00lguy77? SpikeyHamster29 was tal]king shit the other day about some stuff. This becomes: "uplguypikeyamsterwastal". That looks fairly unlikely to appear anywhere ever.

    Take the remainder of "uplguypikeyamsterwastal" modulo "longpassword" and have your viruses require and generate random kill signals based on that criterion. Most likely the guy who gets the first kill signal will send their broadcast and then start recieving kill signals soon enough. It is always possible that it could be proven to have originated from that email, but if it was sent from a brand new hotmail account using a computer in a college computer lab while wearing a disguise through an anonymous remailer with a high minimum retention value to ensure that any video tapes from any cameras that had been taping the lab unbeknownst to the virus author had been written over by the time the message was sent. To a relay setup not to log anything running on stolen hardware that was slyly plugged into a forgotton network jack somewhere months ago by a guy dressed as a woman wearing a veil and which has been waiting for this moment ever since...

    Of course nobody should ever write or release a virus.

    --

    Eat at Joe's.

  93. TurboTax like virus? by hardaker · · Score: 3, Funny

    Gee... a virus that does things different when in a debugger or emulator? Sounds an aweful lot like a certain version of Turbotax about 2 years back... Do we have a prime suspect yet?

    --
    The next site to slashdot will be ready soon, but subscribers can beat the rush and start slashdotting it early!
  94. Re:Mailers? (Too much flash) by someone247356 · · Score: 3, Interesting

    Too much flash. Why go for Ebola when Mad Cow would be much more deadly and likely to be mistaken for Alzheimer's.

    That's the problem with viruses these days, too much flash. Either it saturates a network spreading itself, or it quickly kills the host. Either way it brings way too much attention to itself to be truly scary.

    How's this for a thought experiment;

    Write a small, stealthy piece of code that would randomly change a single digit in a single number found in a random Word or Excel etc. file by some small random amount once a day. It propagates by attaching portions of itself to no more than 1 email message/irc chat/telnet/ftp/video conference or other communication application a day. Until all of the pieces are present in memory, all the code does is attach itself to some systems process and look for the rest of itself. When all of it has been received it adds itself to some innocuous systems level process and begins changing values and slowly sending itself out around the world.

    So what good would that do? Well it doesn't draw attention to itself, neither in its mode of operation nor the way it spreads itself. Therefore while it would propagate slowly, no one would ever be looking for it. It's payload could cause great amounts of harm without ever giving the user any reason to think that his computer might be infected. What happens if it's on a pharmacy/hospital computer and it changes the dose of a prescription? Most pharmacies these days use numbers as a prescription ID. 20034978 might be a beneficial prescription while 20034879 could be deadly. We lost a Mars probe because someone didn't convert between feet and meters correctly. What if they did and a virus like this deftly changed it behind their back? A million widgets at $1.24 each is a lot different that a million widgets at $1.98. Building a bridge with a support beam that's 84.539 meters long isn't the same as one of 84.639 meters. You see where this is going don't you. Taken by themselves they look like simple user errors.

    The computer, or user, is diagnosed with Alzheimer's when it's actually infected with Creutzfeldt-Jakob. Machine's get rebuilt, people loose money, or get killed, and no one ever suspects that a very stealthy virus is the root cause of it all.

    That my friends is what I would call truly scary.

    someone247356

    --
    Just my $0.02 (Canadian, before taxes)
  95. Most spurious EULA "agreement" *ever* by Dogtanian · · Score: 1

    Y sues Z for trade secrets, copyright infringement, violation of license, etc.

    "By letting this virus infect your machine, you agree to the terms and conditions of the license. Even though we didn't ask you first."

    Hmm... I'd like to see Y prove that anyone broke a license that they reasonably had a chance to accept/reject.

    Not that this would ever happen in real life, obviously. The question is; could it? Answer- not in this situation!

    --
    "Slashdot - News and Chat Sites Deviant". (Click "homepage" link above for details).
  96. So all I need is a debugger running? by Anonymous Coward · · Score: 1, Insightful

    So all I need is a debugger running to defeat this program? :\

  97. Re:Mailers? (Too much flash) by Anonymous Coward · · Score: 0

    But we have this, it's called Microsoft! You mean you don't have documented cases where Word or Excel crashes, and the file you open up again isn't quite the same as it was before? Or after converting a file between versions?

  98. anyone remember the amiga viruses? by Random_Goblin · · Score: 1

    There was a psuedo virus for the amiga that did a very similar thing as your proposal. Now while lots of the code exploits were to do pretty graphic effects

    (BTW where have all the characters falling off the screen exploits gone? Viruses used to be a method of showcasing crack skills, I'd like to see a return to viruses doing what hollywood promised us viruses would do.. pretty graphics I demand pretty graphics!).

    As I recall the nastiest in terms of not being able to detect the thing, was the one that every 20 seconds or so (it varied each time) would randomly change letters you were typing.

    It was so subtle in effect, that you assumed it was your poor typing for ages till the penny dropped. ,

    Nothing worse for giving you those nagging paranoid self-doubts than reading back something you could have sworn you typed well, full of typos!

  99. motive by Random_Goblin · · Score: 1

    Seeing as the new breed of virus writers are now working for profit, organised crime, spammers, pc for hire etc. the scary part of your virus attack method, is that it has a very good motive attached to it...

    Extortion... pay up or we will disclose your systems have been infected!

    Think about most of the big companies that you know, and think about how many of tham would try and keep their infection as quiet as possible, and take the losses silently, rather than have their competitors, clients etc know that their data was corrupt.

    Definately worth a bundle of notes to "big Dave" not to have their stock go through the floor.

    of course the tin-foil crowd, will have already spotted that this would be exactly the sort of virus you would never hear about... which of course means it's already out there!

  100. Anti-anti-debugger patch by CyberVenom · · Score: 1
    Anti-Anti-Debugger patch:
    KERNEL32.DLL
    offset patch
    0x0A41 6631C0C3
    (I'm not sure if this works; haven't had a chance to try it yet, but it should. It should also be noted that if you actually do start 2 debuggers on the same process, the debuggers will end up debugging each other and getting rather confused...)
  101. Tort reform by rice_burners_suck · · Score: 1
    Next thing you know, the headlines will read:
    Virus Writer Sues Antivirus Company for Circumvention under DMCA
    Just like the way people break into some place at night, fall down and break their arm, and then sue (and win) for damages caused while they had broken and entered with intention to burglarize. Now doesn't the legal system make perfect sense? I think there should be a law on the books that there is no case against any defendant, whether involved or not, for negligence or tort (intentional or unintentional) when the plaintiff was in the process of commiting a crime at the time it occured.
  102. Re:Mailers? (Too much flash) by syukton · · Score: 1

    That's one hell of an idea. I hope the author of Atak doesn't read slashdot. heh.

    --
    Reinvent the wheel only at either a lower cost, greater effectiveness, or your own personal enrichment and satisfaction.
  103. Atak vs. SpamByte: Game Over Spammers/Crackers by iamcf13 · · Score: 1
  104. "Mach 10" means zilch! by vogon+jeltz · · Score: 1

    Ok, with the risk of being the smart ass of the week ...
    "Mach 10" means: the velocity of sound (a) times 10" under well defined conditions. a in gases depends on the density (rho), temperature (T), isentropic exponent (kappa) and the pressure (p) of the medium, air in this case. a=sqrt(kappa*R*T), with R being the special gas constant for air, or a=sqrt(kappa*p/rho).
    Where a ("Ma 1") on sea level in standard atmosphere equates to 340 m/s, it decreases to 295 m/s in 20 km attitude. Still kinda fast ...

  105. Re:Mailers? (Too much flash) by Anonymous Coward · · Score: 0

    Was anyone else expecting him to sign this "someone243756"?

  106. Can I claim on that guarantee? by Scorchio · · Score: 1

    I hadn't heard of valgrind, so I looked it up. Unfortunately, this is isn't an x86 architecture, nor is it running Linux. The target machine has a multitude of sub-processors that mostly communicate via DMA. Odds are that the debugger was halting the main CPU at a critical point, starving something of the data it needed, and locking part of the system.

    1. Re:Can I claim on that guarantee? by ars · · Score: 1

      It's not much of a debugger now is it, if it doesn't make sure all data and signals are sent as they should be.

      Does it always happen on exactly the same instuction? And yet not on any others? I still think it's a memory bug, since if it was starving DMA or other data flow issues it would also happen elsewhere.

      You can test this yourself without valgrind - just run this test: Increase all data sizes (arrays) by a few bytes and see if it still happens.

      Aditionally create a very large array at the begining and at the end of all the variables as sort of a buffer space. (Is it a stack based architecture?) See if it still crashes.

      If your program behaves differently (anything at all is different) - it's a memory bug, now you just have to find it.

      --
      -Ariel