Slashdot Mirror


Do You Write Backdoors?

quaxzarron asks: "I had a recent experience where one of our group of programmers wrote backdoors on some web applications we were developing, so that he could gain access to the main hosting server when the application went live. This got me thinking about how we are dependent on the integrity of the coders for the integrity of our applications. Yet in this case a more than casual glance would allow us to identify potentially malicious code. How does this work when the clients are companies who can't perform such checks - either because they don't know how, or because the code is too large or too complex? How often do companies developing code officially sanction backdoors...even if means calling them 'security features'? How often has the Slashdot crowd put a backdoor in the code they were developing either officially or otherwise? How sustainable is the 'trust' between the developer and the client?"

791 comments

  1. Deadlines by jimmyCarter · · Score: 5, Insightful

    I don't know about you guys, but not too many of my projects spare enough time in the project timeline to allow me to write backdoors or Easter eggs or whatever.

    The last thing I'm thinking about when rushing towards the deadline is some fancy backdoor into a web app I'll probably never use anyway.

    --

    -- jimmycarter
    1. Re:Deadlines by Anonymous Coward · · Score: 0

      yeh...i'm already running late....

      this guy doesn't have enough on his plate if he/she has time to write backdoors.

    2. Re:Deadlines by Anonymous Coward · · Score: 5, Informative
      I don't know about you guys, but not too many of my projects spare enough time in the project timeline to allow me to write backdoors or Easter eggs or whatever.

      Some people write backdoors to facilitate debugging. They don't have to worry about checking with the customer for various passwords - they just type in "IAMGOD" or some such hard-coded password and they are in.

      For the record, I don't approve of backdoors. First, they provide security issues - someone just has to look through the executable for strings. Second, these things are never changed when employees move on.

    3. Re:Deadlines by Anonymous Coward · · Score: 0

      Yet the poster has enough time to read and post on /. during normal business hours.

    4. Re:Deadlines by Anonymous Coward · · Score: 0

      how do you know what timezone they're in!?!?!

    5. Re:Deadlines by Ponty · · Score: 4, Interesting

      Just this morning, I write a backdoor into a web project. Very often the testing users give me really strange errors that I just can't verify at all. It's useful to have a "master password" that I'll disable later (probably.) Backdoors are most often used for debugging purposes. Fortunately for the users, I'll be the sysadmin when the system goes live, so there isn't much of a risk (yet.)

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

      give url and master pw, pls.

      thx

    7. Re:Deadlines by jonathanduty · · Score: 1

      I agree. Most projects I work on have such a demand from managers that we do not have time to plant "Backdoors" and such. Plus, shouldn't morals come into play? I mean just because we can, doesn't mean we should? And wouldn't you feel bad if your back door was found and used by a hacker? Back doors provide a way for hackers to use a developer's ego to exploit systems verses a developer's design and coding ability.

    8. Re:Deadlines by Anonymous Coward · · Score: 5, Funny

      just be careful when the guy you are out drinking with starts leaning forward and discussing "backdoors".

      he may not mean what you think he means ...

    9. Re:Deadlines by rendle · · Score: 1
      someone just has to look through the executable for strings

      Not if you use formulae. You can base them on the date, or have a generated logon/password pair (we use a system like that for rescuing customer's who've locked themselves out.)

    10. Re:Deadlines by motardo · · Score: 5, Funny

      You must work for AOL

    11. Re:Deadlines by sql*kitten · · Score: 5, Insightful

      Just this morning, I write a backdoor into a web project. Very often the testing users give me really strange errors that I just can't verify at all. It's useful to have a "master password" that I'll disable later (probably.) Backdoors are most often used for debugging purposes. Fortunately for the users, I'll be the sysadmin when the system goes live, so there isn't much of a risk (yet.)

      If you're the sysadmin, then it's not a backdoor. After all, you could just fire up a debugger on the process and find out anything you wanted, passwords, data, anything. Or log onto the database as the DBA and just query the tables directly. Or place a packet sniffer on the network.

      A back door implies that it gives you something you couldn't and shouldn't have.

    12. Re:Deadlines by quadcitytj · · Score: 5, Interesting

      In my opinion, this is a terrible way to build the system, and "debugging" methods like this are the reason so much code sucks.

      You're not developing the project for a "master user," you're developing it for normal users. Debugging code while in the "master" mode will do nothing more than give you a false sense of whether your code is buggy or not.

      It's like installing an app, and then testing it as root. It doesn't tell you anything, and it makes user's lives miserable when they can't get something to work.

    13. Re:Deadlines by Blimey85 · · Score: 1, Funny
      they just type in "IAMGOD"

      Damn it!!!! That was my password! I found it first!!!! Now I have to try to think up another one....

      --
      How is it that one careless match can start a forest fire, but it takes a whole box to start a campfire?
    14. Re:Deadlines by Deus_Ex_Machina · · Score: 5, Insightful

      Analogous situation: I have the key to the front door of a building, but it's inconvenient to use the front door so I blow a little secret hole in the back wall and use that instead.

      A back door is a back door because it provides another way into the system which circumvents whatever access controls already exist, totally regardless of who WRITES this new circumvention path, or whether the access controls would have restricted them in the first place.

      You're right that he can't do anything with his back door that he couldn't do as the administrator before (with ingenuity and a lot of time), but you're wrong that he hasn't created a back door.

      DeusExMachina

    15. Re:Deadlines by Christopher+Bibbs · · Score: 2, Interesting

      Sure it tells you something. When it works for root and not a regular user, you know you buggered the permissions.

      I carry around all sorts of hacks and backdoors for the software project I work on. Toggle the hidden switch and bingo! You get access to parts of the code that require a different license. Helps me to debug things (extra state analysis routines) and I don't have to get the customer a temporary license.

    16. Re:Deadlines by Anonymous Coward · · Score: 2, Interesting

      Don't know if it's a back door, but....

      I mostly have worked on embedded systems. One of them typically didn't have a keyboard installed, but did have a standard PS/2 keyboard port hidden on the back. Pressing any KEY on that would get you past any password prompt on the front interface (LCD/Membrane 10-key pad.)

      On another system, a POS system, there's a master password that changes daily, based on a date calculation.

      Both of these are used for support purposes, though. On the POS system, there are some changes that can only be made using the "master" login and password. On the controller, field techs use it to reset a password after the owner of the system has lost or forgotten it.

    17. Re:Deadlines by PylonHead · · Score: 4, Insightful

      This is clearly not true. Any method of gaining access that circumnavigates the established security procedures is a back door.

      If they fire him tomorrow, they have no way of removing his access from the system, since they don't even know it's there.

      --
      # (/.);;
      - : float -> float -> float =
    18. Re:Deadlines by MarkGriz · · Score: 1

      How about "SPISPOPD"

      --
      Beauty is in the eye of the beerholder.
    19. Re:Deadlines by fucksl4shd0t · · Score: 4, Funny

      Any method of gaining access that circumnavigates the established security procedures is a back door.

      Hey dude, I thought circumnavigate meant something like circle without penetrating, or something like that. Like, in the seven cities of gold days you would circumnavigate the new world on a couple of trips, go back to spain and get more men and boats and stuff, and then go back to start your exploration of the interior.

      --
      Like what I said? You might like my music
    20. Re:Deadlines by CmdrTaco+(1) · · Score: 0

      They don't have to worry about checking with the customer for various passwords - they just type in "IAMGOD" or some such hard-coded password and they are in.

      Yep, I used to work for a company that sold SCADA systems controlling water, oil and gas pipelines - big stuff like Middle East pipelines. They have a hard coded God login - much more priveleges than the end customers get. The secret password has stayed the same forever - I'm talking about days when VMS on VAX was modern...

    21. Re:Deadlines by tevman · · Score: 1

      oooh, i love metaphors

      let me give this one a shot

      I have the key to the front door of a building, but it's inconvenient to use the front door so I blow a little secret hole in the back wall and use that instead.

      what if you get a person that specializes in blowing little secret holes, i think that alot of places would be more secure with one of these things, as long as it was properly installed. For instance, you are a really important person, and you cant just walk in the front door of this building cause... well the stuff you take in and leave with is super secret... think a tunnel to work, most of the secureest (sp?) buildings have lots of secret tunnels and pasageways in them... think pentagon

      --
      sig is broken try again tomorrow
    22. Re:Deadlines by sward · · Score: 1

      "circumvent"

      If I had moderator points, I would have modded you to (+2, Funny). Ah well, such is life.

    23. Re:Deadlines by tevman · · Score: 1

      smashing pumpkins into small pieces of putrid debris... :)

      --
      sig is broken try again tomorrow
    24. Re:Deadlines by boy_afraid · · Score: 1

      Actually I did have a backdoor to my house. If I ever got locked out I just used a side window that didn't lock to get in. It had my cat's window bed on the window cell, so it was always a bitch to get through, but it helped. I did have the key, but only to the bold, and not the door handle key.

      BUT, that was to my OLD house, I've since moved and everything in locked down, excep the cat door, which NO ONE can fit through.

    25. Re:Deadlines by buckminster · · Score: 2, Insightful

      Except that, while he's currently the sysadmin that may not always be the case. Knowing the way knowledge transfer works in most organizations I doubt that information about the backdoor will be passed along to the next sysadmin. And once this sysadmin is a "former sysadmin" he becomes a security risk.

    26. Re:Deadlines by PylonHead · · Score: 2, Funny

      Yea, I realized this with horror just after I hit the post button.

      I knew I could count on some flamage.

      --
      # (/.);;
      - : float -> float -> float =
    27. Re:Deadlines by rowanxmas · · Score: 1

      Well, I think I KNOW what he means.

    28. Re:Deadlines by dnoyeb · · Score: 1

      yes, i have written such "backdoork" in some software, sanctioned by my company, not told to customer. It was never meant to be released though. the real problem is that we go through durability testing and such with the "final software" but of course its not really final because we have this key that allows us to still check certain things that we will truly turn off later on.

      I always pushed for the customer knowing about this because then its their legal problem, not ours if its found out. And I always like to remind folks in the Auto industry that crime starts at the Top, not the bottom.

    29. Re:Deadlines by cameldrv · · Score: 4, Insightful

      Yes, but what happens when he quits or gets fired? The other sysadmins would disable his account on the machine, but presumably he still has the backdoor password to a possibly web accessable app. This is like making a copy of your office key and keeping it when you leave.

    30. Re:Deadlines by bluesangria · · Score: 1
      What was that company name again?


      I just wanted to know with whom I had to specifically include "no backdoors" in the contract.

      blue

    31. Re:Deadlines by Anonymous Coward · · Score: 0


      mmm... seven cities of gold...

    32. Re:Deadlines by Anonymous Coward · · Score: 0

      Any method of gaining access that circumnavigates the established security procedures is a back door.

      That's "circumvent," vocabulary master.

    33. Re:Deadlines by Ponty · · Score: 2, Funny

      Even Gary Coleman?

    34. Re:Deadlines by Ponty · · Score: 3, Informative

      If I can't log in as an arbitrary user, then I can't fully test the system. Everyone had different preferences and details, and I, as the master user can't do all that much from my account.

      I think you misunderstand what my message meant: I don't have a "master" mode, I have a overriding password that bypasses the standard authentication system and lets the admin user assume the username/authentication details of an arbitrary user. That's important so I can have the same experience as that user. It doesn't compromise any data security, as I can just as easily see all the user's data when it's sitting on the database server.

    35. Re:Deadlines by DJPsychoChild · · Score: 1

      A project group I'm currently in has written a few backdoors into our system. They allow us to bypass logging in and out - crucial information for our timeclock system - so that if one of the programs in our system bombs, we don't have to shut the entire timeclock system down to log ourselves back out. It's not the best solution by far, as we are having to track hours by hand. We didn't build the original system, however, and don't have time to properly fix it.

      We are planning on taking the backdoors out as soon as our "programmer" testing is done, doing a quick double check, and then sending it off to be fully tested by users. I'm curious as to how often this (taking out backdoors) is done?

      --
      CODITO, ERGO SUM: I Code, therefore I am.
    36. Re:Deadlines by Anonymous Coward · · Score: 1, Funny

      ...excep the cat door, which NO ONE can fit through.

      What about cat burglars?

    37. Re:Deadlines by tenordave · · Score: 2, Insightful
      Analogous situation: I have the key to the front door of a building, but it's inconvenient to use the front door so I blow a little secret hole in the back wall and use that instead.
      Not exactly. He said he would remove the door when the product ships. So this is more like construction workers making a secret hole in the back wall to help them build the building, then sealing it up when they are done.
      --
      http://students.washington.edu/djwatson
    38. Re:Deadlines by void* · · Score: 2, Insightful

      If you need a legitimate way to gain access for debugging purpose, document it as part of the system, don't code it up and leave it a secret. It then won't really be a backdoor, and the access to it can be controlled appropriately.

      Coding up a backdoor and leaving it undocumented is a bunch of crap - you're probably not going to remember to disable it, you're probably going to get onto the next project and forget about it entirely, leaving it there for others to potentially find - others who are potentially hostile.

      Plus, if you don't leave a secret back door there's no temptation to use said secret back door to get even once you get laid off, saving you from potential jail time :)

      --


      Code or be coded.
    39. Re:Deadlines by Anonymous Coward · · Score: 0
      Well, there are cases where having a backdoor IS useful, and your high-on-the-horse attitude just shows your experience with real-world system is not very extensive.

      Some projects I've been on have used use similar mechanisms during development and testing. With right combination of pseudo-user-ids and 'well-known passwords' we make it possible to login as a real user, without having to know the password. This is VERY useful during development, since only login access check is by-passed, but everything else then works as usual. Needless to say, this feature will be disabled or removed in production system.

      Since some of the errors are dependant on settings of the users, the alternative for tracking down what exactly happens would be to either obtain real user password, or clearing it during testing. Neither works as well as development / testing time back door.

    40. Re:Deadlines by Anonymous Coward · · Score: 0

      What did he say again?

      "I'm cool cad bad"?

      That game was a blast.

    41. Re:Deadlines by Orthanc_duo · · Score: 2, Interesting

      In my opinion, this is a terrible way to build the system, and "debugging" methods like this are the reason so much code sucks

      I have had situations where code runs fine on the development box but when it is copied to the (supposedly) identically configured production box things fall over. I don't have login access to the production box so I have a backdoor that allows me terminal access for debuggin purposes. Without this bugs that currently take me 5 minutes to find would take someone else sever hours of sorthing through httpd.config files and trying to see what diference is breaking my code.

    42. Re:Deadlines by soulsteal · · Score: 4, Funny

      The word he meant to use was "circumvent."

      At least he didn't use "circumcise."

    43. Re:Deadlines by terraformer · · Score: 2, Funny
      Hey dude, I thought circumnavigate meant something like circle without penetrating...

      Yeah, kinda' like the /. crowd...

      --
      Who are you? The new #2 Who is #1? You are #617565. I am not a number, I am a free man! Muhahaha.
    44. Re:Deadlines by misof · · Score: 2, Interesting

      someone just has to look through the executable for strings.

      Oh my... looks like you never wrote something remotely similar to a backdoor. And I mean no just-for-debugging-and-then-i-remove-it backdoor, I mean a real one. A backdoor that's meant to be misused. E.g. you are writing some software for your bank ;) That kind of backdoor. The first rule is that the backdoor should be as invisible as it is possible. And some strange password-like string is the simplest way of shouting "hey, I'm here!"

      A real backdoor should look e.g. like the one legendary that once was in a C compiler... for more info see the jargon file entry on backdoor.

    45. Re:Deadlines by Anonymous Coward · · Score: 0

      You were too quick to poke fun, look closely at definition numero dos :)

      circumnavigate
      1. To proceed completely around: circumnavigating the earth.
      2.To go around; circumvent: circumnavigate the downtown traffic.

    46. Re:Deadlines by Anonymous Coward · · Score: 1, Funny

      just be careful when the guy you are out drinking with starts leaning forward and discussing "backdoors".

      he may not mean what you think he means ...


      You mean this happened to you too?!

    47. Re:Deadlines by vladkrupin · · Score: 4, Informative

      This is clearly not true. Any method of gaining access that circumnavigates the established security procedures is a back door.

      If they fire him tomorrow, they have no way of removing his access from the system, since they don't even know it's there


      Everyone seems to focus on the actual piece of code that acts as a 'backdoor' and forgets that just knowledge of the system is just as dangerous. No sufficiently complex system can be foolproof both in design and implementation. During developent debugging code gets left over, some shortcuts are taken, etc.etc. Nobody except the developers who designed and wrote the stuff even know about what exactly is in the code. While I do not put any backdoors in my code intentionally, I have the sufficient knowledge of the system to poke a few holes big enough for a full compromise.

      In short: If you have a sufficiently large system, chances are that a disgruntled developer can compromise or damage it even without placing any backdoors in the code ahead of time. Knowledge is power. Obviously, this does not apply to open-source projects that receive a fair amount of peer review (or just people tinkering with the code).

      --

      Jobs? Which jobs?
    48. Re:Deadlines by Anonymous Coward · · Score: 0

      I don't write Backdoors, I FUCK them!

    49. Re:Deadlines by capnjack41 · · Score: 4, Interesting
      someone just has to look through the executable for strings.

      For this reason, if I write in backdoors like that in a PHP script (a single admin password, for example), I don't actually store the password in a database or the script plaintext, I use an MD5 hash. Even if someone somehow manages to see it (they shouldn't anyway), it's still hard for them to guess what the password is (which they need to POST to the script).

    50. Re:Deadlines by Anonymous Coward · · Score: 1, Interesting

      After I quit, I was reading my former boss's email for the next year (having set up the email and web for the company), though he tried to get an injunction to "prevent me from hacking their system" (to muddy the case I had to claim unpaid wages), he never bothered to change his password, till they changed ISPs. At least, there were no surprises in the case...

    51. Re:Deadlines by Anonymous Coward · · Score: 1, Informative

      You're not developing the project for a "master user," you're developing it for normal users. Debugging code while in the "master" mode will do nothing more than give you a false sense of whether your code is buggy or not.

      You seem to be confused on the issue here. If you're trying to get a sense of whether your code is buggy or not, that's not debugging, that's testing. If you're debugging, you already know your code is buggy -- you're trying to find out why (or how) it's broken.

      When you test things in "normal" mode, and something fails, you enter into "master" mode to find out what's going wrong.

    52. Re:Deadlines by Anonymous Coward · · Score: 0

      thats what chainsaws are for.

    53. Re:Deadlines by fucksl4shd0t · · Score: 1

      You were too quick to poke fun, look closely at definition numero dos :)

      eh? The point was to plug seven cities of gold, one of the best games ever made and it didn't require 400MB of multimedia to play it!

      --
      Like what I said? You might like my music
    54. Re:Deadlines by Anonymous Coward · · Score: 0

      Your projects may be clean of back doors, or maybe not if you use third party or commercial complilers. It is a safer bet to know they are there and behave accordingly.

      I knew of back doors in code 15 years ago, I am sure this technolgy has evolved and is well hidden. It could be a simple udp message sent when you boot the system to a virtual directory on a web server.

      And if you like most environments, you don't have the crew, the time nor the source code to scower every bit of the code to be sure.

      This is an open source advantage although the last point still holds true for all but the most determined at getting real secure environment. But I do generally trust open source more as these back doors tend to be discovered and removed faster.

      Closed source tends to be discovered from the underground even years later. So far we are lucky in that most of this activity is benign but like most things it will escalate.

      And it isn't just the software, it can be in the hardware, It isn't just CRLs or PCs either.

      It is just safe to assume they exist and will be used some day.

    55. Re:Deadlines by Anonymous Coward · · Score: 0

      First, they provide security issues - someone just has to look through the executable for strings.

      I have on occasion introduced backdoors for the reasons you cite - always feeling it was a bad idea, and always with the intention (generally fulfilled) of later removing them. But I do always encrypt hardcoded backdoor strings before including them in the code (with crypt(3) for instance - Unix password encryption or MD5). When the backdoor id and/or password is entered, it's thus encrypted or hashed before being compared with the fixed string.

      Backdoors are a bad idea - even an encrypted embedded string can be detected and brute-force cracked, for instance ('specially when it's always "Joshua"), to say nothing of network sniffing or keystroke recorders. But if you're going to use one at all, you do at least take basic steps that you'd take with any authentication scheme - because that's what it is and that's the standard it should meet.

    56. Re:Deadlines by slamb · · Score: 3, Interesting
      I have a overriding password that bypasses the standard authentication system and lets the admin user assume the username/authentication details of an arbitrary user. That's important so I can have the same experience as that user.

      This is something I wish more systems had, but not in a hardcoded (backdoor) way. Cyrus SASL/IMAPd does it correctly: they've completely separated the concepts of authentication and authorization. So you can say "until further notice, user slamb can log in and do anything user bob can do." It serves the same purpose, but in a maintainable, open way. You can have a group of administrators that can log in as anyone, but without needing to know either everyone's password or some master password that's difficult to change if someone leaves...they can just use their own, and it can be disabled/enabled on a per-person easily.

    57. Re:Deadlines by Anonymous Coward · · Score: 0
      First, they provide security issues - someone just has to look through the executable for strings.

      So don't do it that way. The products I used to work on professionally use a challenge-response setup for their backdoor. The input was numeric, but you had to type the first letter of each number, plus some additional characters that varied from product to product. No strings, no security problems.

    58. Re:Deadlines by turpie · · Score: 1

      However if you've ever had a house built you've most likely had to get the builders back to finish stuff the forgot to do.

      And without the backdoor being obvious in the programmers face he'll probably forget to remove it.

    59. Re:Deadlines by Big+Nothing · · Score: 1

      I assume you are speaking from (painful) experience?

      --
      SIG: TAKE OFF EVERY 'CAPTAIN'!!
    60. Re:Deadlines by ThaReetLad · · Score: 1

      Its all a question of priorities. You need /. you dont need backdoors and easter eggs

      --
      You can't win Darth. If you mod me down, I shall become more powerful than you could possibly imagine
    61. Re:Deadlines by trveler · · Score: 1

      As in "Sir Francis Drake circumsized the globe with a 100 foot clipper."

      --
      ... is whot bwings os tugevza tsuzay.
    62. Re:Deadlines by gmajor · · Score: 1

      Another analogous situation: In The Two Towers by Tolkien, Aragorn and Gimli used a backdoor at Helm's Deep to ward off Sauron's minions.

    63. Re:Deadlines by AlecC · · Score: 1

      Your analogy doesn't work. A backdoor to a house is a back door, not a hole blown in the back. I use the back door for taking out the garbage, access to the garden. I didn't use any explosives to create it. I expect strangers to use the front door, but there is nothing illegitimate in using my very own back door. What locks I fit to it, of course, is another question.

      The closest I have come to a back door is some undocumented commands used for debugging and for accessing very dangerous troubleshooting tools. Those tended to get revealed on an ad-hoc basis to FSEs and technically qualified customers. All fully known to management.

      --
      Consciousness is an illusion caused by an excess of self consciousness.
    64. Re:Deadlines by Anonymous Coward · · Score: 0

      eBG GUVEGRRA 0JAM ZQSVIR!!!1!

    65. Re:Deadlines by dkf · · Score: 1

      Trust me, if you have a sufficiently large system, chances are that you'll get pounded into a whimpering pulp by incompetent "duhveloperz" and asinine management long before you have to worry about the disgruntled and malicious. Stupidity is the rule, alas...

      --
      "Little does he know, but there is no 'I' in 'Idiot'!"
    66. Re:Deadlines by collapser · · Score: 1

      i'll "work" that "backdoor", baybeh

      --
      <B>note to self:</B> <I>post as html</I>
    67. Re:Deadlines by zero_offset · · Score: 3, Insightful
      While I do not put any backdoors in my code intentionally, I have the sufficient knowledge of the system to poke a few holes big enough for a full compromise

      Seems to me those vulnerabilities should qualify as problems you address before you ship the product. I'll grant that some of these kinds of problems may have very low criticality -- for example, they may require physical access to the machine and unusual permissions, in which case you're probably screwed anyway -- but it doesn't sound like you're talking about that kind of scenario.

      Basically you're talking about bugs. Just because it doesn't cause the machine to crash or set off alarms with your QA testers doesn't make it any less worthy of fixing.

      It seems likely none of that is news to you, but somebody had to say it...

      --

      Slashdot quality declines as the number of hot grits posts decreases. - Provolt's Law, Apr-09-2005

    68. Re:Deadlines by Yrd · · Score: 1

      Wow! That sounds fantastic! User access systems are one of the bits of web applications which always cause me lots of grief - especially when you have users with differing levels of access to various parts of the system/features/whatever. Debugging things like that is a nightmare, and while this is the point one of my lecturers would start to tell me about the advantages of designing the program correctly in the first place, when I'm working with a system I designed before I took his program design courses things get kind of hairy...

      I've never put in a back door for any purpose - on every system I've written so far, I have a standard administrator account (if such a feature exists in the system, that is), and most of the time I also have direct access to the database and web server, either through FTP and phpMyAdmin or via SSH (which is preferable), so hard-coded ways in aren't necessary.

      This post was very boring, go and have a drink or something to reward yourself for making it to the end.

      --
      Miri it is whil Linux ilast...
    69. Re:Deadlines by jafac · · Score: 1

      Exactly.
      Instead of debugging like this, why don't you put some decent error-handling and logging functions into the code, or *gasp* use a debugger - oh yeah, that's right, in order to install a debugger onto a customer system in the Microsoft world, you need a Visual Studio license, and you risk upsetting the delicate balance of libraries on the system in question which totally changes the conditions and likely makes debugging impossible. Thanks a lot Microsoft. Too bad NT doesn't have a built in debugger like NetWare.

      --

      These are my friends, See how they glisten. See this one shine, how he smiles in the light.
    70. Re:Deadlines by slamb · · Score: 1
      User access systems are one of the bits of web applications which always cause me lots of grief - especially when you have users with differing levels of access to various parts of the system/features/whatever. Debugging things like that is a nightmare

      Agreed. There are all sorts of reasons it would be useful to log in as another user with your own credentials instead of (or in addition to) having global administrator privileges.

      I even ran into an application that failed depending on your username. They'd made an audit field in an Oracle database, but didn't make it the full 30 characters long an identifier can be. So when I logged in as "LAMBS" it worked, but "MEDICINE\LAMBS" failed. That sort of thing is all but impossible to debug unless you can log in as the person experiencing the problem.

    71. Re:Deadlines by Yrd · · Score: 1

      I should make a note of these things for the next system I have to design... could save a lot of time and effort.

      --
      Miri it is whil Linux ilast...
    72. Re:Deadlines by Anonymous Coward · · Score: 0

      First, they provide security issues - someone just has to look through the executable for strings

      umm ... you mean for string hashes? leaving the pass plain in the open would be plain stupid.

    73. Re:Deadlines by ShieldW0lf · · Score: 1

      If you're designing centralized apps there are always people who are "master users" within the company that owns the system, and if you'd rather write code than be an admin, they won't be you. They will be required to have powers with the potential to break the system. You can say "Oh, you shouldn't have that power" till you're blue in the face, but unless you're signing your own paychecks, your opinion don't mean shit. Often (usually?) these people will be stupid, lazy, busy, or some combination of the three. They will break it, and you will have to fix it. Proper backdoors will let you fix the system from your desk, and the powers that be will say "Man, that guy's great... I called him up after Joe broke the system, and 5 minutes later, it was fixed." Backdoors have gotten me good references and new jobs. I'm not likely to stop building em anytime soon.

      --
      -1 Uncomfortable Truth
    74. Re:Deadlines by dnoyeb · · Score: 1

      Hehe, I am sure I have signe some document that instantly releases my spirit from its physical casing if I say anything about my company...

      It was not a typical backdoor per se, but a way to do diagnostics. but alas, if it went public...(this was an anti-theft module :D)

      I put an easy way to turn the code off before I left the program, lets hope they used it.

  2. Fire the kid. by pixel_bc · · Score: 3, Insightful

    Unless he was acting on some sort of order from you or someone else who can tell him to add something like that, I'd fire him.

    I'd also look into opening a criminal investigation.

    1. Re:Fire the kid. by Anonymous Coward · · Score: 0

      You should check all other code that he worked on prior to firing him.

    2. Re:Fire the kid. by ebyrob · · Score: 1

      How many software applications have you written and delivered to a customer for actual money?

      Assuming the number is more than one. Given the slightest access to the box the app is hosted on (read ability to update the software), how many do you really think you'd have trouble getting access to if you really wanted it? By and large I could get into waay more systems than I want to think about without even really trying that hard.

      So, was this an unethical H4X0R putting in a back door, a shoddy design and development process, or just a bright kid that knows how to take advantage of the knowledge he(she?) has? We'll probably never know.

    3. Re:Fire the kid. by Anonymous Coward · · Score: 0

      Remind me not to apply to your workplace.

    4. Re:Fire the kid. by TopShelf · · Score: 2, Insightful

      If this made it into a product that was actually installed for a client, I'd also can the development manager. Unless this is an extremely small operation, a thorough, independent review has to be a part of the development process. If the process was there, but circumvented, can the workers. If the process wasn't there to begin with, can the boss.

      --
      Stop by my site where I write about ERP systems & more
    5. Re:Fire the kid. by jridley · · Score: 5, Insightful

      If you designed a system that you personally can break into, then you didn't put enough thought into the security design.

      I personally think it's my responsibility to AT LEAST make sure that I couldn't break into the systems that I build without having knowledge of the passwords or whatever. If I think of a way that I could get in without it, I fix it or contact the person currently responsible for the code and let them know about it and how I think it should be fixed.

    6. Re:Fire the kid. by pixel_bc · · Score: 1

      > How many software applications have you
      > written and delivered to a customer for
      > actual money?

      Some largish number. All that matters here is that I do it for a living. :)

      The point is I don't what what this person's intentions were. At the very least, he's put in a back door that script kiddies can potentially find and abuse, and expose me and/or my company to liability. At the very worst, he's going to do something unsavory on his own accord.

      Like I said, I'd hang this kid out to dry. Unless he was asked to do this, he's a huge security risk.

    7. Re:Fire the kid. by Anonymous Coward · · Score: 0

      You must really not work in software...or you are in management...one of the "process" people. I really really doubt that most software goes thru the rigorous "independent" review that you mention. It just costs time and money...neither of which are in abundance for most software projects.

    8. Re:Fire the kid. by TopShelf · · Score: 1

      It all depends on the organization and the clients - for a smaller operation, the cost of independent review isn't justified. There's a world of difference between a code hut of a dozen or two developers working on solutions for small- and medium-size clients, and a larger firm that provides solutions for Fortune 500-class enterprises. In the latter case, they'd better have independent review in place if they want to keep doing business for any length of time!

      --
      Stop by my site where I write about ERP systems & more
    9. Re:Fire the kid. by ebyrob · · Score: 1

      At the very least, he's put in a back door

      I concur that if the intent was to purposely make the system more accessible there's a problem. I just didn't feel the article made the particulars clear enough that I can simply pass judgement without knowing the facts... Basically it would be interesting to hear the other side of the story.

    10. Re:Fire the kid. by Anonymous Coward · · Score: 0

      Bzzzt. Wrong answer kiddo. You've got to be kidding. When you design a system and know all the little parts and pieces it is easy as pie to break into it. Exploits happen all the time and even the best of admins will miss one or two. Why do you think companies tend to put "Company Most Private" on software configurations?

    11. Re:Fire the kid. by ebyrob · · Score: 1

      It's not that I sit around thinking about ways of breaking systems and then ignore those vulnerabilities... Quite the opposite, I spend a fair amount of time thinking up scenarios and then addressing them. Howver, since the customer's pay for my time, I only address concerns they are interested in pursuing. Sure I can spin better security, and I do, but that doesn't always put the ball in the pocket.

      The larger issue is, every time I've legitimately needed into a system there has been a way. With or without back-doors, the developers who write a system are often the best equiped to get in.

    12. Re:Fire the kid. by Anonymous Coward · · Score: 0

      I'd fire him too.

    13. Re:Fire the kid. by TheLink · · Score: 1

      Well often when I've legitimately needed access to a system I just ask people for it and they give me access.

      No tricks, no backdoors.

      --
    14. Re:Fire the kid. by ebyrob · · Score: 1

      Well... The people who are spose to control access don't always have it to give. Going through something other than the front door has been rare to say the least.

    15. Re:Fire the kid. by Anonymous Coward · · Score: 0

      >Unless he was acting on some sort of order from you or someone else who can tell him to add something like that, I'd fire him.

      And if he's that untrustworty, how can you be sure there's no logic/timebombs in anything else he's written.

      After being fired, you can expect to be extorted for millions for future work from that person.

      >I'd also look into opening a criminal investigation.

      Go ahead. Unless you can find code of his that made it into the production system, your case is really weak, and you'll only get help from paid private investigations. Even if you can, unless he actually does something with the backdoor (that's proven) what are you going to charge him with? Violating the rules of your company? Charging him with conspiracy will require you to prove he intended to use the backdoor maliciously...

      I suppose there's contract violation, but that's a case by case basis. Depends on the person and the content.

  3. microsoft by tmonkey · · Score: 1, Funny

    i believe that our god friend bill had once added a back dor password "netscape users are weenies"

    1. Re:microsoft by Joe+U · · Score: 3, Informative

      No, that was the random seed used to encrypt Frontpage connections to the server.

      (Kinda funny actually, someone who had to support Netscape 4.x for any length of time must have wrote it.)

      However, once the phrase was found out it made it easy to start cracking the encryption. So it was removed and replaced with something else.

    2. Re:microsoft by rosewood · · Score: 2, Informative
      This story goes into more detail.
      Call it the case of the disappearing security hole. Initial reports of a "back door" in Microsoft Corp.'s FrontPage server software -- a deliberate security hole put in to allow illicit access -- now seem to be, for the most part, incorrect. While Microsoft (msft) admits that a security flaw does indeed plague a software module in its Web server product, the giant software company contradicted statements by one of its managers confirming the existence of a back door with the pass phrase "Netscape engineers are weenies!"
  4. Backdoors by digipak · · Score: 3, Funny

    I've never coded backdoors into any software I've written. I usually don't use them in the future, and if I really need them, I gain access by other means. I can't see a logical reason to add them in, especially if you're job depends on the integrity of your code.

    1. Re:Backdoors by Anonymous Coward · · Score: 0

      Funny you should mention that because when I was a kid I removed a backdoor from a Commodore based bulletin board system.

    2. Re:backdoors by MonoSynth · · Score: 1

      Since they invented authentication :P

    3. Re:Backdoors by SkyZero · · Score: 2

      If you've never coded the back doors, then how do you know "you've never used them in the future"?

    4. Re:Backdoors by Creedo · · Score: 2, Funny

      I usually don't use them in the future
      And how, exactly, do you know this?

      --
      All that is necessary for the triumph of good is that evil men do nothing.
    5. Re:Backdoors by Anonymous Coward · · Score: 0

      when I was a kid I removed a backdoor from a Commodore based bulletin board system.

      Which system?

      I had someone claim there was one in DMBBS (he claims he got hacked), and I spent hours going through it looking (as I ran it as well) - turned out he faked it to get sympathy callers.

    6. Re:Backdoors by mithridate · · Score: 1

      Never written one for malicious pruposes before. Thought about it a lot of course - in the same way people fantasize about robbing a bank or hitting the lottery.

      What if you rob banks for good purposes?

    7. Re:Backdoors by Anonymous Coward · · Score: 0

      CNET

  5. That's disgusting by Anonymous Coward · · Score: 0

    I don't really think this is an appropriate Slashdot topic. Bedroom activities are an intensely personal - oh, sorry. Write backdoors. Never mind.

  6. backdoors by inwoo · · Score: 1

    i thought the hbackdoor was the onlydoor...
    since when is there a front door

  7. To do what? by Ars-Fartsica · · Score: 5, Insightful
    Contrary to popular belief, most programmers don't get their rocks off by showing their friends how they get in through the 'back door'.

    Writing a back door is just more coding. Code for a while and see how much extraneous crap you write just for kicks.

    1. Re:To do what? by Anonymous Coward · · Score: 1

      amen

    2. Re:To do what? by jpvlsmv · · Score: 5, Insightful
      Writing a back door is just more coding. Code for a while and see how much extraneous crap you write just for kicks.


      Yes, how much extraneous crap do programmers write just for kicks?

      --Joe
    3. Re:To do what? by interiot · · Score: 4, Funny
      To do what?

      Haven't you seen Office Space? Most security breaches are by a company's own employees... most money lost illegally is due to the company's own employees. Reasons obviously include at least greed and revenge. And maybe bragging, but only to your girlfriend and the guy on the other side of the wall.

    4. Re:To do what? by Anonymous Coward · · Score: 0

      I dunno. When I used to do embedded programming for a large unnamed household product manufacturer, I used to put in easter eggs so that "my" products would tell me "HI!" when I put in a certain swtich and keypress combination. I had an assembler macro that added the stuff at the end (assuming there was space; PIC's don't have a whole lot of memory...).

      Didn't take long, and of course nobody could read the stuff but me, so there was no risk of code review. Alas, the place has gone under, but my code may live on......

    5. Re:To do what? by Osty · · Score: 1

      Yes, how much extraneous [kernel.org] crap [gnu.org] do programmers [sourceforge.net] write just for kicks [freshmeat.net]?

      It'd be interesting to do a poll of those developers to see how many are currently employed as programming professionals, and how many are students or employed in some other field and only program in their spare time (or unemployed). I'm willing to bet that the percentage of the former is quite small.

    6. Re:To do what? by n3xu5 · · Score: 2, Insightful

      I certainly am a big fan of Open Source and use it daily. I program for a living, and it makes it hard to do as a hobby as well. So I certainly agree with your comment. After a long day of staring at code for work, the last thing I usually feel like doing is going home and staring at more code.

      In fact, I think there was some behavioral study done on monkeys where they gave a some monkeys a ball to play with, and they loved it. Then they made them play with the ball in order to get fed. The monkeys didn't seem to like playing with the ball as much since it was essentially work.

      In general, I would expect many OSS developers are students who are not burned out on programming as a job yet. (Just my guess. I am sure someone has statistics to prove me wrong.)

    7. Re:To do what? by jgerman · · Score: 1

      Haven't you seen Office Space? Most security breaches are by a company's own employees... most money lost illegally is due to the company's own employees


      Wow, and all this time I thought that Office Space was a parody of corporate life, a parody. Amazing that it turns out it was a documentary, not only that but a documentary that follows three employees at one company, and apparently has the strength to show that MOST security breaches and MOST money losses are internal. Someone outta call the Statistics textbook people, this just isn't supposed to happen.

      --
      I'm the big fish in the big pond bitch.
    8. Re:To do what? by norton_I · · Score: 1

      There is some truth to this, but I have also experienced a drive for "recreational coding." When I am done with whatever butt-ugly program I work on for my day job, it can be nice to go home and work on something interesting to remind you why you like programming in the first place.

      Of course, I could only take a couple of years of programming for a living before I had to quit, but I still enjoy coding for fun.

    9. Re:To do what? by interiot · · Score: 1

      Bah. I thought about finding links to back up my statements, but it's in the middle of the workday and I need to cut down on my slashdotting. A semi-well-known security prof stated in his class that most security break-ins are due to a company's own employees, or something like that. As far as hard evidence, I'm pretty sure anyone could find it if they looked.

    10. Re:To do what? by jgerman · · Score: 1

      I believe your statement, it was more of the way you put it, as if the movie was evidence for your claim ;)

      --
      I'm the big fish in the big pond bitch.
    11. Re:To do what? by TheKey · · Score: 1

      So what do you do now? Just curious.

      --
      My Journal - 1,337 fans and countin
    12. Re:To do what? by norton_I · · Score: 1

      Physics. I am currently in grad school. It doesn't pay as well, but I get to keep my soul...

    13. Re:To do what? by Spamhead · · Score: 1


      If I'm going to base my security procedures on the movie "Office Space" then I might as well start assuming that the hot chick from TGI Fridays is going to start wanting me after I hit on her at lunch.

      Did you actually watch that crap? "Yeah, I hacked into the mainframe cobol application with my macintosh and rounded up some numbers that automatically transferred themselves into a new account."

      Anyone here ever work at a major financial institution? Do you realize the amount of auditing that comes into place when financial products get placed into production? I had three layers of management crap to go through just to change minor JCL code on "maintenance jobs".

      Banks (good banks, anyway) have your money for one reason. Accountability. If they didn't, you'd be hiding your money back underneath the mattress. I'm not saying that it is perfect, but it's a far cry from watching employees come and go in what should be a secure data center.

      Oh well... I guess an old fart can Dream.

      Does anyone happen to have Jennifer Anniston's home phone number?

      --
      Everybody Wang-Chung tonight!
    14. Re:To do what? by Anonymous Coward · · Score: 0

      I wonder how many of them are retired....

  8. Microsoft believes in them.. by macshune · · Score: 1, Funny
    Anyone else remember the NSAkey registry entry in Win95?

    1. Re:Microsoft believes in them.. by Tetrik · · Score: 0

      No I haven't. What's that?

    2. Re:Microsoft believes in them.. by Anonymous Coward · · Score: 0

      dream on. read bruce schenier's column on it. it was a variable name for a public key, not a backdoor or anything like that. if it were named msbackupkey no one would have cared.

    3. Re:Microsoft believes in them.. by e2d2 · · Score: 5, Interesting

      I know that probably was a joke but.. If you think the NSA needs a key to get to your data you need to go read up on the amount of computing power they have in their hands. I recommend "Puzzle Palace" and "Body of Secrets" from James Bamford. Really interesting stuff. They could basically pick through your weak built in encryption like Rosie Odonnell picks through a rack of ribs. Their computers would literally sigh from boredom.

    4. Re:Microsoft believes in them.. by pla · · Score: 4, Insightful

      it was a variable name for a public key, not a backdoor or anything like that.

      I would like you to go perform a simple experiment.

      Write a "Hello World" program, where you have a static character array named "Fred" containing the string "Hello World" which you pass to printf.

      Compile it.
      Now, search the executable for "Hello World". You find it, right? Now search for "Fred". Funny, you get no matches. Doesn't that seem odd, considering MS's claim?

      Doesn't it also seem odd that, in the context in which "NSAKey" existed, it fit perfectly in a data area containing identically-formatted key data?


      read bruce schenier's column on it

      Okay. Does the following quote sound familiar?

      "Two, that it is actually an NSA key. If the NSA is going to use Microsoft products for classified traffic, they're going to install their own cryptography. They're not going to want to show it to anyone, not even Microsoft. They are going to want to sign their own modules. So the backup key could also be an NSA internal key, so that they could install strong cryptography on Microsoft products for their own internal use."

      It would appear that Bruce did NOT claim the key only existed as a coincidence... He said it *might* result as a coincidence, or it might result from the NSA wanting to *improve* the available security for their own use (and, presumeably, to hell with the win95-using masses who fund the NSA through taxes). These do not describe the same situation.

      Arguably, though, the "improved" security argument seems no less offensive to the privacy-minded. Why? Becuse, if the NSA saw a need to use super-secret-spiffy encryption for their *own* traffic, they did so due to the inherent weakness of the default crypto available (which I doubt many people would disagree with in hindsight).

      So they didn't *need* a backdoor for everyone else, they needed a *lock* on the wide-open-barn-door for their own use.

    5. Re:Microsoft believes in them.. by spells · · Score: 1

      Except I believe the NSAKey was found in a version that was compiled with debug information, which explains why you could discover the variable name - "Fred" in your example. I'm not sure what you're trying to get at with this argument - why is it worse for MS if NSAKey was a string rather than a variable name?

    6. Re:Microsoft believes in them.. by Anonymous Coward · · Score: 0

      If you are using VB then the variable name fred will show up.

    7. Re:Microsoft believes in them.. by Anonymous Coward · · Score: 0

      Here I am, the brain the size of a planet...oh nevermind. I'm so depressed.

    8. Re:Microsoft believes in them.. by Anonymous Coward · · Score: 2, Informative

      Really? The computers would literally sigh from boredom? Since when do computers literally sigh? Or feel boredom? "Literally" is not to be used for emphasis; especially when you're applying it to something you mean figuratively.

    9. Re:Microsoft believes in them.. by Anonymous Coward · · Score: 1, Insightful

      I dunno what is scarier, your vision of how efficient they are, or the fact that you believe that any part of the gov't, including the NSA, has its act together to that degree.

      If they end up pwning your computer, it is much more likely to be through some stupid-simple method you didn't anticipate than through some virtuoso brute-force crypto crunching. Sorta like how the most successful maliciousdarksidehackers usu achieve their goals through social engineering rather than brilliant technical hacks...

    10. Re:Microsoft believes in them.. by e2d2 · · Score: 1

      Hey.. I didn't say they'd point their huge cannons at my puny ass. I just said if they wanted to they could. I agree with you though, anyone with a bit of intelligence would go for an easier method besides brute force. But they do have the capability.

    11. Re:Microsoft believes in them.. by Big+Mark · · Score: 1

      Er, the Registry is essentially a glorified out-of-control monster win.ini file. How many variable names did that thing contain in Win 3.1? Bazillions. Why? Because it makes life so much easier to assign to your variable (lets call it md5_hash , for kicks) a sensible variable name and match it to the config file:

      if (md5_hash != GetRegKey("path/to/md5_hash") )
      throw Exception.badPassword;

      Unless you leave the debug info in or whatever the variable name will disappear. It's about making life easier for the programmers so they make less mistakes.

      -Mark

    12. Re:Microsoft believes in them.. by e2d2 · · Score: 2, Funny

      I don't usually respond to troll acs but I'll bite this time just for "kicks":

      "Literally" is not to be used for emphasis; especially when you're applying it to something you mean figuratively.

      Kind of like: I'd like to figuratively put my foot up your ass?

      If meant it as a jab, a funny, a laugh, a quick haha. I guess you get your kicks in other places. Like in your ass for instance. Oh wait, not actually in your ass. Just figuratively.

    13. Re:Microsoft believes in them.. by kakos · · Score: 4, Interesting

      The NSA, interestingly enough, measures their computing power in acres. Yes, not Megahertz or flops or anything lik e that. They measure their computing power in terms of how many acres of computers they have. I think the current value is several thousand acres of computing power.

    14. Re:Microsoft believes in them.. by Anonymous Coward · · Score: 3, Insightful

      Depending on what you use, I'll go out on a limb and say the NSA can't break it. 256-bit AES? Gotta say no to that. 256 bit Blowfish? Nope. 256-bit Twofish? Nope again. The NSA doesn't have enough brute force power to break those algorithms. It'd be much easier and cheaper to use something like rubber-hose cryptanalysis.

      As for weak encryption, well, anyone can break that. Check sci.crypt sometime and see how many people show off their ciphers, only to have them broken within the day.

    15. Re:Microsoft believes in them.. by ShawnD · · Score: 1
      Now search for "Fred". Funny, you get no matches. Doesn't that seem odd, considering MS's claim?

      Unless you compile with debugging info included. The variable names are included so the debugger can refer to 'Fred' instead of 0x10293432.

      From an OpenBSD system
      # gcc -o hello -g hello.c
      # ./hello
      Hello World
      # grep Hello hello
      Binary file hello matches
      # grep Fred hello
      Binary file hello matches

    16. Re:Microsoft believes in them.. by Anonymous Coward · · Score: 0

      Maybe he's confusing hard drive thrashing with sighing. Not sure why he thinks NSA comps would have that problem, however.

    17. Re:Microsoft believes in them.. by Trogre · · Score: 2, Insightful

      Their computers would literally sigh from boredom.

      Literally? I'd pay to see that.

      --
      "Nine times out of ten, starting a fire is not the best way to solve the problem." - my wife
    18. Re:Microsoft believes in them.. by Anonymous Coward · · Score: 0

      DUDE

      don't you know that Microsoft already includes NSA-written code? eh? Why are other countries beginning to choose open source if not because the US government is using Microsoft code to spy? Think Microsoft cares what apps you personally have installed? We're just guinea pigs. It's the Chinese, Koreans, etc they care about.

  9. Backdoors by Anonymous Coward · · Score: 0

    Yikes... This subject is just asking for a goat link!

    No way am I clicking on ANYTHING!

  10. of course by kurosawdust · · Score: 5, Funny

    my code is so tight, the front door and backdoor are on the same hinge! hooah!

    1. Re:of course by Anonymous Coward · · Score: 0

      You mean "your house is so small that..."

    2. Re:of course by Andorion · · Score: 1

      You wouldn't happen to work for Microsoft, would you?

      ~Berj

    3. Re:of course by TheLink · · Score: 1

      Images of revolving doors spinning through my mind.

      --
  11. Backdoors by Anonymous Coward · · Score: 2, Funny

    Only in the BBS Software, did I write backdoors, those kids never registered...had to slap their hands a bit.

  12. Are you a backdoor man? by Anonymous Coward · · Score: 0

    Well are ya?

  13. I backdoor all the time.. by japhar81 · · Score: 5, Interesting

    But, thats not to say I lack ethics, am a cracker, or am out to get my client.

    How many times have we all heard, duhh.... I forgot my admin password, but I cant reinstall, I need the data.

    So yes, I backdoor, and I document it internally (hardcopy stored in a safe). Its just an extra insurance policy for when some moron that I worked for 6 years ago does something stupid.

    That said, coding backdoors for the sake of getting access to a web farm so you can host your own services is certainly a bad thing(tm). But hell, what are you gonna do? Everyone backdoors. Don't believe me? Watch someone 'in the know' log in to a random windows box using the System account and come talk to me.

    1. Re:I backdoor all the time.. by Anonymous Coward · · Score: 1, Interesting

      Anyone care to explain this "Watch someone 'in the know' log in to a random windows box using the System account" crack to me?

      Are you implying there is a 'backdoor' account in all copies of Windows?

      ???

    2. Re:I backdoor all the time.. by J.+J.+Ramsey · · Score: 1, Insightful

      "So yes, I backdoor, and I document it internally (hardcopy stored in a safe). Its just an extra insurance policy for when some moron that I worked for 6 years ago does something stupid."

      Did you ever think of what would happen if a cracker found out about such a backdoor? Just because you do your best to keep it a secret doesn't mean that crackers can't find out about it.

    3. Re:I backdoor all the time.. by Hellraisr · · Score: 1

      There's always an admin account in NT/2K/XP that if the sys admin has setup the network properly, are probably all the same name and password so it only takes knowing one name and password to access any computer.

      Also, there are default hidden shares (I think it is scary that these are turned on by default).. for example your C drive is automatically shared. So every computer on most company LANs are sharing their C drive out.. so if anyone knows or can guess a password for that machine, presto.. C: drive access all around.

    4. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      Who else thought this was going to be a comment along the lines of "...but my wife doesn't really like to do it."?

    5. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      Yes but...

      I really didn't mean just a normal Admin account that could be guessed. I meant 'put in by microsoft' that are not just 'normal' user accounts ..

      BTW the C share thing is usally the C$ share. The dollar sign makes it 'hidden'. FYI I think any sharename you choose to create with a $ in its name will not be announced ...

      X

    6. Re:I backdoor all the time.. by Sancho · · Score: 1

      That's a flaw in company security policy, not a backdoor.

    7. Re:I backdoor all the time.. by lboxman · · Score: 1

      Where I work, this automatic sharing of the C drive is considered a usefull feature, it allows desktop support personal access to the hard drive remotely. I'm not sure that's really a good thing, however.

      --
      Regexes are like cocaine. The first hit is pretty good, but afterwards you try to use them to solve all your problems.
    8. Re:I backdoor all the time.. by ahaning · · Score: 1

      Intriguing...

      Maybe you could explain further?

      You know, like, how do we find this account? What is it?

      --
      Withdrawal before climax is very ineffective and those who try this are usually called "parents."
    9. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      yeah but it isn't a backdoor is it - it's a feature.

      What I want to know is :

      Is there a login/password combination that will let me in to any Windows box, and if so, how can I disable this combination?

      X

    10. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      I backdoor all the time...

      Nice subject line. I'm glad you enjoy anal sex.

    11. Re:I backdoor all the time.. by PhxBlue · · Score: 0

      How many times have we all heard, duhh.... I forgot my admin password, but I cant reinstall, I need the data.

      About as many times as I've heard, "my hard drive has crashed, but I need the data." The answer for both questions should be the same: Restore from backup.

      Oh - they don't have a backup system? Shame, that - sell them one. Ideally, of course, they'd have a backup plan in place, something that their salesman suggested for them when he sold them whatever they can no longer access.

      So, you see, you're costing yourself opportunity. You could make a program to automate the backup of data customers store on your systems and charge them for it as an extra feature; but you programmed a backdoor instead.

      --
      !#@%*)anks for hanging up the phone, dear.
    12. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0
      Hmm ... where to start on this FUD? Domain administrator accounts allow you to log in to any machine that's a member of a domain ... well, yes. ANY account allows you to log in to any machine that's a member of a domain. That's what a domain IS.


      Perhaps you'd like to clarify some of these complaints once you understand the Windows security model more fully?

    13. Re:I backdoor all the time.. by CrocOS · · Score: 1

      Alll right... So you've figured out your companys PC Local Admin password: If you're companies IT team is any decent, that doesn't really mean jack all, as that can be set up so that the only things you can effect are client computers: You won't be able to touch the servers that way.

      And I've seen one paranoid setup (during a 2 month govt dept contract) where The "Administrator" account was disabled and they had set up a user "Admin" that was blocked off from any and all Network access. All SMB traffic was blocked - even on the local LAN - so all files needed to be transmitted by an in-house version of a NFS client that encrypted and compressed all traffic (Sooo SSSLLLLLOOOOWWWW!)

      And what the heck kinda "back-door" is knowing the local machine Administrator password anyway? It's closer to just having the keys to the FRONT door of someone's house - it's not exactly a secret hatch in the back of a hidden safe in that house =)

      That's my opinionated bollocks anyway.
      -Trav

      --

      I should really get around to creating a sig.... Nah - too lazy =)
    14. Re:I backdoor all the time.. by japhar81 · · Score: 1

      Take a look at the owner of the services on your box. SYSTEM isn't just an internal thing, its an actual account. Think root^2

    15. Re:I backdoor all the time.. by MrNemesis · · Score: 0

      Jeez man, it doesn't take much to unplug the HDD and mount it as slave in order to get the flat data offof it (or, even simpler, Knoppix?). Encrypted data is another matter, but no idiot in their right minds would write backdoored encryption software.

      --
      Moderation Total: -1 Troll, +3 Goat
    16. Re:I backdoor all the time.. by Drakonian · · Score: 2, Insightful
      I've read a lot of responses to this thread along the lines of "I backdoor because customers forget their passwords." So what!? It's their fault! If they complain to you, tell them some horror story about hackers and backdoors. I'm not saying they won't complain, but they *are* being unreasonable. Or offer them a backdoor when you sell them the software - lay out the consequences of what could happen with one, and without.

      I think the customer should have the right to decide.

      --
      Random is the New Order.
    17. Re:I backdoor all the time.. by Ashran · · Score: 1

      If you knew what you are talking about you knew that the default shares are NOT accesible with the guest password.
      They are ADMINISTRATIVE SHARES and as such only a ADMIN can access them.

      Thank you.

      --

      Before you email me, remember: "There is no god!"
    18. Re:I backdoor all the time.. by sql*kitten · · Score: 3, Funny

      Did you ever think of what would happen if a cracker found out about such a backdoor? Just because you do your best to keep it a secret doesn't mean that crackers can't find out about it.

      Well I don't know about you, but I use the same combination as on my luggage.

    19. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      don't forget, system and localsystem are higher permissions than anything else. They also can't be changed or disabled. Shatter attacks rule.

    20. Re:I backdoor all the time.. by secolactico · · Score: 2, Interesting

      Indeed, I agree with you. If there's an appropiate password recovery procedure, however, there should be no need of backdoors. Even when there are, they should be safely limited to, say, console access.

      --
      No sig
    21. Re:I backdoor all the time.. by banzai51 · · Score: 1
      Also, there are default hidden shares (I think it is scary that these are turned on by default).. for example your C drive is automatically shared. So every computer on most company LANs are sharing their C drive out.. so if anyone knows or can guess a password for that machine, presto.. C: drive access all around.

      Nope. Nice FUD attempt. Yes there are hidden shares. They are also called admin shares, as in you need admin rights to access them. So no, not anybody can access these shares. The exception being everyone is an admin. In that case, you have a moron for an administrator and there is no defense against that.

    22. Re:I backdoor all the time.. by blibbleblobble · · Score: 2, Insightful

      "Did you ever think of what would happen if a cracker found out about such a backdoor?"

      Uhh, the backdoor password is as secure as any other. Generally they're better than the real passwords.

      Oh, and they can be MD5'ed the same as any other password. So "strings" won't work.

    23. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      I certainly do not create backdoors into software nor do any other of my programmers who friends. I mean jeez get real... data is in a database which has it's own security not some wimpy security that I came up with on my own for security of the applications. So if Fred forgets his password... just go look in the database and if they lost the passwords to the dba accounts of the database well they deserve to loss their data.

      As for the argument that the backdoor is for debugging please.... Given todays tools for debugging applications like stepping through the code and using good coding practices like logging errors the only reason to code a backdoor is for kicks or malicious intent.

    24. Re:I backdoor all the time.. by EvilTwinSkippy · · Score: 1
      Must fight urge to post sexual innuendo...

      I don't put a backdoor in my systems. Rather than design a single root account, I have the equivilent of a wheel group that can be added and removed at will. It is unlikely that an entire department would get canned at a time, so the last man standing get to nominate the new wheel group.

      Of course, by default I leave an wheel account for myself with a password I keep safely tucked away. I simply tell them that I have left myself an account just in case, and delete it if it makes you feel uncomfortable.

      Normally they leave it in, and forget about it between regime changes.

      --
      "Learning is not compulsory... neither is survival."
      --Dr.W.Edwards Deming
    25. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      Except its one password that works anywhere (for that application). And as soon as you let one person use it, the password is no longer secure.

    26. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      the backdoor password is as secure as any other

      Then it's not a backdoor, just an extra account with admin priveledges.

      If it's hard-coded in the software, then it's decidedly less secure than a "real" password, because "real" passwords can be changed.

      Unless you hard-code them too, in which case, you need to be beaten with a cluestick.

    27. Re:I backdoor all the time.. by Phroggy · · Score: 1

      Think root^2

      No, just root. Think root/2 when you see an Administrator account.

      --
      $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
      $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
    28. Re:I backdoor all the time.. by rainer_d · · Score: 1
      I've read a lot of responses to this thread along the lines of "I backdoor because customers forget their passwords." So what!?

      Just setup the windoze-trashcan so that it automatically deletes everything without asking and wait for crying lusers/PHBs to beg you to restore that file they accidentially deleted.
      Same with "TEMP"-folders on network-drives.
      Fact is: people do stupid things, and it's good to have a way of "booting into single-user mode without password" alike in your software.

      Or offer them a backdoor when you sell them the software - lay out the consequences of what could happen with one, and without.

      That's OK, too.

      --
      Windows 2000 - from the guys who brought us edlin
    29. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      I did, only I expected some kind of reference to faggotry.

      This may be news to those with little or no actual sexual experience (pornography doesn't count), but there are more fags in the world than there are women who engage in anal sex. This is strange, considering the fact that women can achieve orgasm via anal stmulation, while fags only really get sore/bleeding assholes and AIDS.

    30. Re:I backdoor all the time.. by theLOUDroom · · Score: 1

      "Did you ever think of what would happen if a cracker found out about such a backdoor? Just because you do your best to keep it a secret doesn't mean that crackers can't find out about it."

      If the backdoor is implemented by using a hard to reverse checksum function, then it doesn't really matter if the cracker knows there is a backdoor but can't get the key.
      If a cracker manged to get the key....probably the same thing that would happen if a cracker found out about a buffer overflow would happen.

      --
      Life is too short to proofread.
    31. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      It is unlikely that an entire department would get canned at a time, so the last man standing get to nominate the new wheel group

      So, I see you don't do much work for IBM then?

    32. Re:I backdoor all the time.. by EvilTwinSkippy · · Score: 1

      No I specialize in small businesses where decisions generally have to fit on the back on an envelope.

      --
      "Learning is not compulsory... neither is survival."
      --Dr.W.Edwards Deming
    33. Re:I backdoor all the time.. by pheared · · Score: 1

      So the combination is one, two, three, four, five. That's the stupidest combination I've ever heard in my life. That's the kinda thing an idiot would have on his luggage.

    34. Re:I backdoor all the time.. by NFNNMIDATA · · Score: 1

      You can't "login" as SYSTEM, but it looks like you can get SYSTEM-level priveleges by doing:

      AT xx:xx /INTERACTIVE "CMD"

      (where xx:xx is some future time, like a minute from now) at a command prompt since the scheduler runs on the SYSTEM account. News to me. Gonna go see if I can change my admin password from a guest account.

    35. Re:I backdoor all the time.. by Magius_AR · · Score: 1
      Well I don't know about you, but I use the same combination as on my luggage.

      Is it "12345"?

    36. Re:I backdoor all the time.. by NFNNMIDATA · · Score: 1

      Well it turns out you can't run an AT from a regular user account, but what you can do is almost as bad. If, as any user, you replace logon.scr with cmd.exe, logoff, and wait for 15 minutes or whatever the screensaver timeout is, you will then have a command prompt with system-account access. It won't let you change passwords, but you can do other stuff like muck with services. Bleh.

    37. Re:I backdoor all the time.. by cerberusti · · Score: 1

      The SYSTEM account has no access to network resources. Nor can it be logged into interactively. In order to use it, you need a program to set itself up as the system account. Then, if you want to use it over a network, you need another program running as some other account to communicate with it. This makes it somewhat difficult to exploit (although I remember a bug in RPC which did exactly this for you.)

      --
      I'm a signature virus. Please copy me to your signature so I can replicate.
    38. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      For your information, more women than men have AIDS at this point in time. Explain that one away, asshole.

    39. Re:I backdoor all the time.. by demi · · Score: 1

      Hang on, if you're writing something that is going to require a password to administer, as far as I'm concerned you're obligated to design a way to recover it. It might be complicated but it should be possible.

      I guess if you're encrypting something then this might be unrecoverable; but in this case you would need to impress on the user the importance of preserving their (passphrase, key, whatever).

      --
      demi
    40. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      This makes it somewhat difficult to exploit

      Not really, because it can communicate fine over the network with non-authenticated protocols, like HTTP.

      SYSTEM can also alter the privledge level of any process to something that can go over MS Networking.

      "Security through Annoyance", as someone put it.

    41. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      File permissions prevent that from working.

      There were/are bugs where you could put "logon.scr" (etc) somewhere in the search path, however.

    42. Re:I backdoor all the time.. by Anonymous Coward · · Score: 0

      Well I don't know about you, but I use the same combination as on my luggage.

      1 2 3 4 5

    43. Re:I backdoor all the time.. by NFNNMIDATA · · Score: 1

      I guess the file permissions you refer to don't exist on Win2k workstation don't because I did it as a lowly user account and it worked just fine.

  14. Open Source? by jcortega · · Score: 5, Insightful

    this has been one of the biggest arguements towards using open source software. companies can theoretically trust open source software because everyone sees the code and they can easily modify it. my question is though, even though we have the source, do people actually read the thousands and thousands of lines of code in the program they're using or just the parts that would interest them (for modifying/improvement purposes)?

    1. Re:Open Source? by Anonymous Coward · · Score: 0

      Krack Whore.

    2. Re:Open Source? by LordNimon · · Score: 1
      do people actually read the thousands and thousands of lines of code in the program they're using

      No, of course not.

      --
      And the men who hold high places must be the ones who start
      To mold a new reality... closer to the heart
    3. Re:Open Source? by orzetto · · Score: 2, Insightful

      I think you should think as a dishonest coder would. Why risking your butt on an app with a back door that can be found anytime? They are taking a chance as well.
      Unless s/he would need to use the back door shortly, sort of right after compiling, this would be pointless: were the back door to be found, s/he would face at least to get an extremely bad reputation (no job anymore), would almost surely be fired "so fast his/her ass would leave skidmarks on the parking lot", and would get no benefit from his/her treachery.
      So, I think back-door coders are most likely to sell their products closed source, as many enterprises do not really know that open source is out there at all. If someone actually finds the back door, they can even sue them for reverse engineering (which of course will be forbidden in the EULA)!

      ...and thanks to all the geeks... er, committed users out there that check source code once in a while.

      -Orzetto

      --
      Victims of 9/11: <3000. Traffic in the US: >30,000/y
    4. Re:Open Source? by Anonymous Coward · · Score: 0

      Of course they do..that's like asking if Slashdot visitors actually read the articles.

    5. Re:Open Source? by override11 · · Score: 1

      Isnt it better to have people reading it and find a bug years later than have nobody looking at the code (Windows NT for example) and we STILL have bugs and critical patches, and how many years has that been out????

      --
      No I didnt spell check this post...
    6. Re:Open Source? by jazman_777 · · Score: 1
      do people actually read the thousands and thousands of lines of code in the program they're using

      No, of course not.

      Some of us do. I am about 79% through the Linux kernel 1.2.12.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    7. Re:Open Source? by steve_l · · Score: 1

      That's a good question. The commit messages usually get sent to the mail list, and do get reviewed -but very large commits (100+KB) dont get such rigorous reviews. So I bet I could sneak a back door into an apache project inside a very, very large commit. I wouldnt, but I think I could.

      Question is: if I did put a back door in: how long would it last before someone noticed? That I dont know. Do you check your XML parser for special handling of a processing instruction?

    8. Re:Open Source? by jdavidb · · Score: 2, Insightful

      Also you have to ask if you trust the employee that installed the Open Source product not to modify it.

    9. Re:Open Source? by Anonymous Coward · · Score: 0

      Someone does. If enough people look at a programs source, they will notice any backdoors.

      Closed source can have backdoors, but its very rare. There are more stories about them than real back doors, espicially for Microsoft products. Its the company everyone loves to hate :-)

      (Microsoft have introduced the occasional "back window" - something to let them have minor control of a system remotely, but not total control. EG the WMP autoupdate is enabled by default to update DRM components, and the xbox live service includes an autoupdater that installs patches without notifying the user. Its been used to send modchip-detector patches. But Microsoft have never (to my knowledge) built in a full back door. With all the security holes, why would they need to?)

    10. Re:Open Source? by Anonymous Coward · · Score: 0

      ...OpenSource of Interbase did find a very old backdoor password in the code a couple of years ago. Even the current developers had forgotten about it/never used it.

    11. Re:Open Source? by Vulture_ · · Score: 1

      More importantly, open source developers are scratching their own itches (you have read your ESR, haven't you?). What motivation do they have to put backdoors into their works of art?

      --

      The only way the typical /.er can pick up a chick is with a forklift. -- AC

    12. Re:Open Source? by WeedMonkey · · Score: 1

      I'll save you reading the other 21%: Linus did it.

    13. Re:Open Source? by jazman_777 · · Score: 1
      I'll save you reading the other 21%: Linus did it.

      Whew, thanks. Now I can move to 'init'.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
  15. server access? by callmeda5id · · Score: 1

    you develop applications and don't get server access? if that is the case, the client certainly does not want you on the server. hence they wouldn't be too happy about your backdoor....

  16. Just wonder about MS backdoors ;-) by Anonymous Coward · · Score: 0

    Guess, that with tons of lines and hundred of coders, there must have backdoors !

    Have they ?

    -SLK

  17. fuck by Anonymous Coward · · Score: 0

    fucky fucky!

  18. Code Review by Anonymous Coward · · Score: 0

    The only way to guarantee that this doesn't occur is thorough code reviews. The argument that the project is too large or complex simply doesn't hold water; the larger or more complex a component gets, the more carefully it should be reviewed.

    1. Re:Code Review by binaryDigit · · Score: 4, Insightful

      The only way to guarantee that this doesn't occur is thorough code reviews.

      Sorta, the only way to guarantee is to make ALL _checked_in_code_ reviewed. This is generally not a very practical alternative in any project that has real deadlines. What happens during a "code review" (a formal one anyway). People review the code, make comments and the developer(s) go off and make whatever changes. Ooops, gotta now review the code they changed.

    2. Re:Code Review by Anonymous Coward · · Score: 0

      True, but a formal code review process probably isn't needed for every check-in. Making it mandatory for at least two other developers to sign off on the changes before check-in would greatly reduce both the potential for backdoors and the potential for stupid regressions. Documenting their signoff as part of check-in makes the reviews less cursory than you might expect, since it's their asses on the line too.

    3. Re:Code Review by roskakori · · Score: 1
      People review the code, make comments and the developer(s) go off and make whatever changes.

      then you are not doing it properly. every serious review process has a step where the editor (or someone who is not the author) checks if the issues discovered were addressed by the changes.

      granted, there's are lots of oppurtunities to let something slip, but it's not intended to be "whatever changes".

      of course you are right when you point out that not all checked-in code is reviewed. at least not immediately. but you can review critical modules again after, say, half a year. this makes you review all related code checked-in during this period.

    4. Re:Code Review by morcheeba · · Score: 1

      Actually, even checking all of the compiled code can't guarantee a back door. Check out this incredible article. You've got to have either:

      - a chain-of-custody for every tool that touches your code (compiler/linker/OS, and the compiler that compiled the compiler/linker/OS, and so on) that's known back-door free.

      - a thorough investigation of the executable code on a different (known back-door free) system.

      It's tough, but to be totally safe you have to ensure that an undetected virus isn't in your tools.

  19. Depends on the backdoor. by phorm · · Score: 5, Interesting

    Some of the apps I make have the option to "allow" a backdoor by setting a flag (default on). The client can turn it off if he/she really doesn't trust me, but in most cases they find it useful in case I ever have to bugfix the systems and/or they lose their own passwords.

    1. Re:Depends on the backdoor. by kaszeta · · Score: 1
      Some of the apps I make have the option to "allow" a backdoor by setting a flag (default on). The client can turn it off if he/she really doesn't trust me, but in most cases they find it useful in case I ever have to bugfix the systems and/or they lose their own passwords.

      I'll admit to doing this on a few projects I used to work on (always with full knowledge of the customer, however). Often, it was very useful, and timesaving (which meant a savings to the customer) to have such backdoors available. Usually, though, they'd be tied to a particular IP address (like my home machine), required a special handshake, or various other techniques to limit vulnerability. And I'd always remove them when terminating a relationship with the client.

      Specifically, when working on firewall setups I'd usually put in a single non-standard port that was blocked to anything byt my IP, so I could fix problems remotely without having to charge the client (or have them wait) for the drive in...

      If you do this sort of thing without the customer's knowledge, however, you deserve whatever problems it might end up causing.

    2. Re:Depends on the backdoor. by GoRK · · Score: 1

      Yeah - that's it... The secret handshake!

    3. Re:Depends on the backdoor. by phorm · · Score: 1

      Notifying the client is important of course... but what about when you have clients whose eyes glaze over the minute you mention something technical. That's always a problem. Usually, explaining it as a "hole that lets me get in to fix things" doesn't cut it... then it sounds like something is broken. The "saving money on service calls" button can work a little better though.

    4. Re:Depends on the backdoor. by WNight · · Score: 1

      The problem with this is that you probably aren't as good of a security coder as an application coder. You leave a hole open for yourself to use and it's likely to be wider than you thought. It's enough of a problem to remove all the holes, let alone leave a special little one that's only going to work in a specific way.

      You're much better off knowing how to overwrite their admin password for the program (with superuser privs) and SSHing in and doing this, than having a special way if that is supposed to bypass the password.

      And SSH can be limited to answering just a few specific IPs as well. With the right firewall setup you can keep all but a few IPs from even seeing SSH, making it easier to "stealth" the machine.

    5. Re:Depends on the backdoor. by arcmay · · Score: 1

      The client can turn it off if he/she really doesn't trust me

      If I didn't trust you, why would I believe the option to turn off the backdoor actually works?

      Anyway, I used to do support for a small company (3 other people when I started), and we would use backdoors all the time. Clients would call and ask us to use our god login to fix whatever problem they were having. Backdoors for support reasons are really useful, especially when the people you are supporting aren't that computer savy (i.e. when you are talking to the on the phone and tell them to click something, you can't be sure that they actually did).

      Because it was such a small shop and the clients all knew the developers and support staff, trust wasn't an issue.

    6. Re:Depends on the backdoor. by green1 · · Score: 1

      on the other hand I worked tech support for an ISP for a while (a looooooooooong... PAINFULL 8 months...) and it was amazing how many clients ASSUMED that we had some form of a magical way to access and take control of their system for this reason, you'd be talking to someone on the phone who can't connect and you ask them to describe what they see on the screen and they respond "can't you see it???" (and remember, this person is calling in because they couldn't get connected... so even if we DID have some magical backdoor we could use that we had managed to convince microsoft AND apple to BOTH implement in their OS just for us, (a small independant ISP) we STILL wouldn't have been able to use it because the person isn't able to connect!!!)

      boy am I glad I managed to get out of that department...

  20. Payment Insurance by BadBlood · · Score: 5, Interesting

    I know a person who owns his own company and writes code on a for-hire basis. He puts in timed expiration code such that if they don't pay him within 30 days of delivery, his code de-activates.

    Where I work, we do similar things, but our motivation is to ensure that users are always running the latest version of our frequently updated codebase. We, as developers, do have the ability to run expired code via the backdoor.

    --


    Praying for the end of your wide-awake nightmare.
    1. Re:Payment Insurance by Joe+U · · Score: 2, Informative

      People have been sucessfully sued for this practice.

      If it's not fully outlined in the contract, he could have a really fun time in court.

    2. Re:Payment Insurance by Col.+Klink+(retired) · · Score: 1

      What if architects did the same thing? Build dynamite into a building so if they don't get paid, they can just take the law into their own hands and BOOM...

      --

      -- Don't Tase me, bro!

    3. Re:Payment Insurance by ryanvm · · Score: 1

      Where I work, we do similar things, but our motivation is to ensure that users are always running the latest version of our frequently updated codebase.

      Bill Gates - is that you?

    4. Re:Payment Insurance by wembley · · Score: 2, Insightful

      IMHO that's unethical. Holding companies hostage is not a valid business practice, even if made crystal clear up front.

      Sounds like a good way to damage your rep. Of course, if he really feels he has to do this, it may be the companies he works for don't really have great reps themselves.

      --

      Share and Enjoy!

    5. Re:Payment Insurance by Daniel_Staal · · Score: 1

      That's either demoware or shareware, depending on you definitions. Many companies do this.

      --
      'Sensible' is a curse word.
    6. Re:Payment Insurance by mgkimsal2 · · Score: 1

      You can't duplicate a building in 10 seconds. You can let someone come in and walk around the building, test stuff, etc., before they pay. Generally, people aren't comfortable with custom software apps until it's running on their premises and/or with their own data. Ergo, you're usually giving someone access to the program before payment is finalized. That's just how it works.

    7. Re:Payment Insurance by Anonymous Coward · · Score: 0

      Uh, that sounds like a sure-fire way to never get payed.

      A bit unethical to say the least.

    8. Re:Payment Insurance by Gerry+Gleason · · Score: 1

      If someone who did work for me ever tried to pull something like this, they would never do work for me again. Holding your customers hostage is not a good business practice. Yes, there is a risk that you don't get paid, or have to sue, etc., but you are much better off minimizing the risk in other ways. Besides, isn't source code an essential part of any custom code? Ok, so maybe you could hold the source hostage until paid, but I would never put in "expiration code".

    9. Re:Payment Insurance by pla · · Score: 2, Insightful

      People have been sucessfully sued for this practice.

      Successfully sued on what grounds? "The software we stole doesn't work"?

      A contract has two parts - If one party fails to fulfill their obligations, I had the understanding that the other party had no obligation to fulfil their side either.

      If that does not hold true, why would ANYONE pay for ANYTHING? "Yup, you just ship me that nice new PC, I'll send a check tomorrow". Bwa-hahaha. Time to upgrade to a quad Sparc-III, yup yup yup.

      Though, I will readily admit that law does not equal logic, and no doubt you can indeed point me to cases won on this very issue. I expect, however, that they would at least have some extenuating circumstances, such as the customer losing half a million transations just because the software disabled itself. (For which reason we should always add the ever popular "The author bears no responsibility for financial losses or damages resulting from the use of this program by the customer", or something to that extent).

    10. Re:Payment Insurance by B1LL_GAT3Z · · Score: 5, Interesting

      I was once commissioned to write a web application that dealt with secure signature technology. As the deadline came up, the dealings with my employer became "shady" - meaning that it looked like he wasn't going to pay out at the end. I wanted to do something similar to what you stated (an auto-timeout) however this application was written in an open source language (Perl) and needed to be kept that way. So - with some quick obfuscating I wrote a quick feature so that at a later date, if the employer didn't pay, I could simply access http://website.com/perl.pl?delete=y and it would delete itself. I'm glad I added this "feature" because it wasn't long after that he "disappeared" claiming all sorts of reasons for his non-payment. I then quickly used my feature and was glad for it.

      Of course, if my employer was skilled enough, he could've gone in and removed the code himself. This leads to the point of the trouble of joining Open Source and backdoors - as it's virtually impossible to do without some skilled programmer looking at it and being able to remove it. I thought you mind find that to be interesting.

      --
      -- Kleptotherapy: Helping those who help themselves.
    11. Re:Payment Insurance by pla · · Score: 2, Interesting

      If someone who did work for me ever tried to pull something like this, they would never do work for me again.

      Um... Duh?

      Someone who did this to you would not have gotten paid. Thus, I have very little doubt that they would *NOT* work for you ever again, but that would result from *THEIR* choice, not yours. People do not generally like to work without getting paid.

      "Aww, c'mon man, PLEASE let me spend another six months coding for you, only to have the check bounce!"

    12. Re:Payment Insurance by Anonymous Coward · · Score: 0

      I assume they would get paid.

    13. Re:Payment Insurance by Anonymous Coward · · Score: 1, Insightful

      In at at least one case, the developer was sued for loss of business and for hijacking the User's data. As far as the courts are concerned, there are already well established prcedures to follow if someone defaults on a 30 day account. Stopping someone's business so it is impossible for them to remedy the breach is not one of them.

    14. Re:Payment Insurance by Xerithane · · Score: 2, Funny

      I know a person who owns his own company and writes code on a for-hire basis. He puts in timed expiration code such that if they don't pay him within 30 days of delivery, his code de-activates.


      My favorite practice is the license keyset approach. After a period of time the code will self-encrypt itself using 2048-bit Blowfish or something, then exit out. You have to have the keyset to decrypt it back out. If they don't pay up, they never get the keyset.

      --
      Dacels Jewelers can't be trusted.
    15. Re:Payment Insurance by Anonymous Coward · · Score: 0

      I used to put a simple backdoor type hack into all the web sites I would create to assure payment. If the client then did not pay there was typicaly a form in the site where I could enter the numbers 666 into one of the entrys and a small script would then delete the log files and then the web site itself. Super easy and basicly removing all evidence that you had triggered the hack and leaving plenty of mystery as to why the web site is gone.

      Only remember using it once...

    16. Re:Payment Insurance by Lumpy · · Score: 3, Insightful

      Where I work, we do similar things, but our motivation is to ensure that users are always running the latest version of our frequently updated codebase. We, as developers, do have the ability to run expired code via the backdoor.

      and you are the kind of people that I loathe and will gladly assult on the street.

      I have HAD to crack software my company legally owned to keep it working after the company that wrote it went out of business and is dead and buried. company that made it is gone, software DIES... That is pure bullcrap.

      Please let me know what company you work for so I can make a reccomendation to my company to NEVER EVER buy your crippleware products.

      Timebombs should be 100% illegal.. it's exactly like the car dealer coming and stealing your car after you bought it. If your company's software is a LEASE then you had better say so.

      --
      Do not look at laser with remaining good eye.
    17. Re:Payment Insurance by Alan · · Score: 1

      On a related note a friend of mine once wrote a java web app for someone. They didn't pay. He ended up using a function he put in the program that allowed writing of data to the system logger for debugging purposes and writing something to the effect of "your bill is past due, please pay immediately" until the hard drive filled up. And everyone knows how well NT works with no disk space.

      Needless to say he was promptly paid.

      As for the ethics of this, I can't say. Personally when I have dealt with customers and the code has a backdoor (or "developer access") the customers are informed and have the ability to turn it on or off. Generally if there is a problem we'll call them up, ask them to flip the switch, do our work (update, whatever) say thankyou, you can turn it off now, and go away.

      The backdoors are generally protected well, so even if you knew they were there, you still couldn't log in with a default password or no password, but the system is always safer with the backdoor turned off.

      Backdoors are great until you yourself are bitten in the ass by some random script kiddie finding out you [insert software here] has one and starts playing around.

    18. Re:Payment Insurance by Joe+U · · Score: 1
      If that does not hold true, why would ANYONE pay for ANYTHING? "Yup, you just ship me that nice new PC, I'll send a check tomorrow". Bwa-hahaha. Time to upgrade to a quad Sparc-III, yup yup yup.

      That usually ends in Bwa-hahaha... oh, Hello officer.

      You are missing the point, the courts are the method of resolution for contract disputes. Self-help is not a legal resolution to a dispute, and will void your clause of no-responoibility for loss.

      The client may have a valid reason not to pay. The software may not be written to the specifications outlined in the contract, the software may have bugs, etc, etc... Again, the courts decide the outcome of a dispute, not one of the parties involved.

    19. Re:Payment Insurance by pla · · Score: 1

      As far as the courts are concerned, there are already well established prcedures to follow if someone defaults on a 30 day account. Stopping someone's business so it is impossible for them to remedy the breach is not one of them.

      Yup... They call it "reposession" in the physical-goods world. If I don't pay my car loan, they will come and take my car back, regardless of my requiring it to get to work to "remedy the breach".

      Let me change the situation slightly...

      Let's say I sell an app to company-X, who does pay me, but they re-sell it (against our contract) to company-Y. If I have the ability to disable company-Y's installation of it, would I still have some liability for their loss of business?

      Probably, just because our courts consider businesses as FAR more important than we mere humans. In any case, let 'em sue me. They'll spend more in legal fees than they could ever possibly recover from me, and perhaps I'd get the satisfaction of driving them into insolvency. Ah, such a cheerful thought. Pyrrhus may have lost everything, but he still "won". ;-)

    20. Re:Payment Insurance by Algan · · Score: 1

      Ummm... have you ever heard of car reposessions? If you BUY a car with money loaned from a bank, they have a lien over the title. When you're done paying for it, you get full ownership for the car. If you fail to pay, you WILL get you car taken by the dealer (or bank or whoever loaned you the money).

      --
      If con is the opposite of pro, is Congress the opposite of progress?
    21. Re:Payment Insurance by Anonymous Coward · · Score: 0

      How about companies that get someone to put hours and hours on a project and then just don't pay?

      Methinks this is what happended to instigate such a practice. Besides, if they pay as agreed it would never become an issue.

    22. Re:Payment Insurance by Joe+U · · Score: 2, Insightful

      Reposession is the taking back of physical goods that were never fully owned by you. It's outlined in the loan agreement. When you buy a car with a loan, you do not fully own that car, the bank owns it, and the contract signed agrees to reposession as a method to recover if you default.

    23. Re:Payment Insurance by Lumpy · · Score: 1

      Ok so they can also take my car because I'm using the Old floormats instead of their fancy new floormats? or that I havent taken it in for a oil change in the past 6 months? (a typical time bomb.. requires an "update" every 6 months)

      they dont just silently take your car, they have to get LEGAL permission to take it... reposession requires legal paperwork.

      Just because you dont want to obey the law and follow the correct proceedures doesn't give you more rights.

      --
      Do not look at laser with remaining good eye.
    24. Re:Payment Insurance by Anonymous Coward · · Score: 0

      Exactly. I just received a check from a client who paid me after seven months and five invoices. The last invoice was sent over two months ago. The amount due was $84.50 (including late fees). I expect the reason he finally paid is that he is having a problem and wants me to drive 20 miles to fix it and wait another seven months for payment.

      Perhaps I will go if he writes a check when services are rendered.

    25. Re:Payment Insurance by Just+Some+Guy · · Score: 1
      was written open source language (Perl)

      I am unaware of the existence of an "open source language". I write plenty of closed source custom applications for clients using Perl, PHP, etc.

      This leads to the point of the trouble of joining Open Source and backdoors - as it's virtually impossible to do without some skilled programmer looking at it and being able to remove it.

      Yeah, but the question is when? Interbase had a full-access backdoor for a couple of years after Borland open-sourced it. No one had ever looked at the code beyond the bare minimum necessary to get it to compile.

      --
      Dewey, what part of this looks like authorities should be involved?
    26. Re:Payment Insurance by Mr.+McGibby · · Score: 2, Insightful

      Except in the physical-goods world, you put a repossesion clause in the contract.

      --
      Mad Software: Rantings on Developing So
    27. Re:Payment Insurance by WNight · · Score: 1

      I refuse to buy any software that doesn't work perfectly without contacting a server. Companies always say they'll release the unprotected version if they go bankrupt but that wouldn't happen for two reasons. When a company goes under nobody can get in to release anything, and if they did, they'd be liable to the creditors for the assumed lost value of the software (ie, as much as they can get a judge to buy).

      I won't even buy software that I can't crack to get rid of CD checks. It's funny that pirated software is nicer to use. The companies penalize the legit users and any cracker can remove protection schemes in his sleep so pirates never notice.

    28. Re:Payment Insurance by wembley · · Score: 1

      That's why you have a contract. Legal recourse.

      --

      Share and Enjoy!

    29. Re:Payment Insurance by Jord · · Score: 1
      written in an open source language (Perl)

      I would suggest describing a language like Perl in some other form than "open source language". While it is true you can view the source of the program you write in Perl, writing in Perl does not automatically make your program open source.

      Perhaps calling it an uncompiled language?

    30. Re:Payment Insurance by WNight · · Score: 1

      Read that as "If I ever discovered that someone who did work for me had written code to do this, or used it against someone else, I'd immediately terminate the contract, as well as warning everyone I knew to avoid them."

      I don't accept this from Microsoft, I won't accept it from anyone else.

    31. Re:Payment Insurance by Unordained · · Score: 1

      this case is more like crippleware shareware: disables itself specifically because you -haven't- bought it. letting his customer use the software before it's paid for is a means of verifying the job is done correctly. once payment is made, a final version, without crippleware, is released. that's just like shareware, where you buy the product and receive either an activation key, or a different installer.

      obviously it should be illegal to leave the crippleware in and use it to demand payments at random. unless, yes, it's a lease.

      but this is more like a car dealer installing a gas-line clamp. take the car for a test drive. go right ahead. after twenty miles, you'll magically be out of fuel, and a gas station won't help.

    32. Re:Payment Insurance by banzai51 · · Score: 1
      Someone who did this to you would not have gotten paid. Thus, I have very little doubt that they would *NOT* work for you ever again, but that would result from *THEIR* choice, not yours. People do not generally like to work without getting paid.

      HA! You've never delt with the suppliers of the Big 3! :-)

    33. Re:Payment Insurance by WNight · · Score: 1

      Limitations like that on a contract (Author bears no responsibility) aren't valid and never will be. It's like GM saying "We bear no responsibility if the car suddenly blows up, killing you and your family."

      You *always* are assumed to have constructed the product with the good-faith intentions that it function as advertised. If it is discovered that you didn't, the original contract is nullified. Likely you're also being prosecuted for fraud.

    34. Re:Payment Insurance by p3d0 · · Score: 1

      Dude, some advice: You need to learn when to stop talking. You made your point with "Successfully sued on what grounds? "The software we stole doesn't work"?". That was brilliant. Let him respond, and deal with his arguments as they come. There's no need to shield yourself from every possible rebuttal.

      --
      Patrick Doyle
      I mod down every jackass who puts his moderation policy in his sig. Oh, wait a sec....
    35. Re:Payment Insurance by Anonymous Coward · · Score: 0

      Ah yes, the classic "if I quit giving away the store I'll lose all my customers" argument.

      You haven't by any chance started one or more small businesses that failed due to factors out of your control, have you?

    36. Re:Payment Insurance by afidel · · Score: 1

      If you make it part of your pricing policy then it's standard practice eg. You will receive a new quarterly key from us as long as you continue your subscription, if you do not have a key with the current period as part of its signature the product will fail to function. This is standard practice in many applications like high end engineering apps.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    37. Re:Payment Insurance by Procyon101 · · Score: 2, Interesting

      My boss used to do this. When I was in college I had a part time job laying brick. My boss would embed a glass pane halfwy up any chimney we built. He would then drop a brick down the chimney when the check cleared. When one check didn't clear, he got a call a few months later that the fireplace was defective. He told them he hadn't "turned it on" yeat because he hadn't been paid. As soon as he was paid, it started working.

    38. Re:Payment Insurance by Elwood+P+Dowd · · Score: 1

      There is a distinct difference from grandparent post's method and your method.

      His method is automated and run by the customer.
      Your method is remote, manual, and run by the developer.

      His method would be much, much easier to defend in court. It would be a matter of contract law only. Your method might get you arrested for illegal computer access. The fact that your customer violated their contract doesn't absolve you of criminal activity.

      Don't get me wrong. Morally, I feel that what you did is perfectly acceptable. I also think it might be illegal. In the future, make it a license check that is automatically run by the installed software.

      --

      There are no trails. There are no trees out here.
    39. Re:Payment Insurance by MCZapf · · Score: 1
      If the bank owns the car, then why is MY name on the title? Yes, the bank's name is on the title too, but it's in the box marked "Lienholder." My point is that I actually own the car, and that the bank can only take it from me under certain conditions.

      AFAIK, I could offer something else as collateral instead of the car itself. Let's say a $20,000 chunk of gold. If the bank accepts this, then if I default on the auto loan, the bank would get to keep my chunk of gold. And I would get to keep the car.

    40. Re:Payment Insurance by AnotherBlackHat · · Score: 1

      What if architects did the same thing?

      Not quite the same thing, but I did hear about a chimney contracter who would put a thin sheet of glass across the chimney blocking it.
      When he got the final payment he would drop a brick down the chimney.

      -- this is not a .sig
    41. Re:Payment Insurance by Rorschach1 · · Score: 1

      Difficult, but not impossible. Especially in a write-only language like Perl. =]

      I remember doing something like that in C when I was first learning the language. I can't remember why, now, but it wasn't a distributed application. I had what was essentially a deliberate buffer overrun - not for overwriting the stack, but for overwriting an authentication flag adjacent to the variable in question. Even with pretty close analysis, it'd just look like a subtle off-by-one bug.

    42. Re:Payment Insurance by Anonymous Coward · · Score: 0
      "After a period of time the code will self-encrypt itself using 2048-bit Blowfish or something..."

      Allow myself to introduce....myself..

    43. Re:Payment Insurance by Anonymous Coward · · Score: 0

      Well, duh. Of course it's your car, but you don't fully own it yet, there is a charge out on it.

      Websters defines a lein as a charge upon real or personal property for the satisfaction of some debt or duty ordinarily arising by operation of law.

    44. Re:Payment Insurance by GigsVT · · Score: 1

      It's funny that pirated software is nicer to use.

      It's the same with any method that assaults personal property rights. Guns, for example. Gun laws don't matter to the people that break laws, they only affect the legitimate users who are law abiding. DRM is a similar deal.

      --
      I've had enough abrasive sigs. Kittens are cute and fuzzy.
    45. Re:Payment Insurance by BadBlood · · Score: 1

      Well, just to clarify, the code we write is for INTERNAL use. We require users to run the latest code due to ISO9000 regulations.

      Please feel free to "attempt" to assault me next time you see me on the street. And bring a lunch.

      --


      Praying for the end of your wide-awake nightmare.
    46. Re:Payment Insurance by Joe+U · · Score: 1

      That should read, the bank/lender has partial ownership.

    47. Re:Payment Insurance by Col.+Klink+(retired) · · Score: 1

      I almost believed you until someone else told the same story, but not in first person. Then I found the urban legend on snopes...

      --

      -- Don't Tase me, bro!

    48. Re:Payment Insurance by Anonymous Coward · · Score: 0

      If it's not fully outlined in the contract, he could have a really fun time in court.

      What part of "they pay me to use my cade. But they haven't paid me, so they can't use my code" is a contract not about?

    49. Re:Payment Insurance by Anonymous Coward · · Score: 0

      Some people keep good backups. One day you will eat your pockets out in courts.

    50. Re:Payment Insurance by Ian+Bicking · · Score: 4, Interesting
      I worked before for someone who had code like that put into his application (without his knowledge, of course). There was some pay dispute, and the programmer started triggering it. In this case it deleted the customer database, not the code. Ultimately the programmer was charged criminally (still awaiting trial), and possibly a civil case following.

      Now, I have a feeling there was bad stuff on both sides (and it's taken me a while to extract myself from this job), but you have to be careful when you destroy stuff. It's probably okay when you are deleting something that is your property and isn't paid for. But it's questionable if he already paid for part of the work, or if you were destroying any data created by his operations. If any money had been paid, or if it would compromise data that didn't belong to me, I wouldn't try it unless I had written something into the contract (I've seen pretty generic-looking contract terms which would imply you could effectively confiscate the work if it wasn't paid for). You also need to define when it's not paid for -- 30 days after completion, 60 days...? It's not professional to do something so forceful without making an effort to resolve things more peacefully.

    51. Re:Payment Insurance by Electrum · · Score: 1

      The client may have a valid reason not to pay. The software may not be written to the specifications outlined in the contract, the software may have bugs, etc, etc... Again, the courts decide the outcome of a dispute, not one of the parties involved.

      If it doesn't work, then why are they using it?

    52. Re:Payment Insurance by Gerry+Gleason · · Score: 1
      Thanks for clarifying my comment. This is exactly what I mean.

      To the AC that just got 84.50 after a long delay; do you actually wish you had installed alarm code that disabled something? Clients have lots of reasons to delay paying, but they only don't pay at all if they aren't happy with the work or they go out of business. Obviously, you have kept your risk low and will lower it by requiring pre-pay from clients like this. That is good business, but auto-disable a system and not only could you ruin your rep, you might even be liable for damages. The fact that they have not paid you yet will not help you if the failure caused damage.

    53. Re:Payment Insurance by Feztaa · · Score: 1

      in an open source language (Perl)

      There is nothing about Perl that requires your code to be open source. In fact, you can even "compile" perl code into a binary, so that the source code is no longer available for reading...

    54. Re:Payment Insurance by Elias+Ross · · Score: 2, Informative

      If you want to hide your source, you can easily obfuscate. For example, I would suggest applying "gzip" to the final build. Then you can run the program by invoking "gcat" on it, and piping it to "/usr/bin/perl".

      For example:

      $ gzip test.pl
      $ mv test.pl.gz test.pl
      $ zcat test.pl | perl

      This would probably work well enough to hide source from non-techies.

    55. Re:Payment Insurance by theLOUDroom · · Score: 1

      If you want to hide your source, you can easily obfuscate. For example, I would suggest applying "gzip" to the final build. Then you can run the program by invoking "gcat" on it, and piping it to "/usr/bin/perl".

      If someone can read perl they can probably read a shell script too. After all, which is easier to read?

      --
      Life is too short to proofread.
    56. Re:Payment Insurance by Lt+Razak · · Score: 1
      Exactly.

      If you don't want to make a life-time pricing policy, though, you can still protect yourself by giving away fully functional demos that expire after 120 days. They can be registered with a key your provide them after you get paid.

    57. Re:Payment Insurance by Anonymous Coward · · Score: 0

      There is no shell script. I guess they don't teach people magic(4) anymore.

    58. Re:Payment Insurance by Anonymous Coward · · Score: 0

      On /., threads of discussion last for maybe 3-4 posts, then dissappear. The more evidence/arguments he can put in one post, the more likely he'll be to convince his audience before this article disappears.

    59. Re:Payment Insurance by B1LL_GAT3Z · · Score: 1

      What I meant by "open source language" was that the employer wanted me to leave the code in it's original open source format - allowing him to (in the future) edit the program himself, or hire someone to make additional changes. I agree that I could've sent it to him in a compiled state - but that wasn't what was requested, so I was simply working in the confines of what was given me. I hope this clears things up.

      --
      -- Kleptotherapy: Helping those who help themselves.
    60. Re:Payment Insurance by Anonymous Coward · · Score: 0
      If I have the ability to disable company-Y's installation of it, would I still have some liability for their loss of business?

      Yes, and you'll start paying it right after you get out of jail for breaking into company-Y's systems. Just becuase you wrote it, doesn't mean you have the any right to attack and damage a third party.

    61. Re:Payment Insurance by Joe+U · · Score: 1

      I never said it did not work. I said it may not be written to the proper specs. It may have serious bugs.

      Many programs have shortcomings, that doesn't make them useless or worthless.

    62. Re:Payment Insurance by Procyon101 · · Score: 2, Interesting

      Actually I find that facinating, being a witness to the event, that the legend came full circle. I was not aware of this as being an urban legend. This may have been where he got the idea, having heard it from someone else in a bar or something (not being a technical person I'm sure he wasn't on the internet.)

      In construction it is a very common thing to not be paid by your general contractor due to cascading bankruptcies. I have seen many contractors take different precausions against not getting paid, of which I found this one particularly clever. It's possible it's not a legend at all and does stem back to to the 30's and 40's or even before since the practice is very easy and cheap for a mason to perform, requiring only about a 10"x10" thin sheet of glass and about 15 seconds of installation time; about the same cost and time that accompanies laying a couple brick ties.

      Needless to say (not trying to convince you of the legend, as both I and you are random internet entities that could care less what each other think) but that's the first urban legend I ever saw practiced :0

    63. Re:Payment Insurance by mojoNYC · · Score: 1

      everyone who has posted here saying that this is wrong has obviously never been screwed over by a client...
      it's funny how ethics are always put up for the little guy to follow, but it's ok for the 'accounting department' to hold up payment for 60/90/120 days or never, whichever they feel like...personally, i'm sick of being screwed like this, so i say 'f@#% 'em', they get what they deserve!

    64. Re:Payment Insurance by blazin · · Score: 1

      Another way to protect yourself is to put a key piece of functionality on your own server. If the client pays, give them that piece to put on their own server. If not, just delete it. All of a sudden the application doesn't function.

    65. Re:Payment Insurance by green1 · · Score: 1

      I think that many urban legends, wether based in fact or fiction do give people ideas, and all too often those ideas become reality.

      I work for a telco (please don't shoot me!) and I know a few years ago an urban legend circulated about people disposing of infected needles in payphone coin-return slots, at the time the company (and they also checked with other major telcos) was unable to find any evidence of it ever having happened and looking it up on a few hoax sites showed it as such. however, a year or so later corporate security and health and safety sent out urgent bulletins about this practice, as a bunch of the guys dismissed it as the old urban legend we found out that in fact someone had started doing this and it was becomming a problem for some of our inner city coin techs. (a few were injured, nobody tested possitive for any strange diseases though)

      this is just one example... but I'm sure many other urban legends that may not have been based in fact have "caused" what they talk about.

    66. Re:Payment Insurance by Java+Ape · · Score: 1
      I used to sit on the moral high-horse and curl my lip at the unwashed, benighted ghouls who wrote backdoors, particularly in production code.

      Experience had made me a wiser man, and when I do contract work I intentionally sabataouge the code. Not your classic hard-coded password or glaring stupidity -- check the laws guys. You can get in big trouble for intentionally compromising a clients systems. I just look for a particularly convoluted piece of code, then find a way to break it in a particularly ugly (and preferably time-dependent) manner.

      If the company pays up after delivery, I immediately "discover" the bug and fix it for them. If not - happy trails sucker, I hope you can explain the disappearance of your corporate legers to the tax auditors! The beauty of this is that the bug would be defensible in court as an oversight/honest mistake if discovered, and once removed there are none of the usual backdoor-related vulnurabilites, so I sleep well.

    67. Re:Payment Insurance by thogard · · Score: 1

      Nothing in IS09000 requires running the latest code. Infact if your procedures are up to standards, there are lots of good reasons in ISo9000 policies not to run the latest code. I see "ISO9000 regulations" as a buzword bingo keyword that is almost always used to justify some policy that isn't clearly thought out.

    68. Re:Payment Insurance by Electrum · · Score: 1

      I never said it did not work. I said it may not be written to the proper specs. It may have serious bugs. Many programs have shortcomings, that doesn't make them useless or worthless.

      My point, which you obviously missed, is this: The program does not work well enough to pay for it, yet it works well enough for the company to continue to use it. That makes no sense.

    69. Re:Payment Insurance by Joe+U · · Score: 1

      You're missing the point here, so I'll use an example.

      I contract you to write a fully functional online store and invoice system. You write the store to spec, but the invoice system crashes every 20 minutes. Weeks go by and the invoice system doesn't get fixed. All deadlines are past and I can't use the new invoice system, however, the store is already taking orders.

      Why should I pay the full amount of the contract? I spent thousands of dollars in time and money migrating to a new system that doesn't work properly and will have to be fixed in-house.

      This is, of course, a very simple example.

      The store is not broken, but the contract is not complete.
      Does it justify not paying at all? No.
      Does it justify the programmer breaking the online store? No.

    70. Re:Payment Insurance by Just+Some+Guy · · Score: 1
      What I meant by "open source language" was that the employer wanted me to leave the code in it's original open source format

      Sorry for the confusion. That's a definition of open source that I'd never heard before.

      --
      Dewey, what part of this looks like authorities should be involved?
    71. Re:Payment Insurance by Reziac · · Score: 1

      So someone builds a fire, fills their house up with smoke, and dies from smoke inhalation (such as has happened from chimneys blocked by debris). Now the contractor is in serious trouble. My question is, how does he avoid being sued?

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    72. Re:Payment Insurance by Anonymous Coward · · Score: 0

      We require users to run the latest code due to ISO9000 regulations.

      Then why are you still on ISO-9000? Why haven't you moved to ISO-9002? It's a later version!

    73. Re:Payment Insurance by Anonymous Coward · · Score: 0

      Easy. Past a EULA on the fireplace screen saying that the product cannot be used without payment.

    74. Re:Payment Insurance by BadBlood · · Score: 1

      I agree with you. But unfortunately I am not in a position to set policy, I can only accept it. I wasn't trying to throw ISO around as a buzzword, just as a reason (albeit weak) for our current methodology.

      --


      Praying for the end of your wide-awake nightmare.
    75. Re:Payment Insurance by plugger · · Score: 1

      An interpreted language.

    76. Re:Payment Insurance by Anonymous Coward · · Score: 0

      Just like parts that are engineered to wear out shortly after your 36,000 miles/36 months have expired? Scary thing is, digital odometers and onboard control computers make it possible for them to turn on the red "service engine" light on cue, forcing you to take it to the dealer, who is the only one who can turn it off so you can pass emissions and get your license plates renewed. They have the technology. As soon as one company gets away with it, they'll all jump on the revenue-enhancement, er, EMISSIONS ASSURANCE bandwagon. Now back to your regularly scheduled nightmare...

  21. just a guess by Anonymous Coward · · Score: 0

    Maybe some companies have 2 sets of programmers. One to write the code. The other one to inspect it. Gotta trust your programmers sometime along the line I guess. For if you can't trust em, why did you hire them? And yeah this is the first post, yay :)

  22. Happens everywhere by matts.nu · · Score: 5, Informative

    Here's a list of 1090 backdoors.

    1. Re:Happens everywhere by piobair · · Score: 4, Informative

      Those aren't backdoors they're default passwords.

      A very different animal, indeed.

      --
      I have a second sig, I call it sig#2.
    2. Re:Happens everywhere by matts.nu · · Score: 1

      Those aren't backdoors they're default passwords. A very different animal, indeed.

      No, there is no difference between an enabled default password and a backdoor. Not even if it's printed in the manual that nobody reads.

      Take a look at that list again and tell me how many of those password you think were printed in the manual. There are pw's like "secret" and "240653C9467E45" which you don't usually see in a manual!

    3. Re:Happens everywhere by piobair · · Score: 1

      They're hugely different - defaults can be, and usually are changed.

      Take a look at the list again:
      How many NT servers have Administrator/administrator.

      Or root/ on linux?

      Or even the ubiquetous scott/tiger account in Oracle.

      I was looking on that list for actual back doors on systems I have (thought I should be aware). There were none! Just the defaults I've changed.

      --
      I have a second sig, I call it sig#2.
    4. Re:Happens everywhere by Reziac · · Score: 1

      This may be a silly notion, but can you rig a password function so it won't work at all until the user enters a new password??

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    5. Re:Happens everywhere by matts.nu · · Score: 1

      This may be a silly notion, but can you rig a password function so it won't work at all until the user enters a new password??

      I am not sure I understand your question, but it seems to be similar to a default install of any secure *nix system. Root has by default no password and sshd disallows login with no password. That means that you won't get in unless you set a password.

    6. Re:Happens everywhere by Reziac · · Score: 1

      Okay, sorta what I meant. Ie. force the user to enter some non-default password before anything works, instead of just keeping a default password. Now -- how hard would it be to include a function to make the user input a halfway decent password, and not just "password" ?? (even some web logins do that -- lately ran into one that insisted on both upper and lower case plus a number.)

      --
      ~REZ~ #43301. Who'd fake being me anyway?
  23. Backdoor? by RobertTaylor · · Score: 4, Interesting

    "I had a recent experience where one of our group of programmers wrote backdoors on some web applications we were developing, so that he could gain access to the main hosting server when the application went live."

    Its like that theory that BAE /Mcdonnel-Douglas embedded the F15 Eagle fighter plane with a backdoor in its computer systems so if its ever used against the USA it will strangely malfunction.

    Unlikely, but interesting concept all the same!

    1. Re:Backdoor? by br0ck · · Score: 2, Interesting

      Like many backdoors, what if an enemy of the USA is able to figure out how to exploit this vulnerability?

    2. Re:Backdoor? by sql*kitten · · Score: 1

      Its like that theory that BAE /Mcdonnel-Douglas embedded the F15 Eagle fighter plane with a backdoor in its computer systems so if its ever used against the USA it will strangely malfunction.

      Britain should've done that with the Type 42 Destroyer, in the Falklands war the British forces were facing an enemy with identical equipment - even their rifles were the same. Didn't help the Argentines much, tho'. I'd bet that Iraqi pilots in F15s would get beaten hands down by Americans in the same aircraft.

    3. Re:Backdoor? by Anonymous Coward · · Score: 0

      It is *very* well known that ECM/ECCM are riddled with backdoors.

    4. Re:Backdoor? by Anonymous Coward · · Score: 0

      plus how would we have destroyed half of Alcatraz in the Rock?

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

      The French did that with some of the SAM equipment that they sold. During the Gulf War, the Iraquis were very surprised when their SAM batteries failed to shoot down French Mirage jets.

    6. Re:Backdoor? by zlexiss · · Score: 4, Interesting

      While there's a few unsubstantiated rumors floating on this topic (cites?), control of spare parts is much more effective than backdoors in code.

      Iran's F-14 force was effectively grounded by the embargo Carter placed after the fall of the Shah - fighters and other complex equipment need a steady stream of parts, and a veritable torrent under non-peacetime use. Search fas.org or aerospaceweb for "iran f-14" for a couple views on this, among other sites.

      As pointed out, backdoors carry the risk of being used against you. But if you've got all the spare parts, you get to fly.

    7. Re:Backdoor? by phildog · · Score: 2, Funny

      didn't Kirk use a sneaky trick like this to get Khan in Star Trek II?

      "Our shields are going down!"

      Kirk: "Fire."

      --
      slashsearch.org - slashdot search. powered by google.
    8. Re:Backdoor? by Isao · · Score: 1

      This is rumored to exist in the French Exocet missile, and was in fact reported in 1991.

    9. Re:Backdoor? by fucksl4shd0t · · Score: 1

      I'd bet that Iraqi pilots in F15s would get beaten hands down by Americans in the same aircraft.

      You're probably right, but we'll never know. They'll just run to Iran again when the American jets appear in the skies...

      --
      Like what I said? You might like my music
    10. Re:Backdoor? by 91degrees · · Score: 1

      It's an interesting idea. Probably too risky though.

      A lot of countries have remarkably skilled reverse engineers. These tend to be the same countries that the US is hostile to. They learn some tricks because the US doesn't let them have access to modern technology.

      If they downed a plane, got access to the software, and disassembled it, then they would quite likely be able to use the backdoor against a US friendly nation with F15s.

    11. Re:Backdoor? by thogard · · Score: 1

      One of the rumors is that the F15-I (sold to Israel) doesn't have the hardware to arm nukes enabled but the Israelis reversed engineered their own solution once they took delivery of the planes. The problem with this rumor is that the US is very careful about the hardware to arm nukes and it isn't likly to work with the Israelis nukes anyway.

    12. Re:Backdoor? by jon787 · · Score: 1

      I'd have to watch again, but I thought F-18's bombed the rock...But what you are saying isn't to far off, the US sells military hardware to many countries, how could an F15 tell a Marine Corp UH-1 Huey (I think they got a few left still) from one of the thousands out there not used by the US?

      --
      X(7): A program for managing terminal windows. See also screen(1).
    13. Re:Backdoor? by Anonymous Coward · · Score: 0

      yeah, i think the israeli nukes use serial, but the american nukes use usb

    14. Re:Backdoor? by tigersha · · Score: 1

      With all due respect do you think that Israeli and US Thermonuclear weapons use the same arming protocol??!! Maybe they should publish it as an RFC!

      Obviously the US would take the systems that arms nuclear weapons out of aircraft they sell to overseas customers for the simple reason that it might give them insigt in, well, one of the most classified pieces of information the US has.

      Arming nukes is a very serious matter. Actually in the 1950's the systems they used were a glorified padlocck, but nowadays they self destruct on tampering rendering the weapon permanently inoperable.

      The US also sell downgraded ECM systems which cannot apply ECM to US missiles or radars (or is not as effective).

      Missile radar patterns is an interesting business. The pulses are sent out in a random sequence and the algorithm used to determine that sequence is very muh highly classified since if an ECM jammer knows it it can probably spoof the missile. One of the reasons of having things like the plane that flew close to China is to get their radars to lock onto the thing to analyze the pulse pattern of the radar (that, and to simply locate the radars of course). The Soviets and US flew recon planes close to each other's borders for years quite regurarly.

      --
      The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
    15. Re:Backdoor? by MerlynEmrys67 · · Score: 1
      Didn't the US put virus code into Printers and Printer drivers that they sold to Iraq in the late 80's to shut down their air defense capabilities during the first Gulf War ?

      Oh wait, that came out of the april 1st issue of a tech magazine and was then picked up by the mainstreet press...

      another good backdoor shot down

      --
      I have mod points and I am not afraid to use them
  24. trust... by TechnoVooDooDaddy · · Score: 5, Interesting

    Trust and loyalty used to be my main focus... I trusted that those stock options i was offered instead of a chunk of salary would be good, and the company trusted that i would deliver good software, on-time.

    I fulfilled my part of the bargain, but when it came to stock option maturity time, I got laid-off.. The company is still in business interestingly enough, and now posting profits even.

    Who do you trust, and how is that trust repaid? I can tell you I no longer have the same sense of loyalty and trust in my employer. Companies are paying on average HALF of what they were for the same work 2 years ago.. Trust... works both ways or it doesn't work at all...

    1. Re:trust... by Anonymous Coward · · Score: 0

      You got that right! You can't swing a dead cat without hitting one of those dang H1-B workers that are getting half of what we used to get and are now driving the market down so that the IT industry becomes a third-world beggar colony.

    2. Re:trust... by deaddrunk · · Score: 1

      Go start your own business and compete with that corporation and drive them out of business.

      Posted before any of the real Libs come on to hassle you for daring to question corporate behaviour.

      --
      Does a Christian soccer team even need a goalkeeper?
    3. Re:trust... by klparrot · · Score: 1, Offtopic
      but when it came to stock option maturity time, I got laid-off

      How did that affect your ability to exercise your stock options? The options should have been mentioned in your employment contract as part of your salary.

      The employment contract, and the stock options themselves, are legally enforceable contracts. If they didn't let you excercise the options because you were laid off, it could be because you agreed to that possibility in the employment contract or in the contract of the stock option itself.

      If that wasn't in the contract, then you should be able to go after them to exercise your stock options.

    4. Re:trust... by DeathBunnyRanger · · Score: 1

      The company trusted you to code without a way back in. Noless this is a security hole that can land you in litigation, it was your OPTION to do stocks or salary, you took the gamble, you lost. to maliciously go in and mess with the application is asking for trouble.

    5. Re:trust... by photon317 · · Score: 0, Offtopic


      His situation mirrors one I was in a few years back with Worldcom. In my case, I was in a "long term" permanent position, with stock options being given to me every year, which each matured (became available to exercise) in 3 years and were valid for another 7 years. Given that stocks hsitory at the time, and the likelyhood that I would still be there after 10 years, it seemed like a really good deal.

      Right about when I reach the 3 year mark and my first set of options became available was right about when the stock peaked for good, though I didn't know it at the time. By the 4 year mark, the stock was pretty obviously on a downward trend, but the management line was "you guys are valuable coders, you're here for the long term, the options will recover before their 10 years are up".

      Sure enoughm, at around 4.5 years into the job, the options had reached zero value, and our whole building, irrespective of job function or worth to the company, was summarily laid off.

      Thanks, Corporate America, I owe you one.

      --
      11*43+456^2
    6. Re:trust... by Anonymous Coward · · Score: 0

      You misunderstand the meaning of stock option. It does not imply that you have an option to take stocks or salary. It is a special type of trade.

      EX:

      The company grants you 1 stock option at $5. This means you have the right to purchase 1 share for $5. Say two weeks from now the stock price jumps to $10. You can now purchas a $10 share for $5.

      When a company gives you SO's, it doesn't mean they are allowing to take shares instead of cash. It may be the case that this guys company offered him a low-ball salary and padded it with a big option package. His "OPTION" would have been to take the job or not take the job.

    7. Re:trust... by Lumpy · · Score: 1

      #1 rule in life NEVER EVER trust your employer. they do not care about you and they will fry your butt to serve their needs in a heartbeat. Never forget that.

      #2 rule.. remember that YOU are doing the favor for your employer by working there they are not doing you a favor. If they didn;t need you they would not have you there.

      Trust? I suggest the following order. God (if you have one), Spouse (kinda.. today it seems that spouse-scum are common), Family (also depends on your family), with friends next... Employer comes after strangers and phycopaths.

      never EVER trust your employer.

      --
      Do not look at laser with remaining good eye.
    8. Re:trust... by jaaron · · Score: 1

      Companies are paying on average HALF of what they were for the same work 2 years ago..

      And the market was bloated and people were getting way over paid at that time too.

      --
      Who said Freedom was Fair?
    9. Re:trust... by CVaneg · · Score: 1
      remember that YOU are doing the favor for your employer

      I don't know about that. Employment is a mutally beneficial arrangement. Your employer has something you need (money) and you have something your employer needs (skills). No one is doing anyone a favor.

      That having been said, I agree that you don't owe your employer anything beyond what you agreed to in your employment contract, and in fact being fully up front and honest with your employer will probably hurt you in the long run.

    10. Re:trust... by photon317 · · Score: 1


      Considering this is a response to mutual trust between employee, employer, and client being a central idea in the backdoors discussion, a relation of how a seemingly trustworthy corporate situation is anything but irrelevant, but thanks for playing the mod game.

      --
      11*43+456^2
  25. Backdoors, not really... by blueZhift · · Score: 1

    Never wrote any backdoors per se. The closest was an ISAPI web app that needed to have certain users set up in order to work. I created the users in the installation application and later added an administrative user that was supposed to be created by the web master. Well, the web master didn't always keep up with this on new machines, so I just added it to the installation program (with approval).

    That was years ago, but I wouldn't be too surprised if the user was still in there somewhere.

  26. Backdoors by JSkills · · Score: 4, Interesting
    Never written one for malicious pruposes before. Thought about it a lot of course - in the same way people fantasize about robbing a bank or hitting the lottery.

    But when you think about it, all leaving a backdoor in a system does for you is to provide an opportunity of accessing a system in a way that you shouldn't be. This can lead to trouble down the line.

    Clearly, there are legitimate uses for backdoors (to use in case of emergencies, etc.), but unless the backdoor is documented someplace for others in the software development group to be aware of, it's likely the kind of backdoor that is simply not ethical to implement, since it's only usable by one person.

    I'm sure people can provide examples that disprove this, but for the majority of situations, as a developer, having a backdoor in a system can only lead to a security breach at some point ...

  27. How to prevent... by Anonymous Coward · · Score: 1, Insightful

    Easy:
    1) Code reviews.
    2) File change diffs emailed to developer mailing list.
    3) Group-owned code.

  28. kind of... by deander2 · · Score: 5, Interesting


    I am working on an app for the govt, and yes, I have programmed in a backdoor login, as it's very useful for testing and development.

    However, the following are true:
    1) management knows full well of its existence
    2) BY DEFAULT, it is turned off in any build
    3) it is NEVER to be deployed turned on

    I think it's a good rule of thumb.

    1. Re:kind of... by geekoid · · Score: 2, Interesting

      Wow, can you tell me the method you use to be sure your rules are never, ever, under in circumstances are never broken?
      That some Jr. programmer 5 years from now doesn't
      forget to turn off the backdoor?

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    2. Re:kind of... by avandesande · · Score: 1

      To get around this without backdoors we put links on the login page with name/passwords to make it easier to develop. When shipped to the customer we remove the links.

      --
      love is just extroverted narcissism
    3. Re:kind of... by bnenning · · Score: 1

      We do something similar. The backdoor is off by default and must be specifically turned on via a command line argument; it's not something that can happen accidentally. Yes, a rogue employee could deliberately enable it on production, but there are more damaging things he could more easily do.

      --
      How to solve most of our problems: 1.Lots of nuclear plants. 2.Cure aging.
    4. Re:kind of... by Anonymous Coward · · Score: 0

      most command line applications are invoked with a shell script. who's to say no one will enable the backdoor by editing the startup script and then forget to turn it off.

    5. Re:kind of... by Daniel+Quinlan · · Score: 1
      I am working on an app for the govt, and yes, I have programmed in a backdoor login [...] it is NEVER to be deployed turned on

      Pheew... I was worried there for a moment, but I'm glad that the government would never deploy any backdoors in their software.

      On a more serious note: to all the people who say "blah blah blah open source... who ever reads all of those lines of code, anyway?" The answer is lots of people if the code is Apache, bind, or any other program that gets deployed widely. Try inserting some backdoor code and see how long your commit access lasts!

      What moron actually believes it's easier to disassemble code and look for backdoors in proprietary closed source code??? I'd much rather have the ability to download the source that is being downloaded by thousands of other people. No, this is not absolute assurance, but that's not a valid argument against open source.

    6. Re:kind of... by deander2 · · Score: 1

      simple - it's off by default.
      (as i said :)

      it's not even in the code base by default. you have to know a specific CVS flag to ask for it. (and it's titled ENABLE_GOD, so confusion shouldn't be an issue!)

    7. Re:kind of... by Niles_Stonne · · Score: 1

      but what about DISABLE_GOD ? One swift crowbar to the knees...

      --
      Sticks and Stones may break my bones, but copyright will always protect me.
    8. Re:kind of... by lommer · · Score: 1

      Gee fucktard, I believe that was covered in "2) BY DEFAULT, it is turned off in any build."

    9. Re:kind of... by irc.goatse.cx+troll · · Score: 1

      You must have a short memory. It wasnt that long ago that OpenSSH was trojaned, and thats about as secure/public an example as you need.

      --
      Pain lasts, kid. Its how you know you're alive. Sometimes I think this growing up thing is just pain management-TheMaxx
    10. Re:kind of... by Daniel+Quinlan · · Score: 1
      You must have a short memory. It wasnt that long ago that OpenSSH was trojaned, and thats about as secure/public an example as you need.

      Thanks, that proves my point that open source holes are easily found. The OpenSSH trojan was discovered only one week after the trojan was deployed. How many closed source trojans and backdoors do you think are discovered that quickly?

    11. Re:kind of... by Anonymous Coward · · Score: 0

      No... that's not enough, junior programmers like the ones he described have the "little bit of knowledge" which is really dangerous. They know enough to know how to turn things on, but not enough to know what they do..

      The truth though is that if you employ such programmers without checking their work then you are lost anyway, so there's no point worrying.

  29. Hire developers directly by jpsst34 · · Score: 3, Interesting

    Though it wasn't explicitely mentioned in the question, I feel that such a situation may be more common when the developers are hired as temporary / part-time help. In this case, you are a client and the developers may be looking to get something more. If you have your own in-house developers, they'll have more stake in the company and the project, and surely would care more about security - both the security of the software and the security of their job. A hired hand could code the backdoor then move on before you ever notice. Your own developers would be more hesitant to do this because if and when it gets noticed, they'll still be easily found in the cube on the third floor, east wing.

    Maybe a good idea would be to bring on a full time development staff and pay them good money so they don't feel the need to try to get something more. Oh, and tell me where to send my resume once you create these new full time positions.

    --
    How are you going to keep them down on the farm once they've seen Karl Hungus?
    1. Re:Hire developers directly by a7244270 · · Score: 1

      Depending on how you define "part time help" your statement is either accurate or complete bull.

      If you define "part time help" as someone being grossly underpaid, possibly a grad student or something, then you're probably right. If you define "part time help" as a professional contractor, you couldn't be more wrong.

      The "part time help has nothing at stake" myth is invariably spouted by regular employees who are jealous that we make twice as much money, don't have to do unpaid overtime, are immune to politics, and we do the "same work" that they do.

      What they don't realize, is that as a contractor, we have to constantly work harder, faster, do the shit jobs that no one wants, and generally be more productive than the "regular" employees, because we know that if the shit hits the fan, we are the first ones to go.

      A lot (recently all) of the work I get is by word of mouth, so it is in my interest to provide good value for the dollar so that my employers will a) keep extemding my contract, b) recommend me to others, c) bring me back the next time they need something done. If you don't work this way, you won't be working long as a contractor.

      Perhaps 15 years ago your statement would be correct, but most employees do not have "more stake in the company" - especially in the software industry. To remain competitive technically and financially we must be constantly acquiring new skills and renegotiating our compensation, and this often involves changing jobs.

      The only employees that have "more at stake" are the ones that are looking at a career in the company. These are few and far between, and more importantly tend to be political rather than technically oriented.

      There are exceptions, but in my experience, this is what I have seen.

    2. Re:Hire developers directly by robi2106 · · Score: 1

      The "part time help has nothing at stake" myth is invariably spouted by regular employees who are jealous that we make twice as much money, don't have to do unpaid overtime, are immune to politics, and we do the "same work" that they do.

      I'm not sure what planet you are on (a better one), but the contract workers (I am one) at a certain huge Cali. based printer manufacturer are paid 1/2 to 2/3 the employees, are used as disposable minions in proxy battles with other departments, are hired and fired with no regard to impartiality, get no reasonable medical coverage ($300-500/month), are restricted from all company facilities not related to work, cannot address grevious behavior by other employees, etc etc.

      Many people I personally know were employees, fired to reduce head count but hired back as "resources" (like a power bill) at 2/3 origional $ (not including loss of all benefits). Then their projects were shuffled from department to department due to funding feuds between employee managers, only to be told that no one wants to pay for their contract so they have no hours to work but are expected to reserve all 8-5 time just in case the company wants them to work.

      I would dump this company if it wern't the only game in town. Fortunately I am single and young so I have time to get the "duck out of fodge" before I accrue assets that tie me to this city.

      robi

    3. Re:Hire developers directly by Anonymous Coward · · Score: 0

      I've worked with a number of consultants over the years, and as a rule, most of them are paid more than enough that they would have very little reason to introduce a backdoor just to give themselves "something more" to take away from a job. You also have to remember that if word gets out that a consultant introduced a backdoor in a system, this would impact their ability to get future contracts. In most cities, the IT community is not so large that word does not get around.

      As far as direct hires, they are just as likely to introduce some easter egg/backdoor into a system because they have a bone to pick with their employer (particularly if they know they are soon to be laid off).

    4. Re:Hire developers directly by Jaguar777 · · Score: 1

      because if and when it gets noticed, they'll still be easily found in the cube on the third floor, east wing.

      Hey John, I didn't know you had a slashdot account ;)

      --
      Maybe you should educate the morons of tomorrow so they'll stop believing the leaders of tomorrow. - Dogbert
    5. Re:Hire developers directly by a7244270 · · Score: 1
      I'm not sure what planet you are on (a better one), but the contract workers (I am one) at a certain huge Cali. based printer manufacturer are paid 1/2 to 2/3 the employees.....

      Yeah, I know what you mean, but theres two types of contract workers - notice the first 2nd sentence of my post

      If you define "part time help" as someone being grossly underpaid, possibly a grad student or something, then you're probably right. If you define "part time help" as a professional contractor, you couldn't be more wrong.

      You clearly fall into the first category, and I agree with what you said - you definitely need to get the duck out of fodge.

      Many people I personally know were employees, fired to reduce head count but hired back as "resources" (like a power bill) at 2/3 origional $ (not including loss of all benefits).

      I have to say, thats pretty shitty. Remind me not to work at your company. Leave - the economy is not _that_ bad.

  30. Not such a good insurance policy by MjDascombe · · Score: 2, Interesting

    Backdoors can be a good insurance policy, and their theoretical presence might guarentee your continued employment, but if your employers find them, I can guarentee you won't be working there for much longer :P

  31. Depends on how you define "backdoor"... by MasterOfMagic · · Score: 1

    If you mean "backdoor" as in a way for a tech support or other person to get into a system that can be eaisly screwed up by users, then there are many of them around. If you mean "backdoor" by a hole that only a single coder (or small group) of coders knows about so they can stroke their ego, then there are probably are fewer.

  32. If they treat you well by wohoo_gnu_is_great · · Score: 1

    I imagine that this kind of thing happens more frequently in situations where the company doesn't treat its employees well.

  33. Backdoors are nice but.... by Gambrinus · · Score: 1

    A backdoor allows you to make changes and tweaks after the application (or site) goes live but they just aren't worth it. Especially if it ever dawns on the customer that you have made changes (such as a bug fix) without consulting them. If you need to change the software then you need to consult the customer. Period.

    If the customer ever figures out that there is a back door or if it is abused by a third party, they will never hire you or your company again.

    1. Re:Backdoors are nice but.... by tomhudson · · Score: 2, Interesting
      A backdoor allows you to make changes and tweaks after the application (or site) goes live but they just aren't worth it. Especially if it ever dawns on the customer that you have made changes (such as a bug fix) without consulting them. If you need to change the software then you need to consult the customer. Period. If the customer ever figures out that there is a back door or if it is abused by a third party, they will never hire you or your company again.

      ... M$ products have back doors, easter eggs, etc, and their "click-thru" licensing of mediaplayer also lets your box "phone home". Their XP updater routinely sends info about all software installed on your machine (see yesterday's art. at theregister.co.uk). ...

      the facts are:

      1. most people don't give a shit, don't have a clue...
      2. if your app does what it's supposed to, they won't care about any back doors ...
      3. the first time they screw up, they'll be glad there was a back door!
      4. if they can't trust you to refrain from abusing any back door you put in, they shouldn't be using you anyway!!! Now, does this mean that I'm going to start putting back doors in? Probably. At least when the product/code/app is going to be used by less-than-clued-in end users who are likely to screw up things to the point where some "emergency entrance hatch" is required.

        As to giving the customers the source code, I remember doing that in the mid-'90s before it was fashionable, and having their "computer people" continuously removing it from corporate systems because it wasn't on the "list of approved programs".

    2. Re:Backdoors are nice but.... by Gerry+Gleason · · Score: 1
      1. most people don't give a shit, don't have a clue...

      Most, probably. However, most systems people do care about this, and MS is in the process of learning this the hard way. The issue comes up first with the technical people who know about it, but more and more this stuff is getting into mainstream press, and a lot of people do care about their privacy once they understand the issues.

      2. if your app does what it's supposed to, they won't care about any back doors ...

      Bull. Many organizations have strong security policies, and if they discover you have violated them, you won't be getting any more work there. Looked at another way, "does what it's supposed to" includes protecting the customer's information.

      3. the first time they screw up, they'll be glad there was a back door!

      This does not require a "back door", and even if that is your solution for lost password recovery, it had better be documented and not introduce a blatant security hole.

      4. if they can't trust you to refrain from abusing any back door you put in, they shouldn't be using you anyway!!! ...

      If you can't just tell them about any access provisions you have made, then you shouldn't be creating any. Frankly, I can't think of any situations where root access isn't all the backdoor you need. If the system is secure enough to requre one-way cryptography, then a backdoor of any kind would be a clear breach of policies. In this case, write them down and put them in a safe.

    3. Re:Backdoors are nice but.... by malakai · · Score: 4, Insightful
      M$ products have back doors
      Oh praytell, what wonderfull backdoors exist and in which MS products? In recent memory i can recall only the Front Page "view source" exploit that was listed as a 'backdoor' but wasn't. You needed author permission to access the website vti_admin directory anyhow to use that ISAPI dll.

      their "click-thru" licensing of mediaplayer also lets your box "phone home".
      Would you feel better if it was a radio button or or slider rather than a clickable button? Also, it is about as malacious as Winamp, in that you have to allow it to phone home, and you can choose to allow it to report anonymous statistics (just like winamp). I don't see people with pitchforks calling for nullsoft's (er... AOL i guess) heads.

      the first time they screw up, they'll be glad there was a back door
      Doubtful. A backdoor is never needed. There's no backdoor to losing the Administrator password on an NT box, yet you can reset it with physical access. Would people be thankfull if there was one? I doubt it, you'd probably have an ape shit.

      if they can't trust you to refrain from abusing any back door you put in, they shouldn't be using you anyway!!! Now, does this mean that I'm going to start putting back doors in? Probably. At least when the product/code/app is going to be used by less-than-clued-in end users who are likely to screw up things to the point where some "emergency entrance hatch" is required.

      You are the epitomy of what is wrong with many developers today. You hate your users with a passion much like some land owner has towards his 'peasant' workers. Grow up, listen to your users, respect them and advise them, and with all honesty work towards middle ground.

      -malakai

    4. Re:Backdoors are nice but.... by tomhudson · · Score: 1
      Frankly, I can't think of any situations where root access isn't all the backdoor you need.

      Just a few quick points:

      1. root access it "too much" of a backdoor in many cases; you don't need root access to fix most problems
      2. root access may not be available (for example, someone changed all the passwords, then quit)
      In the latter case, it's important to be able to access the machine and export the data before rebuilding it.

      Maybe I wasn't clear enough - back doors are not in and of themselves an indication of bad ethics.

    5. Re:Backdoors are nice but.... by tomhudson · · Score: 1
      Grow up, listen to your users, respect them and advise them, and with all honesty work towards middle ground.</quote>

      Unfortunately, unlike motor vehicles, we don't have any standards as to "users". Most "users" technical knowledge doesn't go beyond "... reboot ...".

      The problem is that too many of these "users" want "features" that are of doubtful efficacy, get in the way of achieving the job at hand, and/or don't make sense.

      It's not that I, or other developers, hate the end user. We just don't like the way they've been suckered into a "one-world-view" of software, and that they won't take even 1 minute to RTFM, or even a text box explaining what they just did wrong, and how to correct it.

    6. Re:Backdoors are nice but.... by Mac+Degger · · Score: 1

      OK, answer me this: how do I stop Windows Media Player 8 and up from contacting the internet (without file->work offline, as that also sets my internet connection to offline)? Going to the options, there are only three radio buttons under autoupdate: once a day, week or month...no "not at all" or "keep the fuck out of my system with possible destabalizing, compromising shit".

      Sure, I could use another program to deny WMP internet access, but why can't I tell the program itself to keep off the net?

      --
      -- Waht? Tehr's a preveiw buottn?
    7. Re:Backdoors are nice but.... by malakai · · Score: 1

      You mean how do you change it's default start page for "Media Guide"? You can't as far as I know. Consider this the ad it uses to pay for it's development which allowed you to download and run for free.

      No information is sent to the site, other than a cookie if you have cookies enabled for windowsmedia.com.

      No usage information is sent if you remove the check from that checkbox under the Privacy tab.

      If you want to see a media player abuse it's power, download and run Real Player. I get pop-up adds from Gator corp and even worse vendors when I start-up real player. True, it lets me change my start page, but i'm still forced X number of popups per day.

      Windows Media 9 is tame.

      -malakai

    8. Re:Backdoors are nice but.... by Mac+Degger · · Score: 1

      Not to be nasty, but can't you read? I wasn't talking about the start page, but the automatic update 'feature'....you know, the one that automatically patches WMP, no matter if I want or need the patch?

      --
      -- Waht? Tehr's a preveiw buottn?
  34. PHP Web-apps by yamcha666 · · Score: 5, Interesting

    I work for a small startup that specializes in custom web-applications for indy record labels and small-time bands and clubs. Our main product is a all-in-one web-app that will allow the customer to manage their shows, news, mailing list and numurous other things.

    We offer several levels of this product, one being shared (get 1 account on our servers) which we control, standalone, and custom standalone (the standalones go on their own servers.) The latter two are designed to have one back-door login account for myself and the other programmer to go in there and edit their settings or database if the customer breaks something.

    So there is my 2 cents. Yes, I put small backdoors in my company's web-apps per boss's request.

    1. Re:PHP Web-apps by Anonymous Coward · · Score: 0

      arf arf here comes the assgravy train!

  35. Slashdot Has A Backdoor!! by Anonymous Coward · · Score: 2, Funny

    And it lives here!

    This story was just begging for this link!

  36. Not when I need to earn a living! by djkitsch · · Score: 4, Insightful

    I (like many of you) work on a contract basis per project, and I'm contracted to fix any problems with the software as part of the job.

    If an intruder breaks into a database through a back door I put in (and let's face it, it is asking for trouble), I'm obliged to spend my valuable time closing the hole.

    I'm not of the opinion that it's worth my time and money to show off what a great hacker I am - my clients are really the ones who matter, since they pay my wages, and my skills should be reflected in my work...

    --
    sig:- (wit >= sarcasm)
    1. Re:Not when I need to earn a living! by AxelTorvalds · · Score: 1
      At the very least, if it's an intentional hole you could be obliged to do a lot more than that. You're lucky if you put a backdoor in and you only have to spend the time to fix it. If I bought something from you and deployed it into production and you have a backdoor in it that was used by someone, you'd wish you never meet me or my company's lawyers by the time it was all said and done.

      People are buying "hacker insurance." Think about that, the insurance industry is getting involved. More importantly, in a smaller to mid-sized operation a good security breech could be the end of the company. You could potentially go to jail for something like that. It's a stupid practice.

      I'm in the security business and there are so many unintentional holes it's frightening, there are some very clever people out there who are trying to break in to computers. They can do it on systems that are designed to be secure (think OpenSSH) you want to give them a hand? It's just stupid.

    2. Re:Not when I need to earn a living! by djkitsch · · Score: 1

      Well exactly!

      And something tells me that 'Hacker insurance' probably doesn't cover cases where the hackers used backdoors...

      --
      sig:- (wit >= sarcasm)
    3. Re:Not when I need to earn a living! by Anonymous Coward · · Score: 0

      Hence why software all disclaims liability.
      If you use one of my products, I don't certify it's fitness for use. No warranty, express or implied.

      Same reason why you can't (and couldn't) sue Microsoft for a BSOD taking out your presentation or memo. You also need to prove the backdoor was intentional to have criminal charges brought (and then for what really? Unless they used it).

      What idiot would take full liability for software? Obviously not someone smart enough to do anywhere near a good job.

      Software is a tricky, odd business, and considering no developer in the history of developers has EVER been successfully sued for writing bad or sloppy code, I doubt you would be able to pull it off.

  37. Sure... by Anonymous Coward · · Score: 4, Interesting
    Backdoors were coded into systems. But only for testing and development purposes. Once the software was being prepared for release, those backdoors would be deleted but in any case, they were usually coded to only work on specific (i.e. the development) machines.


    What really concerned me though was when we were supposed to store credit card numbers encrypted in the database and I used a simple replacement cypher as a placeholder. Then, when I later asked about putting real encryption routines in was told "we aren't going to do that".


    So customers are really in the dark when it comes to the security of their software.


    Rich

    1. Re:Sure... by beebware · · Score: 2, Interesting

      I've put in small backdoors which will only work on certain machine names (i.e. my developmental machine was called 'Alice' therefore the code wouldn't work on the live server called "Bob"), that required access from a set range of IPs (our internal LAN) AND required knowledge of the URL and additional password. Ideal for testing and development purposes, but once the system goes live the backdoors are usless.

    2. Re:Sure... by Unordained · · Score: 1

      in cases like that, though, there's always the use of the 'strings' command under *nix ... and you can change a computer's name to match. not that i care -- but pointing out possible attacks. but then, i can't complain -- our client-side app (for internal use only, mind you) uses a built-in password to the database for initial access. (the user-login isn't a db-login, just rows in the same database as the rest of the data. the default login isn't the admin password, just the data-access password.) if the bytecode weren't available, it wouldn't be so bad. but as it is, we're vulnerable to the same sort of attack. (strings.) oh, and the data-stream to the db server isn't encrypted. so you could still drag passwords out at runtime by sniffing packets, even if we didn't use a built-in password ... again, it's all on the lan. but ...

      so, what did the backdoor give you access to that you didn't have otherwise? (most 'extra' stuff is available to us simply as extra permissions given to our user account in the app...)

    3. Re:Sure... by beebware · · Score: 1

      Mainly logging stuff. If I'm demoing it on another computer remotely (but on the same site) and something goes tits up, I can just key in the URL and see what was going on at that point: failing that, I'd have to walk all the way back to the building and look at the log files on the machine itself (where I could, since I have physical access, make all the appropriate changes).
      Of course, it's all protected on an internal network by a firewall as well and you do need to have at least authenticated with the system beforehand before it'll let you use the "backdoor": which poses the question - what exactly is a backdoor?

    4. Re:Sure... by Unordained · · Score: 1

      i know this'll sound a bit too obvious, but a back door is anything that isn't a ... front door? (ignoring, for the smart-asses, side doors, windows, basements, and other points of entry. like worms. ?!?)

      i'd say that if an app doesn't display the option to use feature X anywhere obvious (no screens, menus, etc.) then it's a back door. if you log in as yourself and it gives you a check box (that only your, and similar, users can see) that says "[x] enable remote logging" ... i'd say that counts as a hidden feature, not a back door.

      i'd count as back doors: passwords that always work, no matter what you do ... ports being left open that aren't documented and allow increased access ... setting a value in a .ini / .conf file that enables otherwise hidden features ... special key combinations (login prompt) that let you in, give you access, etc. ... spying? ... trojans? [our app, for example, has simple remote-exec features built-in ... don't ask me why. they -are- however, documented in the remote-access screen.]

      all this brings me back to my 'evil' brother and the fake password programs he wrote when we were kids ... i hadn't learned to program yet, and there he was nagging me with programs asking me to identify myself. typing my name resulted in insults. his name, oddly, resulted in compliments.

      is that a back door?

  38. Never by geekoid · · Score: 1

    there is no reason for it, except to 'monkey around' behind the scenes, and that always ends up bad.

    --
    The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
  39. Wheee!!! by Anonymous Coward · · Score: 0

    {--- Insert obligatory Mr. PotatoHead comment here ---}

  40. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  41. Unless it's an embedded app there's just no excuse by Art+Popp · · Score: 3, Insightful

    There shouldn't any hard-coded trust between the authors of decent software and the buyers/users of that software. The fact is that any useful information that the backdoor could provide to the coder should be available to the purchaser. If the purchaser wants to trust the coder he needs to run sshd and give the coder and account with access to the application he coded. Why anyone would "reinvent" a secure backdoor when it can be accomplished with Freely available tools to a much greater level of security is just beyond me.

  42. Inadvertent Backdoors by egg+troll · · Score: 5, Interesting
    I know of a couple of examples where backdoors were put in for QA purposes and then left in when the product was shipped. Indeed, waaaay back in the day, a Mac IRC client left in a /ctcp command that would let another user execute any command on another ircle user's box!


    Doing things like /ctcp B1FF exec /quit made IRC almost unuseable for Mac users for a week or so.


    Anyways, my point is that most backdoors put in by developers seem to be accidental rather than intentional.

    --

    C - A language that combines the speed of assembly with the ease of use of assembly.
    1. Re:Inadvertent Backdoors by Politburo · · Score: 1

      From your example, it sounds like the back door was put in on purpose.

      One of the main questions here is whether backdoors should be used anywhere. Including test/debugging versions. The main argument for keeping them out of everywhere is so that they can never 'slip by' in testing like your example.

    2. Re:Inadvertent Backdoors by egg+troll · · Score: 1
      From your example, it sounds like the back door was put in on purpose.


      Yes, it was put in intentionally for Onno (the creator of ircle) to do some testing with it. Unfortunately Onno then forgot it was in there when he released it.

      --

      C - A language that combines the speed of assembly with the ease of use of assembly.
    3. Re:Inadvertent Backdoors by Politburo · · Score: 1

      Okay what I was pointing out was the statement seemed to clash with "[a]nyways, my point is that most backdoors put in by developers seem to be accidental rather than intentional."

  43. Hmm... by shayborg · · Score: 1

    Personally, I wouldn't, and I haven't even when presented with the opportunity. However, though I don't know for sure, I flatter myself my sense of ethics is slightly stronger than the average hacker's. I imagine it's a fairly common practice, actually ...

    -- shayborg

  44. winxp? by rizzo420 · · Score: 2, Interesting

    ok, i don't think there's a backdoor, but i know windows xp comes installed with a special microsoft tech support user. how do they get to use that user to fix problems? that's what i don't understand. it's really odd i think. i wouldn't be surprised if microsoft started putting backdoors into their software that only closed when you entered a unique serial number that bounced back from an online serial number database. similar to the way Q3A uses the cd key. although i know there are some hacks to the Q3A cd key to allow you to use a pirated copy, so this may not work. i just wouldn't put it past microsoft to do something like that.

    --
    please me, have no regrets.
    1. Re:winxp? by afidel · · Score: 1

      The default policy for that user is that a signed email from the machine in question needs to be sent to them that includes a number of things including a one time passphrase and some unique system identifiers (SSID etc). Basically it would be impossible to fake the message without already having full access to the system. Regardless one of the first things I did on my copy of XP was to remove the account and disable remote help, on my dads copy I removed the account but left remote help on incase he needs me to fix something and I don't feel like driving to his house.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
  45. possible legal actions? by green+pizza · · Score: 5, Insightful

    This thread that gotten me wondering, what sort of legal options would one have should they find an employee coding in backdoors?

    Would this be considered felony fraud? The more I think about it, the more I hope so. Think about this -- one coder acting alone could cost a company millions of dollars in lost profit and trust. This would be more than that coder will probably earn in normal income thruout his entire life. I think this is one case where a jury SHOULD seriously consider decades of imprisonment. This isn't a simple case of a kid using DeCSS or defacing a website, this is case of one person destroying the image and trust of an entire company.

    1. Re:possible legal actions? by stilwebm · · Score: 1

      A tangent to that is what kinds of policies do you have to create to minimized damages from this type of problem? If you fire someone who created a backdoor, what other back doors and vulnerabilities will you learn about when the disgruntled worked leaves? How do you make sure clients/end users are quickly informed of the issue and updates are quickly available? These points are especially important to consider when dealing with large software products that have an internet presence.

    2. Re:possible legal actions? by Anonymous Coward · · Score: 1, Interesting
    3. Re:possible legal actions? by blibbleblobble · · Score: 4, Insightful

      "...gotten me wondering, what sort of legal options would one have against employees' backdoors?

      Spoken like a true American.

    4. Re:possible legal actions? by Anonymous Coward · · Score: 0

      " "...gotten me wondering, what sort of legal options would one have against employees' backdoors?

      Spoken like a true American." ... ... ...

      "Score:5, Insightful"

      The French must be moderating tonight. That deserves a "+2: cheap (but funny)" at best!

  46. Given that Slashdot implies "Linux" by Anonymous Coward · · Score: 0, Funny

    I'd say that most slashdotters have "installed" someone's "backdoor" more than a few times.

  47. It's all about design by Chacham · · Score: 1

    It's all about design.

    If programmers are told to make something work, and there is little design, the entire program is a black box, and not understood until it is looked at completely.

    With proper design, the program is understood before it is coded, and the appropriate modules or sections can be looked at easily. Of course testing plays a significant role, but at this point design is far more important.

    Unfortunately, most programmers don't want design (probably Ps) and most designers want too much control (probably Js). There needs to be a general respect for the other's gifts for everything to work, and have people want each other's help.

  48. I worked with a guy... by leftism11 · · Score: 2, Interesting

    When I was a consultant at a Big 6 firm (back in the day), a colleague of mine wrote a Windows app for a client. He added code that would cause the application to stop working after a certain date, so that if the client doesn't pay their invoices, he won't update the code, and the app will simply stop working.

    I personally considered this to be very unprofessional, and probably not legal, but he claimed that it was perfectly legit. Of course, the client didn't know this, and he never told them (they did pay their invoices on time).

    Definitely not my style, but it is evidence to me that it is done on a regular basis.

    1. Re:I worked with a guy... by Anonymous Coward · · Score: 0

      I've heard this story many times before, and I have two words for you - Urban Legend.

    2. Re:I worked with a guy... by leftism11 · · Score: 0, Troll

      Hey retard, I worked with him, and we worked on the app together. If this is the stuff of your urban legends, you need to get out more.

    3. Re:I worked with a guy... by Anonymous Coward · · Score: 0

      He added code that would cause the application to stop working after a certain date, so that if the client doesn't pay their invoices, he won't update the code, and the app will simply stop working.

      Oh how horrible!

      And? I don't understand why this should be illegal or immoral or unprofessional? As a independent developer there is a short percentage of customers who make trouble paying bills. So as long as my work is not payed, I still see my work as my property!
      Or do you think you can go to a bookstore, grab a book and say "now I have it and I don't pay it"? No, as long as you didn't pay for a product or a work you don't own it. That's how I understand law. I see no difference to a fine piece of software.

      About 'real backdoors', I haven't done it so far. Well okay, I did once, but some stuff is just too tempting....... having a shell accounts on a awesome machine was once helpfull to compile a kernel in an hour instead of a full night. I didn't hurt anyone. But today PCs are faster than you need and DSL is cheap. So no backdoors anymore... ATM.

      my few cents.

    4. Re:I worked with a guy... by jacoberrol · · Score: 1

      That's not a backdoor. It's usually referred to as a "Poison Pill". And it's perfectly legal. What is not legal is using non-free code that you didn't pay for. This opinion is not widely held among slashdot readers.

    5. Re:I worked with a guy... by Anonymous Coward · · Score: 0

      I worked for a company who did this, and was up-front about it - the code expired every year, and they assumed that was the normal business model. This was POS software (Point-of-sale, though other definitions fit as well) which ran on IBM System/36.

    6. Re:I worked with a guy... by Anonymous Coward · · Score: 0

      So what would happen in an accounting screwup? And who would be liable? Luckily in this case, all payments were made on time AND processed correctly, but what about the case of payments made on time and there was an accounting error? I imagine they'd have the right to sue the pants off your company for disruption of service unless you can justify this logic bomb in court. Good luck.

    7. Re:I worked with a guy... by leftism11 · · Score: 1

      Since this application was critical for this business, I would imagine that they would have a very different opinion regarding legality. Just because you have a dispute over an invoice does not mean that you can shut down their business.

      If you stop supporting an application or providing enhancements due to a dispute, fine, but causing an existing, functional app to stop working, to me, seems right up there with disgruntled employees that plant logic bombs after they are fired. If would imagine the client's first phone call would be to their lawyer.

      And the first time that the app stops working, you likely have ruined the relationship with the client, especially since they were never told about it, and the contract has no clause or terms that layout the terms of such a poison pill arrangement.

      It just seems like bad business to do it surreptitiously.

  49. Yes by Anonymous Coward · · Score: 0
  50. surely they are easy to spot by Rcknight · · Score: 1

    IMHO a company is foolish not to check their code to some extent before it is released, in which case these should be easy to spot.

    This of course is a major advantage to open source, you can check for yourself if you are paranoid.

    Ultimately though, i think programmers have to be trusted to some extent, and so it will be impossible to completely get rid of this kind of thing.

  51. Code backdoors. by Anonymous Coward · · Score: 0

    And keep track of all of them. So if they start to be exploited, bam, get in the backdoor and close them all.

  52. consequences by spoonyfork · · Score: 4, Interesting

    I don't but two guys here did just that last year. It was a customer facing website for a large multi-national corporation. The "backdoor" was caught before going live but they were fired with extreme prejudice.

    --
    Speak truth to power.
    1. Re:consequences by GreyLightning · · Score: 2, Funny

      Sounds like they could get their jobs back by negotiating with extreme prejudice.

    2. Re:consequences by spoonyfork · · Score: 1

      I don't think you read what I wrote. The "backdoor" was found before being rolled to production. Code reviews are a wonderful thing. There is nothing to negotiate. Well, perhaps negotiate over whether I want them to bag my groceries in paper or plastic.

      --
      Speak truth to power.
    3. Re:consequences by Anonymous Coward · · Score: 0

      Considering what a royal prick you come off sounding like, don't be surprised to find the spaghetti sauce on top of your eggs...

  53. Why would you care? by Ars-Fartsica · · Score: 0, Flamebait
    Its just an extra insurance policy for when some moron that I worked for 6 years ago does something stupid.

    And as a former employee, you give a shit why???

    1. Re:Why would you care? by fuzzywig · · Score: 1
      "Yes Mr. ex-boss, of course I'll come in and fix that for you, for my usual freelancing fee of course"

      $$$$$, that's why.

  54. I'd like to help, but... by Lord_Slepnir · · Score: 3, Funny

    I'd like to post an intelligent responce, but I need more info. Can I have some people send me a list of back doors they've created so that I can investigate further? thanks

    1. Re:I'd like to help, but... by kingkade · · Score: 2, Funny

      run your finger down your back. it's the first hole ya come to.

    2. Re:I'd like to help, but... by D'Arque+Bishop · · Score: 1

      I'm sure Kevin Mitnick's proud you've taken his book to heart. ;)

    3. Re:I'd like to help, but... by Anonymous Coward · · Score: 0

      You created that?

  55. Of course I write backdoors... by DarkHelmet · · Score: 1

    And password is always swordfish...

    --
    /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i
    1. Re:Of course I write backdoors... by smillie · · Score: 1

      I though the password was 1 2 3 4 5.

      --

      Dyslexics Untie!

    2. Re:Of course I write backdoors... by Anonymous Coward · · Score: 0

      What?! That's the kind of combination someone would use on their luggage!

    3. Re:Of course I write backdoors... by Anonymous Coward · · Score: 0

      damn. i need a new combination

  56. why would you put in a back door? by new+death+barbie · · Score: 2, Insightful

    1) if it's not in the requirements, it shouldn't be in the code
    2)if it's useful or necessary, then it should be in the requirements. But it's not a back door anymore (maybe a side door?)

    --

    It's supposed to be completely automatic, but actually you have to press this button.

  57. backdoors? by Anonymous Coward · · Score: 0

    never - unless required by contract.

    And even then it's maximum security...

  58. Level of trust... by jason718 · · Score: 1
    How sustainable is the 'trust' between the developer and the client?

    As sustainable as what was stated in the contractual relationship between the development company and the client. Backdoors, exploits etc, should not be allowed unless explicitly requested by the client. These 'Backdoors' - however innocent - could be the cause of a financially burdensome exploit at a later date, which I'm sure the client would not appreciate.

    This area of functionality is definitely something which should be highlighted as part of the Master Service Agreement or within the Statement of Work. Within your own development team, your team members should understand the implications of introducing such code into clients' projects.

    [Disclaimer: I am not an attorney. For legal advice, consult one!]

  59. Legal and not by sir_cello · · Score: 3, Insightful


    Putting backdoors is unethical, but possibly not illegal depending upon how you make your software available (i.e. license terms and conditions). It may only be illegal where you _use_ the backdoor (because you are then technically trespassing on property of another), or if someone else uses the backdoor (you could be held in negligence).

    I've been involved in a project where an easter egg was planted (command line interface to a subsystem, and if you enter right command, it will drop into a text RPG). You could get in trouble for this in certain ways:
    (a) wasting client money (if the program developed under contract and this functionality is outside of the scope of the development agreement);
    (b) negligence/action if something goes wrong with the functionality or leads to lack of performance of the software, etc.

  60. Most have some sort by www.sorehands.com · · Score: 4, Insightful

    Most applications have some sort of back door.

    There are different extents to back doors. For example, in some filtering programs, you get admin access. In other programs, you have the ability to log in as a remote user. In another, you can bypass the encrytion passcodes.

    Having a remote access backdoor saves lots of trips to a customer site. Having a backdoor for admin access is good when they lose their passwords. Or remotely shutting down the application is good when they don't pay.

    There is also the other site to consider, if there is a back door, the application is clearly less secure.

    You have to balance the lack of security caused by this by the need for the features the different back doors offer.

    You should tell the client about this, but then it is a problem. If you tell people about back doors, some people may try to hack it. Having the remote ability to shut down an application may defeat the purpose.

    1. Re:Most have some sort by lobotomy · · Score: 1
      Most applications have some sort of back door.

      Bovine feces!

      How do you back up that claim? I have been programming (for pay) since 1987. In my experience, this is not true. Backdoors are a firing offense. And now adays, a criminal offense -- remember, Fatherland Security is watching you.

  61. Back door in Renegade BBS! by Anonymous Coward · · Score: 0

    Remember the backdoor that Cott Lang (AtomicPunk) coded into the popular Renegade BBS system? I wonder if he will ever live that down!

  62. closing the back door by GregorianChant · · Score: 1

    The issue of a programmer's moral fallibility is something that comes up quite often here at work. Being in a borderline staff/management position, I've been forced to look at the situation from both angles. I also know that any efforts from management to dissuade these lines of "malicious" code will either piss off the programmer or indicate that you don't trust them, which will in turn, ALSO piss off the programmer. Briefly, we do have a stage in the process of "FINAL CODE ANALYSIS" where basically programmers from different departments are pitted against each other in an effort to find faults and potential security holes in each other's code. Regardless of these measures or any additional steps you could take for that matter, it comes down to one of the sole elements of human nature: TRUST.

  63. backdoors by whitebread · · Score: 1

    I personally backdoor quite often.

    Like one of the posters above, I do it purely as a security measure. Very rarely do any of the programs I write contain data that I'm interested in once given to the end user, and thus I have no reason to want access to it except for their own benefit.

    By the same token, I have refused backdoors requested by other people (usually in the form of emails or messages when certain actions occurred) because I didn't want to feel morally responsible for what they might do with that information.

    Backdoor is a really broad way to describe what is, very often, a time-saver or even security measure. I personally wouldn't build one with malicious intent, but I can see where it could be a problem...we install programs every day (windows environment) that we have no idea who wrote, and what motives they may have had.

  64. Jurassic Park by masonbrown · · Score: 2, Funny

    Didn't we learn - if your developer is complaining that he doesn't get paid enough, you'll have dinosaurs eating your customers soon enough?

  65. Make sure developer has something to lose by AHumbleOpinion · · Score: 1

    How sustainable is the 'trust' between the developer and the client?

    I really hate to say this but lawsuits are the answer. Have something in the contract that specifies backdoors will result in forfeiture of all pay, developer liable for repairs, developer liable for legal fees, etc.

    Now for an even more controversial point. Make sure the developer is reachable and has something to lose. House, car, etc. In other words the open source style virtual organization spread around the world may make you more vulnerable due to less accountability. I realize this is heresy around here but every development model has advantages and disadvantages, different tools for different jobs, different models for different jobs.

  66. Code reviews. by $$$exy+Gwen+Araujo · · Score: 2, Insightful

    Seriously, this is why every line of code is *meant* to go through proper examination by your peers. With the number of eggs and backdoors in some commercial software (*cough Excel 97 *cough*), you have to wonder...

    --

    I'm a girl too! See naked chicks in my journal!
  67. Back Doors.. by glh · · Score: 2, Interesting

    In my experience, back doors tend to be "in the mind of the programmer" as opposed to code that was physically made to be that way. It's not that the programmer sat there and added a way to hack in-- it's just the fact that since he knows how the system works, he knows how to gain access if need be. After all, just about everything electronic can be exploited at some point.

    I think you really have to consider the intent. If someone tries to go into the code and deliberately put a back door in w/o proper decision authority, that should be considered unethical. If the client wants it tighter than Fort Knox and loses the key, it's not your fault.

  68. The Human Element by Hanashi · · Score: 1
    Like most things in the Information Security realm, it boils down to one thing: trust. Computers can only do what humans tell them to do. Somewhere there's a human involved, and you have to trust them to do the right thing. It's like Kurt Goedel's incompleteness theorem. The human element is effectively outside the system of technological security measures.

    Most companies elect to accept this risk, because otherwise they couldn't accomplish anything without people. You can mitigate the risk through performance contracts, background checks, adequate compensation and other measures, but you can never actually eliminate it.

    In my opinion, trust is the issue at the core of Information Security. This is a difficult problem, and maybe one that will literally never be solved.

    --
    Check out my eclectic infosec blog at InfoSecPotpou
  69. Of course he did by Anonymous Coward · · Score: 0

    Yes, he wrote a backdoor into your spellchecker that makes you sounds like an illiterate retard whenever you write something. See? He did it again!

  70. Backdoors in the brain by Binary+Air · · Score: 3, Insightful

    I have been developing software in some form or another ranging from ascii based games to multi-tier web applications, since I was 8. I'm now 30 and I can say without hesitation that even without explicitly coding a backdoor a "good" developer can get into and exploit a system of his/her own design and development simply as a result of an intimate understanding of the application and how it handles data. So the only way to really prevent this, if you were really that worried about it, would be to labotomize the developer or somehow wipe his/her memory. Cheers, Binary Air

    1. Re:Backdoors in the brain by valkraider · · Score: 0, Flamebait

      to labotomize the developer or somehow wipe his/her memory.

      Otherwise known as MCSE.

    2. Re:Backdoors in the brain by Jade+E.+2 · · Score: 4, Insightful
      even without explicitly coding a backdoor a "good" developer can get into and exploit a system of his/her own design and development simply as a result of an intimate understanding of the application and how it handles data
      So your definition of a 'good' developer is one who can't even code a system securely enough that they can't get in? Funny, that's my definition of a 'bad' developer.
    3. Re:Backdoors in the brain by Anonymous Coward · · Score: 0

      Flamebait? Some people don't know how to take a joke. It is supposed to be humor - if it were flamebait it would have had something about how crappy M$ software always has backdoors that any junior haxors can exploit, but Linux, BSD, and Apple are completely secure all the time even when administered by Baloo.

    4. Re:Backdoors in the brain by Binary+Air · · Score: 1

      You assume perfection of the platform, tools and language; wich of course doesn't exist. Of course any designer of a given system can "break" the system. To believe otherwise is a matter of inexperience and possibly wishful thinking. Cheers, Binary Air

    5. Re:Backdoors in the brain by Jade+E.+2 · · Score: 1
      You assume perfection of the platform, tools and language; wich of course doesn't exist. Of course any designer of a given system can "break" the system. To believe otherwise is a matter of inexperience and possibly wishful thinking.

      Of course perfect tools and platforms don't exist. But you're missing the point, perhaps out of 'inexperience and possibly wishful thinking'. If you know of a way to break the system, you fix it. You code around the hole in your platform, or you patch your tools, or whatver it takes. If you know how to break into your system, then you're not done securing it. Because if you can break it, so can anyone else. It's flawed thinking like yours that causes security problems. If you know how to break your system, and don't know how to fix it, you're probably not qualified to be building it in the first place.

  71. Everyone backdoors? by Anonymous Coward · · Score: 0


    Uh, no. As a matter of fact, a lot of us have more integrity than that. This reminds me of how liars always think everyone else is a liar too. In fact, sociopaths are a minority (whether or not they believe it).

    1. Re:Everyone backdoors? by uptownguy · · Score: 2, Funny

      In fact, sociopaths are a minority

      Sort of a tautologous statement, wouldn't you say? I mean, once they are in the majority, then their behavior is called custom right?

      --


      I would have to say that explosives are the most abused technology in all of history.
    2. Re:Everyone backdoors? by Fulcrum+of+Evil · · Score: 1

      Sort of a tautologous statement, wouldn't you say? I mean, once they are in the majority, then their behavior is called custom right?

      Speaking of tautologies...

      --
      "We returned the General to El Salvador, or maybe Guatemala, it's difficult to tell from 10,000 feet"
  72. Contract Programming and Backdoors. by TedTschopp · · Score: 2, Informative

    Occasionally I have been given a task to write a piece of software and I do not have an account on the system which I am writing the software for. The backdoor is designed to make sure test is working. So I basically put in code which basically says:

    If User = Me then
    bypass security
    else
    Security/Validation
    end if

    This way I can test the app without having to go and validate against the system which I don't have rights to. When we move from test to production, this backdoor is left in until the client validates user acceptance test(UAT) phases, at which point a second production move is done without the offending backdoor. In otherwords the backdoor is the first UAT bug reported.

    I suspect this is common for contractors.

    Ted

    --
    Fantasy remains a human right; we make in our measure and in our derivative mode... -- JRR Tolkien
    1. Re:Contract Programming and Backdoors. by EvilTwinSkippy · · Score: 1
      I suspect this is common for contractors.

      Well, contractors, volunteers, and in-house programmers. It's especially useful for debugging problems during authentication.

      Of course I wrap it in a conditional that requires the system to be in test mode:

      if $debug { if { $credantials(user) == "EvilTwinSkippy" } { bypass_security } else { validate credentials } } else { validate credentials }

      --
      "Learning is not compulsory... neither is survival."
      --Dr.W.Edwards Deming
  73. Evaluate the Importance of the Application by Greyfox · · Score: 1
    If the application is of major importance to your company, weigh the costs of a potential compromise versus hiring a small auditing group to go over the code. Not enough companies audit their code. In fact, I've only ever encountered one first hand.

    If the audit group is independent of the development group, collusion is much less likely. If the audit group is actually a group (Not one person) collusion is much less likely. If the audit group has a stable job situation (IE: They're always getting new code to audit and don't have to worry about being laid off in a couple of months) collusion is much less likely.

    I'd suggest considering criminal and civil legal action against the developer who wrote the backdoor. Pass it on to legal (You DO have a legal department, right?) and see how they feel about it. I bet they'll be happy to make his life a living hell for the next decade.

    --

    I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

  74. Interesting code (tm) by term8or · · Score: 1

    Does writing interesting code(tm) count? I used to work on distributed computing applications in strange and interesting fields that almost always required the following steps:

    1. Drill hole through firewall.
    2. Listen on port...
    3. Connect ...
    4. Run some highly unusual code written by Kevin* when the application requests it

    In practice, almost all of the systems could be cracked in less than ten seconds by a deformed and brain dead hedgehog**, if the hedgehog knew what I knew about the system.

    All the holes were documented, and minimised to the maximum extent possible. And no, I have not used the backdoors for any illegal purpose. But a lot of programmers write backdoors because they can't do otherwise; the application requires it.


    * Kevin, our resident Moron of the time (all names have been changed to protect the idiots).
    ** Also known as Kevin.

    --



    "As a writer / novelist you might want to spellcheck your sig. :) " - AC
  75. Make sure you get paid. by ClioCJS · · Score: 4, Interesting
    A friend of mine did some web-work for $12,000.

    The guy decided to be a dick about it and not pay him the money he deserved.

    Fortunately for him he put a backdoor in. He told the guy about it. Once activated the system would not work until a password only he knew was entered.

    His payment was promptly received. (He got the idea from a movie.)

    --
    -Clio
    Karma: Bad (mostly from not giving a fuck)
    Blog: http://clintjcl.wordpress.com
    1. Re:Make sure you get paid. by Drakonian · · Score: 1

      (He got the idea from a movie.)
      But was there a backdoor to the backdoor?

      --
      Random is the New Order.
    2. Re:Make sure you get paid. by unicron · · Score: 3, Funny

      I bet he did it with a Hydra..and you just know it has 1024 bit encryption piped through dual ds-3's to a residential address.

      --
      Finally, math books without any of that base 6 crap in them.
    3. Re:Make sure you get paid. by Lan-Z · · Score: 2, Funny

      "But was there a backdoor to the backdoor?"

      I think that was a gay porn title.

    4. Re:Make sure you get paid. by pnatural · · Score: 3, Funny

      but how did he pop the firewall?

    5. Re:Make sure you get paid. by unicron · · Score: 1

      Hacking while getting blown by a knockout blonde. Geez, it's like they put a camera in my house!

      --
      Finally, math books without any of that base 6 crap in them.
    6. Re:Make sure you get paid. by HankySpanky · · Score: 1

      Just the threat of such a backdoor might be enough to get paid.

    7. Re:Make sure you get paid. by Tokerat · · Score: 1


      No, It was a Gibson.

      --
      CAn'T CompreHend SARcaSm?
    8. Re:Make sure you get paid. by Isao · · Score: 2, Insightful
      The guy decided to be a dick about it and not pay him the money he deserved.

      I guess it wasn't in the contract, or the programmer would simply have sued.

      His payment was promptly received.

      If I were the customer, I would have sued for extortion. But that's just me. (Again, presuming the initial contract wasn't being violated.)

    9. Re:Make sure you get paid. by /dev/trash · · Score: 1

      12 grand for a webpage?
      Your friend was ripping him off.

    10. Re:Make sure you get paid. by ClioCJS · · Score: 1

      Well then obviously, if you were the customer, you would have deserved it.

      --
      -Clio
      Karma: Bad (mostly from not giving a fuck)
      Blog: http://clintjcl.wordpress.com
    11. Re:Make sure you get paid. by ClioCJS · · Score: 1

      A) you know nothing about the project
      B) you clearly don't know how long some web applications can take
      C) did I ever specify that the money was just for labor, and not for servers? No.

      --
      -Clio
      Karma: Bad (mostly from not giving a fuck)
      Blog: http://clintjcl.wordpress.com
    12. Re:Make sure you get paid. by frostman · · Score: 1

      The example you give is much more ethical than the other (deletion) example given by B1LL_GAT3Z.

      Disabling a product has the same immediate effect on the customer (can't use product) but without the risk of (intentionally or not) causing other, greater damage, like loss of customer records etc.

      I'm currently developing some software that I may end up selling, and it would have a per-user license, but I might sell it to large organizations. So I'm doing some thinking about how to guarantee payment...

      But one interesting question here is, if you have a backdoor to de-activate the software, how do you ensure that it's not abusable? And for that matter not removable except by you?

      Recently, as I was removing the awful, useless, and insecure "plesk" stuff from a rented server, I noticed that it was all just a bunch of scripts, and that if I were masochist enough to keep it around, the question of what kind of license I would have would be primarily a question of what I felt like telling them.

      So far the best I can think of is to make some binary piece without which all the Perl things won't work, and stick in any verification/registration/etc stuff there. I realize that's pretty hackable, but I don't want to compile all the Perl (doh!) and I want to make it so that stealing from me costs you at least the time of a high-quality programmer.

      Bah, hopefully I'll just have honest customers.

      --

      This Like That - fun with words!

    13. Re:Make sure you get paid. by SyFryer · · Score: 1

      I once dealt with a guy who tried to pull the same trick, the problem was he had no clue as to how things work.

      It was funny reading his emails about how he had the source and docs for his new web app and how I could go get fscked if I thought I would get paid, when in reality all that he had was 2-3 lines of HTML redirecting him to my dev server.

      A quick edit and redirect to the man with the bottomless hole certainly must have improved his business.

      Not quite a 'backdoor' but his visitors certainly will have seen one.

    14. Re:Make sure you get paid. by Anonymous Coward · · Score: 0

      (He got the idea from a movie.)

      Yeah, that would be "Single White Female"

      Mmmmmm-- Bridget Fonda, Jennifer Jason Leigh, computer shenanigans and delicious lesbian overtones.

      Does it get any better?

    15. Re:Make sure you get paid. by /dev/trash · · Score: 1

      Oh sorry.

      Maybe you should try this next time: JBoss

    16. Re:Make sure you get paid. by ryanwright · · Score: 1

      I guess it wasn't in the contract, or the programmer would simply have sued.

      Yeah - hire a lawyer to recover your money just so you can give the large majority of it back to him. Real smart.

      You're only the thousandth person here to slam these practices because "the courts are the appropriate method to resolve these disputes." Yeah - spend years of your time recovering a small fraction of your money. Doesn't sound fair or appropriate to me.

      How all these comments are getting modded "insightful" is beyond me.

      --
      -Ryan, with the unoriginal sig
    17. Re:Make sure you get paid. by Anonymous Coward · · Score: 0

      I like THIS approach:

      You code the project but put a timer in it.

      If your bill/contract says that you must be payed with 60 days of delivery, you set the timer to 60 days, or whatever your payment period is.

      You could even double the time, to give the user time to really get comfortable using the software and invest time in entering data to it or using data from it.

      If you receive payment within the set time period, you e-mail the customer an EMPTY file called XXXXXX.XXX or whatever you like.

      IMPORTANT: MAKE SURE TO ENCRYPT THAT NAME IN THE BINARY.

      The customer's instructions are to copy that (empty) file into your software's installation directory, and that is the end of it. The software is now completely paid for and licensed to the user. Everyone is happy.

      However, if you haven't been paid, DO NOTHING.

      When the timer goes off, the software will look for the above-mentioned file, and if it doesn't find it, the program will disable itself.

      At this point, you don't even NEED to run after the customer to get paid, if the system goes down, HE'LL CONTACT YOU IMMEDIATELY, and you can refuse to fix the problem until you have cashed the payment cheque.

      You can legitimately suspend his license, you are not held to helping a customer that has refused to pay you. Make sure that your contract reads that you are granting the customer a license to USE the software that can be revoked if payment is not received.

      Most customers will have no clue that that clause can be applied so easily and will expect that it only means that you'll send them a registered letter asking them to stop using the software, which they expect they can ignore because actually getting a lawyer and taking them to court will be such a bother. A lot of bad customers like this simply expect that you'll give up.

      And if the customer somehow finds a way around this protection, get a lawyer and go after him.

  76. Perfectly normal! by Anonymous Coward · · Score: 0

    All the code I write has a backdoor of some sort, a suble buffer overflow, or just a plain shell somewhere :)

    BUT, to prove my integrity, all you have to do is remove -DHAVE_BACKDOOR from the Makefile :D

  77. I know people by Mourgos · · Score: 1

    that start a project with planning the backdoor.

  78. ICK BackDoor is SMELLY!! by Anonymous Coward · · Score: 0

    I dont beleive in them, and as such dont code them into anything i make. I dont have the time to write something into an app that i wont ever want to use, let alone want to administrate :)

    On a side note, i do know that some hardware companies still practice little known backdoors and secret user accounts... IE Alteon Load Balancer Global ACCT that does exist, but works on every LB before a certain firmware version.

  79. Backdoor? Nah, Easter egg by MrWorf · · Score: 2, Interesting

    Backdoors are very hard to justify and also adds coding (as mentioned here before).

    However, I've been involved in projects where we've added an easter egg.

    Why? I don't know, it's fun, easy and it's cool when you can show someone that you actually was part of the development. Ofcourse, these projects were inhouse product development. I would probably not consider doing such a thing in a customer's product that I'm working with, besides, that's not what they are paying me for.

  80. Not exactly, but... by theghost · · Score: 1

    I've never put an access-granting back door into an app, but i can certainly see the benefit of having them in certain situations. Most of the time i'd rather have to tell the client they are fucked and they need to reinstall rather than leave a potential security hole, but then the stuff i write is never that mission-critical.

    (I have put in a semi-secret kill switch so that i can shut down an app rather than waiting for a sysadmin to do it for me. The sysadmins got pissed the first time i told them i had shut down the app, so now i just tell them it caught an error and shut down on its own to preserve data integrity.
    They never actually check the log to see if it's true for the same reason that they don't give me a prompt shutdown when i ask for it - they don't care about my app or my work because my immediate boss isn't their immediate boss. They just don't want anyone doing something that is supposed to be their self-given right as root.)

    --
    The only thing necessary for the triumph of evil is that good men do nothing.
  81. Ha! by praetorian_x · · Score: 2, Funny

    With so many clients deploying on Windows, who needs to waste time putting in a back door?

    Its built right into the OS.

    Cheers,
    prat

  82. For professional use only by Anonymous Coward · · Score: 1, Interesting

    I've written backdoors into web apps I've written, but usually because SOMEONE has to have absolute access to the data. It usually leads to some admin tools I've also written for the site, so that I can change data or whatever when needed. They aren't used for malicious reasons, and don't allow access to everything on the system. Although, hypothetically, if I were ever fired, it might be possible for me to get into those admin tools and issue the Apocolyse command that I've also written into the site, requiring the company to hired me back as a consultant at $125 an hour to fix things. Hypothetically. Not like that's going to happen. Really...

  83. backdoor root access by Cleveland+Steamer · · Score: 3, Interesting
    I've never written a backdoor for any of the applications I've released publicly. However, when I graduated from University and resigned from a system administrator position in one of its departments, I wrote a little backdoor program that gave me root privileges because I knew the guy who was to replace me was completely incompetent. I knew I would get to keep my account, so I wrote the program so that it would only work from my user ID.

    The program came in handy a few times. I finally deleted it about six months later.

  84. the short answer by Ender+Ryan · · Score: 4, Interesting
    The short answer to your question is, "Yes". Over a long enough timeline with enough people looking at the code, backdoors get caught. There was recently, well, maybe 1 year, a backdoor found in an Open Source database that used to be a proprietary product. The backdoor had been there for the entire life of the product. However, it took over a year after becoming open source for it to be caught.

    --
    Sticking feathers up your butt does not make you a chicken - Tyler Durden
    1. Re:the short answer by Dr.+Evil · · Score: 2, Interesting

      On the other hand, some security vulnerabilities could be carefully engineered or intentionally neglected by a malicious developer. Written carefully enough they could even look like an honest mistake... like the latest buffer-overflow in Sendmail for example?

      Then I suppose the incentive comes into play.

    2. Re:the short answer by Drakonian · · Score: 2, Interesting
      Couldn't that be an argument against open source? (In a John-Ashcroft-freedom-by-reducing-liberties sort of way)

      Product X has a backdoor. Product X is released as open source. A few vigilant hackers start pouring over it ASAP and find the backdoor and exploit it until it's found by someone in the good community. (Maybe a full year later, as you said.)

      Just food for thought.

      --
      Random is the New Order.
    3. Re:the short answer by Ender+Ryan · · Score: 2, Interesting
      Yes, I suppose so, but that's insanely short-sighted. Over the long term, you're much better off if it gets open sourced, even if there is an existing backdoor. My reasoning is that, even without the source, hackers can and probably will find existing backdoors, eventually, but the "good community" may never find it.

      But who thinks about the long term these days? Even the richest people in this country are committing all sorts of fraud for a quick buck.

      --
      Sticking feathers up your butt does not make you a chicken - Tyler Durden
    4. Re:the short answer by Anonymous Coward · · Score: 1, Funny

      Then he could hold them ransom for ... one million dollars!!

      [places pinky finger to lips]

    5. Re:the short answer by Anonymous Coward · · Score: 0

      Here is a clue for the clueless:

      John Ashcroft cannot introduce legislation into the United States Congress. He CANNOT create any laws.

    6. Re:the short answer by xZAQx · · Score: 1

      What was it? I'd like to see an article.

      --

      We dance to all the wrong songs.
      --Refused.
    7. Re:the short answer by sandman_eh · · Score: 2, Interesting
      . There was recently, well, maybe 1 year, a backdoor found in an Open Source database

      I guess you are referring to Interbase here.

      IIRC the 'backdoor' was rarely changed default system password. This combined with bootstrap caused some interesting behaviour forming a backdoor.

      In Interbase a seperate database schema is used to store database username and password pairs, unfortunely you can't access that until you are authenticated, so a backdoor was added so get round this problem.

      BTW, this is all from memory so check the archives before taking what i've said as gospel.

      --
      Master of Peng Shui.Ancient oriental art of Penguin Arranging)
    8. Re:the short answer by afidel · · Score: 1

      But the alternative is 100% trust in the company providing the software that they did not insert a backdoor and that none of their employees present or past back to the introduction of the backdoor will exploit it. If the source is avaialable then the window between backdoor introduction and patch is small and possible, also being able to see all updates to the source with something like diff means that the extra effort required to certify a new release is greatly reduced.

      --
      There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
    9. Re:the short answer by pheared · · Score: 1

      Rather be forgotten, than remembered for giving in.

    10. Re:the short answer by Blackbox42 · · Score: 1

      Patriot Act
      He introduced that one. It came through the president but he authored it and it wasn't modified by Mr. Bush.

    11. Re:the short answer by Reziac · · Score: 2, Interesting

      I've personally seen this, where what we have every reason to believe was an innocent mistake by the first developer, we think was deliberately *preserved* by the second developer for the express purpose of using it as a backdoor for malicious code (he'd expressed a desire to take revenge on "ungrateful users"). Long story short, but you get the idea.

      Fortunately, in this case the flaw was noticed and corrected by a later developer.

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    12. Re:the short answer by xZAQx · · Score: 1

      Heh, that used to be my old sig. ;)

      --

      We dance to all the wrong songs.
      --Refused.
  85. I did write a "backdoor" but... by Anonymous Coward · · Score: 0

    ... i wrote that for debugging since MS Crap system for the PocketPC wouldn't allow me to debug running programs on it (even though it SAID it could do that! == Total BS!).

    It was a basic TCP service that spitted out variables on request. And yes it was removed from the final version.

    Note; What i do with Sockets, Processes and Databases at home is none of your .biz .

  86. Wish I did... by Anonymous Coward · · Score: 0

    I often, during the course of a project, dream up ways to open a hole onto an application. So far, I haven't ever implemented any back door.

    Why, then?

    I had more than one experience where a client decided they didn't need to pay anymore. They had their product, they had control over their servers, they had lawyers and I didn't. Man, I wished I had given myself a way to shut off my work.

    But ultimately, as others have pointed out, I am caught up in meeting deadlines and making sure the application itself works flawlessly. It is rather hard to come up with a solid system if you are from the start imposing extra workarounds for your backdoor. It's the type of thing that has to be added later, if you want to be sure your code works right. And by that point, I'm usually exhausted and ready to move on.

  87. Dont need to by Anonymous Coward · · Score: 0

    I don't need to. The rest of the code for our software is so insecure, that any number of people can get unathorized access with only the least amount of know-how.
    Speaking of which, anyone need a C++ *NIX hacker? I hate my job :|

  88. MS Easter Eggs by pdrome4robert · · Score: 4, Interesting

    A microserf friend once told me MS had no policy either way on easter eggs. They were there if programmers took the time to put them there. If an easter egg can get through development, peer-review, testing, packaging, why couldn't a backdoor?

    1. Re:MS Easter Eggs by bafu · · Score: 1

      Here's something that is old news (mid-80's), but it shows how easily that sort of thing could happen. I was browsing through old RISK Forum digests recently looking for something and came across a reference to this incident. Code that a summer programmer had supposedly inserted into Access had deleted files on a newspaper columnist's computer. The news post includes the full article... here's the bit about the rogue programmer:

      Both [Microsoft's] Sanderson and Taucher insisted that the screen of threatening text, culminating in the message, "The weed of crime bears bitter fruit. Now trashing your program disk," was only meant to scare. "There is nothing in the code to cause any erasure," Sanderson said.

      They both said that the message had been removed from the product a couple of weeks ago and that I had an older version. Owners who were concerned could exchange their software, Sanderson said.

      Oh, they also said the offensive warning was inserted in the program without authorization by a "summer programmer." When it was discovered, it was removed.

      How about that! The idle threat about disk-trashing was inserted without the knowledge of this large and prosperous software company. And the threat that was supposed to merely scare innocent users somehow came alive and destroyed my files.

      You would hope that MS's screening procedures are better these days, but there is one thing you can say for sure: their codebase is a helluva lot bigger now than it was then...

  89. Banks by pubjames · · Score: 1

    I used to work for a software company that did software for banks - the big international ones. Not only that, but it was the crucial transaction processing software, the software that moves money around the world.

    What used to suprise me was that we would go to do installs at the banks sites with a binary we would take on a tape. Although the bigger banks would often check the source code, they wouldn't check the binaries we installed.

    The company was responsible for one system for one major bank that transacted hundreds of billions of dollars a day. When I'm planning my fantasy bank robbery, getting modified binaries into those key transaction systems is my method :-)

    1. Re:Banks by Anonymous Coward · · Score: 0

      If only you knew what I know.

      Lots of banks. Really, really big ones. It may actually be the same software company you're talking about, but I wouldn't want to fuel speculation too much by naming them, they're shady enough anyway. Lots of very precise ways to get around the money laundering/fraud detection code in the auditing. Guessable generators for the sesh keys, if you have knowledge of a certain secret (which does not appear in the code). Not actually backdoors as such, but put it like this - a couple of hundred minor forged SWIFT transactions later, which the bank will authenticate due to collisions and actually validate in the audit...

      I wouldn't actually dream of using it... well, maybe I'd dream a bit but I think it's more useful in place than ever being used by anyone and discovered, and the "backdoor" is right into the design, not in a place anyone other than the person who put it there would think of looking... ...if I ever decide, "fuck it all, I'm going right underground TODAY" though, at least I won't need to break my cover by working for a living ever again... ...and you know the best bit? You, reading this, don't believe me. You think I'm bullshitting. You can't believe that'd ever get past anyone... but that's exactly why it can... and one day, maybe, will...

    2. Re:Banks by pubjames · · Score: 1

      You, reading this, don't believe me. You think I'm bullshitting.

      I believe you.

      You can't believe that'd ever get past anyone... but that's exactly why it can... and one day, maybe, will...

      This kind of fraud has happened before. I don't know of any case where transaction processing software has been tampered with, but I do know that about ten years ago one of the major banks lost several hundred million dollars because someone generated false transactions on their system. The bank hushed it up because they didn't want to spook their customers. It didn't even appear in their annual report and filings. But it happened.

      It's funny but just talking about this stuff feels like a crime.

  90. It's called "out of the... by Anonymous Coward · · Score: 0

    closet prgramming"....
    Us gay programmers have been doing it for decades.

  91. Here by Bendebecker · · Score: 0

    Writing malicious code into an appliction is not only unprofessional, it is also unethical. If you haven't already, I would seriously consider firing this guy.

    --
    There's a growing sense that even if The Future comes,
    most of us won't be able to afford it.
    -- Lemmy
  92. Insurance... by TechGeek911 · · Score: 0

    One good reason that someone would write a backdoor is to insure that full payment will be made after a project has been completed. Imagine Screwing over a consultant on part of the payment, to find out that your site's been disbled!

  93. Mr POTATO HEAD! by OpCode42 · · Score: 1

    That girl's standing right over there and you're letting out all our best secrets!

    1. Re:Mr POTATO HEAD! by Anonymous Coward · · Score: 0

      Silence you!

      It's all part of the NWO. Get over it.

    2. Re:Mr POTATO HEAD! by bluecalix · · Score: 1

      Mr. Potato Head! Back doors are not secrets!

      --
      e x p e c t d e l a y . c o m
  94. They can be useful... by bhima · · Score: 1

    We use them where I work, and in the future I'll allways concider using them. But then again I do embedded stuff and one has to physically have the unit and jump through arcane hoops to open the backdoor. Also we sell the units for quite a bit more than the hardware costs so there is not much incentive for a customer to hack into it, ala the iOpener. BTW I'm hacking a telocity ADSL modem to run QS Linux has anyone got anywhere with that??

    --
    Nothing in the world is more dangerous than sincere ignorance and conscientious stupidity.
  95. I'm a real Libertarian... by Anonymous Coward · · Score: 0

    Member of the LP in CT and an Objectivist besides, and the root of this thread is correct: trust, respect, and loyalty cut both ways. The root held up his end of the deal, and his employer fucked him over. I don't blame him for being bitter. I've been in the same position.

  96. Don't call it a backdoor... by djcatnip · · Score: 2, Funny

    Call it an "Administration area"

    --
    I make these: http://beatseqr.com
  97. The Praetorians by version5 · · Score: 3, Funny

    I heard that there's this program called Mozart's Ghost that has a little pi symbol put there by the notorious hacking group, the Praetorians. Anyway, if you click on it while holding down control-shift-back-back-forward-punch, it opens up a backdoor and your screen goes all crazy. I think it let's you hack the gibson or something.

    --

    "It's Dot Com!"

  98. Does an exploit count? by Lord+Kestrel · · Score: 2, Interesting

    I used to work for a company that wrote billing software. Our billing app that we wrote had an easy way to get root on the billing box, via a simple exploit. Although it wasn't planned as that, it was discovered shortly after we shipped it, and was unpatched for years.

    As a result of this, anyone who knew our software could get in as root to any of the servers running our billing software. I haven't worked for that company in 4 years, and I don't even think they are still around, but anyone running that billing software can be compromised (hopefully no one is still using it, but you never know).

    We did have a standard user that we setup in the database as well, so we could perform maintenance, but we told them about it, and coordinated maintenance with them. That could be contrived as a back door as well though, as it did allow remote access by our company.

  99. Quaxzarron other alias. by bstadil · · Score: 1
    Addendum:

    Dear Slashdot,

    Thank you for posting this story. I was disappointed last week when I submitted same under my other Alias T. Duct Tape Ridge.

    As I stated earlier all of us monitor slasdot stories with great interest.

    PS: Just because you are not paranoid does not mean you are not being followed.

    --
    Help fight continental drift.
  100. Rememeber that movie? by scarolan · · Score: 1

    Where Matthew Broderick uses his Apple II (or whatever it was) to break into the NORAD server called WOPR? And the backdoor password is the name of the guy's son who programmed the thing?

    So much for security . . .

    1. Re:Rememeber that movie? by Anonymous Coward · · Score: 0

      So much for security . . .

      Password for the president's computer:
      'w'

    2. Re:Rememeber that movie? by stratjakt · · Score: 2, Funny

      Yeah and there was like a WAR or something because of the GAMES. Then to stop the WAR he had to play GAMES with the computer.

      I think it was called, "The Bus that Couldnt Slow Down".

      --
      I don't need no instructions to know how to rock!!!!
    3. Re:Rememeber that movie? by Cpt_Kirks · · Score: 1

      I worked for a company where a guy (Hey, Jeff) did that. I changed it to my son's name.

      The only people who could possibly profit from that backdoor would be store managers, who could use it for covering up inventory theft.

      Luckily, they're all still looking for the "any" key...

  101. My view on backdoors by Anonymous Coward · · Score: 0

    I don't like to use backdoors, I'm not "that kind of guy"... Not that there's anything wrong with that.

  102. Missing option: by bperkins · · Score: 3, Funny

    Cowboyneal is my backdoor.

    Oh, I'm sorry, I thought this was a poll.

    1. Re:Missing option: by Capt.+DrunkenBum · · Score: 1

      That is disgusting!!!

      --

      Not everyone deserves a 320i

  103. SUB7 by seeksoft · · Score: 0, Offtopic

    Sub7 for life!!! i will pwn you all -mobman

  104. Time to become a contractor! by Kostya · · Score: 4, Interesting
    You are now ready to be a contractor/mercenary. When I embarked on being a contractor, my friend who was a long-time contractor (20+ years) said after talking with me, "I think you are bitter enough now to become a contractor."

    Which is to say, most people who went into contracting did so just because of stories like you told. They got tired of being jerked around and decided a little uncertainty and paperwork was worth getting little freedom from the corporate brain washing about team and loyalty.

    Granted, many went into it because of money during the dot-com boom. They are no longer contractors now ;-)

    I'm loyal--to getting the job done, according to contract, as long as I'm getting paid. I produce results, give advice, and let the customer go his own way--even if they insist on taking themselves to hell in a handbasket.

    It beats getting all worked up over stupid stuff at work.

    I always loved the "We're a family" line I got when people tried to get me on as a FT employee. I don't know about you, but it is usually true--and they have all the problems that families have too. They can keep them ;-)

    --
    "Doubt your doubts and believe your beliefs." -- Switchfoot, Ode to Chin
    1. Re:Time to become a contractor! by Anonymous Coward · · Score: 1, Insightful

      Sorry about the AC, can't find my rarely used ./ acname.

      I love being a contractor. There are lots of benefits, but $ ain't one of them. If you want the $ then you need to make the transition from contractor to contracting company (requires steady clients).

      Certain kinds of consulting also carry the big $.

      In the UK I saw lots of people trying to get on the contracting 'gravy train'. Most of them were sub-par and just chasing the $. As soon as there was a blip in the market... wham! They're back looking for permie jobs 'cause all of a sudden it occurs to them that they have a mortgage to feed.

      Robert Kiosaki in the book Cashflow Quadrant divides people into four broad categories:
      Employees
      Self-Employed
      Business Owner
      Investor
      Each 'quadrant' has different mindsets, therefore certain personalities do better in each one. This is why you can have a CEO earning hundreds of grand a year, and still have no savings (he's a great Employee, but a crap Investor), whereas the janitor might retire a millionaire (not being paid squat diddly as an Employee, but is a good Investor).

      Employees crave the security of a regular pay-check. In return for that they work hard to make other people (Business Owners and Investors (shareholders)) rich.

      To succeed as a contractor (in the Self-Employed quadrant) you need to not need that security.

      Becoming a contractor because you got all bitter and twisted, (or you were chasing the big $) is a good recipe for financial/emotional meltdown.

      Now take your bitter friend who is successful (presumably) as a contractor. What makes him/her good in the S Quadrant and bitter about companies?
      Basically it is being a Perfectionist/Do it Yourself type.

      To succeed as a Business Owner, you need to be able to ask people to do something, and have them do it. Sounds easy right? Hmmm... Turns out to be pretty difficult (particularly when dealing with Prima Donna programmer types (of which I am one))

      To succeed as an Investor, you need to be able to do research, and control your emotions. Being a good shopper (a) knowing when a sale is on, and (b) waiting for the sale (this is why a lot of guys would be better off letting their wives control the long term investments - because they are good shoppers).

      An example is where I live, the real estate agents are all lazy scumbags. Therefore when the latest property guru breezes through town and fires everyone up, those that actually go out and start shopping around for property find that the agents are nice, but never ever ever return your calls (and yes, they're on commission... don't ask me I don't know why they aren't motivated). Most people get brassed off at this and give up. But if you think about it, its such a small hurdle to get over... Every time someone whinges to me about agents I do a little internal dance of glee because I know its making it so that those of us willing to chase them up can get all the good deals.

  105. Backdoor by Anonymous Coward · · Score: 0

    Well, I just finished reading through all the posts on this backdoor story. I have to say the troll community really let us down on this one. I mean, a story about backdoors, it should be open season for trolls. With a story like this I would expect to see no less than 50% -1 comments.

    And sure, there are tons of -1 comments, but no originality. Oh, you have the obligatory goatse links, and plenty of Jim Morrison "I'm a back door man" posts. Overall, I have to say the posts on this story have been kind of a let-down, at least for me, personally.

    PS- Imagine a beowulf cluster of these!

  106. XP rules ;-) by lastberserker · · Score: 1

    This is even stronger argument in favor of
    Extreme Programming techniques, in particular,
    pair programming - you simply cannot hide your
    backdoors long enough while constantly switching
    partners and roles.

    --
    My other Beowulf cluster is... er...
  107. Re:obligitory by Anonymous Coward · · Score: 0

    *sigh*

    i see some moderator missed the joke. hint: read it backwards

  108. Reminds me of a Deep Purple tune! by Anonymous Coward · · Score: 0

    "Knockin' at your Backdoor"
    Words & music by Ritchie Blackmore, Roger Glover and Ian Gillan

    Note: This song is about assplay. Cornholing. Dirt-roading. Rump raiding. Turd burgling. Taking a ride on the Hershey Highway. Installing Linux in your buddy's boxen. It really should be the official Slashdot anthem, except that the authors were thinking of heterosexual activities when they wrote it.

    Sweet Lucy was a dancer
    But none of us would chance her
    Because she was a Samurai
    She made electric shadows
    Beyond our fingertips
    And none of us could reach that high
    She came on like a teaser
    I had to touch and please her
    Enjoy a little paradise
    The log was in my pocket
    When Lucy met the Rockett
    And she never knew the reason why

    I can't deny it
    With that smile on her face
    It's not the kill
    It's the thrill of the chase

    Feel it coming
    It's knocking at the door
    You know it's no good running
    It's not against the law
    The point of no return
    And now you know the score
    And now you're learning
    What's knockin' at your back door

    Sweet Nancy was so fancy
    To get into her pantry
    Had to be the aristocracy
    The members that she toyed with
    At her city club
    Were something in diplomacy
    So we put her on the hit list
    Of a common cunning linguist
    A master of many tongues
    And now she eases gently
    From her Austin to her Bentley
    Suddenly she feels so young

  109. I do all the time by SensitiveMale · · Score: 1

    Sure, I write in back doors all the time.

    Sincerely,
    Ron Jeremy

  110. Backdoor Compiler by JoeSmack · · Score: 1

    Ken Thompson, co-inventor of UNIX, was given an award by ACM in 1995. In his speech he reflected on the trust we put in developers and computers.

    Imagine if the first C compiler did two wierd things.

    1. If you compile code that matched a pattern indicating it was a UNIX login command, then insert a backdoor to get root.

    2. If you compile code that matched a pattern indicating it was a compiler then insert code such that implements 1.

    Write the first evil compiler that implements 1 and 2. Then write a nice compiler but compile it with the evil compiler. You look at the source code of the nice compiler and it looks totally legit, except the binary has the same functionality as the evil compiler.

    Ship the evil binary and let Linux geeks recompile their OS source with it, complete with built in backdoor.

    The moral of the story is that source can't be completely trusted because you never know what the compiler will do. You can look at the source of the compiler, but what about the compiler that was used to compile that?

    It's a chicken and egg problem, what if the first C compiler was evil? The only way to make sure to check the security is to check the binary. But what if the hardware architecture couldn't be trusted either?

    The moral of the story is that Ken Thompson owns your box unless you wrote your own compiler in binary on a piece of hardware you designed yourself.
  111. I don't need backdoors. by Ashurbanipal · · Score: 1

    If you write an applications program, you should gain intimate knowledge of the application and the environment in which it will be executed. If you don't, your code will usually suck (but you won't even know it until the users come up the road to the castle waving pitchforks and torches).

    By applying that knowledge, a good analyst can potentially abuse the system and gain access to whatever s/he wants or needs.

    This assumes the co-operation of the system owners, but even if you are a shady type you could just pose as a janitor and do the deed.

    It's a bit different for systems programmers; they aren't constrained by application hardware and stupid management policies to the same degree that apps programmers are. But even with system utilities, it's always possible to get full access with a quick jaunt into single-user mode. For example, in my building, you could just cut power to the building, saunter in to the computer room as everyone else floods out (conveniently opening the doors for you) and re-boot your chosen node on UPS power with a Linux BBC. Create a new root-group or wheel account, reboot and whistle as you walk back out. Knowledge of the operating environment - who is in the server room when, for example - will tell you who needs to get a touch of salmonella in their sandwich twenty minutes before the big event.

    The crackers like to say "knowledge is power", but that's not really the crux of the biscuit - knowledge is potential, and how well you can use your knowledge determines the power that you exert. People who write backdoors are either ignorant or insufficiently imaginative.

  112. What counts? by Anonymous Coward · · Score: 0

    Using a code-generation tool to generate all my code for internet applications I ran into a problem area like this. The code allocated memory in several areas and did not free it afterwards. I ran tests several times to see if it would allow a more knowledgable hacker to enter the system and take control; several tests were successful.
    I alerted my supervisor, who assured me that it wasn't a problem and he took no action and insisted I did not "screw anything up" by messing with either the code or the code generation software.
    Then I alerted the person who wrote the code-generation software about the security hole, who dismissed it as I wasn't as knowledgable as he was in programming, so I obviously was doing something wrong or cheated when I hacked into the system.
    In the end, I left it there as an unexploited hole. The company may never find it, and since it is a rarely used custom application (only several hundred hits a year) on it's own small-power server, it's not much of a problem. But did leaving it there in the end count?

  113. In a previous life by Karl+Cocknozzle · · Score: 3, Interesting

    I was attached to a software package that didn't have a backdoor per se, so much as an undocumented account with a password of "a" that you could not take out of the database without doing major surgery. The software also (used to, anyways) put the undocumented account BACK into the users table and and restore the specific records to their "default state".

    Savvier customers changed the username and password (the rule required the user_id entry to stay in the db. But you could change the username/pass to keep undesirables out of the system. Yet many of the customers didn't ever even officially "discover" it... Before I left I never heard of any malicious things being done with this account, but as I told my boss the day I found out about it, "Its only a matter of time."

    I left when everybody around me started getting ".com" fever. Like, wacky. People who made $50k annually were leveraging a fortune in paper stock options to buy brand new Mercedes Benzes and hot tubs...

    --
    Who did what now?
  114. Always. Always. Always. by MyPantsAreOnFire! · · Score: 5, Informative

    I work for a small web company developing web apps for other small-to-medium sized companies. The one thing that you learn when you're in a small software company is that nobody wants to pay their bills.

    This is hard to see from a large-company perspective, because as a developer you aren't the one collecting the money, you have accountants and lawyers and rabid CEOs that make sure you get your contract's worth one way or another. But small companies don't have this option--they can't afford lawyers or even the time to spend in court. They have to find where their next paycheck is coming from.

    As a result, many of our clients have tried to jerk us around by either dragging their heels on payments or doing something underhanded like changing passwords to servers to try to lock us out and give us the finger. There have been instances where I've sent out a "it's all done, check it out" email and had the live server's passwords changed on me minutes later, follwed by a "we're not paying" response.

    Simply put, backdoors are a small company's only assurance that it will be paid for the work it has done. Given, the backdoors that I put in aren't to r00t the server or take down a whole subnet, they're limited to disabling the application that we developed. Until the client has paid their bills, it's still our code, and we have every right to put in as many backdoors as we want.

    --
    --My other sig is a ferrari.
  115. My answer by Anonymous Coward · · Score: 0

    I don't put backdoors into any programs.

  116. Do I write Backdoors? by Cruciform · · Score: 5, Funny

    Dear Backdoor,

    I'm sorry I haven't written in so long, but you know how busy things get. Maybe it's time for us to move on. I've found this great credit card database that uses default passwords. What can I say, it has so much more to offer.

    Yours truly...

    1. Re:Do I write Backdoors? by Walterk · · Score: 1

      "Dear Cruciform,

      I find it sad to hear you're dumping me for some sleazy database. What has that database to offer that I haven't? Is it that I've not paid much attention to you? Please, let us get back together!

      Yours lovingly,
      a Backdoor"

    2. Re:Do I write Backdoors? by Anonymous Coward · · Score: 0

      You must be American, because in the English speaking world we write to people (or in this case backdoors).

    3. Re:Do I write Backdoors? by Cruciform · · Score: 1

      No, I'm not American. Can't tell where you're from though, because "Jackass" is universal.

  117. Every company I have worked for... by MarvinMouse · · Score: 1

    Has had incredibly strict regulation on backdoors and "easter eggs".

    Backdoors = Instant firing. Not permitted whatsoever.

    Easter Eggs = Depends on the company, some companies I have worked for have let these go through, others fire on spot, and others actually have a process to "approve" the easter eggs before implementation.

    Either way, I was too busy programming real code to even have time to worry about coding backdoors and easter eggs.

    --
    ~ kjrose
  118. Yes and no - depends on definition by SnowDog_2112 · · Score: 1

    In a web-based hardware-monitoring product (reports on the status of hardware, does not allow changes to anything), we've built in several known ways to circumvent system behavior (including authentication and authorization) via configuration file changes. These are used internally to facilitate testing or debugging, or in the field to help with customer support.

    Some of these are in the customer documentation, and some only documented internally.

    However, these are not traditional back doors as they require access to the server. To make the change the administrator must shut down the application, change a configuration file, and start it back up. So, the application is at worst as secure as the server it is on - as is the case with many applications.

    So, no, I've never put in a "true" back door, nor has anyone on a group I've worked on (that I'm aware of). But, we've put in many ways to get around system behaviors, some of which have security implications.

    --
    Not representing or approved by my company or anybody else.
  119. Re:trust... then what mess?! by Anonymous Coward · · Score: 0

    So if you'd been as bitter then as you are now, would you have built in backdoors so you could now sneak in and hold them hostage?

  120. Yes and no by ptomblin · · Score: 2, Informative

    In the past, I've included "secret" passwords at the request of the people who'd be going to the customer sites to help out. Often times you'd find the customer wasn't around to tell you their password when you needed to quickly get in and look at or fix something. I coded a fancy algorithm where password was dynamic based on the day of the week and the month name, but our field circus guys found it too hard to remember the algorith, so I was forced to change it to "*", which I considered very dangerous.

    Another time, we had a one line message window - if you sent a message with a severity of 'w','e','s' (for warning, error, and severe respectively), the message would stay for progressively longer amounts of time before the next message could wipe it out, and it would flash different colours and beep for the more severe ones. For message type 'i' (information) it would immediately be replaced by any subsequent messages. Once when it was late at night and I was getting a bit punch drunk, I made one branch of the program put out the 'i' message "How the fuck did that happen?" followed immediately by a more informative 'e' message. Nobody ever saw the 'i' message, because it was replaced so quickly. Until one day when somebody put a scroll bar on the message window so you could scroll back and see previous message. I got a call from a trade show requesting an immediate patch. Ooops. That's the closest I've ever come to putting in an "easter egg".

    I think putting in secret backdoors to get access without telling your superiors is very bad news, and could quite easily get you fired.

    --
    The next Cmdr Taco duplicate will be ready soon, but subscribers can beat the rush and see it early!
  121. Any body with an ounce of integrity would by LoRider · · Score: 4, Insightful

    not put backdoors in the software they create. I look at this way, give the client what they want and don't worry about anything else.

    Why open yourself up to potentially losing a client or just looking like an asshole just so you can do something that your client probably doesn't want you to do.

    What happens when someone else find your back door and exploits it? What do you tell your client when they ask you about why there is a back door into their application?

    It is quite possible that you will get sued. Aside from losing your business you will lose any integrity and should be ashamed of yourself for disrespecting your profession.

    Good programmers are ethical and do what they are told.

    --
    LoRider
    1. Re:Any body with an ounce of integrity would by EverDense · · Score: 1

      Good programmers are ethical and do what they are told.

      What? since when?

      Good "programming" has nothing to do with Ethics or Doing what you are told to do. Good
      programming is about producing effective solutions to problems in software. There are many occasions where just doing what you are told to do will cause problems for your users.

      As for your "should be ashamed of yourself for disrespecting your profession". Personal integrity comes BEFORE the job.

      --
      http://jesus.everdense.com/
    2. Re:Any body with an ounce of integrity would by sporty · · Score: 1
      [Any body with an ounce of integrity would] not put backdoors in the software they create. I look at this way, give the client what they want and don't worry about anything else.

      Why open yourself up to potentially losing a client or just looking like an asshole just so you can do something that your client probably doesn't want you to do.


      When the world is filled with assholes, sometimes you gotta be one too. When you are a little fish in a big pond, you gotta play dirty jsut so you can survive vs worrying about integrety. 'cause after all, if you are out of biz due to too many people stiffing you on thie bill, there won't be much integrety to be had.
      --

      -
      ping -f 255.255.255.255 # if only

    3. Re:Any body with an ounce of integrity would by john_smith_45678 · · Score: 0

      Good programmers are ethical and do what they are told.

      So, what if you're told to code a backdoor?

  122. One of the first back doors by wcbarksdale · · Score: 3, Interesting

    and the one to which "kt" refers is described here. Truly ingenious. Even looking at every part of the source yourself can't protect you in a case like that.

  123. Never... by TheAwfulTruth · · Score: 1

    And I don't personally know anyone or heard of anyone in my "network" who has, we are professionals. Doing such a thing is beyond comtempt. Nothing less than a typical skiddie virus/trojan writer.

    --
    Contrary to popular belief, coding is not all free blow-jobs and beer. Those things cost MONEY!
  124. Nope... by Anonymous Coward · · Score: 0

    A while back, I used to work for a web development agency. The owner was the biggest cunt on the face of the planet, employee turnover was about 150%/year with about a dozen employees. I went from a junior developer, to sole developer, to lead developer in a few months. The owner even stole from me when I left, not for any gain, just general pettiness. When other employees left to start their own business, the owner asked me to crack their systems (I refused).

    I was miserable in that job, and the owner knew it, and only made things worse. I could have installed dozens of backdoors in each application I developed. I knew the servers weren't patched for years at a time because the owner refused to acknowledge he screwed up when renting servers, and refused to let me spend any time fixing them up (we were micromanaged on 15min intervals). I knew passwords to dozens of clients' applications/servers off by heart, including each and every "big" client. There was no policy of changing passwords after employees left.

    When I left, I was very bitter. I could have took that business to its knees.

    I didn't touch the servers. Why? I'm above dirty tricks like that. I may have been treated like shit, but while I was working there, I was in a position of trust (whether the owner liked it or not), so I conducted myself like any true professional would.

  125. Secure systems & bootstraping access by MrBlic · · Score: 1

    I have been pondering this problem for months now... I am creating an online microscope / informatics database that has it's own access control systems.

    The problem that I have is how do you make a system secure, and also ensure that there is a mechanism to create the first administrative account in a way that won't be considered a back door by the customer.

    The approach I have created is to have them enter an 'emergency password' when the software is installed. They can later use this emergency password to create an administrative account for themselves... or import data into the database from a previous export on another system (an xml file.)

    I store the MD5 hash emergency password in an .ini file, in a way that even if someone edited the file, they would have to restart the service in order to use the new password.

    Does anyone have a favorite technique for this sort of secure system bootstrapping? Are there any books that have approaches that are considered acceptable to people who need _realy_ secure systems?

    Thanks,
    -Jim

    --
    Celebrate Excellence!
  126. no, no, no. by ibbie · · Score: 1

    for one thing, i would really be embarrassed to hear that such a "feature" written into software i'd been developing had been comprimised.

    nevermind the fact that, if found out, you lose any bit of trust you might have earned from your customer and/or employer.

    just my $0.02 ...

    --
    The wise follow a damned path, for to know is to be forsaken.
  127. Beware consultants, backdoors, and bombs by chicagothad · · Score: 1

    In my consulting life, I directed our teams to code in backdoors to almost every system we ever built *by default*. Sometimes they were lifesavers, sometimes they were done for 'defensive' purposes (you don't pay us then....).

    Also, I would say that you should watchout for timebombs and logic bombs in code. I have two systems that I oversaw the development of under less than ideal client conditions that to this day have a capability to cripple the entire system down by passing the correct URL. Fortunately, I never was told by mgmt to utilize any of these 'features'

    More common than you might imagine...

  128. Obfuscated code by HogGeek · · Score: 1
    If I wanted to put in a back door, I would do it with obfuscated code myself...

    But I don't program as a career...

  129. Video Games by feepness · · Score: 2, Interesting
    I've worked in the video game industry and of course there are "backdoors" in all the products. These codes are part of the fun for both the dev team and the elite gamer. We have about a dozen different easter eggs in various products we release. I am always surprised to see the following as the codes show up on websites:

    • Codes we share amongst ourselves (dev team and with the testers) get out. This is obvious.
    • Some codes that I do not share amongst the team got out. And these are complicated as HELL. Like doing a series of things in the game and it having another effect minutes later that you must also know to activate. I show just a few people that these things are even possible, without sharing how. (Yes it's fun to feel cool.)
    • Some codes that others added that I do not know about show up in public.
    Conclusions: No backdoor is safe. Once released (or delivered), the code is in the hands of the enemy. Period.

    Corollary: People have way more time on their hands than they should.
  130. yo mama's so fat ... by Anonymous Coward · · Score: 0

    Yo mama's so fat, all the restaurants in town have signs that say: "Maximum Occupancy: 240 Patrons OR Yo Mama"

    Yo mama's so fat, when she ran away, they had to use all four sides of the milk carton.

    Yo mama's so fat, instead of Levis 501 jeans, she wears Levi's 1002's.

    Yo mama's so fat, when she gets in an elevator, it HAS to go down.

    When she haul ass she gotta make two trips.

    When she dances she makes the band skip.

    When she was diagnosed with the flesh eating disease the doctor gave her 18 years to live.

    She put mayonnaise on aspirin.

    Her cereal bowl came with a lifeguard.

    When she goes to the zoo the elephants throw her peanuts.

    Yo mama's so fat, she was born with a silver shovel in her mouth.

    Yo mama's so fat, she sell shade.

    Yo mama's so fat, when she crosses the street, cars look out for her.

    Yo mama's so fat, people jog around her for exercise.

    Yo mama's so fat, I ran around her twice and got lost.

    Yo mama's so fat, she gets runs in her jeans.

    Yo mama's so fat, her blood type is Ragu.

    Yo mama's so fat, when she goes to a restaurant, she don't get a menu, she get an estimate.

    Yo mama's so fat, if she got her shoes shined, she'd have to take his word for it!

    Yo mama's so fat, she has to put her belt on with a boomerang.

    Yo mama's so fat, she can't even jump to a conclusion.

    Yo mama's so fat, she broke her leg and gravy dripped out.

    Yo mama's so fat, she went to the movies and sat next to everyone.

    Yo mama's so fat, she's got smaller fat women orbiting around her.

  131. Microsoft's Crackdown by Flamesplash · · Score: 1

    This is all hearsay from stuff I remember

    A couple years ago the MS managers told all their developers that if they placed any easter eggs or any other sort of non spec'd items in their code they would be more or less fired. This came from an agreement with the government that anything in Windows that was not spec'd to be there would be considered dangerous and harmful, and the government would not be able to use Windows at all in that case.

    --
    "Not knowing when the dawn will come, I open every door." - Emily Dickinson
  132. Trusting Trust by Anonymous Coward · · Score: 0

    For an interesting take on this, read Ken Thompson's lecture on Trusting Trust.
    Don't blame me if you're paranoid afterwards :)

  133. I JUST HACKED MY COMPANY!!!!! by Anonymous Coward · · Score: 0

    After seeing this link someone posted:

    http://www.phenoelit.de/dpl/dpl.html

    I decided to try a few out on our AS/400. I was really surprised when some of them worked. Now I'm in the delemma of whether to be nice and tell Ops, or keep it to myself for a little extra job security.

  134. Shall we play a game? by Anonymous Coward · · Score: 0

    Wasn't it a backdoor that allowed Matthew Broderick to play Global Thermal Nuclear War?

    Fortunately, they were able to track down the original coder and save the day. ;^)

  135. Embrace and extend... by Anonymous Coward · · Score: 0

    MS embraced and extended Christianity to come up with the self-lobotomization tricks used on MCSE victims.

  136. Lets play devils advocate for a minute here by Anonymous Coward · · Score: 0

    I dont personally write backdoors as such, however in certain circumstances I do write phone home software.

    If a person is known to be pirating and the product phones home, my servers can send out a response (on a per ip basis) that will ask the client to send more data about its operating system environment, the environment variables in place, email addresses etc. Basically any information available to the program.

    This is totally legit in my eyes and its always written into the eula.

    There is no breaking in or liability to the user because its no "listen and login" thing but merely an effective way to control piracy.

    Additionally, these such systems dont allow for the company to get a shell on the server or do anything truely evil short of calling the local anti-piracy group on that user.

    Backdoors that are effectively listening servers are _always_ a bad idea. If you need access use standard proceedures and keep an account on the system for maintenance.

    1. Re:Lets play devils advocate for a minute here by Anonymous Coward · · Score: 0

      That's called spyware, by the way. I've seen hundreds of you petty little authors do it. Way to call attention to the keycheck, idiot - you're the reason for 100%s and why I earn a paycheque cracking...

  137. Why you never want backdoors by argoff · · Score: 5, Insightful


    1st, when I leave a company that I don't like or a company harms me - I consider that their "punishment" is not having the best man for the job - a backdoor would nullify this high ground and proove that I wasn't the best man for the job. And if a company is good to me, or I like them - than these are the last people in the world I would want to harm or compromize - so either way, it's just plain a poor way of living.

    2nd, I don't know about you, but I worked on more than my fair share of projects where I could tell that the core was written badly, but didn't have the time, resources, or approval to do it the right way myself. There are plenty of things that could go wrong that I can get blamed for even if I do everything right, the last thing I want to do is add something else that can go wrong. No thanks!

    3rd, I want denyability. When I leave a company, I want them to change the passwords, delete accounts, and for the code to be secure. The last thing I want is some breakin or failure put back on me years after the fact. There are plenty of shortcommings in life that can "catch up" with you, even if you do your darndest to be perfict. The last thing in the world I want to do is add some more to that pile.

    4th, I rely on these people for contacts, reference, and refferals. Why risk burning bridges when I don't half too. Why risk a job when if I don't want it I am free to quit. If you don't like a company, why risk going to jail for them. If I must risk going to jail, I would much rather it be for a cause I believe in like that lady who refused to go to the back of the bus.

    1. Re:Why you never want backdoors by Anonymous Coward · · Score: 0

      3rd, I want denyability. When I leave a company, I want them to change the passwords, delete accounts, and for the code to be secure. The last thing I want is some breakin or failure put back on me years after the fact.

      Until about 3 months ago, I still had a well-connected friend at my previous employer who kept me in the loop, gossip-wise. The people there who disliked me were unaware of the friendship, so this was a good source. Anyway, almost two years after I left that job, I was *still* getting blamed for things that happened, and there was even a little talk about them pursuing legal action against me-- notably after someone hacked into their Exchange server. The first time was just a defacement of OWA's main page, but a few months after that someone got access to an executive's account and sent some highly embarassing emails from it.

      I'm almost disappointed they didn't come after me, because the charges were so nebulous and since they clearly had no evidence to back them up since I didn't commit the acts, that I probably could've countersued them for harassment.

    2. Re:Why you never want backdoors by Anonymous Coward · · Score: 0

      You could probably have sued them for libel anyway.

  138. Comment removed by account_deleted · · Score: 1

    Comment removed based on user account deletion

  139. Yes, usually... by Anonymous Coward · · Score: 0

    I write internal applications for a large corporation and often leave in a backdoor. Here is the simple reason: support! When an app here is migrated to production, I no longer have access to perform tests or make changes. Oddly enough, I'm still expected to support the product and make fixes. My clients don't care that there is an 'Enterprise Standard' for security. They just want the application fixed. So I fix it. The bosses know and give it a nod and wink. Quick fixes make them look good.

    Would I do this on a product that would be exposed to the internet or go outside the company? No. But for internal coding in this company, it's a must.

  140. It's a form of security by Mustang+Matt · · Score: 1

    Our big web applications contain backdoors until we are paid for our work.

    Usually these backdoors consists of running scripts to delete the database and/or code.

    We've got it all backed up on our end, so it's simply a form of having control until we are paid without needing to go the legal route.

    --
    The man who trades freedom for security does not deserve nor will he ever receive either. - Benjamin Franklin
  141. Not All Backdoors Are Nefarious by tlambert · · Score: 5, Informative

    Not All Backdoors Are Nefarious.

    I was a senior software engineer at Whistle Communications, and later at IBM, for the Whistle InterJet/IBM Web Connections products. I did most of the last generation of email, user account management, mailing list, internal database, and other infrastructure services for the product.

    This product has back doors. But they are all explicitly guarded.

    From the front panel of the InterJet, you can enable remote management, for a short period of time. This allows a tier 1 support representative to help you configure/maintain your InterJet, while you are on the phone with them.

    This required explicit customer consent for remote Web UI based administration.

    From the Web UI, if you are logged in as "Admin", there are "secret URLs", which you can use to obtain raw access to the configuration database for much of the InterJet: all of the parts I personally wrote, and some of the rest of it, where the engineers used the standard APIs we had agreed upon for user interface and common configuration store code. This was done to work around the Web UI design, which failed to expose many useful features of the product, which we engineers knew would result in customers inability to use the product as it had been sold to them. It was likewise useful for tier 2 support, to avoid engineering escalations.

    This required explicit customer consent for remote Web UI based administration.

    Also from the front panel of the InterJet, you can enable "telnet mode". This was done by going to a particular configuration screen on the front panel, and entering a "T" (for "Telnet") on the front panel keypad at that screen. A time limited ability for a remote engineer to come in and manually access the system to diagnose and treat engineering escalations was thereby enabled.

    This required explicit customer consent for remote shell based administration.

    In addition, this mode only worked from a specific netblock of IP addresses.

    Once in at the shell, it was possible for an engineer to force any of these protections. It was common practice for a persistant problem to leave the remote access for engineers open until the problem was verified to be resolved.

    There was also a "magic" front panel sequence that would permit you to play "Pong" on the LCD display. I filed a sev-1 bug ("total loss of functionality") against the maintainer, because it did not support "Skunks" (scores of 7-0) as a victory condition. 8-).

    All of them were under direct user control, in terms of outside access.

    None of these are "proprietary" or "confidential", they just aren't useful to people without documentation.

    Other than working around the Web UI designer's intent, with the second back door, none of these really qualifies as nefarious (I would argue that working around the Web UI designers intent qualifies as "routing around the damage").

    -- Terry

  142. woo woo. backdoors. scary. by Anonymous Coward · · Score: 1, Informative

    A backdoor is a socket bound to a public interface that is undocumented.

    If the coder was good enough to handle your app, he's good enough to write a robust and secure backdoor.

    If you want to know what an app is doing when you run it, run it under strace, and you will know everything it does.

    If it's a windows app then don't even worry about it, cuz you've already lost the game.

  143. Gawd no, the only backdoor by HermanZA · · Score: 2, Insightful

    should be ssh. You certainly don't want to write your own buggy backdoor. That is just schtoopidttt.

  144. Very simple for legal recourse by GReaToaK_2000 · · Score: 3, Interesting

    If a back door is exploited and the company looses lots of money, etc... They simply go through their source integrity system and hold the coder partially responsible... Even if the programmer no longer works for the company...

    It's responsibility...

    But then again this country's general populace doesn't accept the concept of responsibility... Just look at the number of stupid lawsuits that are out there and the number of criminals that have gotten off with a good lawyer...

    my 2 cents

  145. FoxPro Command Line by dbCooper0 · · Score: 3, Informative
    I used to write vertical market apps in Fox, and I'd always include a backdoor for getting at a command line. This was not remotely accessable except for Carbon Copy or PC Anywhere.

    Back in the days of GOD (Good Ol' DOS) the variable memory need would grow too large for that reserved, needing tweaking. Or a scratch database would get corrupt from a hardware failure.

    Almost all things that could go wrong could be corrected without having to tear the code apart...because it always worked in my development systems; it only broke in production environments. The "backdoors" proved invaluable for tending to the screwups of the DEUs (Defective End Users :)- example: one of my clients had forgotten to use the AR functions and had literally MILLIONS of dollars owed to them in the system (only), all because they never entered checks received. Arghhh!

    --
    db
    Cig:
    ôô
    /`
  146. Realistically by seangw · · Score: 1

    In development I've never placed hidden back doors from the client.

    If a client doesn't pay, there are legal means of getting payment. However the smartest thing to do is credit checks prior to signing up with a client.

    Additionally, don't deliver the final release, or pieces of code until you receive full payment.

    Otherwise you are asking for trouble.

    In the many web applications I've built, there have been no "backdoors". However I also develop a level of trust with a client, and respect that trust. They are willing to give me admin / root on their machines, meanwhile I respect that, and tell them when I'm doing things, and why.

    If there's no legitimate way to upkeep your software, it's built wrong.

    -Sean

  147. code by bluness · · Score: 2, Funny

    my favorite backdoors are not those that are obvious, but those that could be passed for a simple programming error... buffer overflow..etc

  148. Remote debug yay, backdoor nay by shish · · Score: 1

    I add bits to get debugging info secretly and remotely, but I'd never be stupid enough to put a full backdoor in, lest someone discover it and use it for script-kiddieing.

    Back windows are ok, backdoors aren't

    --
    I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
  149. I've written some... by nomel · · Score: 1

    but I always put it in the readme, and require a password.

  150. Web security paper by Anonymous Coward · · Score: 0
  151. They don't know. by Anonymous Coward · · Score: 0

    That's why they are contradictory.
    The people that make official statements are not the developers.
    The right hand dosen't always know what the left hand is doing.

    1. Re:They don't know. by tmonkey · · Score: 0

      "hey stop punching yourself, hey stop that"

  152. Meta: Re: Depends on the backdoor. by Anonymous Coward · · Score: 0

    Love the sig. Seems appropriate. The Eicar probably won't trip anything because of the space Slashdot puts in though.

    1. Re:Meta: Re: Depends on the backdoor. by GoRK · · Score: 1

      Thanks :) I am thinking of maybe base-64'ing it instead, but /. probably breaks earlier than that would work also.

      ~GoRK

  153. Everyone's favorite backdoor code by Anonymous Coward · · Score: 0
    1. Re:Everyone's favorite backdoor code by Anonymous Coward · · Score: 0

      Although funny, you screwed up just a little there ;)

  154. Hmmm. Howard Roark. by namespan · · Score: 0, Offtopic

    I think there's an Ayn Rand novel with exactly this event as a plot device.

    It's not strictly comparable, though. A software application can be destroyed with no loss of materials or labor, and restored in a matter of minutes. A building can't.

    --
    Libertarianism is rich wolves and poor sheep playing gambler's ruin for dinner.
  155. Nope by zztong · · Score: 1

    I've not yet had a situation where I thought adding backdoor was going to help.

    I've removed several backdoors from code that was written by others, usually programmers that preceded me on a project. Obviously you don't want to remove a feature without making sure it's not being used first, so I always asked around or mention in a meeting that I'd like to remove a backdoor. There have been some entertaining "raised eyebrow" moments with operational staff and supervisors when they learn there is a backdoor into their system.

  156. Why? by Anonymous Coward · · Score: 0

    Why put backdoors in to ensure payment? just give the client the program deactivated, or running in limited mode where they can see all the features but not activate them, once they pay, you provide the hash to activate the program.... hmmm... seems as if Time Limited Demos/Shareware already do this.... On the other hand, if it is nessesary for a backdoor to be inserted into a program, make it impossible to find, and make it require multiple peices of information that must be present, also someone mentioned searching through the .exe file to find string values, simple enough would be to encrypt the string value in question before compling

  157. Only if asked to by JBMcB · · Score: 1

    I only put back doors into networked apps if asked to. I could care less about gaining access to some big machine, I've yet to work for anyone with cooler hardware than what's in my basement :)

    --
    My Other Computer Is A Data General Nova III.
  158. Well known backdoors? Still backdoors? by mr_zorg · · Score: 1

    We have a "backdoor" on our site, if you will. I quote it because it's only a backdoor in the sense that our customers don't login that way -- but it's well known within the company and has proper authentication on it. Does that disqualify it as a backdoor?

    Our site was originally written by a contracting shop who put in a backdoor an neglected to tell us about it. Imagine how upset we were when we found it and found they were still using it despite the contract being over...

  159. We have one... by Koldark · · Score: 1

    but that is because we are too lazy to properly add ourselves to have the same security if we would do it normally.

    --
    Mike http://thenextgenerationofradio.com
  160. Re:Always. Always. Always. by Anonymous Coward · · Score: 0

    Good points. Related to this, it is also handy to put in easter eggs that will cause an application or website to spit out credits for the work -- might come in handy when interviewing and it doesn't hurt the client a bit.

  161. One word: liability by WhaDaYaKnow · · Score: 2, Interesting

    Writing backdoors is an extremely stupid and dangerous thing to do.

    Obviously you take the risk to get fired on the spot. But of far greater risk is your liability. What if your backdoor causes (unexpected) damage to the company? Do you have the pockets to make up for that? Because you can rest assured they will be knocking at your (front) door.

    If you have to write a backdoor for 'good' reasons, make sure the company is aware of it, and there should be no problems at all.

    The 'putting in a backdoor to make sure a customer pays in time' is stupid as well. If someone writes software for me and comes back with an 'update' after we pay that removes a backdoor, that was exactly the last time that person would work for me.

    In fact, that programmer would have signed a contract that specifically states that we do not allow backdoors, but I guess not all companies think of that... Regardless, that programmer has wasted the company's time, with all sorts of (legal) consequences.

    1. Re:One word: liability by bobsledbob · · Score: 1

      Liability my ass!

      I was just going to use some moderator points on this article, but now I have to reply to this comment (which has been expressed a couple of times elsewhere)

      If a software company (notorious Microsoft comes to mind) can get away without being liable for the countless bugs that cost untold billions in damages, why do you think a company with a 'backdoor' in their product is going to be anymore liable? If push comes to shove, the company will just say it's a bug and will be fixed with the next service pack.

      No question the dude who wrote the code will get the boot, but do you really think that a bug and a backdoor are that much different?

      --
      Beware of geeks bearing formulas.
    2. Re:One word: liability by WhaDaYaKnow · · Score: 1

      Your reply makes absolutely no sense (except maybe that you where able to add some of the favorite M$ bashing).

      a software company (notorious Microsoft comes to mind) can get away without being liable for the countless bugs that cost untold billions in damages, why do you think a company with a 'backdoor' in their product is going to be anymore liable?

      a) who do you think has the deepest pockets to sue? Being liable, and being sued for it are two different things. Even though M$ may be liable, who is going to sue them? On the other hand, M$ sueing an individual because (s)he deliberatly added code that caused damage to their company is a lot more likely.
      b) courts usually consider harm done intentionally as something entirely different to something that's done unintentionally.
      c) whether it holds up in court or not, being sued for liability is NOT going to be a fun trip.

      No question the dude who wrote the code will get the boot, but do you really think that a bug and a backdoor are that much different?

      Yes, I do think so. See above.

      I work with digital video (on aircraft) which is released on our product well before it's released as DVD. The movie industry is very protective about this material. If we had a backdoor in our software which allowed me to download the video from the system (which is otherwise impossible) to an other computer, we have been assured that we will be held liable for any damage (even if the backdoor didn't directly allow it, but perhaps a bug in it). And believe me, these people don't fuck around.

      But if you want to find this out the hard way, be my guest.

    3. Re:One word: liability by bobsledbob · · Score: 2, Insightful

      You have good points...

      Frankly, I think software companies _should_ be liable for their bugs, which would obviously include liability for any backdoors. This would make a huge difference in the overall security of software across the board, but the ramifications of this thinking are another subject.

      You made a point about a bug being unintentional and a backdoor being intentional. I guess my point is that I don't see that clear cut of a difference. I have coded several bugs very well knowing they could possibly be exploited. However, when the whip is being cracked, one tends to sacrifice certain things. Not that this justifies it though!

      What's a company going to do if and when they are brought to court due to a problem with a backdoor? Aren't they going to say they aren't liable for it because it should have been removed from the production release and is therefore a bug? This seems to be a pretty strong argument for the company to take, since in general there is no liability for software security (unless stipulated otherwise via a contract or something).

      As for your particular situation with the movie industry, I don't think it's the backdoor itself that will get you into trouble, it's the fact that you've got a copy of something you shouldn't have. It doesn't matter how you got a copy of the latest movie, but that you possess such a copy. This is quite likely to be the stronger argument in court, don't you think?

      You're absolutely right as for the 'deepest pockets' point, however I don't think that's exactly on topic. In as much as it pertains to a small development firm or a contractor, you're right, don't mess with the big bucks (whether M$ or the movie industry). This is good, although a bit obvious, advice.

      --
      Beware of geeks bearing formulas.
    4. Re:One word: liability by topham · · Score: 1

      A company which releases a product with a abckdoor, even if they INTENDED to remove may still be held liable for it's exploit.

      Companies intend to produce cars without safty hazards.. but if they rush it out the door they are still liable for them.

  162. Payment Insurance by komisar · · Score: 3, Insightful

    As a lawyer and developer, I'd say back doors etc. may work for payment insurance as a practical matter, but if it comes to a legal push and shove, one might best have the explicit right in one's contract and/or have a good layer on board-- one conversant with the idea of consequential damages.

  163. P2P by Anonymous Coward · · Score: 3, Insightful

    What about all the great P2P software out there? There are alot of people downlaoding what they think is safe software, but how many back doors are in cracked software of the internet?
    just a thought...

  164. backboors can backfire. by skybuck · · Score: 2, Insightful

    I would never write backdoors in my own programs, because I like to use my own programs and if there is a backdoor in it I woulnd't trust it.

    It's like the novell tools for networking... many of novell's tools were just against their own network.

    Novell had a backdoor in case the supervisor forgot the password. This was the worst possible thing thing they did... It was so easy getting control of the network a child could do it... and then install further backdoors and login/password registration programs.

    The story about the F15's having a malfunction in case war breaks out is ridicolous... what do you think will happen when the enemy finds out how this backdoor works... then USA's F15's will be worthless...

    Same thing goes ofcourse for newer plans...

    My point is: 'any backdoor can be used against you' !

    1. Re:backboors can backfire. by SuiteSisterMary · · Score: 1

      Not if you only put the backdoor in to F-15s being built for export.....

      --
      Vintage computer games and RPG books available. Email me if you're interested.
  165. Doing this right now... by jmagar.com · · Score: 2, Interesting

    I have been pondering the implications of this type of thing for a while now. I am currently building in a backdoor AND telling the user about it. You can read more of the discussion here:

    Remote Code Hosting

  166. Bypassing bureaucracy by amcguinn · · Score: 3, Insightful
    In an organisation which does large-scale development for in-house applications (think telecoms or banking) developers have to support the software they write.

    Such an organisation is likely to have "change control" procedures to protect against the all-too-common production outages caused by careless upgrades/installations. These procedures may entail mandatory delays, sign-offs, handing over to sys admin staff, etc.

    For a developer, these well-intentioned controls can feel like an obstacle preventing him from doing his job of providing working applications to his company's users. This is particularly likely if the rules are created and enforced by remote levels of management.

    In such cases, there are a whole range of "features" which can be added, more or less openly, to an application to make it easier to correct problems and make adjustments without going through the painful ISO9000-style bureaucracy. The developers may not even think of them as "backdoors", but that's what they can amount to in practice.

    To take a ridiculous example, someone I know was instructed to develop an application that parsed and interpreted a subset of Java at runtime for certain aspects of program logic. When he pointed out that it would be easier and more reliable to dynamically load real .class files, he was told that that was no good as the class files would be "executables" and therefore need a formal software change notice, but the slapped-together interpreter would be reading "config files" which could be changed more easily. The manager in charge of the project, of course, was several layers below the managers that dictated the procedures, and found it easier to design round the restrictions than to change them.

    1. Re:Bypassing bureaucracy by _Sharp'r_ · · Score: 1
      It's stuff like this that causes us sysadmin types who have had code "handed-off" to us to make sure we code review it ourselves for a risk assessment and then prevent anyone on the development team from having any access to the production or even QA environments.

      When a developer decides that change-control is an "obstacle" and starts solving problems by connecting to production to try stuff, that just shows that they didn't do a good job of programming, error handling/logging and unit testing in the first place. If your sh*t breaks then you should have developed it so that it logs a relevent error message and fails gracefully. This will enable you to test and reproduce without having to screwup production every time you reproduce that bug that crashes the application...

      When you are responsible for 100% uptime of a production system that is critical to the company's existance and its your ass awake in the middle of the night and on the line if it ever hiccups, let alone crashes, maybe you'll have more sympathy for procedures like "mandatory delays, sign-offs, handing over to sys admin staff, etc."

      For every great developer we have in-house (and we have a few, one we even made an honorary sysadmin), we have three that don't even bother to unit test their code before checking it into version control and asking for it to be migrated. Part of this is time pressures because of idiotic management that sets deadlines first and THEN gathers requirements and creates an unrealistic project plan, but the rest is just because (I quote from our developer/honorary sysadmin) "Your code has no honor!"

      --
      The party of stupid and the party of evil get together and do something both stupid and evil, then call it bipartisan.
    2. Re:Bypassing bureaucracy by e-Motion · · Score: 1

      To take a ridiculous example, someone I know was instructed to develop an application that parsed and interpreted a subset of Java at runtime for certain aspects of program logic. When he pointed out that it would be easier and more reliable to dynamically load real .class files, he was told that that was no good as the class files would be "executables" and therefore need a formal software change notice, but the slapped-together interpreter would be reading "config files" which could be changed more easily. The manager in charge of the project, of course, was several layers below the managers that dictated the procedures, and found it easier to design round the restrictions than to change them.

      I know that situation sounds absurd, but I work for a large defense firm, and I have heard of very similar situations. I've even heard of some projects where scripts written in bona fide interpreted languages (e.g. Perl) were classified as data instead of code because it made dealing with the processes of managing them simpler. The "embedded Java interpreter" is an interesting extension to this idea. I suppose one could always go to the extreme and ship any given product with a C compiler, eh? Ah, the crazy things to which bureaucracy and excessive process can drive you...

  167. not, a backdoor, but a timeout by ceswiedler · · Score: 2, Interesting

    I was working for a company that went belly-up around 9/11. I was one of the few people kept on as a contractor, but I wasn't guaranteed that I would be paid. The product was going to be installed at a single (large) client. I put in a simple check to exit with an error message if the app was run past a date a few months in the future. I planned on eventually taking it out if all went well.

    I was at least a little clever in how I put it in; didn't make the check too obvious. But our source control system gave me away (I knew it would, but I wasn't trying to be that secure). I've wondered though, how difficult it would be to plant the change in a much older version of the source file. We were using SourceSafe, but I've never looked into the format of the actual files or how that would be done.

  168. Spyware by GrumpyGeek · · Score: 4, Interesting

    I have never been asked to write a back door, but I have been asked write code to covertly send us reports about how the customer is using our software. The motovation behind this is that our software (Health Care) is price based on the 'number of lives' covered by our system.

    My response was that I could do this, but that I thought that doing this without notfying the customer that it was being done was wrong. Stangely enough they did not argue with me, and as far as I know it has not been done.

  169. Trust? by Remik · · Score: 2, Insightful

    "How sustainable is the 'trust' between the developer and the client?"

    Trust? Who needs trust when there are contracts?

    I don't really care if the person coding my project puts in a backdoor if I can sue them into oblivion when it's discovered/used.

    -R

    1. Re:Trust? by sapped · · Score: 1

      I don't really care if the person coding my project puts in a backdoor if I can sue them into oblivion when it's discovered/used.

      Can somebody please explain to me what this huge american obsession is with suing people.?

      How about just doing things right in the first place and taking some responsibility by checking things out instead of relying on a piece of paper and a lawyer to "fix" it later on.

      Oh...I forgot. Nobody is ever responsible for their actions anymore.

    2. Re:Trust? by Remik · · Score: 1

      A contract is the only thing left in today's society that makes people 'responsible for their actions'. Trust, faith, &c. no longer cut it in our corporate world.

      How about the coder just does his job to begin with and then there'll never have to be a lawyer involved.

      -R

    3. Re:Trust? by TheLink · · Score: 1

      Doh. I'd think there needs to be a fair amount of trust (or stupidity/duress) before anybody signs a contract.

      Otherwise why waste time with a contract?

      The contract is more like insurance. If things go wrong hopefully you get some consolation.

      Unless you're hoping to make money through lawyers, and not actually via the deal itself. AKA bad faith. In which case I think people shouldn't trust you, nor make contracts with you.

      --
  170. Trust between developer and client by megazoid81 · · Score: 3, Insightful
    Theoretically, code that you didn't write yourself should not be trusted. A fairly well-known example is Ken Thompson's ACM Award lecture, Reflections on Trusting Trust, where he describes how to write a Trojan horse C-compiler:
    • First, target a specific program and specific language construct and modify the compiler code for a corresponding malicious actions (trojans).
    • Then, compile this tainted source to get a tainted binary and install it as the official compiler.
    • Then, remove the trojan(s) from the original source code of the compiler and the trageted program and compile it with the Trojan binary. The Trojan-ridden compiler will insert trojans into clean source, with no traces in source anywhere.
    I also heard unconfirmed reports that he actually did this, but somebody please tell me if you know.

    I am not aware enough about the code legacy of GNU/Linux, but is all the code in the GNU system from scratch? Does it legacy need to be checked for backdoors or are we to rely on a chain of trust?

    1. Re:Trust between developer and client by Azog · · Score: 1

      Yes, Ken Thompson really did that. And yes, even though the GNU system is written from scratch, gcc could theoretically have a built-in trojan like that.

      To be specific, gcc could detect when it was compiling OpenSSH (for instance) and insert code that would put a back door into OpenSSH. And gcc would also detect when it was compiling any version of itself, so that it could put into the new gcc the code for detecting if it's compiling OpenSSH (or itself) and inserting the trojan code.

      And if all that was done, you could take the original trojan code out of the visible gcc source code, but the trojan would stay in.

      However, I'm not worried about this, since gcc can and often is compiled by OTHER C compilers. And in fact, it often is. So if you are super-paranoid, do this:

      Start with something like an old version of Solaris. Use the system compiler to compile yourself a fresh installation of a nice new gcc from sources which you have checked for back doors.

      Then you can almost certainly trust the resulting gcc, since it would be very very hard for the old Solaris C compiler to recognize that it was compiling a gcc compiler (which didn't exist when the Solaris compiler was created) and put in a trojan.

      So now you can compile all the rest of your open-source system with your trusted gcc and be happy.

      (Since gcc works just fine as a cross-compiler, you can bootstrap yourself onto a Intel/Linux box from a Solaris machine. It's a lot of work though.)

      --
      Torrey Hoffman (Azog)
      "HTML needs a rant tag" - Alan Cox
    2. Re:Trust between developer and client by Anonymous Coward · · Score: 0

      And in fact, it often is

      Often? When do you think the last time RedHat, who ship millions of GCC binaries, compiled it from Solaris cc? And how about all those distros that just fork off RedHat? Something like this could do very well on Linux systems.

  171. The Great Wall of China by EmbeddedJanitor · · Score: 1

    was the biggest security installation ever. It was only as good as its gate guards.

    --
    Engineering is the art of compromise.
  172. Sure! by thedoktor · · Score: 1

    Sure, I have put in backdoors to my application. We need thm man. otherwise production supp does not let u have fun.

    --
    Nobody expects the Spanish inquisition....
  173. Delete Me! by Anonymous Coward · · Score: 0

    I've never created a backdoor, but when I was about to be fired by an M$ consultant turned director (yeah, that was scary) simply because I didn't like M$, I wrote a script that if I simply visited a page, it would format the drive. Had it worked, this would actually have been effective since Mr. M$ didn't believe in backup/archives.

    I never got the opportunity to test it though :)

  174. Re:Always. Always. Always. by ip_vjl · · Score: 5, Insightful

    Wouldn't the better option be to make your application expire a certain number of days after installation UNLESS a code is entered? The theory being that when you recive payment, you provide the code.

    The outcome for you is the same. If you don't get paid, the system locks them out. The outcome for the client is that honest, paying clients don't have hidden (exploitable) backdoors living in their deployed system.

  175. Greeting Professor Falken by damien_kane · · Score: 0, Offtopic

    Would You Like to Play a Game?

  176. No need by Anonymous Coward · · Score: 0

    I've put in one easter egg, which was just a way to see a list of people who worked on the code. In my experience, coders don't have to put back doors in, the constraints business places on development for the most part make it impossible to write and install a completely bullet-proof system. By the time a large project goes live, there's usually still a handful of ways in that haven't been locked down. Just by paying attention to the overall system those kinds of holes will become apparent. Of course, developers are bound by ethics and morals to document and report known security holes, but we don't have the power to close all of them.

  177. You should care. by petard · · Score: 2, Insightful

    I don't really care if the person coding my project puts in a backdoor if I can sue them into oblivion when it's discovered/used.

    If the damage the backdoor can do to you will cost you more than you could hope to recover from them by "suing them into oblivion," you'd be well served care a lot.

    --
    .sig: file not found
    1. Re:You should care. by Remik · · Score: 1

      Any properly constructed contract would allow a company to recover any and all pecuniary damages done in addition to legal costs and penalties for breach of contract.

      So, no...as long as my only concern is fiscal, and my lawyers are smart, there's no reason to care about trust.

    2. Re:You should care. by petard · · Score: 1

      You missed my point. If the potential damages to you are worth more than the worth of person/company doing the work, no amount of care in constructing the contract will protect you. Your contract may enable you to get a judgement for 100 million dollars in the case of a backdoor, but if the contractor is only worth 100 thousand dollars, no contract in the world will enable you to collect on that judgement.

      --
      .sig: file not found
    3. Re:You should care. by GlassHeart · · Score: 1
      as long as my only concern is fiscal, and my lawyers are smart, there's no reason to care about trust.

      So you would hire a 14 year old high school drop-out orphan to design a web site for you Fortune 10 company, as long as there's a proper contract? I expect that he will be one of the lowest bidders.

    4. Re:You should care. by Remik · · Score: 1

      Ahh, yes. That is assuredly true.

      I guess you also need to take into account the financial stability of the group you're working with.

      If they're a shady outfit to begin with, not only does the chance of them screwing you increase, but the chance that you'll be able to recover any damages decreases alongside.

      -R

  178. Not exactly a backdoor by Joe+U · · Score: 1

    I have worked on a web project where there are 2 undocumented URL's. The first one will pull up the version info and debugging page and the second will pull up the same info and who the software is registered to.

    This is as far as I would go.

    The information there is enough to a. debug the software if it goes crazy. and b. sue someone for non-payment. (and c. put a funny comment in for an easter egg)

    Worst case, if someone found it, they know who the software is registered to and some information about their browser.

    The problem is that many of these apps are networked. If it was a standalone app, it's not a big deal to have a way to override normal processing. When you get into systems with remote access, that's when you are asking for problems.

  179. Always by Anonymous Coward · · Score: 0

    I don't think I've ever written a web-app (and I've written, oh, I'd guess 50+ good-sized ones by now) that I didn't put a backdoor of some sort in at some point.

    They were all basically debugging and/or admin backdoors of some sort, where either they made my life easier when I was programming ("let's see, for *my IP*, just set the login and password to *this one*, and now when I restart the app I can get right back to being logged in without waiting *again* for the database lookup, etc.") or when I was admining the running app ("OK, let me insert the god-cookie here in my cookies list, with the encrypted content that the app reads and then knows to grant me access to *this* URL that dumps out who is logged in and what they are doing right now").

    Some of them I removed when we went live, some are still in there. Some were well known among my programming group, some I kept to myself so other people wouldn't mess with them (I was the sole or lead programmer on all these projects). I don't regret any of them, and don't consider any of them a security risk. None of them were ever there to grant me more access to anything -- I already had root on all these boxes!

    I almost think it's common for these things to be in there, considering the tendency of programmers to be lazy ;-).

  180. Malicious Intent by keyslammer · · Score: 1

    I think companies (and the courts) would be very foolish to persue legal actions against programmers who add backdoors unless they can show malicious intent.

    Do you really want your programmers to have to work under the assumption that they could face criminal prosection for adding debugging hooks to their code? And what about back-doors that open up as the result of discovered security holes? Who's going to admit that their code has such a problem if they could get arrested for it?

    This kind of environment will cause programmers to refrain from adding useful problem-solving tools to their code and it will end up leaving more security holes unchecked because programmers will be afraid to talk about them.

    1. Re:Malicious Intent by cyril3 · · Score: 1
      Those sorts of problems could be covered in a well written contract. As an employee you generally can't be sued for screwing up anyway, only if there is 'malicious intent'. And as a contractor you would generally be required to produce code that covered all known or reasonably knowable vulnerabilities.

      The point is that programmers should make the employer/owner aware of any 'backdoors' they are including in the code. If the employer/owner knows about it it's not really a backdoor, it's a debug hook. I suspect we all agree with that.

      But if the employer/owner doesn't know about it and somehow finds out they will naturally be suspicious.

  181. opens source security? by Anonymous Coward · · Score: 0

    How secure are open source projects against those kind of attacks? In an commercial, close-sourced project everyone has a contract with his employer and is therefore less likely to introduce back doors. How are open source projects protected against back doors? code reviews before inclusion in the code base, maybe? obviously you cannot rely on some random outside dude stumbling over the backdoor while looking at the source code.

  182. I personally know of a designed-in root exploit by Anonymous Coward · · Score: 0

    Long ago and far away, I developed network drivers for an evolutionary dead-end mutant of Unix. One of the network drivers would respond to an undocumented ioctl by elevating all the privs and quotas of the calling process. I would venture to guess that if any of these systems are still running, they are at government installations.

    My office mate had put the code in to help test something, and he waited for a while to see whether anyone would notice. No one did. He told me, and no one ever noticed in the remaining years I spent at that company, through several releases of the O.S.

    Knowing the exploit did make for some amusing moments.

  183. Open source security? by SegaVegas · · Score: 1

    How secure are open source projects against those kind of attacks? In an commercial, close-sourced project everyone has a contract with his employer and is therefore less likely to introduce back doors. How are open source projects protected against back doors? code reviews before inclusion in the code base, maybe? obviously you cannot rely on some random outside dude stumbling over the backdoor while looking at the source code!

  184. WHAT ARE YOU DOING, JIM? by cryofan2 · · Score: 1

    That girl is listening right over there, and you're talking about BackDoors? You're giving away all our best secrets!!

  185. Make sure you don't blackmail. by spinlocked · · Score: 1

    IANAL (I always read that as 'I, anal', *shudder* - but I'm from the UK where scatalogical jokes are standard issue). Here at least, I think that your friend's actions would seen as blackmail.

    If your friend had a contract with said employer, then he should obtain redress through the courts (blimey, now I do sound like a lawyer m'lud).

    I would certainly never employ someone who acted with such lack of morals and aside from the potential criminal record, I'm sure it wouldn't take much for the 'dick' to destroy your friend's credibility. Remember Bernie Shiffman? Would you knowingly give him a job? - How about after you typed his name into google?

    --
    # init 5
    Connection closed.


    Oh... ...bugger.
    1. Re:Make sure you don't blackmail. by ClioCJS · · Score: 1
      He was an independent contractor. He had to put food on his plate. The guy was screwing him over. He did the right thing & I would encourage anyone else to do the same.

      Here in america at least, the big guy always screws the little guy. Leverage is needed.

      --
      -Clio
      Karma: Bad (mostly from not giving a fuck)
      Blog: http://clintjcl.wordpress.com
    2. Re:Make sure you don't blackmail. by EvilTwinSkippy · · Score: 1
      Looks a bit like not fulfilling a contractual obligation. It's no different than the power company pulling the plug if you don't pay your light bull.

      When payment was not recieved, the contract was null and void. That is assuming you remembered to put a termination clause in the contract.

      If no contract was involved, then no harm no foul. You don't pay me, you don't get to use my services.

      As an armchair ethicist, this behavior may be an immoral response to an immoral action. But then again, so is a policy of not negotiating with terrorists. These are actions that are Ethical, but not moral. Never, never, confuse the two.

      An example the other way around is giving change to a begger. To give him change is moral, but not ethical. It doesn't serve the bigger picture. The guy is going to be there same time, same place tomarrow. After a while of getting no change anymore he'll clean up, die, or move on. Social services are in place to allow for possibility 1 and prevent possibility 2. Possibility 3 is on his own time.

      --
      "Learning is not compulsory... neither is survival."
      --Dr.W.Edwards Deming
  186. Sole support by Anonymous Coward · · Score: 0

    I'm the only person at my office that you could call a "tech", so all of the apps I write have backdoors - otherwise nothing could ever get fixed. If there were more support people here, or if anyone cared about security, I'd need to tell someone. Unitl then, I'm the only one who knows. Backdoors just make my life easier.

  187. also by SegaVegas · · Score: 1

    the fact that there's so much discussion about whether it's ethic or not bothers me to no end. yall should be discussing about how this is prevented best!

  188. Nope. by Anonymous Coward · · Score: 0

    I don't write backdoors and never will. The shear number of holes that I find that the company refuses to close due to time, apathy, or pointy haired boss temper tantrum day are ludicrious.

  189. Poker Slots by pyrrho · · Score: 1

    Back in the early 90's when I was looking for a job out of school I nearly applied for a job programming Poker Games for casinos.

    But I didn't, because I was affraid of the temptation, the mighty temptation to make a back door. (when drawing a 2 of clubs, throw all the cards out but the 2 of clubs... jackpot!)

    After which I imagined the difficulty I'd have breathing underwater.

    PS: never have made a back door, what a pain. For those that say they do for "debugging", you've got me confused, what good is that? Why not just have an account? Are you working for free -- the customer doesn't KNOW you are debugging? why?

    Just another feature to code and big security worry.

    --

    -pyrrho

  190. strcpy(), gets() etc. by concatenation · · Score: 1

    I did, before I knew better.

    --
    "5... 4... 3.. 1... OFFBLAST!"
  191. "Test Harnesses" and non-web back-doors by IBitOBear · · Score: 4, Insightful

    Most of these comments do not particularly apply to "the web" as, in my mind, a web browser is just another interface surface (like a printer or a live screen) and the IO parts of a program are only the surface.

    During the construction of a program I almost always end up writing a test harness for each significant module. Where possible I like to include the test harness inside the library for that module.

    I then, when assembling the final product, do compile time control of whether the target application does, or does not, have the hooks to branch into the test harnesses. When an application ehxibits an error that doesn't have a clear source origin I switch to the "debugging version" of a product and that brings in a fully-featured set of back doors and hacks. Clearly the dubugging version is not suitable for production.

    That having been said.

    A certian lazyness on the part of the developers combined with a sloppy mind set being promulgated by the "I can drag and I can drop so I am a programmer" school of language-constructors, debuggers, and IDEs, has led to a plague of escaped code.

    A primary example of these escapes are "cheat codes" in games. Now days, you can't even expect to sell a game at all unless it is rife with cehat codes you can include in the book. These are the "send a message to all from the console saying "I Am Rich" and you will get $100,000 credits at the start of your next (event)" things. They clearly exist so that the developers can go in and exercise the extreme limits of their design but then they are never disabled later for the production release.

    This is dumb and annoying in games. In "real" applications this is potentially catostrophic.

    But the "whats good for bob is goog dor ted" mentality causes the cheating haxor kiddies, who have seen these back channels as required parts of every program they have used growing up (e.g. the games) and now somehow think such things *BELONG* in code.

    Any culture that teaches kids to just use the cheats (the cheat codes are even commonly printed in the manuals now, and then *explained* in detail in the walkthrough & cheat book you can buy seperately) and that any program without those cheats is probably trash, should not be surprised that when those kids enter the workforce they will, as a matter of self-pride include such things in the code they then write.

    (Example: my room mate is 12 years younger than I. He can't function in a game, or at least "can't enjoy" a game, unless he has got the FAQ and walkthrough around "just in case." What has he learned from life about "working it out himself?" and what should that teach the rest of us?)

    Test harnesses are necessary for development.

    They should be expunged from production code.

    Programmers should *know* *how* to write code that doesn't change core behavior when you take out the test harnesses.

    Games and toys should not be an exception as that sets bad habbits.

    ===

    We are all doomed...

    --
    Innocent people shouldn't be forced to pay for inferior software development.
    --"Code Complete" Microsoft Press
    1. Re:"Test Harnesses" and non-web back-doors by Anonymous Coward · · Score: 0

      Cheat codes started out like you suggested; testing code accidentaly left in. Customers started to demand it, though, which is why it's even (often) mentioned in the manual.

      I find it interesting that you're advocating pursuing your own vision of good software, rather than the customers', then accusing others of laziness. Hypocritical much?

    2. Re:"Test Harnesses" and non-web back-doors by LoztInSpace · · Score: 1

      Are you seriously suggesting that using "debuggers and IDEs" automatically means you can't program? Presumably using vi and printf automatically makes you a programming god? Sheesh. If you believe that you're doing it the hard way.

    3. Re:"Test Harnesses" and non-web back-doors by IBitOBear · · Score: 1

      I amd "seriously suggesting" that in the several years that I worked at a university I have personally witnessed students write some of the worst code on the planet. Code that would never have made it *near* CPU's exection unit if not for an IDE.

      Actual Quote:
      Student 1: This isn't right.
      Student 2: Check the debugger.
      Student 1: X should be 5.
      Student 2: hmm, oh look, Y is 5...
      Student 1: (adds line "X = Y;") "good catch."

      Now in the actual conversation "X" and "Y" were longer variable names that described their apparent purposes. X and Y were not related beyond ther presence as global variables in the same program.

      This is not an exageration.

      I also regularly just poked around on the lab hard disks when I was bored.

      IDEs *DO* *MAKE* *BAD* *PROGRAMMERS* because they relieve the requirement that the neophite really understand the static state of their logic before they start hacking (classic definiton of "hack" here).

      This "any trash that works" mentality is not what I want to be the primary technique of the guy writing my new fly-by-wire car's OS.

      This is the difference between a "lab technician" and "scientist" or between a "carpenter" and an "architect". You need both, but only those qualified to design/plan should be allowed too.

      Too much "practice" with insufficent "theory" to back it up ruins, or at least grotesquely limits, a practitioner. The earilier the corruption the more difficult it is to overcome.

      --
      Innocent people shouldn't be forced to pay for inferior software development.
      --"Code Complete" Microsoft Press
    4. Re:"Test Harnesses" and non-web back-doors by EnglishTim · · Score: 1

      Surely those same programmers, devoid of an IDE would have ended up putting a line something like:

      printf("X=%d Y=%d\n", X, Y);

      in their program, and doing exactly the same thing in response?

      I think it's more that you can now compile a program so quickly that it's tempting to just compile and run it without bothering to review what you've written first.

      I don't think you should be surprised that you've seen students write some of the worst code on the planet - they *are* students, after all - with no experience of real software development.

      I also don't quite see how an integrated editor, compiler and debugger suddenly makes it possible to write crap code that you couldn't have written if you'd been using emacs, gcc and gdb...

    5. Re:"Test Harnesses" and non-web back-doors by IBitOBear · · Score: 1

      Actually, no, I don't think they would have been likely to do the printf you suggest and then jump to the same conclusion.

      The point you missed is that they, through the IDEs permiscuous display of "all" the values in scope at the time. A debugging printf of X would likely have happened, but the "Y" came from a casual look for the "5" (the value) and there is no print_every_variable_name_whos_current_value_match es_F() function call they could have used.

      They would have had to think about the variables and pick which ones to display.

      In short they would have had to ask "Why" instead of just "What."

      --
      Innocent people shouldn't be forced to pay for inferior software development.
      --"Code Complete" Microsoft Press
  192. Yes. by Anonymous Coward · · Score: 0

    I write software commercially. I write backdoor/trojans into everything, and they are ON by default, but nobody would ever find them but me and my team of five. Even the bosses don't know they're in there and they can't afford to hire extra people just to search our mountains of code on a hunch. Screw the users - if they're gonna pirate our stuff, they deserve to CRASH AND BURN. HARD. And we know who they are and we can make it happen.

    1. Re:Yes. by masq · · Score: 1

      You are one scary a**hole.

  193. this scares me! by SegaVegas · · Score: 1

    a fucking health care system that is connected to some outside network written by some company who wanted to put stuff like this in?

  194. QA is the problem by terminal.dk · · Score: 1

    A real company has procedures for change management. That is, a programmer documents what changes he is implementing, and another programmer does code review and releases the changes.

    At least this is how it should work if you work inside a company where your code might destroy production data if buggy.

    Much of the internet crap is not tested, or rather it is tested by people who has never seen a line of code. People donøt understand that better development quality will save more on less debugging time.

    Povl - Former programmer. Now inhouse security consultant.

  195. DMCA by Anonymous Coward · · Score: 0

    Lets you break into computers when people steal your software.

  196. Backdoor in College Loan management software by wawannem · · Score: 4, Interesting

    Here is something to think about, at my last job, we ran a very popular piece of software that is used to track and manage student loans for our financial aid department. One of our financial aid reps was having problems with her peecee and I sent out one of our IT support guys who was a full time student and part-time employee. He ended up calling the support desk for the piece of software in question and the rep gave him a backdoor account that was full access right over the phone. Luckily for me, the kid was honest and came back and told us about it. We all had a laugh that such an important piece of software could be compromised so easily and the support rep didn't even think twice about giving info on the backdoor to a student. Just to be safe, I periodically checked that student's account and made sure no phony changes were made. The more I thought about it, the more paranoid I became. I talked to my boss (the IT Director at the college) and found out that we really didn't have any choice in the matter, that piece of software was the only one like it. Thankfully, I don't work there any more, and I don't think the problem was ever exploited, but I wouldn't be surprised if I ever read about it. I won't divulge the information about the backdoor, but I will say that the software in question is called WhizKid and there may be college employees here on Slashdot that are familiar with it.

    1. Re:Backdoor in College Loan management software by Mr+Muppet · · Score: 0

      I work for a car finance company with a bought-in piece of loan management software.

      About a fortnight ago, me and the boss discovered a switch in the command line which, when applied liberally, allows full, unadulterated, non-stop access to everything, including a few features intended for support (like changing the user limit on the licence...)

      And all it took was five minutes with a hex editor :-)

  197. My mistake by egg+troll · · Score: 1

    In hindsight I probably should've clarified that a bit more. How about: "Backdoors left in by developers seem to be on accident rather than intentional.

    --

    C - A language that combines the speed of assembly with the ease of use of assembly.
  198. I kinda did this... by mooman · · Score: 2, Interesting

    I was subcontracted to build a Delphi app for some other folks. The payment was going to be some pocket change up front and then a percent of sales.

    Paranoid that the minute I gave them the program it was going to turn into "Mooman? We never heard of no Mooman" and screw me from the sales, I made a backdoor/easter egg: While the splash screen was showing, if you type m-o-o, the splash would change to information about my little company.

    Since the people I was providing the code to weren't Delphi folks, I figured it was a safe CYA to make sure that I got credit where it was due...

    I also wrote a perl-based self-registration CGI for them too, and in it I set up a backdoor just so I could get the count of the number of registrations.. Again, just to keep 'em honest.

    Not malicious by any stretch but I feel completely justified in what I did...

    --
    In the Portland, Ore area and like card games? Check out: http://groups.yahoo.com/group/portlandgames/
    1. Re:I kinda did this... by jmt9581 · · Score: 1

      So, did you have to use the backdoor? Did they try to screw you?

      --

      My blog

    2. Re:I kinda did this... by mooman · · Score: 1

      Did they try to screw me? Well, kinda. But not by lying about sales figures.

      It was a slightly complex situation than I first described. The whole setup was a three-way agreement between 3 different folks. First was the guy who came up with the whole idea. This was his little brainchild. But he wasn't much of a Delphi programmer, so he contracted with me to write the code. He also wasn't a marketing person so he contracted with another guy to handle sales and marketting. The three of us collaborated like a virtual company that didn't fully trust each other very much, and for good reason as it turned out.

      The sales guy kept stringing us out requesting stupid little changes and enhancements month after month, delaying the entire release almost a year! Then right at the very end it turns out that he'd been having a buddy of his writing almost an exact clone of the tool so that he could sell his version and keep all the profits for himself rather than sharing from our pie...

      Unfortunately, our contracts didn't have any sort of "non-compete" clause in them since we all were picturing things working out and all of us raking in the dough. (It was poised to be one of the first entry-level eCommerce tools on the market back in 1998. *sigh*)

      So, lesson learned. Even when someone stands to gain by cooperating with you, if they think they can gain more by exploiting you, they probably will.

      I at least later got some small karma revenge from finding out that he got mired in some other lawsuits and that his wife left him.. Oh well.. it was some good experience and one more thing to add to the resume.

      So this was a long way of saying that, yeah, they tried to screw me, but not in any way that my backdoors were useful. Turned out to be IP theft, not actual code theft.

      --
      In the Portland, Ore area and like card games? Check out: http://groups.yahoo.com/group/portlandgames/
  199. Mind-your-back door by nagora · · Score: 1
    I have put backdoors in software that I thought the client was going to try to wriggle out of paying for; I closed them once the money was in. I like to be able to pull the plug if someone scarpers.

    TWW

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  200. open source really more secure? i doubt it by SegaVegas · · Score: 1

    How secure are open source projects against those kind of attacks? In an commercial, close-sourced project everyone has a contract with his employer and is therefore less likely to introduce back doors. How are open source projects protected against back doors? code reviews before inclusion in the code base, maybe? obviously you cannot rely on some random outside dude stumbling over the backdoor while looking at the source code!!!

  201. Never by CapnFreedom · · Score: 1

    One of our customers is the U.S. military, who, surprisingly, doesn't like any backdoors or easter eggs in the software we deliver.

    At my company, implementing a backdoor or an easter egg in shipping software is a terminable offense.

  202. Hope you debug your code better than your spelling by Anonymous Coward · · Score: 0

    Just for reference:
    "prove"
    "compromise"
    "code"
    "deniab ility"
    "shortcomings"
    "perfect"
    "referrals"
    "h ave to"

    Just for reference, there are debuggers for the English language. They're called "dictionaries".

  203. Of Course! by pcguru19 · · Score: 1

    Backdoors are a fact of life. Every major vendor I've worked with calls it a "support line", or some other method to get to the servers running their apps. Microsoft W2K SP3 and XP SP1 have a "backdoor" as part of your license agreement.

    If you want something secure, put it in a filing cabinet, or write the code yourself (Of course making sure you put in an easy to remember backdoor).

    --
    STFU & GBTW
  204. Not for the military! by Rorschach1 · · Score: 2, Insightful

    Maybe it's just because I work for a defense contractor, but putting deliberate (security) backdoors in programs has never even really crossed my mind. Even with unclassified systems, it'd probably mean the end of my career. Or at the very least, it'd cost me my job and my security clearance.

    That's not to say I haven't put some undocumented features in place, just not ones that deliberately compromise security. They're simple debugging tools - an extra URI parameter that makes an ASP page report (in HTML comments) SQL statements executed and profiles execution times.

    Maybe the mindset is different in the commercial world, but here it's a given that someone else will be responsible for your code someday, that there are many eyes watching for things that don't belong.

    People get this cloak and dagger impression of security in the military... I don't think that fits at all. It's all about paperwork and documentation and following procedures and regulations. Yeah, I've got a security clearance, but I avoid having to mess with classified stuff whenever possible. In truth, most of it's pretty boring stuff, and it's a pain in the ass to deal with.

    The bottom line is that all of us here take too much pride in the quality of our work to deliberately compromise it.

  205. Re:winxp backdoor? by JaxGator75 · · Score: 1

    Why would they need a backdoor when you willingly give away the farm when you click OK during the EULA phase of install? MS backdoor = front door in broad daylight

    --
    Come and see the violence inherent in the system!
  206. Backdoors bad... Easter Eggs good?? by fzammett · · Score: 2, Interesting

    Interesting question... I have never and would never build a back-door into anything I code, unless it was approved and well-documented (some clients might want it).

    But, on the other hand, I have build Easter Eggs into systems I've written. One system that is used by thousands of users at my current employer has a silly little Snake game in DHTML if you find it, another high-volume system has Blackjack built-in.

    Neither has ever been found, but I have told a number of people, including the managers that sponsored the projects, about them (after the systems were deployed). They didn't seem to mind too much (looked at me kind of funny, but didn't really bitch).

    The question... is THAT ok? I know probably most big-time sofware has eggs, but as a matter of course, should it be acceptable, or is it generally unacceptable like back doors seem to be, judging by the general tone of the responses here?

    Many of the same arguments apply, such as extra code that could break and put blame on you... They might even be exploitable as security risks if really pooly written... And of course, it most probably was NOT in the client's requirements, so should you do it, even if your intention is not nefarious (mine certainly weren't).

    I don't know, I'm kind of torn now that I think about it. I've done it before and didn't think twice, not so sure I would in the future though. Thoughts?

    --
    If a pion (n-) collides with a proton in the woods & noone is there to hear it, does lamdba decay into the source pa
  207. that makes no sense by Anonymous Coward · · Score: 0

    okay, so here is your scenario. a former employer screws up code and hires you to help them fix it. wouldn't they give you the access you need willingly? why would you need a back door? also, how excited are they going to be by the prospect that your repair work was facilitated by a security hole? this whole scenario is a crock of shit.

  208. Yes, because I like firmware backdoors. :p by Inoshiro · · Score: 2, Insightful

    Embedded applications are the worst place ever to place backdoors. Need I point out the Alcatel DSL modem issues caused by default passwords and backdoors for Cable providers?

    At least on a computer, upgrading the software or replacing it is easy. In a fix environment, it's very bad to have any kind of insecurity.

    --
    --
    Internet Explorer (n): Another bug -- that is, a feature that can't be turned off -- in Windows.
  209. Standard policy for our company by rve · · Score: 1

    It probably does not qualify as a backdoor, but we make sure we have a fully privileged account on every system of our customers. This greatly facilitates support.

  210. Database Related by bobbinFrapples · · Score: 1

    I sometimes put one in to execute SQL statements for debugging but it could certainly be nasty if used maliciously (drops, etc.)

    ...I guess this is redundant when the DB is MS SQLServer...

  211. We have an easter egg design document by objwiz · · Score: 2, Funny

    I'm not kidding. I work for a major software publisher (who will remain anonymous so that I can keep my job) who as part of our annual design process include a design specification for an easter egg in the product. Even QA spends time testing the easter egg.

  212. Phone home by Tim+Ward · · Score: 1

    No back doors, of course, but I'm seriously thinking about putting "phone homes" into some of the things I write.

    Look, you write something, you give it to the client, you hear nothing. Is that because you've written a brilliant bug-free piece of code? Is it because each member of the client's staff has run it once and hated it and gone back to doing things the old way? Is it because nobody has run your code yet because their part of the system isn't ready?

    It's usually the last reason, of course, but I'm seriously tempted to put in a "phone home" one of these days just to find out.

  213. There are legitimate uses for back doors by tdelaney · · Score: 2, Interesting

    A good example is a web-based app I developed for our intranet. We were having trouble debugging customers problems with it (normally PEBCAK - and we'd get useless reports back from customers, and be unable to replicate the problem since we couldn't log in as them).

    So, we created a method whereby an administrator could log in as any non-administrator user by supplying the non-admin username and using their own admin password (on a page separate to the normal page). No global master password. One-way encryption of passwords.

    When someone logged in this way it was logged to the database that the customer was being spoofed (and by whom) - audit trail. Once the login check had passed the admin could act as if they were that user.

    This was considerably more secure for the customer than asking for the customer's password and telling them to "change it later" (which was what we'd had to do previously).

    This became an official feature of the app - albeit a not-very-well-known one. To use it you had to have superuser access - which usually meant that you had direct access to the back-end database anyway.

    This reduced the time required to deal with problems by a massive amount.

  214. Using a backdoor to debug is Sloppy,... by SirTreveyan · · Score: 1

    Sloppy, Sloppy! Especially if you are working on a client/server or n-tier application.

    Every Database has a 'users' table which is used to control who is loggin in. The applications I have designed also had a second 'users' table which contained application specific data about the user. One of the columns in this table is 'access level', which were usually integers 0-10. 0 was the lowest level and 10 was GODHOOD. Regular application administrators could be given a access value some where in between.

    During the log on process, query the application users table to get the 'access level'. Code in the application is executed based upon this access level. Yes, this is more work but if you are going to do it...might as well do it right. This method has several advantages:

    1. No user names/passwords are hard coded into the application.
    2. Passwords can changed periodically.
    3. The application can literally be totally different depending upon the access level.
    4. The back door is removable. Simply change the access level for that user.

    Any one have any better ideas???

    --

    SELECT * FROM User WHERE Clue > 0

    0 rows returned

  215. Back door, huh? by Anonymous Coward · · Score: 0

    Good idea!

    p.s. think 'ewoks'...

  216. Yes... by iankerickson · · Score: 1

    I admit it. I'm a backdoor man.

    I have her leave the key under the... wait a minute! I'm not going to tell all of you! Not that most of you would do much of anything beyond fix her computer and take an hour to tell her what the letters on your t-shirt mean.

    We now return you to the actual topic.

    I do know that the vendors who sell production systems DO put backdoors into their software. You'll never hear it from them, but they are there. Places to look:
    - hidden commands or parameters that are undocumented. Any vendor supplied shell commands or script interpreter is a likely place.
    - A "license server" supplied by the vendor to limit the number of seats on your LAN. Often they have training codes for classes or test codes for field service, probably also a special key to disable the license server.
    - Any vendor process listening on the network.
    - Commands that take datafiles or config files as inputs or parameters often have either hidden parameters or special files that they honor. A good example are PostScript interpreters. Almost all of them have some fun stuff squirreled away in the dictionary, and some of it explains alot. You can read the PostScript VM's dictionary like a book if you can find the interactive mode (like ghostscript's default prompt of gs>) or by reading the startup files for PostScript code (though some entries are hardcoded in a binary or lib) or by writing an EPS file to dump the whole dictionary to text file for you to leaf through later.

    For Intel and SPARC, you can download a decompiler that will turn an executable or lib into a disassembled text file. A little assembly and a lot of patience, and you can find all kinds of fun fact. The 'strings' command in UNIX also works, but it only returns what look like "strings" even if the string is AAAAA or some other junk. You can learn a lot of hidden config options from a binary with strings, which comes in handy if you take on a new job and your new co-workers have "lost" the system manual(s).

    --
    Democracy. Whiskey. Sexy. Pick any two.
  217. Backdoors all over. by maydog · · Score: 1

    What about those malicious carpenters who build homes with backdoors?

  218. I use the front door... by FatalTourist · · Score: 1

    and make everyone else use the back door! People never see it coming.

    --


    Escape Pod Films: Sketch Comedy and Web Series
  219. Telco eastern egg by DozePih · · Score: 2, Interesting

    Some years ago I worked for a really big telecom firm shipping POTS telco equipment to almost all countries in the world. We had this really smart guy who was working with a command module (a module that receives the CLI command the operator would type to configure something). During system test, one of our testers saw something in the code which looked really weired. It was not really weired but the code in this particular piece of code did something which wasn't obvious. The tester tried to enter a commad which excercised that particular piece of statements. Nothing happend. After a while he discovered this code was dependant on a specific type of hardware configuration. After this was set up he tried again to fire off the command. The reply was:

    Perre was here!

    (his name was Per, Perre is slang). He was sent to the boss and he had to take it away. But I actually think this code got out to customers. If Per reads this you might wanna fill in what really happend at Ludde's office.

  220. Encrypt Code by ibjhb · · Score: 1

    I recently designed a web application for a customer and it was build it ColdFusion. Now as it got closer and closer for them to pay me, it became apparent they were only going to pay me 7K instead of the 15K I was contracted for. So I encrypted the source code using a simple ColdFusion encryption program. Now the encryption is easily breakable, but they didn't know that. When they went to edit the code on their server it was entirely encrypted.

    I told them if they wanted the source code they had to pay me...

    Let just say I ended up getting paid pretty quickly...

  221. I just write front doors by PhilipMatarese · · Score: 1

    In any web system I've written, I've given myself a login to get in and troubleshoot early problems the client might have. Once the system is stable, I tell the client that they are now the administrator, and they should remove my login and change the administrator password.

    Every so often I log into those old systems, to check. Not one client has ever done what I told them.

    I think most computer users just care whether a system works, and don't really care about security.

  222. Something I did once... by Phroggy · · Score: 1

    I had root access on a particular web server. Somebody decided that I should no longer have root, so the root password was changed. However, my account was not deleted.

    What nobody realized, and I hadn't thought of until then, was that there was a particular script in my home directory that was run as root by a cron job every night - something to do with updating the web site, I don't remember what it was. I copied /etc/passwd, replaced the root password with the old root password (no shadow file; it was an old system), and added a line to the script that would replace /etc/passwd with my copy. It worked, and I had root again. Naturally this caused some confusion, but it was fun.

    While I was building a secure internal web site at my last job, I set it up so if you were in the admin group, it would let you run a script (I named it su.pl) that would take any username you specified and log you in as them. When I showed this to the other developers, there was some hesitation about whether this was a good idea or could get us into any trouble, but it soon became apparent that this was absolutely essential to development - how can we write and debug a tool that only a manager has access to, if we're not managers and therefore don't have access to it? It was a hell of a lot more secure than creating a traditional backdoor, since I had to log in as myself first and I didn't know anyone else's password.

    A neat trick I heard suggested once: if you're concerned about getting fired and you want to get revenge if you do, put something like a log rotation script in your home directory. If your account gets deleted, chances are your home directory will be rm -r'd as well, and the script will no longer work. Without log rotation, the logs fill the disk and the server bites the dust - and it wasn't your fault at all. ;-)

    --
    $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
    $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
  223. HIPPA! by TitaniumFox · · Score: 1

    After April 16th of this year, the HIPAA standards will go into effect for health care orginanizations. It's a set of guidelines that outline billing, among other things. One of the big issues is patient privacy. Take a look around. It's pretty interesting. Networks are required to be locked down, or the HCO is subject to an XX,000 fine for each patient privacy violation. (I think it's 35K, but I'm not sure.)

    Implications:

    802.11b? Hohahahaha. Nice try. Not until there's a better implementation.
    Backdoors? They're right out.

    All of this is nice, in theory, and I'm sure that there will be HCO's that might try to cut corners, but this is an issue that is being pushed quite a bit with respect to the technical aspects of patient data storage and access. LET THE FINES BEGIN.

    So far, 3 tech savvy docs have asked me to do a war-walk of their hospitals because they knew that they weren't going to pass muster come April, yet their administration (IT or otherwise) wasn't concerned. They simply wanted some proof that they could lay on the table, and I was one "of their techie friends." (yeah,yeah, perhaps a little risky) One was running their WiFi wide open (!!), and the other 2 were using WAP, but after an afternoon of sitting in a lobby, I got enough 'interesting' packets to yield the key. I hope it helped light a fire under someone who mattered.

    Additional links:
    Encryption / Internet Policy

    More Internet stuff

    --
    -- I'd say your post was about 3 monkeys, 18 minutes.
  224. Once.. by Anonymous Coward · · Score: 0

    I tried to write on her backdoor once, but she turned around and slapped the hell out of me.

  225. Games "Test Harnesses" by pommiekiwifruit · · Score: 1
    Unlike application software, games are often tested by a company (e.g. Sony or Nintendo) other than the developer before release, and can be withheld if they have bugs in them. In these cases, it is useful to be testing the exact same (binary) version of the software, to mitigate Heisenbugs.

    Cheat modes are often put in to facilitate testing by the various testing teams (generally the developer's team and the publisher's team rather than the manufacturers' teams). So even if it is for example a cross-platform title and has various debug/release builds, the cheat needs to be in the release builds for the testers to play it thoroughly.

    It is a bad idea to test one version and then release another to the public.

    Other "cheat codes" are used for publicity, notable "Banjo Kazooie" N64 but by their public nature these should really be thought of as part of the gameplay or difficulty setting or marketing mix rather than being back doors. The waters have been blurred between these two uses however.

  226. Stupid Typo by TitaniumFox · · Score: 1

    ...that's WEP, not WAP...

    Hello? Medical records? Yes, I'd like to get a copy of my file. What? On my cell phone? Great!

    anyway...

    --
    -- I'd say your post was about 3 monkeys, 18 minutes.
  227. Extreme? by Isaac+Azathoth · · Score: 1

    And how does that differ from normal prejudice?

    Managment using a flamethrower?

    That I'd like to see!

    1. Re:Extreme? by spoonyfork · · Score: 2, Informative

      And how does that differ from normal prejudice?

      There is compliant disposition of employment and then there is non-compliant disposition. Picture a couple of burly security guards with an empty cardboard box explaining to you that you need to turn in your security credentials and pack your personal possessions under supervision during the next 5 minutes before being "escorted" off of the premises.

      Contrast that with the picture of a large party being thrown in your name as you complete your "two weeks notice" into early retirement for a job well done after a career of successes.

      --
      Speak truth to power.
    2. Re:Extreme? by Zan+Lynx · · Score: 1

      Being fired with prejudice has you being escorted out by a security guard while you carry your box of stuff. And forget whatever you left in the refridgerator.

      Extreme prejudice is when the security guard shoots you in the head and carries _you_ out in a box.

    3. Re:Extreme? by Anonymous Coward · · Score: 0

      By that definition, every job termination that I've had to date is with prejudice.

      Then again, system administrators have waaay too much power to wreak havoc if they so desire.

      I'd do the same if I was in their position.

  228. Why bother? by programmingart · · Score: 1, Funny

    writing a backdoor? Just make sure it runs on MS products. The front door is always open.

  229. Ultimate Back Door by Lokatana · · Score: 1
    I once worked for a company who had a client who was months behind in payments. Facing serious cashflow issues, they understood that something drastic had to be done in order to keep our own company alive.

    Luckily, they didn't need anything as complex as a coded back door. We were also hosting their applications internally. I was instructed to go into the data center, hold my finger over their server's power buttons, and management told them to pay by 4pm, or their boxes would be powered off.

    Needless to say, we got paid.

    Unfortunately, the end result was they build their own data center, moved everything into their own environment, and cut all ties with us. A short while after I left the company, they went under. And this was before the dot-com bubble burst. (yeah, they didn't know how to manage an internet company).

  230. Review and Test by blair1q · · Score: 1

    Code review and testing is mandatory for software involved in any sort of safety operation.

    Any software usage that doesn't mandate code review and testing is leaving itself wide open to not only malicious coding but egregiously negligent code and to the errors that result from failure to communicate requirements clearly or at all.

    If you don't want to spend money to ensure the code is any good, you have no business complaining that it's bad.

  231. Backdoors? I do by Anonymous Coward · · Score: 0

    ...but my code is shit anyway

  232. On Ocassion by Grax · · Score: 1

    I do need back doors on ocassion but I try to put them inside an if statement so they only work on my dev machine and only on a certain day (so I don't forget to take them out and end up with a security hole).

  233. Re:winxp backdoor? by Anonymous Coward · · Score: 0

    a winxp backdoor is like inserting a win2k system cdrom and have full access without entering any passwords :D

  234. Unethical by dskoll · · Score: 1

    Putting a backdoor into code is completely unethical.

    If I ever contracted someone to write software for me, I would put a clause in the contract stating that the developer agrees to pay me $1,000,000 if it is discovered that he put a backdoor in the code. It's utterly wrong.

    1. Re:Unethical by thasmudyan · · Score: 1

      It's not only unethical but also very dangerous. People pay programmers to solve their problems, trusting them with their core business data while doing that. It's literally like having a safe built and the construction company is leaving a wooden door on the backside, as an invitation for everyone. Those things *will* get noticed, and those programmers can be lucky if the *customer* finds out, instead of a malicious hacker merrily copying data and/or formatting the system. Backdoors serve no one, ever, except maybe the enemies of the client who trusts his trade secrets into the hands of the software company.

  235. Physical access the ultimate backdoor by Gerry+Gleason · · Score: 1
    In point 1, you are talking about a weaker sense of backdoor, really just a raw administrative interface or hook to do some specific thing easier. This is not really what this discussion is about. In any case, if you have root, you can dole out sub-root priviledges anyway.

    Point 2 is totally invalid. With physical access, rooting most systems is trivial, and the rest are just slightly harder. Worst case, you pull the disk and put it in a system you have root on as a second disk. What if the miscreant disabled your backdoor before leaving too?

    Maybe I wasn't clear enough - back doors are not in and of themselves an indication of bad ethics.

    If it isn't bad ethics, then it is at least bad admin practice. At the very least it should be documented so that management knows and can have someone access it if needed. OTOH, there are ways to set up alternate access that I would not characterize as a backdoor. I've had hundreds of machines at a site that all could be accessed without password via an ssh login (with host authentication, of course) from a specific set of machines. In one environment, machines with this capability where refered to as "super-root" machines.

  236. The Ultimate Backdoor! by TrailerTrash · · Score: 4, Funny

    We all witnessed Admiral Kirk leveraging the ultimate backdoor in Wrath of Kahn!

    If it's a good enough programming practice for the United Federation of Planets, it's good enough for me.

  237. Wrong by Rui+del-Negro · · Score: 0, Interesting

    My house has a back door. Even if I'm the only one to use it, it's still a back door. It's still there and it can be used by others if they find it unlocked.

    RMN
    ~~~

    1. Re:Wrong by more+fool+you · · Score: 1
      i have a side door.

      +2 interesting kthxbai

  238. Reading Code and backdoors by Anonymous Coward · · Score: 0

    You can't ALWAYS read the code to find a back door. If you don't believe this, read Ken Thompson's Turing Award Lecture: Reflections on Trusting Trust at http://www.acm.org/classics/sep95/ It is also in Communication of the ACM, Vol. 27, No. 8, August 1984, pp. 761-763.

  239. Re:Do unto others by maximilln · · Score: 1

    Companies routinely watch employees using network administration tools (ie. backdoors). Placing an icon in the tooltray doesn't negate the definition of a backdoor. It's only natural that someone does it to them.

    And the world continues to go 'round...

    The real question is: If an employee tests the ethics of their management by tempting them and the management oversteps the line what recourse does the employee have? At what point is management criminally stalking the employee?

    --
    +++ATHZ 99:5:80
  240. Yeah, they use Macs by Anonymous Coward · · Score: 0

    And everyone knows Macs are the fastest computers on Earth. My iBook can crack all passwords on Earth in real-time!!

  241. *Don't* use a string!!! by Anonymous Coward · · Score: 0
    If you just have to hardcode a password, don't encode it into the application as anything that even looks like a string. Maybe something like this:


    if ( strlen( pwd ) == 6 ) {
    if ( ( pwd[ 0 ] == 'I' ) &&

    code omitted because of damn lameness filter...


    ( pwd[ 4 ] == 'O' ) &&
    ( pwd[ 5 ] == 'D' ) )
    {
    return( TRUE );
    }
    }

    You can muck with the order or do things like stuff the character constants into static int variables to really hide them, and if you really want to make it hard to figure out, do the password comparison code in assembler.

    I'd bet nobody without knowledge of the code would ever figure that one out - as long as you use something hard to figure out like "Eat thE 39tH *Ugly* CHIPMunk!!!" as your password.

    1. Re:*Don't* use a string!!! by shamilton · · Score: 1

      No, it would still be pretty obvious with a reasonable disassembler which takes you to the area of password comparison. Hiding things in integer constants or whatever is really not going to make any difference at all. int i = 'fart' is still going to say 'traf' inside the executable.

      sh

      --
      "[A] high IQ is like a Jeep; you will still get stuck, just farther from help!" --Just d' FAQs, c.g.a
  242. Backdoors in different code by Anonymous Coward · · Score: 0

    I've implemented a number of different projects. My experience in government development has been that backdoors are against the rules, so I did not implement them. Where I consult today, telecommunications, this is also the case - there are legal/contractual ramifications should a backdoor be uncovered.
    In private industry, I've found that my customers expected me to be able to do anything required in the system even if they forgot or didn't know the administrative password to the system. Serving the customer was the primary reason for putting a backdoor into the system.
    With the way that most systems are secured, my experience has been that hacking into root would be trivial in most production environments. Security patches can't be applied until tested and testing requires other business priorities be lowered, so they aren't installed in a timely fashion. If you are good, the patches are only 12 months behind.
    Or at least change the default DBMS DBA account and password to something non-trivial.

  243. Very OT by Iffy+Bonzoolie · · Score: 1

    I think it's: Strange Pandas Investigate Smelly Piles Of Panda Dung

    -If

    --
    Run a pencil-and-paper RPG campaign with your far-off friends: Gametable!
    1. Re:Very OT by nugneant · · Score: 1

      Just goes to show you, a low user number doesn't automatically signify brilliance or even the vaguest awareness of PC trends.

      This was a cheat code in the original PC DOOM.

      MarkGriz = +1, funny
      tevman = -1, redundant
      Iffy = -1, clueless

      Anyone who doesn't know the legend should go read it now, it's an interesting look at days gone by, when people still paid attention to USENET. ;)

    2. Re:Very OT by Iffy+Bonzoolie · · Score: 2, Funny

      You're right, how could I be so ignorant of important PC issues of the day?! You've helped me to decide: I'm leaving computers and the software industry to take up a peaceful life of contemplation. Living off the land, pumping my own water, harvesting crops. I'm obviously a failure as a technologist, so I must find an ecosystem I can truly integrate with.

      -If

      PS: I USE the NET, and pay attention to it all the time, so I don't know what you are implying.

      --
      Run a pencil-and-paper RPG campaign with your far-off friends: Gametable!
    3. Re:Very OT by tevman · · Score: 1

      actually i was referring to a game i used to play along time ago, i do know that that is a cheat code, but i have no idea where its origins were... i just thoguht i would enlighten the masses with my ambiguous post

      --
      sig is broken try again tomorrow
  244. History: Sendmail, DEBUG and Morris by JohnQPublic · · Score: 2, Informative

    We should never forget that the first big Internet worm spread itself largely though a back door written into sendmail. The author, Eric Allman, deliberately put in two backdoors as SMTP commands, "DEBUG" and "WIZ", one of which (DEBUG) was used by Robert Morris's worm. While Google can't seem to locate it, there was a contemporary statement by Allman that the reason for those two commands was a Berkeley sysadmin who wouldn't give him privileges to update sendmail, so he did it himself, the hard way.

    Anyone who writes a backdoor should be fired ASAP and the door should be closed. Failing to do so can easily make your company liable for damages caused by someone using it. It's a miracle that Allman didn't get prosecuted with Morris - he probably would today, but the legal folks were more clueless about computing risks in those days.

  245. mind popper by bumby · · Score: 1

    Goatse just poped up my mind...

    speaking of open backdoors and such...

    --
    Hey! That's my sig you're smoking there!
  246. Giving the fox the keys to the henhouse by Anonymous Coward · · Score: 0

    Backdoors are a good move for independent developers, and not because of debugging purposes. More often than not, when someone commisions a programmer to do a project, they get about two or three weeks work out of him and then walk off with the finished code without paying. It's happened to quite a few people I know. They develop the apps, deploy them on their client's servers, and then never get paid. One guy had his erstwhile employer claim bankruptcy. He lost his car and his house. Then he started getting POST notifications from his software (debugging routine). Apparently the "bankrupt" company had taken what he wrote - line for line - and then sold the codebase to at least 15 other companies.

    Besides the technical, there are very few resorts for the consultant that gets the shaft. Most of them are living from paycheck to paycheck these days. You think they can afford a lawyer?

    Its fine for some of you to get self-righteous and say "backdoors are bad!" Get screwed a few times and you too will be investing heavily in remote administration routines.

    Moral of the story: get the money up front.

  247. whtrbt.obj by Anonymous Coward · · Score: 0

    Remember Jurassic Park?

  248. Console games with backdoors by Anonymous Coward · · Score: 0

    There is a Playstation game with a back door that allows any copied CD to be put in and played.
    The back door also works on the PS2 (in PS1 emulation mode) when running the same game. Could this be the first example of a multiplatform back door?

  249. standard corporate backdoor... by Anonymous Coward · · Score: 0

    Some years ago when I was working for a Big Company (hence the AC post) I was the most computer-literate person in my department.

    It happened several times that someone gave me their password so I could help them do something from my computer, or log into theirs when they were at home, or somesuch. I never *asked* for a password but people often gave theirs to me.

    Including my Pointy-Haired Boss.

    Now, granted, the PHB was not root, but I still could have logged in and "been" him for meetings, e-mails, etc.

    I almost gave in to the temptation once... PHB had disappeared (was being fired, but Upper-PHB wouldn't tell us what was up) and I telnetted and was all set for "more /var/mail/phb" but in the last second ethics/Fear-of-a-competent-sysadmin got the better of me.

    I bet this has happened to a lot of people here...

  250. Fire the bastard ... by void* · · Score: 1

    and fire him fast.

    I've never written any backdoors into any of the code I've written. It's entirely unethical. The fact that he took such an action is proof that he's not ethical, get rid of him.

    --


    Code or be coded.
  251. I don't by sirshannon · · Score: 1

    I don't because of hte lack of time and the fear of being sued/losing my reputation after I forget to remove it.

  252. Job Security (was Re: Deadlines) by DaTreeBear · · Score: 5, Interesting

    I saw first hand how back dooring software could provide job security for one developer.

    I worked at a company that produced some very complex financial and utilities management software. They needed a way to have these two applications talk to each other and their solution was a daemon to act as a conduit between the two. Since it had to assume user privs the daemon was set to run root suid.

    The code had been in production for quite some time when it was assigned to developer to maintain. The code was a mess (it had been written originally by people unfamiliar with programming in the Un*x environment). The developer was tasked with cleaning up the code if he could. Since they were very busy there was little or no supervision over him. As long as the daemon worked everyone was happy.

    Eventually the development department decided to restructure and investigated letting this guy go. He had a reputation of being a bit of a hacker so they came to me (I being the Un*x/Network admin at the time) to see how we might protect ourselves from reprisals should he be let go.

    I was fairly confident that my systems were tight. The biggest weakness as I saw it was this daemon. So I checked out the source code and started going through it. As I did, I discovered that this simple daemon had developed some new and interesting features. Along with it's normal duties, it also doubled as a telnet daemon (you could telnet to the listening port and login just as in telnet - except this one would ignore /etc/securetty thus allowing remote root logins over an unencrypted protocol). Another feature was it's ability to tunnel other ports through it's own listening port.

    The code was too convoluted for me to get a complete grasp on it in the time alloted. I went back to the VP of development, pointed out what I had found, and suggested that he would need to have every piece of code this guy had worked on audited to make sure it was clear of back doors. He visibly paled. The developer in question had been there for over 5 years by this point and had touched nearly everything at one time or another.

    In the end they simply moved him to another department (he is still there as far as I know). They felt it was too cost prohibitive (and dangerous) to let him go.

    They never did tell their customers about these gaping security holes either.

    Lessons learned:

    1. Never trust code you haven't audited yourself. I had a daemon running on my servers that was allowing remote root logins and I didn't even know it.
    2. A lack of integrity can be rewarding.
    3. Customers are WAY too trusting of vendors.
    1. Re:Job Security (was Re: Deadlines) by Vulture_ · · Score: 2
      A lack of integrity can be rewarding.

      In the short term. In the long term, a lack of integrity gets you screwed. From your account I doubt anyone at your company trusts this guy anymore. It may be possible to even get the guy jailed for what he did, let alone fired (once you've audited everything).

      Customers are WAY too trusting of vendors.

      The thing about computer security is that a lot of it is based on trust: trust of vendors, trust of sysadmins, even trust of janitors. The pointy-haireds in most companies clearly do not understand this, and they get bitten repeatedly because of their ignorance. Employees capable of damaging your company (as in this backdoor) must not be motivated to do so. To do this, they must be treated with respect, and be strongly rewarded for company loyalty. Most companies instead treat their engineers like condoms: they use them up, then throw them away after they've made the company a few billion in profit.

      If your employees feel safe at your company, they aren't going to risk their jobs by putting backdoors into the code they have write access to, and they aren't going to have any reason to do so anyway. Isn't that better for the company than risking massive damage every time things get hard?

      --

      The only way the typical /.er can pick up a chick is with a forklift. -- AC

    2. Re:Job Security (was Re: Deadlines) by Anonymous Coward · · Score: 2, Insightful

      How could you have the guy locked up? He added some features to a program; that is not against the law. If you want him locked up, he would have to use these features to gain access to the computer.

      Hell I added a programming language to an in-house app that we developed; should I be locked up? No one asked for the language so it must be a bad thing, and I must be punished.

    3. Re:Job Security (was Re: Deadlines) by Anonymous Coward · · Score: 0

      Dont you portscan your own machines?

      Firewall?

      Fire you both!

    4. Re:Job Security (was Re: Deadlines) by DaTreeBear · · Score: 3, Informative

      When I said my servers were running a daemon that allowed remote root logins, I wasn't meaning in the sense that they were open to Internet at large.

      All of the servers I was dealing with were on our internal LAN and behind our firewall. The application in question was a daemon that was supposed to listen on a given port. In fact, we had scans set up to monitor and alert us if the service went down. So our portscans showed it as a listening port as it should have. We would have had to put a sniffer against it to see that it was passing traffic that it wasn't supposed to.

      I am not saying I couldn't have detected that the daemon was doing a bit more than it ought to but it wasn't quite as simple as you suggest.

    5. Re:Job Security (was Re: Deadlines) by corecaptain · · Score: 3, Insightful

      This is an interesting situation. If I was the
      manager and had a hint that any of those backdoors
      were likely intended for malicious access I would
      have called this guy in and told him exactly what
      was found - put it up on a projecter and review
      the lines of code - for example the code allowing telnet access over an unsecured port. Then I would have warned him that if anything untoward
      happens to the system - i mean if suddenly a process core dumps, the database gets corrupted - he is the first person we are going to go looking for. Then I would have fired him. The risks are too great to leave someone like this on staff.

      Imagine this guy goes on to do something very costly to the business - the manager is going to be extremely responsible for letting this guy keep his job. I wouldn't take that kind of risk.

      I would say cut your losses, take some economically feasible defensive actions, and then get rid of the cancer.

    6. Re:Job Security (was Re: Deadlines) by Anonymous Coward · · Score: 2, Insightful

      I'd have made him a part of the new 'code review' team, and made him explain to the group what his code was doing.

      If nothing else, it would show that people were on to him, and potentially embarass him.

    7. Re:Job Security (was Re: Deadlines) by lanclos · · Score: 2, Insightful

      The real lesson you needed to learn:

      1. User apps should never be setuid root. Ever.

    8. Re:Job Security (was Re: Deadlines) by CreatorOfSmallTruths · · Score: 1, Interesting

      wow. great post man.

      it had been written originally by people unfamiliar with programming in the Un*x environment

      What do you mean by unfamiliarity with environments? I am a windows programmer who write programs for Solaris as well. I haven't seen any difference in the implementation (except for the obvious win32 / POSIX differences). Please tell me more.

      1.Never trust code you haven't audited yourself. I had a daemon running on my servers that was allowing remote root logins and I didn't even know it.

      .. Or simply use a programming language which doesn't go deep enough to cause problems (some "sand boxed" pl).

      Customers are WAY too trusting of vendors.

      ... That is correct, but what else can they do? there is so much one can learn in a life time, so if someone went and specialized in customer service for example, he wouldn't have the time to learning how to program, and obviously not enough time to learn how to code well.

    9. Re:Job Security (was Re: Deadlines) by RichLooker · · Score: 1

      So many of you people display a typical American way of thinking : The less we trust people, the less the risk of them inflicting harm upon us.

      IMHO : Distrust yields low moral standards.
      Trust leads to responsibility leads to integrity.

      --
      "And you are dying so slowly, you believe to be living" - Bertrand Besigye
    10. Re:Job Security (was Re: Deadlines) by kraksmoka · · Score: 1

      actual security, computers or otherwise is just an illusion. the concept of security relies entirely on trust. just the way it is, has been and will always be.

      --
      "You never want a serious crisis to go to waste." - Rahm Emanuel
    11. Re:Job Security (was Re: Deadlines) by Enzondio · · Score: 1

      So many of you people display a typical American way of thinking : The less we trust people, the less the risk of them inflicting harm upon us.

      Perhaps that is true. However, blind trust can be a very dangerous thing as the original poster indicated.

      Trust must be earned and should not be blindly given by default. This is of course why reputation is so important as some other posted mentioned this guy will likely gain a bad reputation from these kind of activities.

      If someone is unproven I don't think it's unfair to be wary of trusting them blindly.

  253. My Greatest Achievement at NYU by gz718 · · Score: 1

    http://homepages.nyu.edu/~teg205/final/Game.html

    Hit the DEL key so you can see what you are typing. Then type "KRADRULES" in honor of the demo group, K-Rad Productions. Hit ENTER and walk around the map.

    I still can't believe none of my project members ever noticed this in the code.

  254. Re:Always. Always. Always. by MyPantsAreOnFire! · · Score: 1

    Yes and no--yes, I like the idea of having something disable even without my manipulation, but no, there are more tricks that clients like to use, specifically, other developers.

    A fun little thing they like to do is to hire other developers to come in and mess with things in your code, like turn off expiration mechanisms. They pay another developer to find it, and turn it off. This way, the only thing they've paid for is the time of the second developer.

    I guess I should qualify my use of backdoors--backdoors that only you, as a developer, know exist. If the client has no idea that you have backdoors, or what those backdoors are, they can't hire someone to get rid of them.

    --
    --My other sig is a ferrari.
  255. Backdoor Man: Trust .vs. Security by ElitistWhiner · · Score: 2, Insightful

    Backdoors are coded for a reason. Obviously, the job didn't call for it. Call the FBI. You are not equipped to discern whether it was inconsequential. That backdoor served a purpose.

    Nextime, structure your coding away from needing "trust" and "detrimental reliance".

    Backstory: I had an entire project move off-shore through a backdoor via a coder. The project reappeared *whole* complete with the project application and name .com'd running as a pay-for-service business.

  256. It's all about quality of life, man by Kostya · · Score: 3, Interesting
    Your reading too much into a tongue and cheek statement.

    What my friend meant was that it usually takes a good amount of bitterness to make anyone consider contracting. It's a scary step and most are intimidated by their manager's comments about "contractors have no benefits".

    That's all it meant--i.e. "perhaps you are now bitter enough to take a risk". But what you said still applies. I had many friends who were bitter enough to give it a try. Only one friend of mine did and is still doing it.

    My comment was the same thing: if you feel that betrayed, realize there are other options.

    As for me, I did it because I was fed up with flushing my life down the drain in salaried positions. When I get paid by the hour, I find I get more equitable treatment. Employers *think* about what they want me to work on. And usually they are more serious--since my time equals money in a very easy to use formula. And I don't feel like I am being cheated when I get a heavy work load--more hours equals more compensation.

    Less pay or not, salary is for suckers. Even if contracting is making half the money, right now pay is down across the board and salaried employees are being asked to work twice the hours. So do the math.

    (OTOH, during the dotcom days, I made some serious money. Ah, things will never be like that again *g*)

    For me, contracting is about quality of life--as in, I have one now.

    --
    "Doubt your doubts and believe your beliefs." -- Switchfoot, Ode to Chin
    1. Re:It's all about quality of life, man by nzhavok · · Score: 1

      OT but got any tips for people starting contracting apart from being bitter and not trusting anyone? Serious question.

      --

      He who defends everything, defends nothing. -- Fredrick The Great
  257. Great, another person that blames games by rolfwind · · Score: 1

    for societies ills. Look, if the parents of that child can't teach him the difference of real life and fantasy play they are to blame. When that kid grows up and still can't distinguish the reality/fantasy he'll eventually get a real hard smack where he'll learn that he just can't hit the reset button. Blaming games is not the answer for everything. Blame the people who do stupid things.

  258. voting by zogger · · Score: 2, Interesting

    --main reason I am against computerised voting. I'd bet a LOT there's all sortsa nifty "features" in the code that got "reviewed" and judged "ok".

    But, it's just so gosh darn conveninet to have the computer vote for me! And it's so modern and techy trendy! And "they" wouldn't do anything to affect a vote would they? I mean it's not like anything as important as control of a state or the world's most powerful country is actually enough motive and incentive for the nice people at E-VOTIN'TECH.con Inc. to do naughty things, is it?

    Nawww-never happen in a billyun years, people are all honest, rilly and trully!

  259. Re:MS Easter Eggs - their new policy by danshapiro · · Score: 1
    As of late in the Windows 2000 product, introducing an easter egg was a firable offense. Basically the DOD said "Do you have any easter eggs", Brian Valentine (group VP) said "no", and then told the dev team to rip out any that were there and not introduce any more.

    --dan

    --
    This posting is provided "AS IS" with no warranties, and confers no rights.
  260. hmm by Anonymous Coward · · Score: 0

    I once made a backdoor at my girlfriend's house...when she was out of town, I went through the back door and made out with her mom.

    Other than that, I have only put a backdoor on the gibson.

  261. Easy! by Anonymous Coward · · Score: 0
    How does this work when the clients are companies who can't perform such checks

    Just check the Makefile for "LIBS = -lbackd00r"

  262. Where is the "YOU ARE SO FIRED!" guy??? by daemonc · · Score: 1

    I know what he would have to say if any of his employees were caught writing backdoors into commercial web applications.

    --
    All that we see or seem is but a dream within a dream.
  263. Hackers are stupid by jasonrocks · · Score: 1

    Most "crackers" don't even look at the source code. Truly, how many people have even FOUND why sendmail has a buffer overflow. The rough idea was not released, but not the method.
    Yet on the contrary, bugs or backdoors exist whether or not the app is open sourced. What good will it do to write a back door in a closed source environment? If you are intent on breaking the software, reverse engineering assembly language is an option.

    --

    void
  264. Re:Always. Always. Always. by Anonymous Coward · · Score: 0

    However, if the backdoor or at least some mention of remote disablement, couched in legalese to diguise the implementation, is not part of the contract you may find yourself on the losing end of a lawsuit.

    Unless the contract specifies that you can de-activate them for non-payment, it is illegal to do so. There is tons of case law on this topic and any competent attorney in the field will advise you the same.

  265. Backdoor/God Mode by Anonymous Coward · · Score: 0

    This seems to have been (is?) pretty common in the network equimpment world. Quite a few vendors have 'God mode' passwords that allow access to hidden features of the devices.

    I know some older Nortel/Bay equipment had God-Mode passwords that allowed you to log into the console, debug the box, read the raw hex, and even generate license keys for advanced features!

    I've heard Cisco had/has the same type of stuff, and I bet other companies do too.

    Thankfully most seem to be restricted to the console port only...

  266. My thoughts by Anonymous Coward · · Score: 0
    Ok, here are my thoughts on backdoors in software development. They are an essential tool to make a product more feasible to purchase and use. I say that in the sense that someday some company that bought your product to store all their customer data or whatever will have an admin up and jump ship on them. One way or another their internal policies will be broken or non-existent and they will be SOL. On the basis of customer service it is essential that you be able to regain access to that system somehow. I don't want a product that either accidentally or intentionally I can get locked out of and the developer can't get me back in. It's too great of a risk to me, even though I have a good DRP.

    Now, here are my stipulations. Regaining access to said system's must only be able to be done locally. Ie, first you have to gain console access to the device running said binary. Note how this thwarts a geek remotely showing his friends how he's now able to change the balance on Heap Big Bank accounts. Secondly, the userid/password must only be available with information from both the client (consumer, person who paid for the product) and development company. Some of the client's information is information that is ONLY available to the client, not the development company. An example of this could be the IP address of the server. It could be a string that the admin or CTO chooses at installation. Something. It has to be unique and only the client can know it. A phrase or full sentence would work. Whatever it is it needs to be something that only the client knows (and should keep safe). Now combining things like serial number, activation code, client's unique string, and company's unique string together with an algorithm or two that only the company senior programmer and CTO knows should be adequate security for a backdoor. Since physical access to the machine is a must, this alone should be the crowning jewel in this security implementation. Now obviously the algorithms will also have to be present in the authentication code in the software. My solution for this would be that only the senior programmer in charge write this particular code (shouldn't be too hard) and the other programmers access it via a common API. Obviously they'll have to replicate a basic form of the code for their owd testing but it's neccessary to work.

    It sounds like a lot of work. In truth it is. It relies on the clients to keep track of certain amounts of installation information and store it in a safe place. If the clients have a good DRP then this shouldn't be a problem. It also adds work to the development cycle but it shouldn't be much of a problem assuming the APIs are straightforward. Perhaps the senior programmer could release a version of the authentication agent to his programmers that doesn't have said backdoor algorithms. That's possible. Then he adds it at the end and they ship it off to Q&A.

    Now let me say that I've seen something like this in action. I acquired a ethernet switch at work that hadn't been used in some time. It was a Cabletron switch. That particular line of switches do not have a dip switch solution to reset the passwords of NVRAM. I called Cabletron for help. After verifying who I was they took down the S/N and IIRC the MAC of the switch, pumped it through an algorithm, and then provided me with a password that would allow me to regain access to the device. IIRC it would only work when connected from the console. This is in no way any less insecure that Cisco's password recovery procedures. It requires physical access to said device and as well all know if that's happened, you're 0wned.

    That's my $.02 on the matter.

  267. omigod do i ever by foszae · · Score: 1

    backdoors? are you kidding? all the time. i even have a class prewritten that includes a debugger for variables, a debugger for key-trapping, a backdoor using a standard backdoor password, and a generic easter egg using the Desidoreplicator story from the Bastard Operator From Hell. i wrote a complete class for java and for VB, and have slimmer versions in C++ and PERL. yes it goes in every program i write, before anything else, a little tweak to fit the appropriate functions and we're off. as well, i've got a script that will insert an uber-administrator password into Access or. Filemaker databases. don't ever give me the slightest bit of administrative control. even if you delete the user account at the operating system level, i'll work my way around the damn thing.

  268. Backdoors.. by Anonymous Coward · · Score: 0

    .... but you gotta have a willing partner.

  269. Re: Do You Write Backdoors? by PiratePTG · · Score: 2, Interesting
    Yes. I put a backdoor into every program I ever wrote.

    Why? Because I REALLY do not like to lose. If I ever got screwed by a client, they would stand to lose more than me.

    Have I ever USED one of my backdoors? Only once in over 24 years of working with computers. I wrote a program for a college professor who then turned around, changed the opening banner/credits/logon page to HIS name, and then sold it to the college as his own work. I went in, changed the page back, blew away the user and password file, and disabled the logon sequence. Everyone on the college's staff who had a computer got to see what I said about him the next morning when they tried to log on.

    A few weeks later, after all the shit was through flying, I gave the college the program for free. Along with the source code (Open source circa 1979!).

    --
    The number 1 problem of working in a cubicle - 23 power cords, 1 outlet...
  270. Re:Always. Always. Always. by MyPantsAreOnFire! · · Score: 1

    Well, it is part of the contract that the software is not theirs until paid for in full. It is thereby our software, and we can disable it or add backdoors as we please. But thanks for the info, I will check out the case law on this and see if there's something that can help my company circumvent this problem...

    --
    --My other sig is a ferrari.
  271. secrets by Anonymous Coward · · Score: 0

    Mister Potato Head. MISTER POTATO HEAD! Back doors are not secrets!

  272. BS by endoboy · · Score: 1

    I suppose none of the clients ever wondered why the mason had to come back with a ladder just after they paid the bill? chimneys rise high above the ground, and are built off staging. Getting a brick into the top of one is non-trivial, and not exactly subtle--particularly if it requires sweeping up broken glass once the brick is inserted.

  273. re: I'll disable later (probably) by Anonymous Coward · · Score: 0

    Heh ..

  274. Code audits by Anonymous Coward · · Score: 0
    You do audit all your code, right? How did the backdoor survive scrutiny? imho, the existence of a back door demonstrates both a lack of professionalism and a lack of due diligence in locating and eliminating every known security and operational deficiency in the code, at its root cause. Prevention, not reaction, and all that quality stuff (quality is not BS, even though most quality policies are).

    Yes, I just called your backdoor a bug. A security bug. And the root cause of future headaches for all concerned execept the backdoor author, who will be long gone when the damn thing is compromised.

  275. No, but sometimes I exploit them by Anonymous Coward · · Score: 0

    Background: I work for a school district, and a couple of years ago, the district webmaster asked me to check out something a teacher wanted to start using. It was a Java applet that would let teachers access grade reports for their kids just about any time, and even had a id/password feature for security.

    I decided to investigate this thing to see how it worked, since it didn't need anything special on the web server. As it turned out, the basic premise was that you give it a uid/password, then it does some magic and jumps to another URL if it's correct. This (mostly) works since the directory index can't be viewed - you already have index.html populated.

    This was just begging to be exploited, so I got a Java decompiler and turned it back into source code. From there, it was simple to see the algorithm they used to check the IDs and passwords. The actual data was embedded in the main web page alongside the call to the applet, and you could turn them back into a list of IDs and passwords. It was a simple rot-based cipher if I remember.

    That's not the good part. The good part was looking at the source and finding something like this:

    if ((pass == result) || (pass == 1066))
    { blah blah }

    That's right - if you used 1066 as the password, you could get into ANY id, regardless of the actual password.

    So, I took a few choice words from that page and fed them to Google, which presented plenty of other pages across the net. I did the decoding trick on the list of IDs, then gave it 1066 - *bing* I could see some middle school kid's math homework scores.

    I believe this program was called Gradebusters or Making the Grade. Hopefully they don't use this any more.

    In any event, we didn't approve it for teacher use.

  276. Required Backdoors by oldCoder · · Score: 2, Interesting
    Before the internet and hacking became so popular, it was often necessary for a system vendor to leave a hard-coded backdoor so when the client (user) totally broke the thing and called complaining, you could fix it. Sometimes this would save the downtime required to send somebody flying cross country. This was especially useful when selling systems to organizations that didn't really understand computers. In more sophisticated and security-conscious organizations, we would tell them to turn on the modem in the back when they needed our assistance, and they were willing to pay for the connectivity.

    The less sophisticated customers would never authorize anything like that until and unless they were in a panic, so we learned to pre-install it. In general, saving the customer from himself is necessary to maintain good customer relations, and is probably the origin of the term "Customer Engineering".

    --

    I18N == Intergalacticization
  277. Not necessarily.. by Kwil · · Score: 1

    ..say our developer friend here accidently forgets about the time-code. He could be called away on a family emergency or something, only to return to a rabid lawyer, a very irate company, and his reputation shot to hell.

    --

    That Jesus Christ guy is getting some terrible lag... it took him 3 days to respawn! -NJ CoolBreeze

    1. Re:Not necessarily.. by turpie · · Score: 1

      Simple, make the timeout long enough to cover any unexpected delays, and get it to send the developer reminder emails. Set it to go off 35 days after payment is due.

  278. Open your source by rjamestaylor · · Score: 1
    Or we'll leave the porch light on for you.

    Actually, a peer review *should* be conducted at some poi.r, whether closed source or not.

    --
    -- @rjamestaylor on Ello
  279. This is a TRUE story. by rice_burners_suck · · Score: 3, Interesting
    I remember reading about this one guy who put a backdoor in login so he could log in to any unix workstation with a pre-specified username and password. But that would easily be found in the login source code, so he modified the c compiler to recognize that it was compiling login and then silently insert the appropriate code in there. But that would easily be found in the compiler source code. So he modified the compiler to recognize that it was compiling itself and then silently insert the code that recognizes login and silently inserts that code. Then, he deleted these instructions from the compiler source code, but since the compiler would silently insert them in the object code, there became a situation where code that did not exist in source form would create a chain reaction that would allow this dude to login to any unix machine. It was totally invisible and would work as long as nobody changed the compiler or used a different compiler to compile the compiler, or something weird like that.

    But I don't remember the guy's name. Or maybe it was a chick. But whoever it was, they were definitely a staid and steadfast compiler writer.

    1. Re:This is a TRUE story. by shish · · Score: 1

      I think it was Ken, the guy who needs no second name as everyone knows who he is, which is handy as I can't remember his second name. He was one of the guys who worked on the early unixes.

      --
      I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
  280. all of 'em by Anonymous Coward · · Score: 0

    nuff said

  281. Reputation... by Ixe · · Score: 2, Insightful

    It's that simple. The client has to trust the developer, and if that developer gets caught doing something malicious, it goes into 'big news' and that coder just lost his career.

    Just my $.02

    P.S. I can't resist blabbing here how this problem might vaporize if everyone wrote 100% GPL code and had that code analysed by many eyes... after all this is /. and I mean, "IMAGINE A BEOWOLF CLUSTER OF THESE," ok enough :)

    --
    Sigs pose an operational security risk and help the baddies aggregate data. I guess commenting does too, oops.
  282. I loved that game! (OT) by oneiros27 · · Score: 1

    I loved that game!

    Hmm...might even have to break out my apple //e emulator and see if I still have the binaries, so I can toss it in the collection with Autoduel, Captain Goodnight and Miner 2049er.

    [yeah, yeah, I'm off topic...that's why I didn't use my karma bonus... hey, just be thankful I didn't mention Oregon Trail... hmm..that reminds me... I need Choplifter, too.]

    --
    Build it, and they will come^Hplain.
  283. Re:the short answer - Must trust the toolchain by MerlynEmrys67 · · Score: 1
    Lets say I wanted to backdoor the login process for your Unix box... quite doable, but you would notice that... So I backdoor your compiler, so when login is compiled it "inserts" my backdoor, then so you don't don't notice the backdoor in your compiler, I install a backdoor into your compiler that when it notices that it recompiles itself, it inserts the code that looks for compiling login. Now you have a clean source code (no backdoors) and no way of taking the backdoor out of your toolchain without starting on a COMPLETELY clean environment (anyone know how to bootstrap a system to compile the compiler without using the compiler ???)

    anyone think I am just paranoid ? Want me to show you the links to it ?

    --
    I have mod points and I am not afraid to use them
  284. Never by design by Anonymous Coward · · Score: 0

    I've never intentionally coded a backdoor, but I have "accidently" left an extremely non-obvious hole that can be exploited in certain non-obvious ways to create an administrative account in order to access the system. It's not something you'd figure out by looking at anything accessible to anybody in any way whatsoever, just a side effect of certain behaviors of the application.

    It's saved my ass on a number of occassions, such as the time when the client deleted the last admin account on the system and talking him through recreating it manually was a pain. I was able to get in and create a new one for him by exploiting the hole.

    Of course, this is on an intranet application, not something available to the public. And unless you're a user of the system, there's no reason to break in anyway... It's simply not that interesting and has no exploitable information. It's critical data to the people who use it, but beyond that, nobody else would give a damn.

    And the admin account is kind of limited anyway, as there's not a lot to configure. You can't delete the data, you can't access the system, all you can do is change the way it runs it's sequencing, so there's not a lot of point unless you're the one actually using the system.

  285. Peer Reviews by blurg64 · · Score: 2, Insightful
    The company I currently work for, and the previous one used the concept of peer code reviews. This stops a rogue developer adding backdoors / 'little suprises' that could leave your company open to litigation or embarrassing PR which could hurt your sales, and ultimately your job (in the current economic climate).

    Peer reviewing has several advantages in a commercial environment:

    Ensure the code is correct, ie no obvious errors that will come and hit us during acceptance and therefore hit our bottom line

    Ensure the code is efficient and well written, at the end of the day, when the project is completed, the client takes ownership of the code. It's its badly written, this could impact repeat buisness

    Ensure the developers are not putting 'back doors' in. On a large development project, you should have a development environment and a seperate acceptance environment mirroring the production environment. Developers should never get anywhere near production testing code.

    Peer reviews can help sell your company, if the client needs to be assured that you will develop quality code, then the peer reviewing concept will work in your favour.

    Developers placing 'Easter Eggs' and 'Backdoors' in programs to me suggests poor management by their team leaders / project leaders / project managers. If legitimate back end access is required, by personnel authorised to perform it, then a mechanism that the client is aware of should be used such as a troubleshooter logon / password.


    Just my 2 cents on my first /. posting.

  286. Mangement ASKED for a backdoor by canadian_right · · Score: 3, Informative

    I was working on a small custom db (in c, way back in the PC dark ages)that was going to hold confidential data, and had a simple user login coded up. Management insisted on putting in a back-door because past experience indicated that a few times a year a customer would ask us to "recover" a lost password. The back door was used to get into the system as an admin and reset the other user passwords for customers.

    --
    Anarchists never rule
  287. Non-trust worthy client by overlordhab · · Score: 2, Insightful

    I don't like backdoors since they create all kinds of security leaks. If you properly test your system before going live you don't need a back door to debug.

    BUT once I was asked by one of my bosses to put a backdoor in a system. The client was getting very hard assed about paying the money he owed the company for the development of the system. Inside sources warned us that the client is going to grab our software and cancel the contract.

    What happened? We installed the system and sure enough the client told us a week later to go stuff ourselves. hehe a few clicks and what do you know the program suddenly developed a few 'bugs'. To this day the client never knew what hit him but it only took two days before we were back on the job with a bank balance the way it should be. The 8 hours of effort putting in a backdoor sure as hell beat the hundreds of hours in a court.

  288. Quake, and iD software. by Anonymous Coward · · Score: 0

    Carmack programmed a backdoor into Quake. Someone found it too. Heh. Some trick you could do and the Quake server would let you execute commands.

    Can't remember the trick right offhand.

  289. writing backdoors by Anonymous Coward · · Score: 0

    I wrote a client-server application for our company's use only and I created two hidden accounts in the client software to allow us (two programmers) to perform tests without asking the personnel to enter passwords hundreds of times. Since I am the sysadmin, there is not such a great risk (for now)

  290. Late night confession as to why I DON'T backdoor by LouisvilleDebugger · · Score: 3, Insightful
    I'm certainly a "WarGames" generation hacker. (OK, I started coding in 1979, but I was 10, so I'm more or less of that generation.) Sure, the Captain Crunch/Joe Engressia mystique powered my early interest, and I played around with Ma Bell. But finding interesting test numbers and seeing what was possible was about the extent of it. I just have never wanted to exploit a system, except as an idle fantasy. I plunked tons of change into the pay phones at my high school to record the chirps, but I never exploited this at all. (Who did I know to call long distance? No one!)

    I've made it easy to disable security on development versions of systems I've written, just to spare myself the pain of logging in every time I bounce the web server to reload my .jsps, but I have zero interest in letting a real "back door" go into production. I'm not sure why. Fear of getting caught is somewhere on the list, but pride in putting out the best, most secure system I know how to make is a lot more important. In my current job I'm playing with real people's real money. Who cares if my company screws me over some day? I still don't want to make it easy to screw over some poor AOL-connected grandmother who pays her bill using my system.

    I guess what trumps it all is that code with a back door is less elegant than code without, from a standpoint of efficiency. Lines coded versus purpose accomplished. So in my book, it's no back doors because of 1) Aesthetics, 2) Pride 3) Fear of getting caught.

  291. Re:Always. Always. Always. by slamb · · Score: 1
    Wouldn't the better option be to make your application expire a certain number of days after installation UNLESS a code is entered? The theory being that when you recive payment, you provide the code.

    I don't like it. What if they have to reinstall, well after the contract is over and they've paid? It will spontaneously break N days later, and they'll be (legitimately) quite pissed off.

  292. I did it when working with HASP by DoronRajwan · · Score: 1
    A long time ago I developed a program that was protected by a HASP, i.e., a small device connected to the parallel port, and allowes to protect the software.

    For development, I didn't want to buy a lot of HASPs and so, so I removed the testing. However, as far as I can tell, I never gave anyone an executable w/o the protection.

    Would you consider it a backdoor?


    Come and see the Comun Yerge .

  293. Befehl ist Befehl by Xner · · Score: 1
    Good programmers are ethical and do what they are told.

    Being ethical and following orders aren't necessarily the same thing.

    --
    Pathman, Free (as in GPL) 3D Pac Man
  294. Re:Network wins over disk... by tigersha · · Score: 1

    It think it was Bruce Schneider who once said that most security systems are like a 500 mile high fence that is only 2 meters wide that you can walk around.

    Point is, most modern encryption algorithms ARE pretty much extremely difficult to crack, even for the NSA but that there are so many oher buffer overflows and such crap that it does not matter really.

    Here on good ol slashdot was a posting about how the FBI whacked some terrorists or something who were using encryption. They took the good ol' approach of breaking in and installing a keylogger on the guy's laptop to get the passphrase on his encryption key. Much easier than using a Ten-Trillion-Teraflop Bad boy of a computer to brute force the thing. More elegant too :)

    --
    The dangers of excessive individualism are nothing compared to the oppressiveness of excessive collectivism
  295. Eastereggs by CAPSLOCK2000 · · Score: 1

    I don't do backdoors, but there are Eastereggs in all code I ever sold. More than once I have been asked to remove my name from the Splash/About screen, because it didn't look "professional" or some other bs reason. It makes me feel much safer if I have a way to prove I wrote some program.

  296. why is this funny? by wiill · · Score: 1

    who was responsible for modding this up as funny?

  297. Yes I did and it was expensive by Ratbert42 · · Score: 2, Informative
    I did it and served 6 months for it. Cost me $50k and my job too. Whee.

    Don't do it.

  298. Yes, backdoors help sometimes by stevenp · · Score: 1

    Our current product has one quite official backdoor. It is designed to be used only by support people and because we have direct ISDN connection to all of our clients and their servers are not visible to the Internet, there is little risk at all.
    The main purpose of the backdoor is to allow the support people to enter the system with full rights and without a licence. The client licences are floating so the support people does not use one of the licences and can log on even if there are no free licences left. A password however is always required, so that the authentication is guaranteed.

    Internally there is another little hack, only the support people can see the full list of users, including the other support people. The normal users can not see and modify the accounts of the support.

    It is so simple :-)

  299. Web interface to SQL Server by Anonymous Coward · · Score: 1, Interesting

    A customer I was working for deployed our web application on a system we (the developers) had no access to at all. The application did not go through any form of testing before being deployed, so as expected, bugs were numerous.
    We asked for access to the machine so we could run simple SQL queries just to figure out WHY things were bugging when the reports started dropping in - but it was against the customer's security policies to allow us on the machine.

    It all ended up with us coding a web page which simply was one form and a submit button. Into the form you could type any SQL query and it would be executed directly on the tables, and the result would be displayed in an HTML table on the page. The page was of course password protected and not linked to anywhere, but still...
    This is possibly the worst case of security policies gone wrong I've ever seen, and fortunately also the only 'backdoor' I've ever coded.

    Posting anonymously to protect the customer.

  300. Not in a finished product by n9hmg · · Score: 2, Insightful

    During development, sure. Get the underlying logic and interface working, then plug in the authentication. If the final product has a back door, that's like selling locks are, undisclosedly, set up with a master key, which you posess.
    Of course, you want to permit the owner to uninstall the lock if he loses the key... or just wants to disable security, if he thinks that's safe. Same with software. Put the authentication in a discrete file, so the person posessing the system running it can bypass the application to set up newly-defined security, just like the unix password files.(boot to access the partition containing /, replace or edit the file, reboot normally).

  301. Don't they reposess cars if you don't pay? by Anonymous Coward · · Score: 0

    "it's exactly like the car dealer coming and stealing your car after you bought it..." You must mean paid the down payment and up to 80% of the cost of the vehicle... Heck man, tow truck drivers carry a piece for people like you. That "latest version" thing is crap. However if I code a piece of software that you so decide to pay me after you've tested it and placed in production and come back to me and say "sorry, we can't afford it, thanks for you work" and use it later? Cripple that sh1t wit da swiftness.

  302. Backdoor in ISP accounting software by SwedishChef · · Score: 1

    When I was consulting for an ISP they received an email that identified a backdoor on their commercial ISP accounting software. This allowed anyone who knew about the backdoor to access user information including credit card data. The email included credit card information on about 50 of the ISP's subscribers just to prove the claim. We took steps to ensure that no one could gain access to that application from the 'Net but it was an eye-opener.

    --
    No one ever had to evacuate a city because the solar panels broke!
  303. Re:Always. Always. Always. by jtheory · · Score: 1

    Right, right, right!

    I'm sure that righteous "gotcha" feeling is nice when you tell the non-paying client that they must, after all, pay up. BUT it's much better to deliver a final product, and explain that it will only work until the end of the month, and that the non-time-limited version will be installed when full payment has been received. And then do exactly what you said. And be very friendly about it, and don't charge for the work involved in removing the expiration date.

    Everything is so much easier if you're straightforward and forthcoming about it. Not naive... but honest. Now you've gotten the money you wanted, *and* you have one less enemy.

    --
    Everything should be made as simple as possible, but not simpler. Albert Einstein

    --
    There are only 10 types of people: those who understand decimal, those who don't, and, uh, 8 other types I forget.
  304. Drinks Vending Machine Backdoors by CompVisGuy · · Score: 1

    I used to work at a company that designed drinks vending machines -- those machines you get in offices that will vend you a chemical coffee at about 120degC.

    The more sophisticated machines had a few microcontrollers on them, and the user interface was through push buttons on the front of the machine.

    One of the engineering problems we faced was to deliver the machines at absolute minimum cost but with maximum functionality. So there was little room for extra buttons, switches or RS-232 interfaces on the inside of the machine where field service technicians would be able to get access.

    Therefore, all diagnostic modes were accessed through a 'back-door', which was usually a certain sequence of button pushes on the front of the machine. This enabled the technicians to put the machine through its paces, turn on free vending etc.

    Before you dismiss this as small-fry, let me remind you that these machines often contain cash (read: "company profit"), and also had the ability to use electronic token-based payment methods (I wouldn't be surprised if today's machines could do debit/credit card transactions). So, potentially, there was a huge risk with these 'back-doors'.

    And, once development code had gone through testing and had been green-lit for use in production machines, the code was HARD-CODED into the microcontroller (this keeps the cost of the microcontrollers down). So if anyone was to discover the back-door, and could get drinks or money out of the machine, the cost of replacing all the hard-coded microcontrollers would be very high.

    I once asked one of the other developers who worked on the customer interface electronics if, in addition to the field technician back-door, he had added any other back-doors, for example so that he could put the machine into free vend for only one drink, and thus get free drinks wherever he saw such a machine, and he replied that he had never thought about it.

    I guess that means I've a devious mind. Or that he was a good liar.

    --


    "The noble art of losing face will one day save the human race"---Hans Blix
  305. superlative, thanks for asking by Anonymous Coward · · Score: 0

    The superlative of "secure" is "most secure."
    You are welcome.

  306. MOD PARENT UP by Anonymous Coward · · Score: 0

    Whoever modded this down (as "overrated", so he can't get caught in meta-moderation) is an asshole. Backdoors are unacceptable, and analogy in the message above is 100% correct. Sooner or later they are going to be found (just as security problems in the "front" door are found). Leaving a back door in a program you are writing for someone else is like keeping a copy of a house's keys after you install the lock. It's a crime, and jerks who do that kind of stuff should be arrested. An, while in jail, they would probably spend a considerable amount of time trying to protect their own "back door".

  307. Why write one when you can have one for free: by /Idiot\ · · Score: 1
    --
    /dev/Idiot/
  308. Crack smoking moderator alert by namespan · · Score: 1

    OK. Let's review the score here. So the post topic was embedding backdoors. The thread that was progressing was on destructive backdoors. A comment was made comparing this activity to destroying a building.

    I then make a comment (the parent of this one) about how this scenario has in fact been examined in one of Ayn Rand's books. I do this because it might be interesting to some folks to examine how Rand approached the ethics of the situation. Then I also mention some differences in the situation.

    And some crack smoking moderator comes and labels this offtopic?!!? Bah.

    --
    Libertarianism is rich wolves and poor sheep playing gambler's ruin for dinner.