Slashdot Mirror


Microsoft Dynamics GP "Encrypted" Using Caesar Cipher

scribblej writes "Many large companies use Microsoft's Dynamics GP product for accounting, and many of these companies use it to store credit card numbers for billing customers. Turns out these numbers (and anything else in GP) are encrypted only by means of a simple substitution cipher. This includes the master system password, which can be easily selected and decrypted from the GP database by any user. Quoting: '[Y]ou DON'T HAVE TO GIVE ACCESS TO THE DYNAMICS DATABASE. What that means is if you create a base user in GP, that user can log into the SQL server and run a select statement on the table containing the "encrypted" GP System password. Not good.'" Update: 05/22 02:57 GMT by T : The original linked post has been revised in a few places; significantly, the following has been added as a correction: "By default, GP gives the user access to the DYNAMICS database but the user CANNOT login to the SQL server using SQL Enterprise Manager."

206 comments

  1. andnothingofvaluewaslost by Anonymous Coward · · Score: 3, Funny

    The weakness of encryption is justified by the non-importance of the asset it protects.

    1. Re:andnothingofvaluewaslost by SanityInAnarchy · · Score: 3, Insightful

      From TFS:

      Many large companies use Microsoft's Dynamics GP product for accounting, and many of these companies use it to store credit card numbers for billing customers.

      Sorry, if you're actually going to say that a lot of consumer credit cards aren't valuable or important, you're going to have to provide just a teensy bit more justification.

      --
      Don't thank God, thank a doctor!
    2. Re:andnothingofvaluewaslost by jd · · Score: 2, Insightful

      I think the GP means the cards are all probably maxed out, blocked/revoked, or both.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    3. Re:andnothingofvaluewaslost by Anonymous Coward · · Score: 0

      Clearly, consumers who are naïve enough to do trade with a company that uses Microsoft products have only themselves to blame.

    4. Re:andnothingofvaluewaslost by JonahsDad · · Score: 1

      This shouldn't be a problem for US customers. Anyone breaking the encryption can be found guilty via DMCA, right?
      Standard IANAL line.

    5. Re:andnothingofvaluewaslost by negRo_slim · · Score: 0

      Sorry, if you're actually going to say that a lot of consumer credit cards aren't valuable or important, you're going to have to provide just a teensy bit more justification.

      They are not valuable, nor at they important. They are numbers representing the illusion of assets.

      --
      On the Oregon Cost born and raised, On the beach is where I spent most of my days
    6. Re:andnothingofvaluewaslost by e4g4 · · Score: 1

      What, do you live in a windmill powered cabin in the woods? Unless you live completely off the grid (impossible, in your case, as you post to slashdot) nearly every company you do trade with uses Microsoft products.

      --
      The secret to creativity is knowing how to hide your sources. - Albert Einstein
    7. Re:andnothingofvaluewaslost by SanityInAnarchy · · Score: 0

      And what evidence is there of that?

      I mean, by now they may well be, but that would be because of this system, so "andnothingofvaluewaslost" still doesn't fit.

      --
      Don't thank God, thank a doctor!
    8. Re:andnothingofvaluewaslost by SanityInAnarchy · · Score: 1

      And what value do assets have?

      Value itself is an illusion, other than what value we give something. Beauty is in the eye of the beholder.

      So if most of the world agrees that these numbers have value, they do, whether or not the assets are physical. Oh yes, things can be real without being physical -- or how would you feel if everything you ever created inside a computer was wiped out in a hard disk crash?

      Unless you're going to claim that all currency is an illusion, you're again going to have to provide a lot more justification than just flippantly discarding them. And if you are going to claim that all currency is only the illusion of value, that has its own problems.

      --
      Don't thank God, thank a doctor!
    9. Re:andnothingofvaluewaslost by ooshna · · Score: 2, Insightful

      Your right so to stand by your point please post any and all Credit card numbers with expiration dates and the little 3 digit code on the back. Oh also your full name thank you.

    10. Re:andnothingofvaluewaslost by Anonymous Coward · · Score: 0, Troll

      No fucking shit, Sherlock. Any other nuggets of wisdom you'd care to share?

    11. Re:andnothingofvaluewaslost by Anonymous Coward · · Score: 0

      I live in a windmill powered cabin in the woods and I'M on Slashdot - there's these things called "batteries" and "satellite dishes".

    12. Re:andnothingofvaluewaslost by jd · · Score: 1

      Ok, what if you applied the logic from Hitch-Hiker's Guide to the Galaxy that currency is a figment of the imagination?

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    13. Re:andnothingofvaluewaslost by spazdor · · Score: 1

      And what evidence is there of that?

      The economy?

      --
      DRM: Terminator crops for your mind!
    14. Re:andnothingofvaluewaslost by HeronBlademaster · · Score: 1

      How do you know the company running the satellites isn't using Microsoft products? ;)

    15. Re:andnothingofvaluewaslost by dave562 · · Score: 1

      Except that the "illusionary" numbers can be very easily converted into tangible assets.

    16. Re:andnothingofvaluewaslost by ElizabethGreene · · Score: 4, Informative

      I have the displeasure of working with Great Plains regularly, and this isn't surprising at all.

      A couple of points for the panic stricken:

      1. Great Plains uses SQL logins and it hashes the passwords of users created from within GP. Since 9.0, it salts this hash using the sql server name. A GP user other than sa can NOT login to SQL Enterprise Manager with their GP credentials. That encryption has NOT been broken (yet). (That WOULD be a real problem.)

      2. The ability to decrypt the System password is useless if you can't query the system password from the database. If your users have the ability to query any table in the database directly, then you have a bigger problem than weak encryption.

      3. GP overlays role and task based security on top of the SQL login mechanism. Having the decrypted System Password is less useful if your application user doesn't have the ability to reach the User Setup or Security Options menus. These menus should be turned off for everyone not in the GP PowerUser role.

      Is this great for GP? No. Neither is it the harbinger of the apocalypse.

      -ellie

    17. Re:andnothingofvaluewaslost by kimvette · · Score: 1

      Isn't it? the US has been off the gold standard for years. Our currency is fiction due to the lack of any real backing and due to the fractional banking system.

      --
      The Christian Right is Neither (Christian nor right). See: Matthew 23, Matthew 25, Ezekiel 16:48-50
    18. Re:andnothingofvaluewaslost by Anonymous Coward · · Score: 0

      or the company that made the batteries.

    19. Re:andnothingofvaluewaslost by Anonymous Coward · · Score: 0

      I know the company I worked for who does satellite internet doesn't have any customer-facing ms products, but tons in the office.

    20. Re:andnothingofvaluewaslost by Anonymous Coward · · Score: 0

      Laugh while you can, but the same kind of stupidity exists in Europe to an even larger degree. Countries like Germany really think that they are protecting people merely by creating (unenforceable) laws.

  2. obligatory by girlintraining · · Score: 4, Funny

    et tu brutus?

    --
    #fuckbeta #iamslashdot #dicemustdie
    1. Re:obligatory by XanC · · Score: 4, Informative

      You need to use the vocative case there, not the nominative.

    2. Re:obligatory by Anonymous Coward · · Score: 0

      s/brutus/brute/g

      Or am I completely missing the joke here?

    3. Re:obligatory by jd · · Score: 2, Funny

      "Infamy! Infamy! They've all got it in fa me!" (Carry On's version)

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    4. Re:obligatory by Kilrah_il · · Score: 2, Informative
      --
      Whenever in an argument, remember this.
    5. Re:obligatory by Kilrah_il · · Score: 5, Funny

      And to make it clearer:

      [Brian is writing graffiti on the palace wall. The Centurion catches him in the act]
      Centurion: What's this, then? "Romanes eunt domus"? People called Romanes, they go, the house?
      Brian: It says, "Romans go home. "
      Centurion: No it doesn't ! What's the latin for "Roman"? Come on, come on !
      Brian: Er, "Romanus" !
      Centurion: Vocative plural of "Romanus" is?
      Brian: Er, er, "Romani" !
      Centurion: [Writes "Romani" over Brian's graffiti] "Eunt"? What is "eunt"? Conjugate the verb, "to go" !
      Brian: Er, "Ire". Er, "eo", "is", "it", "imus", "itis", "eunt".
      Centurion: So, "eunt" is...?
      Brian: Third person plural present indicative, "they go".
      Centurion: But, "Romans, go home" is an order. So you must use...?
      [He twists Brian's ear]
      Brian: Aaagh ! The imperative !
      Centurion: Which is...?
      Brian: Aaaagh ! Er, er, "i" !
      Centurion: How many Romans?
      Brian: Aaaaagh ! Plural, plural, er, "ite" !
      Centurion: [Writes "ite"] "Domus"? Nominative? "Go home" is motion towards, isn't it?
      Brian: Dative !
      [the Centurion holds a sword to his throat]
      Brian: Aaagh ! Not the dative, not the dative ! Er, er, accusative, "Domum" !
      Centurion: But "Domus" takes the locative, which is...?
      Brian: Er, "Domum" !
      Centurion: [Writes "Domum"] Understand? Now, write it out a hundred times.
      Brian: Yes sir. Thank you, sir. Hail Caesar, sir.
      Centurion: Hail Caesar ! And if it's not done by sunrise, I'll cut your balls off.

      --
      Whenever in an argument, remember this.
    6. Re:obligatory by Guignol · · Score: 1

      that would be 'to quoque filli'

    7. Re:obligatory by ari_j · · Score: 3, Informative

      Here's a good Latin lesson to help with this type of difficulty: Romanes Eunt Domus.

    8. Re:obligatory by Gilmoure · · Score: 2, Informative

      What makes this scene even funnier to me is John Cleese was a teacher at one point.

      --
      I drank what? -- Socrates
    9. Re:obligatory by interval1066 · · Score: 4, Interesting

      "You need to use the vocative case there, not the nominative."

      ie; "Brute." (pronounced "Brut-AY"
      Getting back to the main story, let me add "Doh!" That's a major back door. And Microsoft, wanting to be our gatekeepers in so many ways and even with this big security initiative they've been trying to get everyone to believe they are on, is just sort of sluffing it off with their usual sheepish "Well, its not likely to actually happen." nonsense.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
    10. Re:obligatory by Anonymous Coward · · Score: 0

      'Tu quoque, Brute, fili mi!'

      there, fixed that for ya

      -- Pedantic Coward

    11. Re:obligatory by Anonymous Coward · · Score: 2, Informative

      Actually it is pronounced "BruH-tEH". The "AY" pronunciation at the ending is an english barbarism. I guess that conquering only the south half of the island was a mistake. Maybe next time.

    12. Re:obligatory by uglyMood · · Score: 2, Informative

      Kai su, teknon? - There, fixed that for you. Not universally accepted, but he certainly didn't utter Shakespeare's line.

      --
      "No matter where you go, there you probably are." -- Buckaroo Heisenberg
    13. Re:obligatory by Anonymous Coward · · Score: 1, Interesting

      And in any case, the sentence, as taught in Latin courses, is "tu quoque fili". However, we have some reasons to believe that if Caesar even uttered anything like that, it was rather something like "kai su teknon". Educated Roman people of the time spoke Greek in private. Some traces of Greek can even be found in Cicero's Latin writings (e.g. "lectica octophoro").

    14. Re:obligatory by ari_j · · Score: 1

      Caesar: WTF? Screw you, man!

      There, fixed that for you. Universally accepted as what he would have said today to mean the same thing as he did then, whether by speaking the first half of a Greek curse or just by turning his eyes away from his traitorous friend.

    15. Re:obligatory by mcgrew · · Score: 1

      Did Ceaser invent this cipher? It's THAT old? er, wait...

      The Caesar cipher is named after Julius Caesar, who, according to Suetonius, used it with a shift of three to protect messages of military significance

      Great Ceaser's ghost! But whoa...

      While Caesar's was the first recorded use of this scheme, other substitution ciphers are known to have been used earlier.

      Wow. Prior art? I'll bet they tried to patent it.

    16. Re:obligatory by tempest69 · · Score: 1

      because I know you dont really want to do another TPS report
      http://www.youtube.com/watch?v=XbI-fDzUJXI

    17. Re:obligatory by bill_mcgonigle · · Score: 1

      Wow. Prior art? I'll bet they tried to patent it.

      That's silly. They just tossed the prior inventor to the lions.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    18. Re:obligatory by interval1066 · · Score: 1

      Actually I'm Irish so I don't give a fig. Do what you want with Britain.

      --
      Python: 'And then suddenly you have a language which says "we're all stuck with whatever the whiniest coder wants".'
  3. But... by the_one_wesp · · Score: 5, Funny

    Ohg vg'f jnl zber frpher gung jnl

    1. Re:But... by the_one_wesp · · Score: 3, Interesting

      I disagree with this being off topic. Perhaps, though, if /.ers are too hasty to recognize a quick rot13, that justifies why MS thinks they can do the same with their products... o.O

    2. Re:But... by Anonymous Coward · · Score: 2, Funny

      This is better --- preceding message encrypted with rot26.

    3. Re:But... by jgreco · · Score: 3, Interesting

      I guess the question is, how many people even know what rot13 is these days?

      I mean, really, my rot13 script's nearly 20 years old and I'll bet I use it less than once a year these days...

      % ls -l bin/script/rot13
      -rwx------ 1 jgreco user 64 Nov 11 1991 bin/script/rot13*
      %

    4. Re:But... by swanzilla · · Score: 4, Informative

      Ohg vg'f jnl zber frpher gung jnl

      But it's way more secure that way

      (mad cryptoquote skillz)

    5. Re:But... by Dancindan84 · · Score: 3, Funny

      Yeah, kids these days are using rot26 instead. Twice as secure.

      --
      "Always forgive your enemies; nothing annoys them so much." - Oscar Wilde
    6. Re:But... by negRo_slim · · Score: 1

      Thanks to my rot13 encoded TrueCrypt container, I can proudly say I use it every day and haven't felt this secure on the internet in years!

      --
      On the Oregon Cost born and raised, On the beach is where I spent most of my days
    7. Re:But... by langelgjm · · Score: 2, Informative

      In vim, g?G will perform rot13 from the cursor position to the end of the document; g?$ to the end of the line, etc.

      --
      "Anyone who [rips a CD] is probably engaging in copyright infringement." - David O. Carson
    8. Re:But... by Anonymous Coward · · Score: 0

      Everyone knows rot26 is insecure, you should be using rot52

    9. Re:But... by drinkypoo · · Score: 1

      I guess the question is, how many people even know what rot13 is these days?

      I guess the question is, how many people know what tr is these days?

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    10. Re:But... by c++0xFF · · Score: 2, Informative

      If you're using any sort of skill to decipher that, you're doing it wrong.

      http://www.rot13.com/

    11. Re:But... by tempest69 · · Score: 2, Funny

      I run it six times to be really secure. Computers are getting faster you know.

    12. Re:But... by ais523 · · Score: 1

      I see it often enough that I actually use a FireFox browser plugin (LeetKey, which is intended to decode leet, but more useful to decode things like rot13, binary and base64) for it. Perhaps you're hanging out with the wrong sort of people?

      --
      (1)DOCOMEFROM!2~.2'~#1WHILE:1<-"'?.1$.2'~'"':1/.1$.2'~#0"$#65535'"$"'"'&.1$.2'~'#0$#65535'"$#0'~#32767$#1"
    13. Re:But... by jgreco · · Score: 1

      That, too, is a great question... my script, of course, being the obvious tr-based solution. I so rarely run across rot13 these days. It's mostly something I see in e-mail on a few obscure mailing lists, or occasionally on Usenet. I was a bit shocked to discover that there's a Firefox browser plugin for it...

    14. Re:But... by plover · · Score: 1

      My 20-year-old rot13 script didn't survive the transition from HP/UX to Linux. I put the cause down to

      ...

      wait for it...
      ...

      bit-rot.

      Thank you, I'll be here all the week. Try the fish.

      --
      John
    15. Re:But... by RichiH · · Score: 1

      Keeping the time intact is either very cool or very vain, I can't decide :p

      In any case, bsdgames comes with rot13 and pretty much every programming language has a library to do rot13, as well.

    16. Re:But... by noidentity · · Score: 1

      Yeah, kids these days are using rot26 instead. Twice as secure.

      I still prefer double rot13. I know it may technically be the same (the math is too complex for me to follow), but I feel safer with it.

      (this message double rot13 encrypted)

    17. Re:But... by wyoung76 · · Score: 1

      heh... that just never goes out of date.. thanks for that one, it was a blast from the past

  4. I have a fix for this. by 2names · · Score: 5, Funny

    They should hire some of them "too smart for their own good" Googlers.

    --
    "I'm just here to regulate funkiness."
  5. ::gasp:: by Pojut · · Score: 1, Funny

    A Microsoft product with security problems? Say it ain't so, Joe!

    1. Re:::gasp:: by DavidR1991 · · Score: 4, Insightful

      Yeah, but this isn't a security flaw due to an oversight or simple mistake. This is a massive downright idiotic flaw! How the HELL did this make it into a product?

    2. Re:::gasp:: by Jazz-Masta · · Score: 3, Informative

      Microsoft Dynamics GP used to be Great Plains Software. It was purchased by Microsoft in 2001.

      The security is a relic of the program originally created by Great Plains Software. Although Microsoft should have fixed this, it was never Microsoft's idea in the first place.

      MS is working on integrating GP with Active Directory.

      I'm all for MS Bashing, but seriously...

      Who do people blame for Flash? Adobe...but it was Macromedia (or SmartSketch if you want to go way back) that unleashed the plague upon the human race...

    3. Re:::gasp:: by Linker3000 · · Score: 1

      Fear not, Microsoft have just announced a patch that updates the encryption/decryption algorithms to add ROT13 and XOR to the process..

      --
      AT&ROFLMAO
    4. Re:::gasp:: by Jason+Earl · · Score: 4, Insightful

      Whether the folks at Microsoft wrote this themselves, or whether they instead paid $1.1 billion for this software 9 years ago it is still pretty much the same thing. Either way this makes the folks at Microsoft look like amateurs. This is precisely the sort of thing that only closed source proprietary software can get away with.

    5. Re:::gasp:: by mcgrew · · Score: 1

      This is a massive downright idiotic flaw! How the HELL did this make it into a product?

      Simple -- MS believes in security through obscurity. I doubt anyone or anything will ever teach them that it's bullshit, expect more of the same.

      But give them credit, their interfaces are pretty. Unusable, but pretty.

    6. Re:::gasp:: by Anonymous Coward · · Score: 0

      MS is working on integrating GP with Active Directory.

      Am I the only one who wet his pants after reading this? That's scary stuff.

    7. Re:::gasp:: by Amouth · · Score: 1

      sorry not just Closed source

      http://www.debian.org/security/2008/dsa-1571

      remember that gem???

      http://digitaloffense.net/tools/debian-openssl/

      "All SSL and SSH keys generated on Debian-based systems (Ubuntu, Kubuntu, etc) between September 2006 and May 13th, 2008 may be affected."

      A good little write up.

      Sorry but i have to say that these are both on par with each other.. both have very large and bad effects.

      one is close source the other is open source.

      I will give you that you see things like this far more often in closed source.. but just because it is open source does NOT make it more secure.

      And before you mention that that bug was fixed - give MS the same window of time Debian did to clean it up (that includes fixing code - distributing code - and migrating data from old to new)

      --
      '...if only "Jumping to a Conclusion" was an event in the Olympics.'
    8. Re:::gasp:: by LWATCDR · · Score: 1

      That honestly makes more sense to me. Great Plains was an old company and the software is probably pretty old code. Back in the day the only real need for security was physical security. We didn't accounting systems on the Internet! heck most companies didn't put any software on the internet.

      Security was laughable. and for the nost part not an issue.
      What is funny is you will find this lack of security everywhere because we never thought about it.
      A good example is the CMS called Goldmine. We had some datafiles in an old version of goldmine. My boss password protected them and lost the pass word.
      I just grabbed the files across the network and imported them into OpenOffice Calc. They where xbase files.
      No problem getting the data out but my boss had a cow. He asked me of all the data was that vulnerable. And I told him of course it was.
      Or course we where a software dev firm and the development staff had no say is the software the sales staff used...

      --
      See my blog http://ilovecookes.blogspot.com/ for light hearted technical information.
    9. Re:::gasp:: by Just+Brew+It! · · Score: 1

      Even if they didn't code this themselves, they should've audited the code for security flaws when they purchased the company. "Is the system master password stored securely?" is a pretty basic question to ask; you don't need to be a rocket scientist to figure that one out. It boggles the mind that this flaw was allowed to persist for nearly 10 years.

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

      I will give you that you see things like this far more often in closed source..

      versus

      but just because it is open source does NOT make it more secure.

      Something does not compute...

  6. Because by cfulton · · Score: 0, Offtopic

    njdsptpgu tvdlt!

    --
    No sigs in BETA. Beta SUCKS.
    1. Re:Because by Anonymous Coward · · Score: 0

      some mods don't appreciate rot-1...

  7. Incredible. by gorzek · · Score: 4, Informative

    So, this Microsoft product uses what amounts to the same "encryption" that the CVS pserver protocol uses. Hilarious.

    1. Re:Incredible. by Anonymous Coward · · Score: 1, Insightful

      pserver was never intended to hold secure information or be a secured server.

      There are CVS servers that use SSL encryption, kinda like blaming HTTP for being insecure, despite anything which involves your credit card number being done over HTTPS.

    2. Re:Incredible. by gorzek · · Score: 3, Insightful

      Well, that's what I mean. pserver is insecure and never pretends to be anything more than it is--a barebones security mechanism that won't thwart anyone with a genuine interest in stealing passwords. All it would do is keep someone from *accidentally* seeing somebody else's password if they were monitoring network traffic. That's about it.

      That Microsoft is using basically the same thing to secure a corporate accounting system that holds genuinely sensitive data is both terrifying and laughable.

    3. Re:Incredible. by bill_mcgonigle · · Score: 1

      That Microsoft is using basically the same thing to secure a corporate accounting system that holds genuinely sensitive data is both terrifying and laughable.

      I chalk it up to a guy from WikiLeaks having succesfully penetrated Microsoft's notoriously tortuous security department.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  8. Great Plains by Anonymous Coward · · Score: 1, Interesting

    I wonder how long this security issue has been in Great Plains?

    However long it has been, Microsoft really dropped the ball here because that acquisition was nearly ten years ago at this point.

    1. Re:Great Plains by Anonymous Coward · · Score: 1, Interesting

      GP has encryption? Well that beats SL (Solomon), where social security numbers are stored in cleartext.

      In fact I'm pretty sure the "recommended" Windows authentication method (vs. the Master60SP method) gives basic users full read/write access to the database by default.

  9. Doubly secure by egcagrac0 · · Score: 1

    They'll issue a patch next tuesday to improve security the ROT13 way - running data through the algorithm twice.

    1. Re:Doubly secure by Anonymous Coward · · Score: 0

      About 10 people already beat you to the rot26 gag above.

  10. Most ERP systems do not have the data encrypted by Anonymous Coward · · Score: 5, Insightful

    I don't know if this is any news at all. Most ERP systems do not have the data in the database encrypted at all. You should never give any direct access to your ERP database to anybody. If absolutely necessary, just create a view in another DB schema and give a read access to it only to selected users (so they could access for example the inventory information useing excel/access).

    1. Re:Most ERP systems do not have the data encrypted by Anonymous Coward · · Score: 0

      Too bad you weren't first post; it sounds like you're actually a DBA or something.

    2. Re:Most ERP systems do not have the data encrypted by Sir_Lewk · · Score: 5, Insightful

      The news here is they were claiming to be using encryption, but really were not. Regardless of whether or not encryption is needed in the first place, you don't mislead your customers like that.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    3. Re:Most ERP systems do not have the data encrypted by negRo_slim · · Score: 1

      The news here is they were claiming to be using encryption, but really were not.

      Hail!

      In cryptography, a Caesar cipher, also known as a Caesar's cipher, the shift cipher, Caesar's code or Caesar shift, is one of the simplest and most widely known encryption techniques.

      --
      On the Oregon Cost born and raised, On the beach is where I spent most of my days
    4. Re:Most ERP systems do not have the data encrypted by Unordained · · Score: 3, Informative

      You should never give any direct access to your ERP database to anybody

      That's slight overkill. I would encourage you to create proper database users, and grant them select/update/insert/delete rights only as appropriate. If you need per-column permissions, create views that hide those columns, and if they need read/write access, provide instead-of triggers on those views to support their needs.

      The main reasons I would encourage you not to let users have direct access:

      1) Users don't know what they're seeing, they don't know which lookup tables to join to, or they don't understand how the data's organized. They'll write their own reports, come to the wrong conclusions, convince management of their erroneous beliefs, and you'll have to clean up the mess. "I got my data from the database" shouldn't be good enough.

      2) Most ERP products (really, most database-backed products) are not built to keep themselves truly logically consistent without the help of some outside application layer. There are lots of reasons for that: developers are taught that databases are just for storage, they don't want to learn procedural SQL, they're trying to be database-agnostic the only way they know how, ... Giving users write access means they can easily get all the data out of synch (I don't just mean foreign keys here, thank you) by performing only half of a complex operation the application layer would have guaranteed fully done.

    5. Re:Most ERP systems do not have the data encrypted by Sir_Lewk · · Score: 2, Informative

      Classical ciphers, in discussions about modern computing, can't reasonably be considered on the same footing as modern ciphers. Using a classical cipher is no better than not using a cipher at all, hence no encryption.

      But hey, this is slashdot where pedantry passes for insightfulness, so what the hell.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    6. Re:Most ERP systems do not have the data encrypted by Anonymous Coward · · Score: 1, Interesting

      That's a very good point. I have all kinds of access to my companies ERP tables through SAP (though we don't store credit cards). The advantage here to using a cipher AT ALL is that those people who should have access can work with these tables as neccessary without seeing private information. Makes sense to me. However, the article claims that all tables are available to any user created in GP? I find that hard to believe. The article says that the user does not need to be granted DB access and therefore it has DB access. As the parent mentions, NO USER has DB access in an ERP system. Only the ERP system itself has access and then the ERP system manages all table and transaction access. Can anyone verify this for GP? Also, even if the system password is available to any user created in GP I don't think that matters. I don't know MS Dynamics in specific, but in SAP the "root" user (SAP*) has a well-known default password (PASS). Now, there's a LOT of background for doing this and for a long time now it is recommended to change the default password, disable automatic SAP*, lock the user, change the validity date and remove all profiles from this account. In other words, there should be NO POSSIBLE way to EVER use this account in a production environment. I hope that is the same for the MS GP system user... Can anyone verify?

    7. Re:Most ERP systems do not have the data encrypted by Anonymous Coward · · Score: 0

      Well, the ERP I work on is encrypted via stupidity.

      Freaking cluster tables. WTF is this - 1974?

    8. Re:Most ERP systems do not have the data encrypted by DarkOx · · Score: 3, Informative

      Yes but this is GP we are talking about there really is no "Application Server" the clients all connect to the database! The users running the client therefore must have access to connect to the database and do DML queries on many objects. Any users that actually need to run the application and not some limited web front end you have built or something are SQL users. The only real workaround is to only allow database connections from selct hosts and have one of those hosts be a terminal server. The best part is the GP application has lots bugs when running under terminal services!

      --
      Repeal the 17th Amendment TODAY! Also Please Read http://www.gnu.org/philosophy/right-to-read.html
    9. Re:Most ERP systems do not have the data encrypted by snowgirl · · Score: 1

      But hey, this is slashdot where pedantry passes for insightfulness, so what the hell.

      This is some new level of pedantry. I saw that they did use "encryption", but quickly wrote off Caesar's Cipher as any sort of "real" encryption.

      I mean, you have a PEDANTIC BITCH telling you that she agrees that you didn't need to be more explicit.

      But then, hey, perhaps for the individual being pedantic enough to complain, Caesar's Cipher is still an effective encryption system.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    10. Re:Most ERP systems do not have the data encrypted by Paradise+Pete · · Score: 2, Insightful

      The news here is they were claiming to be using encryption, but really were not.

      They are. Just not very strong encryption.

      • Man: I came here for some good encryption.
      • Microsoft: No you didn't. You came here for encryption.
      • Man: Encryption isn't just substitution.
      • Microsoft: It can be.
      • Man: Encryption is a connected series of mathematical operations intending to establish obfuscation.
      • Microsoft: Look, if I encrypt for you I must substitute for the original text.
      • Man: Yes, but it isn't just a simple one-to-one mapping.
      • Microsoft: Yes it is.
      • Man: No it isn't.
      • Microsoft: Yes it is.
      • Man: No it isn't.
      • Microsoft: Yes it is.
      • Man: Look, I've had enough of you.
      • Microsoft: No you haven't.
    11. Re:Most ERP systems do not have the data encrypted by Vancorps · · Score: 2, Interesting

      To be honest, it sounds like neither anonymous nor yourself have dealt with ERP systems at a database level. I'll give you a brief overview of why none of that works. First, there are six companies in my database and they do over 100 million in transactions every year. That database is 60,000 tables and there are only six users of the system. The database is only accessible from an accounting or management VLAN for obvious reasons. Going through and figuring out 10s of thousands of tables, triggers, procedures, and functions and granting permissions accordingly is just not going to happen.

      I have yet to find an ERP setup that was in my mind sensible. They evolved from flat files and basically just use the database as a filesystem rather than employing the majority of functionality found in most RDBMS. In my current case its even worse as you can't enable multi-master replication of the data since the application does column position math. That means if you add any column for a GUID then the app will break. Fortunately MS developed mirroring which solved a critical high-availability dilemma for me. Now I have two live servers and do an encrypted backup every night. ERP systems are a pain in the ass!

      MS isn't at fault for this BS setup, Navision and GP were both terrible even before MS bought them and there is a lot of work to do still before they start behaving like most Microsoft server apps.

    12. Re:Most ERP systems do not have the data encrypted by Trailer+Trash · · Score: 1

      Regardless of whether or not encryption is needed in the first place, you don't mislead your customers like that.

      Microsoft has $50,000,000,000 in the bank that says you're wrong. Honestly, at this point I don't know what else their customer could expect.

    13. Re:Most ERP systems do not have the data encrypted by John+Hasler · · Score: 1

      > ...you don't mislead your customers like that.

      The customers for this product are PHBs. They want to be misled.

      --
      Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
    14. Re:Most ERP systems do not have the data encrypted by Anonymous Coward · · Score: 0

      huh - one would think that now, when even Dynamics NAV has some kind of middle tier, there would be one for GP as well. In that case, only a locked down terminal server connection with all the printing and other problems... :-(

    15. Re:Most ERP systems do not have the data encrypted by Unordained · · Score: 1

      It's true, I wasn't the DBA for Lawson (on Oracle.) But it was fun to discover how much it kept of its Cobol roots, down to the "padding" fields that you would traditionally leave in records so you could add fields later without having to rewrite the files. (They were still occasionally used that way, even inside Oracle.) I love legacy code. Fun times.

      Number of tables isn't exactly an excuse in itself, though the fact that they're poorly documented might be. My current database has (truly) over a thousand distinct tables, but that doesn't mean we couldn't use dictionary tables to find the right ones and quickly assign permissions. But you do have to have good documentation in a useful format to do that, I'll grant you that for sure, and from what I've seen, said documentation is lacking on those ERP's.

    16. Re:Most ERP systems do not have the data encrypted by Sir_Lewk · · Score: 1

      A certain amount of pedantry is of course always good fun but I agree, this is just too much.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
    17. Re:Most ERP systems do not have the data encrypted by sindarin7 · · Score: 1

      Using a classical cipher is no better than not using a cipher at all, hence no encryption.

      I call bullshit. Sure, most classical ciphers are much much weaker than a modern cipher, but there are some that if properly implemented are really bloody strong. Ever hear of a one-time pad? Oh, yeah, that's right...it's a classical cipher. And it just so happens that it can be used to provide perfect secrecy. Yeah, it's a pain to implement right...so for every day use it isn't practical. Modern asymmetric encryption systems are great, but it relies on a mathematical problem that could very easily be solved in the near future. We can pretend that modern encryption systems are flawless, or we can remember that they, too, have their flaws that could very well become their downfall quite quickly. But this is slashdot, where bullshitting passes as informative.

    18. Re:Most ERP systems do not have the data encrypted by Vancorps · · Score: 1

      You are correct, if there was documentation or VARs that actually understood the full structure then setting permissions would be easy until you add a new user, then you start all over again.

      Then you end up like me where I have a database of stored procedures that lives outside so I can set permissions correctly. It's exceedingly difficult especially since I'm part two man crew that doesn't just do DBA but the sysadmin role as well.

      Oracle has half-decent auditing though so you could construct the documentation necessary by simply having accounting do their job. It gets even hairier when you start with reporting packages that expect certain structures and permission sets on top of all of that. Integrations make the whole thing quote a project, not impossible, just exceedingly difficult for a shop like mine where there are only six users. I could see a larger shop going through the effort.

    19. Re:Most ERP systems do not have the data encrypted by Sir_Lewk · · Score: 1

      Sure, most classical ciphers are much much weaker than a modern cipher

      s/most/all

      but there are some that if properly implemented are really bloody strong.

      Wrong. Classical ciphers are by definition unsecure. The term is used to refer any number of substitution (ROT13 for instance), transposition, or rotor machine ciphers that were created and used before the mathematical foundations of cryptography were investigated.

      Ever hear of a one-time pad? Oh, yeah, that's right...it's a classical cipher.

      No. Nobody considers a OTP to be classical cipher. Shannon's proof of OTP's perfect secrecy played a very important role in the early development of modern cryptography. It is by all rights a modern crypto system.

      Modern asymmetric encryption systems are great, but it relies on a mathematical problem that could very easily be solved in the near future.

      Not all asymmetric systems rely on prime factorization of integers being hard, just most of the most commonly used ones. However, we do however have very good reason to suspect that, without quantum computing, it is.

      Contrast this with any classical cipher, (ROT13 in fucking particular) that we know very damned well are not secure.

      We can pretend that modern encryption systems are flawless

      Exactly nobody in the cryptography community pretends this.

      they, too, have their flaws that could very well become their downfall quite quickly

      This is known, do you really think you are being insightful here? The difference is when breaks are discovered for modern crypto systems that realistically threaten the security of the system we either fix them, or abandon their use. We don't continue to use something as fundamentally broken and braindead as ROT13.

      But this is slashdot, where bullshitting passes as informative.

      Thanks for providing a fine example of this.

      --
      "linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
  11. Re:Shocked! by Rallias+Ubernerd · · Score: 0

    don't worry it happens all the time thats why i use a specially modified linux distro for myself

  12. Another solution by Itninja · · Score: 0, Offtopic

    They should be using Beowulf cluster of 10,000 4GB encrypted USB drives. God, I would pay money to see something like that....

    --
    I judt got a nre Kinesis keybiartf so please excusr ant egregiou typos.
    1. Re:Another solution by n30na · · Score: 1

      more like beowulf clusterfuck

    2. Re:Another solution by raddan · · Score: 1

      Beowulf is not going to help here. Beowulf is for clustering computational resources. You want to cluster storage resources, something like RAID-Z.

  13. My encryption method... by Eberlin · · Score: 5, Funny

    I figure that the variation of Caesar Cipher, ROT13, was easy to decipher so for maximum security, I always run it through the ROT13 encoder twice before I send it. Hell, I'm encoding this message in that method now so it will have to take a bit of cunning for you to read this comment. So if you've managed to read this, congratulations, you are qualified to work in Microsoft's security department.

    1. Re:My encryption method... by Cylix · · Score: 3, Funny

      It took me a while, but I managed to decode your message.

      Confirm the following transmission, "Snape kills Dumbledore."

      The ramifications are going to be industry wide if this is true!

      --
      "You should always go to other people's funerals; otherwise, they won't come to yours." -- Yogi Berra
    2. Re:My encryption method... by MartinSchou · · Score: 1

      Confirm the following transmission, "Snape kills Dumbledore."

      Cannot confirm. Contains false information.

    3. Re:My encryption method... by not-my-real-name · · Score: 1

      Confirm the following transmission, "Snape kills Dumbledore."

      Dammit! At least put a spoiler warning before you post something like this. Now there's no point in me reading the last book of Robert Jordan's Wheel of Time series.

      --
      un-ALTERED reproduction and dissimination of this IMPORTANT information is ENCOURAGED
    4. Re:My encryption method... by Anonymous Coward · · Score: 0

      The Swedish alphabet contains 29 letters, you insensitive clod!
      (å, ä, ö :-)

    5. Re:My encryption method... by Anonymous Coward · · Score: 0

      I tried your suggestion and I think I've encountered a serious flaw in ROT13! If you encode with it multiple times, sometimes as few as 2 or 3 times (more testing is required before I can be sure of the precise conditions required), ROT13 will actually DECODE the message! This is HUGE, people! Isn't like 90% of the internets based on ROT13??? Certainly it must be the most commonly used encryption software out there.

      I did some experimenting and found a way to make ROT13 secure. It's a simple variation. I call it ROT1. I tested it thoroughly when being used repeatedly, and it NEVER results in the original message. I tested it for very large repetitions, sometimes as many as 25.

  14. If a wordpress site dies and noone is around? by stoolpigeon · · Score: 4, Informative

    Here's a text only cache of the page.

    --
    It's hard to believe that's how Micronians are made. Why don't we see it right now by having you both kiss one another?
    1. Re:If a wordpress site dies and noone is around? by Anonymous Coward · · Score: 0

      Here's a text only cache of the page.

      Here's the cached page of the UDF for "decrypting" GP "encrypted" text.

  15. It's true by Anonymous Coward · · Score: 1, Insightful

    The old saying: "Anyone can create a security system that they cannot break"

  16. You do not give users acces to a application DB by leuk_he · · Score: 1

    It would be very obvious to me you do not give users access to a application database. Unless it is some BI kind of application. The obfuscation in this database is only to underline this. With normal BI tools you cannot retreive data from the database since it is obfuscated.

    You can access a SAP/oracle fusion DB diectly also but a good rule is NEVER TO DO THAT unless it is documented, since it is always unclear what state the tables are in and/or you need to take some extra data for your queries.

    And all databases allow to grant access based on user is to a limited set of data, so normal user access controls should also appy.

    Having encryption on user data in a database is a bad idea because the key storage is not as simple as you would think, and a lost encrypion key will render the data completely useless (by design!)

    1. Re:You do not give users acces to a application DB by The+MAZZTer · · Score: 1

      Better to lose customer data than customers.

    2. Re:You do not give users acces to a application DB by geekoid · · Score: 1

      SO you suggest not doing it becasue it's "hard" and thatno one cna mangae encryption keys?

      Are you stupid?

      It's not hard.
      people get into databases they aren't`
        suppose to be in all the time
      and managing an encryption key is trivial.

      --
      The Kruger Dunning explains most post on /. http://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
    3. Re:You do not give users acces to a application DB by leuk_he · · Score: 1

      It is trivial, if you have good design goals. I fail to see the point of symmetric encryption in database fields. If you can access protect the keys you can use the same protection method to protect the fields. That is access control, and should not be confused with encryption.

      And still: you will need to access an application Db with the correct API. Databases of large enterprise "application" have all kinds undocumented of oddities.

  17. Full Article by Anonymous Coward · · Score: 5, Informative

    Sorry... I didn't expect /. to pick this up, and didn't really warn Chris Kois that I'd submitted it. My fault.

    Below is the original article:

    I use the term "encryption" loosely in this article. As you read on, you'll realize why...

    I've been doing some work on a plugin for Microsoft Dynamics GP, which is an accounting system aimed at Medium sized to Large businesses. To give you an idea of what type of application this is: There are companies that pay somewhere around $10,000-$15,000 to consultants or VARS (Value Added Resellers) to implement a Microsoft Dynamics GP solution for their business. Many of the VARs have their own plugins and solutions for Microsoft Dynamics GP, usually written in .NET or Dexterity. The process of installing and maintaining GP is an industry all it's own and it's not cheap for a company to maintain this accounting system.

    I've been searching for the "encryption algorithm" or at least some way other way to "encrypt" data in GP in some other way than within Dexterity code. I was really hoping that there would be some .NET library that would do this for me, but I was never able to find anything that would help me do this. So, I became interested in what type of "encryption" this is. Somewhere (I can't remember where) I found something that indicated that the it's a symmetric key encryption algorithm. The message boards were not much help either. Anywhere I went, I basically saw this same type of statement, "the encryption algorithm is a closely guarded secret".

    Today, while doing some testing, I noticed something with data that we were saving to a field which utilizes the GP "encryption". The plugin I was testing puts data in an encrypted field (not that it needs to because it's not sensitive in nature), and I was testing with the same values each time. As I would expect, I saw the same data stored in the field in the database for each row in the table. However, I noticed that one of the entries was different, by 2 characters. That seemed very odd to me. After looking at it some more and conducting some more tests, it looks like I simply miskeyed my test data, but it prompted me to take another look at this.

    After trying a couple different combinations of test data, it became very obvious that changing only one character in the test data appeared to only alter 2 characters of the encrypted data. So I ran through a battery of tests, and came up with this:

    Yep, it's basically your run-of-the-mill Substitution cipher. The worst part, there's evidence all over the place that this was a VERY weak encryption algorithm for awhile, but nobody seemed to pay any attention to it when people were asking how they could reset passwords of users in the database (Post 1 - Post 2)

    I did some more searching, because there is ABSOLUTELY NO WAY THAT I AM THE ONLY ONE THAT SAW THIS... I found a good write up on the MSDN blogs that explains pretty well how the GP encryption was used (here).

    The article is evidence to support a theory that I have, which is after GP moved to SQL server authentication, the encryption method didn't seem to be needed any longer so they never replaced. I don't know if the word was released to developers and integrators that the "encryption algorithm" wasn't ideal for storage of sensitive information, but I don't know how many plugins or customizations use it either.

    EXCEPT.... Microsoft still uses it for their GP system password, which is the password needed to get to the Security Roles/Tasks and all the User Security related forms while in GP. What's even worse, if you create a new user, you have to give the user explicit rights to the company or companies you want the user to access, but you DON'T HAVE TO GIVE ACCESS TO THE DYNAMICS DATABASE. What that means is if you create a base user in GP, that user can log into the SQL server and run a select statement on the table containing the "encrypted" GP System password... Not good...

    I created a

    1. Re:Full Article by Anonymous Coward · · Score: 0

      Of course I ripped out the table where he says "came up with this:" thanks to the /. filter. I put the comment explaining I'd done this inside LT GT symbols because I'm made of fail.

    2. Re:Full Article by Spaham · · Score: 1

      funny this didn't get rated off-topic

    3. Re:Full Article by mpolino · · Score: 5, Interesting

      I'm a Microsoft MVP for Dynamics GP and this line "What that means is if you create a base user in GP, that user can log into the SQL server and run a select statement on the table containing the "encrypted" GP System password... " is completely false. GP users can't log in to SQL using their GP passwords. The article doesn't state a version being used. On some older versions it was possible to chose to allow a user to access SQL with their GP login. This is not possible on any of the supported versions of Dynamics GP. Additionally, the System password referred to has always been a second line of defense. Security has to be given to a particular window in the application before GP even asks for the System password. Relying on the System password alone for security has never been a best practice. There are a number of other areas where the writer confuses different types of passwords and security in Dynamics GP making it clear that he's never actually used the application to understand how differnt passwords and settings interact to provide security. Mark

    4. Re:Full Article by Anonymous Coward · · Score: 0

      If it is verified that the Caesar's Cipher is actually being used here, it would seem rather embarrassing to Microsoft, even if it is the second line of defense.

      Can't someone log in to GP with their ODBC connection with their own GP login ? They could run the select sql, decrypt it, log into GP with their own credentials, use the system password to change the SQL login password of the "sa" or "DYNGRP" account using the GP UI, then log into the database?

    5. Re:Full Article by Anonymous Coward · · Score: 0

      If GP is installed on a computer chances are it sets up an ODBC control. It's pretty trivial to use the ODBC control with other programs (excel, access, and msqry32.exe for example). Then all you'd have to do is reverse engineer the table links a little bit. We do it all the time to generate reports for analysis and trending on a couple of our databases. If GP isn't set up on a computer it could be possible for someone to create an ODBC control. However someone would have to get the password the ODBC control needs to connect to the server (this may or may not be easy in GP's case I haven't looked into it).

    6. Re:Full Article by Anonymous Coward · · Score: 0

      mpolino, you think anyone on slashdot is going to stop after reading your post? too much fun to ramble and whine and the facts be damned. lmao

    7. Re:Full Article by IICV · · Score: 1

      On one hand I would like to believe you since my company will be rolling out a Dynamics deployment at some point in the future; on the other hand, you guys used a substitution cipher and called it "encryption". The fact that you're an MVP and you say some stuff is kind of meaningless in the face of such a gigantic failure.

    8. Re:Full Article by WarlockD · · Score: 2, Interesting

      Ok, What the FUCK. I was going to say this wasn't even a story and that the poster had no clue on .NET, then I read THIS:

      http://blogs.msdn.com/developingfordynamicsgp/archive/2008/10/02/why-does-microsoft-dynamics-gp-encrypt-passwords.aspx

      THIS is your argument? What version it is? All your talking about is application security.

      Look, the poster isn't the greatest .NET programmer out there (Plenty of built in stuff for encryption in .NET), but come on. A two byte substitution cipher? All you have to do is put down a packet analyzer, have the application "retrieve" the system password and there you go. Its just kept in the freaking tables and I doubt businesses use ssl on their lan.

      But that's not the biggest pet peve. WHY AREN'T YOU USING AD? You know, the 20+ years of authentication system that just works?

      I sound angry because on one hand I like how you can program your own authentication provider in iss and start to warm up to Microsoft, but then I read something like this where you don't even bother to use the BUILT IN string encrypting in .NET.

    9. Re:Full Article by svallarian · · Score: 3, Informative

      About your AD comment, it's been brought up, but AD isn't the be-all-end-all of security.

      From:
      http://blogs.msdn.com/developingfordynamicsgp/archive/2009/12/09/do-we-really-want-windows-authentication-for-microsoft-dynamics-gp.aspx

      "One major drawback to switching authentication modes is audit trails. AX and SL have made the move from SQL auth to Windows Auth. In doing so, they destroyed the audit trail at the database level. All DB updates are made by one user making it a massive challenge to determine who made a change to financial data. Many of the AX and SL companies we work with get dinged for this in each audit."

      --
      I patented screwing your mom. But it got revoked for "prior art."
    10. Re:Full Article by jolson74 · · Score: 1

      I've been searching for the "encryption algorithm" or at least some way other way to "encrypt" data in GP in some other way than within Dexterity code. I was really hoping that there would be some .NET library that would do this for me, but I was never able to find anything that would help me do this.

      How did you possibly fail to find this: http://msdn.microsoft.com/en-us/library/system.security.cryptography.aspx

    11. Re:Full Article by PopBus · · Score: 1

      No - nobody can perform SQL queries from within the Dynamics GP application, and nobody can use their GP login and password to log into SQL - the password of your SQL login is encrypted with a strong encryption.

  18. I'll State This AGAIN: Microsoft Security IS an by Anonymous Coward · · Score: 0

    OXYMORON.

    This was moderated down last week on a lame story about Microsoft providing first "security" patches to their goverment "customers".

    Thanks in advance.

    Yours In Akademgorodok,
    Kilgore Trout, C.I.O.

    1. Re:I'll State This AGAIN: Microsoft Security IS an by Kilrah_il · · Score: 1

      actually, nowadays even microsoft is an oxymoron. They should be renamed Bloatsoft (which is easily shortened to BS).

      --
      Whenever in an argument, remember this.
  19. My guess is ITAR, the market and standards by jd · · Score: 4, Insightful

    Not that long ago, competent security was a criminal offense to export. It still is, unless the code is Open Source (and we all know how Microsoft loves Open Source). The practical difference between a Caesar cipher and DES is that the Caesar cipher is faster so more transactions can be performed. You could do more leaving things in plain-text, but regulations usually require encryption of some sort for this kind of data. However, those same regulations don't usually stipulate any particular strength of encryption, so Caesar becomes ideal. The high throughput will sell better and the absence of security means it evades export controls. You end up with the largest possible market.

    If there was a recognized, official (or even semi-official) standard API and ABI for cryptography libraries, ITAR would be less of an issue. You could swap out any crypto library in any product and swap in an alternative. You could then use any crypto library (and therefore any crypto algorithm) you liked.

    If standards better-mandated what level of security was required, weak algorithms would never be used. No corporation would dare risk the penalties and so no vendor would dare supply soft crypto.

    The market's preference for high throughput is perfectly reasonable, but it is often unwilling to invest in security - which is why there are so many issues of this kind. If corporations were more willing to invest in securing their systems, say by using hardware crypto engines to get the high throughput they needed, they would be able to use essentially bullet-proof algorithms without harming the amount of data they could manage.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:My guess is ITAR, the market and standards by palegray.net · · Score: 2, Informative

      Not that long ago, competent security was a criminal offense to export. It still is, unless the code is Open Source (and we all know how Microsoft loves Open Source).

      I'm sure as heck no Microsoft fan, but they've been exporting strong cryptographic components for a long time now, and not in an open source format. Please reference the following materials for further guidance on this topic:

      Export of cryptography in the United States
      International Traffic in Arms Regulations 2009

      Sure, you can't export this stuff to Iran, North Korea, etc, but there are very few real obstacles aside from that. This is pure and simple failure on Microsoft's part, on the most basic level imaginable concerning data protection.

    2. Re:My guess is ITAR, the market and standards by Anonymous Coward · · Score: 0

      Some of your statements about export are incorrect unless there have been very recent changes to US export laws. (I assume you are referring ot US laws, but laws in some other countries are similar.) In general: 1) Even open source is still controlled once you compile it and use it in a product. 2) Being able to swap out the library is called "crypto with a hole" and will prevent you from getting an export license. There is one glaring exception to those rules but they are the reason the attempt to get NIST certification for the Unix crypto library failed on the first few attempts. The examiners weren't having any of that "compile your own code and just plug the library into your application" nonsense.

    3. Re:My guess is ITAR, the market and standards by raddan · · Score: 1

      You can have nigh-unbreakable ciphers that are just as fast as ROT13. XOR is a single operation on most processors.

      The slowness comes in when you want features like asymmetric cryptography. Features that are not required here.

    4. Re:My guess is ITAR, the market and standards by TerranFury · · Score: 1

      The practical difference between a Caesar cipher and DES is that the Caesar cipher is faster so more transactions can be performed.

      Umm, no?

      Caesar, and substitution-based ciphers in general, are so easy to break that they're given as puzzles in the daily newspapers (some aphorism is encrypted with a substitution cipher; you need to figure out what it is). Basically, you know the frequencies with which various letters, pairs of letters, etc. appear in English text; so you can compute the frequencies with which the characters in the ciphertext appear and determine a correspondence that way.

      DES, on the other hand, mangles the statistics pretty thoroughly. There are attacks, but AFAIK they're not obvious, and still pretty computationally heavy.

    5. Re:My guess is ITAR, the market and standards by ivoras · · Score: 1

      The practical difference between a Caesar cipher and DES is that the Caesar cipher is faster so more transactions can be performed. You could do more leaving things in plain-text, but regulations usually require encryption of some sort for this kind of data. However, those same regulations don't usually stipulate any particular strength of encryption, so Caesar becomes ideal.

      Actually, RC4 is not that much slower than Casear, mainly because is implemented sort of like Caesar with extra steps to modify the substitution table at runtime. OpenSSL can do RC4 on modern hardware faster than 300 MB/s. Even though it is as a "combiner" stream cipher and as such tricky to actually use securely, it would be much better than the probably ad-hoc implemented Caesar.

      If there was a recognized, official (or even semi-official) standard API and ABI for cryptography libraries, ITAR would be less of an issue.

      You mean like their official ones? They could have used their own crypto API, but they didn't.

      If standards better-mandated what level of security was required, weak algorithms would never be used. No corporation would dare risk the penalties and so no vendor would dare supply soft crypto.

      You are right - this is 50% of the problem here. The other 50% is MS just being lazy.

      --
      -- Sig down
    6. Re:My guess is ITAR, the market and standards by UnknowingFool · · Score: 1

      Not that long ago, competent security was a criminal offense to export. It still is, unless the code is Open Source (and we all know how Microsoft loves Open Source). The practical difference between a Caesar cipher and DES is that the Caesar cipher is faster so more transactions can be performed.

      Depends on your definition of "not that long ago." Since 2000, the US has lifted many restrictions on export. What MS used is a simple cipher that they've used since Roman times (hence the name Caesar). Even if for some reason, MS had to keep the cryptography low, there's no reason to keep it that low. Before many of the restrictions were lifted, 40-bit encryption was allowed. That is massively more difficult to break than a Caesar cipher.

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
    7. Re:My guess is ITAR, the market and standards by jd · · Score: 2, Insightful

      DES is sufficiently weak that it is possible to build a home-grown cluster that can break a DES key in minutes. Yes, DES is "strong" in the sense that the algorithm itself has no significant flaws that anyone can detect, but when dealing with a credit card system where it's quite plausible that each card could have a thousand dollars available on it on average, obtaining 500 cards would cover the cost of the EFF's DES-breaking machine and therefore cover the costs. Everything else would be sheer profit for the crook(s). Given that news stories on credit card theft usually talks about hundreds of thousands of cards being stolen, the cost of smashing DES would be 0.1% of the money the criminals could walk off with. In short, as close to nothing as to make no odds.

      If the cost of smashing 40-bit or even 56-bit encryption is insignificant, then there is no practical difference between DES and ROT13 at the kind of level of sophistication you'd require to even steal from that many cards without being caught or detected. This leaves you two options - spend less money and superficially meet requirements (and then hope like hell), or spend more money to invest in doing security correctly. Hands up all who know IT managers who enjoy spending money on things that don't (in themselves) offer any return because it is Doing The Job Right. Ok, now hands up all those who know IT managers who take shortcuts to meet business requirements or upper-level management demands even though they know it's probably risky and/or bloody stupid to take those shortcuts?

      My guess is that the vast, overwhelming majority raised your hands on the second question and that maybe a few dozen (at most) did so on the first. I also suspect that anyone who questioned my original post would actually agree that IT managers aren't known for Doing The Right Thing when it comes to IT security, that cost and the performance needs of everyone else take first and second place (order depending on where you work). In short, outside threats are likely to be considered rare and more likely to affect underlings than the manager, whereas office politics is a constant and immediate danger with backstabbing and dirty infighting being the norm. You may well be in a place that isn't like that, but if so, I defy you to seriously claim (and prove) that your situation is remotely close to typical.

      Even ignoring the treachery that makes up the modern workplace, you still have the Peter Principle to contend with. If you have an IT manager who is experienced at being an IT manager, the principle dictates that this means he has risen to his level of incompetence. Again, there will likely be exceptions, but I'm talking the typical case here.

      So, if the typical IT manager is stingy and/or incompetent, thus defining this to be the primary business market for Microsoft, this will be the sort of person Microsoft products will be aimed at. Microsoft is lots of things, but stupid about their customers they are not. If they ship a flaky product, it is because they know the customer won't care and/or won't notice, but will buy it anyway. Hell, Vista for the desktop probably still made a sizable profit despite the complaints and the effective abandonment.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    8. Re:My guess is ITAR, the market and standards by jd · · Score: 1

      You are right - this is 50% of the problem here. The other 50% is MS just being lazy.

      Well, yes. If the IT managers can't tell the difference between Caesar cipher and AES, then it is arguably lazy to use Caesar. Mind you, less work done for the same income from sales equals more profit. And in a world (and stockmarket) driven by profit margins, voluntarily cutting those margins makes no business sense. (It's why the highest-risers in the stockmarket are also the high-risks and also the ones tied to companies most likely to suffer disasters that seriously impact - or in some cases kill - others. Not sure about the US, but in the UK these are sometimes referred to as the Dogs. They can run fast but they can also turn and bite.) Microsoft did not become one of the richest companies in the world by cutting margins. Yes, it is lazy in an intellectual sense, but Microsoft isn't aiming at intellectuals.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    9. Re:My guess is ITAR, the market and standards by Anonymous Coward · · Score: 0

      QUOTE:
      If there was a recognized, official (or even semi-official) standard API and ABI for cryptography libraries, ITAR would be less of an issue. You could swap out any crypto library in any product and swap in an alternative. You could then use any crypto library (and therefore any crypto algorithm) you liked.

      Yes, this would make building a password cracker that much easier! I could just swap out the libraries and try various attacks. Maybe, I'll get lucky and guess the cipher in use.

    10. Re:My guess is ITAR, the market and standards by TerranFury · · Score: 0, Flamebait

      DES is sufficiently weak that it is possible to build a home-grown cluster that can break a DES key in minutes. Yes, DES is "strong" in the sense that the algorithm itself has no significant flaws that anyone can detect, but [...] the cost of smashing DES would be 0.1% of the money the criminals could walk off with. In short, as close to nothing as to make no odds.

      I think your "consider the cost in dollars" point of view is very insightful, and DES is indeed not very strong, but I still don't think it's fair to compare it to a substitution cipher. It takes ~$200k of hardware and 24 hours to crack DES. It takes a retiree five minutes and the back of a napkin (or a laptop less than a second) to break a substitution cipher. Organized criminals can break DES, but Joe Average can't without taking out a mortgage just to buy the hardware (or having access to a pretty extensive botnet).

      If the keyspace can be reduced further, though, then things get easier. E.g., one program I investigated that sent DES-encrypted passwords over the network ignored the least significant bit of every character in a password, only allowed 7 or 8 character passwords, and was IIRC case-insensitive; if you additionally assumed that most passwords would be alphanumeric you ended up with a keyspace that could be bruteforced in a few days by no more than half a dozen workstations in a university computer lab.

    11. Re:My guess is ITAR, the market and standards by jd · · Score: 1

      True, XOR is the fastest operation, and One-Time Pads use XOR and nothing else. However, short of you and the other person using radio telescopes to obtain a common intergalactic source of randomness (and, yes, that is seriously done), you need to take account of the time (and space) needed to store pads large enough and the encryption time (which can't use a One-Time Pad) taken to securely transfer it.

      Having said that, for B2B, OTPs using an intergalactic RNG would likely be cheaper and safer than using quantum cryptography. It would also be much more practical, as it takes a lot of hardware at the moment to deliver qbits. Also, OTPs can't be broken -at all- if the pad itself is secure, but the vulnerability recently discussed shows that quantum cryptography CAN be broken to the extent of being partially readable.

      To use a common radio source, all you need is a common starting point and a common target. Aluminum atomic clocks have an error of 8.6e-18 of a second. (This makes it a 1.1 Petahertz clock, rather better than the clock chips we're typically using.) That should be good enough to get some excellent randomness from just about any source out there and insure that both collection systems are in-phase.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    12. Re:My guess is ITAR, the market and standards by TerranFury · · Score: 1

      "Flamebait?" Really?

    13. Re:My guess is ITAR, the market and standards by Anonymous Coward · · Score: 0

      There is actually a standard Microsoft library. It's the Microsoft crypto API, I think it's called the "Microsoft cryptography provider," not sure. And it's actually pretty decent from what I can tell. It comes pre-installed cross-platform (Windows and Windows Mobile), and supports a number of strong algorithms.

      As far as a "standard API for crypto" goes, well, not needed since this is a Microsoft product and they have one. But, how? Have you read the certification guidelines? Why would you want to? If you were smart?

    14. Re:My guess is ITAR, the market and standards by raddan · · Score: 1

      If you want to encrypt data in your own database, I'm pretty sure you don't need the NASA gear.

      I don't buy the ITAR argument, either. Any competent programmer would make the encryption routines modular. It's not hard to swap something good out for something bad for export purposes. I think Microsoft just "forgot". Too many people, and too much undocumented code.

    15. Re:My guess is ITAR, the market and standards by jd · · Score: 1

      You're perfectly right, it isn't hard to write modular code. There are many things that are not hard that Microsoft only do after a screaming tantrum, two (or more) court cases and a wallop over the head with a large stick. I'd include "thinking" on that list.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  20. And how would I know? by SanityInAnarchy · · Score: 0

    Quick question: Where'd you buy that computer? Wasn't with Newegg, by any chance, was it? They clearly use MS products at least for the frontend (ASP), but that's really no guarantee one way or the other.

    The only way you could not be that "naive" is if you simply don't use your credit card online, in which case, how do you know what your bank is using?

    --
    Don't thank God, thank a doctor!
  21. PCI-DSS by realxmp · · Score: 4, Informative

    And storing credit card details in this way is in direct violation of the PCI-DSS which as a merchant the companies will have attested that they are in compliance with. If they get caught or worse leak data then there are severe financial penalties.

    1. Re:PCI-DSS by rjstanford · · Score: 1

      Actually, that's not the case - I don't believe that PCI mandates "good" encryption, just encryption. Besides, one thing that it absolutely does mandate, at least for service providers (the portion of PCI I'm most familiar with), is that your database be in a different, firewalled, network segment than your application server. So even if GP is creating accounts on the DB server, nobody other than the application should be able to just connect to it anyway. Of course, having just gone through our audit, I'd guess that an awful lot of people are probably failing PCI in one way or another... still worth crossing the Ts and dotting the Is.

      --
      You're special forces then? That's great! I just love your olympics!
    2. Re:PCI-DSS by blincoln · · Score: 3, Informative

      I don't believe that PCI mandates "good" encryption, just encryption.

      As of 1.1 (the only document I have handy), the requirement is "Strong cryptography, such as Triple-DES 128-bit or AES 256-bit". I'm sure it only got more stringent after that.

      --
      "...always new atoms but always doing the same dance, remembering what the dance was yesterday." -Richard Feynman
    3. Re:PCI-DSS by Anonymous Coward · · Score: 0

      yes financial penalties, which will pay the lawyers and bureaucrats yay!

    4. Re:PCI-DSS by Anonymous Coward · · Score: 0

      I hope so, since 3DES 128 or AES 256 is really not THAT strong.

    5. Re:PCI-DSS by bertok · · Score: 1

      I hope so, since 3DES 128 or AES 256 is really not THAT strong.

      Good attempt at a troll, but AES 256 is basically the maximum keysize, and is rated by the NSA as sufficient for "TOP SECRET" materials.

      In other words, it's more than enough for some administrator password that's probably written down on a postit note conveniently stuck to the side of the monitor.

  22. Well they've got work to do before July 1st.... by ducomputergeek · · Score: 1

    That's when PA-DSS takes affect. And PA-DSS applies to any application that stores or transmits cardholder data (credit card number). They require all that information to be stored using "strong encryption", which is defined as either TripleDES with a 168bit Key or AES. Bunch of other rules too for anything web-based. Like for one the database storing the data cannot be connected to the internet. Requires at least 2 servers with your web facing server having 2 nics. One that connects to a DMZ or has access to the internet and the other that connects to a private local network with the database server(s).

    --
    "The problem with socialism is eventually you run out of other people's money" - Thatcher.
  23. Re:Shocked! by Z00L00K · · Score: 1

    This product; "Microsoft Dynamics GP" gets a lot of publicity - and since it's mostly unknown to the majority this must mean that the flaw in reality is unimportant and what will happen is that the bug gets corrected and the application gets a lot of free marketing.

    --
    If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
  24. Slightly Misleading Article by Anonymous Coward · · Score: 0

    I think that this article is a little misleading. The encryption that is being discussed here is well known to be weak, and is only used for the system password, it's not used for the integrity of the system at all.

    The article links to a blog here, which talks about the encryption of the SQL login passwords, which is a completely different thing, which does not use a simple substitution cipher. A couple different locations that encryption is used are being confused here.

  25. Better off using xor by Chrutil · · Score: 0, Redundant

    I usually use xor to encrypt my data, and to be really sure I run the encryption twice. ^C

  26. SQL the same? by EkriirkE · · Score: 0

    If I remember right, I could sniff the login password from a TCP/IP exchange between SQL client and server and the password was also just a letter substitution. It's been a few years, but I just sent it something like 'aaaaa' then 'bbbbb' and looked for the difference in packet - the change was the same-length as my test password and repeated the same character the exact # of times.

    --
    from 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
    to 45 2F 6E 40 3C DF 10 71 4E 41 DF AA 25 7D 31 3F
  27. Microsoft's latest encryption by theskunkmonkey · · Score: 4, Funny

    Heytay areway oinggay otay useway Igpay Atinlay!

    1. Re:Microsoft's latest encryption by snowgirl · · Score: 2, Informative

      I disagree with your implementation of the Igpay Atinlay algorithm as described in RFC PL.

      "They" is properly encrypted as "Ey-thay", as "th" is a single phoneme.

      Of course, if you're sticking to the MICROSOFT implementation of going simply with orthographic characters, and you want to be non-standard with proper implementations, then go ahead.

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
    2. Re:Microsoft's latest encryption by snowgirl · · Score: 2, Funny

      Who the fuck are they giving mod points to anymore?

      INFORMATIVE? This was total "out of my ass" bullshit. ... *shrugs and goes back to her alcohol*

      --
      WARNING! This girl exceeds the MAXIMUM SAFE standards established by the FDA for BRATTINESS
  28. Microsoft engineers by K.+S.+Kyosuke · · Score: 2, Funny

    This piece of advanced technology obviously came from the cesarean section of their R&D department.

    --
    Ezekiel 23:20
    1. Re:Microsoft engineers by Der+PC · · Score: 2, Interesting

      This is actually NOT a piece of Microsoft software.

      Microsoft Dynamics is what used to be known as "Navision Financials", and before that "Fjölnir". It's a piece of extremely crappy software written in Denmark and is based on a Pascal engine where everything is loosely glued together.

      Fjölnir was I think the first financial system Denmark exported. Much to the horror of a neighbour country - Iceland, where Fjölnir became mainstream on HPUX and DOS.

      http://www.snerta.is/images/stories/products/fjolnir.gif

      Navision (the Windows version) was not a rewrite or redesign of Fjölnir as much as it was placing an abhorrent GUI on top of a ghastly DOS program.

      Microsoft however got interested when they realised that all of the nordic countries were using Navision.

      So in effect, I think this vulnerability may be traced all the way back to Fjölnir in the mid 90-s, and as such, blame the security on a sixpack of Carlsberg and one lazy Dane who didn't take security classes at school...

      I mean... really... Caesar cipher ?

      Can I laugh out loud now ?

      Oh... I know how to spell i-d-1-0-t. Wonder if the original authors do...

      --
      This signature is DRM protected. By the DMCA, you are not allowed to counteract or oppose to it.
    2. Re:Microsoft engineers by AHuxley · · Score: 1

      All its shows is they did not think to do a security audit of the code?
      Security as the top priority was the vision MS wanted to sell to the world.
      What does this show? MS is lazy, slow, not that interested or someone wanted a SWIFT like plaintext backdoor in parts of Europe.

      --
      Domestic spying is now "Benign Information Gathering"
    3. Re:Microsoft engineers by Der+PC · · Score: 1

      True, a security audit was truly in order.

      However, having seen what Navision is like on the inside, I can assure you that auditing a giganormous pile of dog poo would be of a much higher interest.

      Navision should have been scrapped on day 1.

      Microsoft Money (which was actually Microsoft's own) was of much higher quality, and would have had better chance of becoming a real accounting package.

      Oh... you know WHY Dynamics/Navision/Fjölnir uses a database ?

      Because it's cheaper than having a massive amount of plaintext files open at once.

      Yup. They don't use the goodness of the database at all. No relations, no normalization, and if at all possible, duplicate all data everywhere. Makes you want to puke.

      But then, so does Danish cheese...

      --
      This signature is DRM protected. By the DMCA, you are not allowed to counteract or oppose to it.
  29. This is the community's fault by Sleepy · · Score: 1

    Everyone knows that Microsoft outsources their security testing to beta testers and software pirates... you know, the Microsoft Community.

    I blame the wicked smart geniuses like Paul Thurrot... he's totally the kind of wise guy who evaluates early MS products, someone who appreciates the finer parts of Microsoft security.

    I'm sure he has a prepared excuse for this Microsoft fail, just like he has one for every other MS gaffe.

  30. Deja Vu. by Anonymous Coward · · Score: 0

    Some moons ago my former firm was assesing solutions for LDAP/Kerberos .

    One MS based solution was the front runner (I don't know why, we guessed that the person responsible for selecting the solution was a golf buddy of a MS reseller, but I digress), until one of our UNIX guys, utterly pissed off with the lame security revies, passed a fine comb through the whole thing.

    To make the tale short, he found that MS sofware had been writing important security information in the registry, in clear text.

    Needless to say the MS based solution was dropeed in favour of a Sun's Solaris one.

    To this day it remains a mistery why people keep insisting in trusting MS wares for mission critical or sensitive stuff.

  31. How bad is bad? by Anonymous Coward · · Score: 0

    In some contexts it might be acceptable to do this. Basically you just want to prevent casual viewing of passwords in the database or configuration files. Since TFA is currently slashdotted I'm reserving my right to laugh and be judgemental until I get a better picture of the context.

    Keep in mind even the worlds best encryption algorithm are useless if the keys are stored next to the data they are protecting. Nobody uses startup passwords because we're all too lazy so even if strong encryption were to have been deployed how much of a difference would it have made?

    SSH is only secure after taking the leap of faith. Shadow files with todays latest algorithms are still subject to offline attack and therefore must be concidered insecure. There are plenty of piss poor bad security practices in use by virtually everyone and while it might take more computer time to recover it does not make the materially better than rot13.

  32. Indeed by mr_death · · Score: 1

    Where was the much-vaunted Security Development Lifecycle process (http://blogs.msdn.com/sdl/)? I guess the threat model consisted of a six month old baby pounding on a keyboard. The responsible engineer(s), PMs, and VP should be fired.

    --
    It's Linux, damnit! Pay no attention to renaming attempts by self-aggrandizing blowhards.
  33. *** Irony, Microsoft did use XOR *** by Cassini2 · · Score: 1

    I usually use xor to encrypt my data

    You are more correct than you expected. The encoding algorithm is not a Caesar Cipher algorithm. Going by the code table in the article, Microsoft simply XORs the incoming data with 0xEE. To undo the cipher, XOR again with 0xEE.

    Using XOR makes for really easy coding. Instead of having an encryption and decryption function, now only one function will do both.

    1. Re:*** Irony, Microsoft did use XOR *** by betterunixthanunix · · Score: 2, Informative

      Actually, XOR is frequently used for encryption, and very strong ciphers can be built by XORing the plaintext with carefully chosen bits. These are known as "stream ciphers," and the idea is to use a random number generator; the secret key is the seed you give the generator. As you note, the encryption and decryption functions are the same, which is one of the advantages (another, more important advantage is that you can create provably secure stream ciphers based on standard assumptions, such as the difficulty of the RSA problem).

      --
      Palm trees and 8
  34. Not a substitution cipher by Cassini2 · · Score: 1

    Going by the code table in the article, the encryption algorithm is not a substitution cipher. Microsoft's algorithm is an XOR with 0xEE. To decrypt, XOR with 0xEE again.

    1. Re:Not a substitution cipher by robot256 · · Score: 2, Informative

      Um, yeah, that is a substitution cipher because each byte is encoded by substituting a different specific byte. It's just a substitution that's really easy to do on a computer with a simple mathematical operation.

    2. Re:Not a substitution cipher by dave562 · · Score: 4, Insightful

      Whoever coded the "encryption" routine really dropped the ball. SQL Server supports AES encryption on individual fields. The first result of a Google search for "sql server field encryption" points to an MSDN article with code examples of how to use AES-256 encryption.

      How do these things keep happening? There have to be mistakes on so many levels. Whoever developed the spec obviously was clueless. The person who coded the spec was probably clueless, and/or didn't have the authority to do things the right way. The tools to make these applications secure are available. You'd think that a Microsoft coder using a Microsoft database could use the Microsoft solution properly.

      The more I deal with corporate America and the people who find themselves in charge of projects, the more I believe that competence really is a Bell curve with the center of the curve being INCOMPETENT, the far left is DISABLED. How do these people sleep at night? The only thing that I can figure is that they really are ignorant. If I do something half assed, it bugs me. It keeps me up at night. So either these people just don't give a rats ass and are working in a culture that lacks accountability, or they are completely ignorant and are working in a culture that lacks accountability. A friend of mine once told me, "Most people don't do the right thing because it is the right thing. They do the right thing because they fear the consequences of getting caught doing the wrong thing." Every where I look in society, there are fewer and fewer consequences.

    3. Re:Not a substitution cipher by Anonymous Coward · · Score: 2, Informative

      The software in question was bought from a company called Great Plains (hence the "GP" in the name) out of Fargo, North Dakota. Likely this system of encraption was already present in the software before Microsoft bought it. So it's probably not really a matter of incompetent Microsoft developers (for once), but a matter of management refusing to allow the developers to reimplement it.

      I presume the author of the article was using 9.0 and not the recently released 10.0. Even so, this software was purchased by Microsoft in 2001 and version 9.0 was released in 2005. There's no excuse for it not being addressed in the interim.

    4. Re:Not a substitution cipher by Anonymous Coward · · Score: 0

      The more I deal with corporate America and the people who find themselves in charge of projects, the more I believe that competence really is a Bell curve with the center of the curve being INCOMPETENT, the far left is DISABLED.

      You know all those idiots you see on the road? Yeah, they all gotta work somewhere.

    5. Re:Not a substitution cipher by b4dc0d3r · · Score: 1

      Watch the movie Cube if you dare, it reminds me why huge companies operate the way they do.

    6. Re:Not a substitution cipher by svallarian · · Score: 1

      The "Spec", as you call it, was developed before SQL Server was even created. The original Great Plains software ran on a variety of databases and back then there wasn't any encryption functions that you could call.

      --
      I patented screwing your mom. But it got revoked for "prior art."
    7. Re:Not a substitution cipher by durdur · · Score: 1

      Security functions in particular should not be developed by amateurs. There are few parts of a software product where not knowing the right things to do and how to do them has worse consequences.

    8. Re:Not a substitution cipher by initialE · · Score: 1

      Dynamics was not built to support any particular edition of SQL server, much less 2005 and above. They cannot rely on SQL providing the encryption.

      --
      Starbucks, Harbuckle of Breath.
    9. Re:Not a substitution cipher by dave562 · · Score: 1

      Dynamics was not built to support any particular edition of SQL server, much less 2005 and above. They previously could not rely on SQL providing the encryption.

      Fixed that for you.

    10. Re:Not a substitution cipher by Anonymous Coward · · Score: 0

      do you really think that MS has any easier time
      with their software than we do ?

      can you imagine the internal tech support ?

      they probably ask for their credit cards as well.

      hah.

    11. Re:Not a substitution cipher by bertok · · Score: 1

      The "Spec", as you call it, was developed before SQL Server was even created. The original Great Plains software ran on a variety of databases and back then there wasn't any encryption functions that you could call.

      Obviously it was completely impossible for the GP developers to simply use any one of the dozens of free, public domain, or open source C implementation of 3DES or AES.

      The very fabric of the universe itself must have shifted to prevent it, because there cannot possibly be any other excuse.

    12. Re:Not a substitution cipher by yyxx · · Score: 1

      How do these people sleep at night?

      Quite well, I imagine. I mean, we live in a world full of 20-somethings that start computer companies and become billionaires nearly overnight. Many of those clearly don't have much experience with privacy, security, safety, etc. That's part of the reason for their success: where more experienced companies hem and haw and worry about such things, they just push out a product and don't even know what they're doing. And customers don't know any better either, so they buy it. Microsoft, Apple, Facebook, etc., they all got big that way.

      (Even Google basically started that way; they didn't have a problem with security, but they didn't know or care that their algorithm was already known or whether their search engine actually worked better than other search engines. Google, however, quickly hired experienced people who beat their system into shape, which is why Google these days is both successful and technically competent. Other companies, however, just grew old with their inexperienced initial development staff and never got much better. Hello, Microsoft.)

  35. Proper security measures by TiggertheMad · · Score: 1

    Yeah, kids these days are using rot26 instead. Twice as secure.

    Thats a good step, but because of the improvement of computation technology in the last few years, I am am using rot104, which is four times the strength of rot26. I am planning a move to rot208 sometime this year, but it is non-inconsequential with any real volume of data. But the fact is, you need to keep ahead of the curve to insure that the alphabet soup agencies can't read your wow chat logs...

    --

    HA! I just wasted some of your bandwidth with a frivolous sig!
  36. xpk.library by Anonymous Coward · · Score: 0

    If there was a recognized, official (or even semi-official) standard API and ABI for cryptography libraries, ITAR would be less of an issue. You could swap out any crypto library in any product and swap in an alternative. You could then use any crypto library (and therefore any crypto algorithm) you liked.

    Get an Amiga. XPK (a dynamically loaded shared library for letting any app use whatever encryption and/or lossless compression libraries happen to be available on the system) has been around since the mid 1990s.

    [troll]Using a platform older than the Amiga, such as Mac OS 10.6 or Windows 7 or Ubuntu 10.04? Then just upgrade to Amiga OS 3.1, or backport XPK to your less spiffy OS.[/troll]

    It really is a good idea and you'd think everyone else would have something like it by now. Well, for crypto, they sort of do, just not as cool; I think Linux and OpenBSD (and therefore, probably many others) supply crypto APIs by the kernels, and they'll use crypto hardware if available. And for compression, everyone just links in zlib. It's only on Windows that everyone is fucked, and being fucked is part of the day to day reality of that platform in every other way too, so it's not like there's something special about crypto.

    1. Re:xpk.library by jd · · Score: 1

      High-end Amigas used the 68040 and 68060 processor - which, IIRC, is quite capable of running Linux.

      zlib is ok, but other people use szlib or other compression libraries. Huffmann encoding as a form of compression is block-based, zlib is stream-based. These are essentially also the only two types of encryption, as far as data transfer is concerned.

      However, most OS' already have the concept of block devices and stream devices. In the same way that a program that operates on a streamed input and/or streamed output doesn't care what the input and/or output actually is, it shouldn't matter if the device/filter they go through is a crypto channel, a compression channel or the English Channel.

      In terms of block encryption, you also need to define the encryption mode used. This, too, is nothing more than a component that has an input pipe and an output pipe. It should be pluggable. There is no logical reason for it not to be. Different block cyphers are defined for different block sizes and may have other specific restrictions and/or specific tunable options besides, but provided the I/O API allows you to use standard calls to interrogate and/or set parameters, and provided standard mechanisms are used to prevent the user from mis-matching options, this should not be a big deal.

      This means that existing calls for files, sockets, messages, or what have you, could use pre-existing APIs with minor extensions to defined constants to let you have a completely standardized method of tweaking parameters and getting error codes.

      If you'd rather use a library and not overload any pre-existing API, it should not be that difficult to stick to very standard methods.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
  37. The Big Lie by SgtChaireBourne · · Score: 1

    Yeah, but this isn't a security flaw due to an oversight or simple mistake. This is a massive downright idiotic flaw! How the HELL did this make it into a product?

    Because the claims that Microsoft has good, or even competent, programmers, engineers and managers is at best a myth. That myth has been put to rest many, many years ago, but the marketing, astroturfing, and lobbying firms keep bringing it up again and again. Anyone repeating that is probably on the payroll of one of those firms or so dumb that they should be bitchslapped into next week for opening their mouth.

    Seriously, these problems are synonymous with Microsoft and the passivity that allows them to promote bad engineering as acceptable has to stop.

    --
    Beta is broken and the link to classic doesn't work. Stop wasting our time or there won't be anybody left here.
  38. Microsoft by Anonymous Coward · · Score: 0

    Simply NSFW.

  39. I demand a retraction from the editors by Anonymous Coward · · Score: 1, Funny

    So it looks like we have a full assessment of the situation, including an attempted backtrack by the original poster and an statement from someone acting in an official capacity with respect to the software product in question that shows that the original poster has no idea what he is talking about, and it turns out in the end that there is no issue at all here. This is all misguided hysteria and there are no security concerns at all.

    Is anybody taking bets on how long it will take the editors of this news forum to issue a retraction and an apology, like any professional journalist who is at least pretending to be ethical would do at this point?

  40. Re:Shocked! by yankeessuck · · Score: 1

    It doesn't have to be a household name to be important. Dynamics GP is a major player in the small and medium business ERP space so it's actually a big f***ing deal.

  41. This is not the least bit surprising by davidbrit2 · · Score: 1

    Anybody that's ever administered GP will tell you that its security is a complete and utter joke. It's basically non-existent, or "security through obscurity" at best.

    All users are granted full access to the data in SQL Server, and security restrictions are implemented entirely in the front-end application. There's no secure application tier whatsoever - just a client application connecting to a database that's being treated as a dumb shared persistence layer. I've used MS Access to create more secure applications than GP. (Little departmental things - nothing major.)

    Anybody that you have set up with access to GP thus has the ability to download SQL Server Management Studio, connect to the database server using their GP credentials (it uses SQL Server logins), and carry out all manner of hell.

    Finding out that they're also using shitty encryption increases my levels of surprise and disdain by roughly 0%. Any DBA that maintains GP databases will just shrug this off with, "Yeah, you think that's bad? Take a look at this."

    1. Re:This is not the least bit surprising by svallarian · · Score: 1

      You must have been using an older version of GP. Since 9.0 onward, the users were not able to login to SQL using any type of connection outside of the GP application itself.

      --
      I patented screwing your mom. But it got revoked for "prior art."
  42. brace for it by Khashishi · · Score: 1

    All your database are belong to us.

  43. Learn something everyday by rolando2424 · · Score: 2, Informative

    In emacs you can use M-x rot13-region (or rot13-other-window)

    Or for those of you who want to make fun of emacs:

    C-SPC C-e M-x rot13-region

    --
    Okay seriously I've just run out of pointless things to say.
  44. Okay, this is a non-issue by Anonymous Coward · · Score: 0

    Speaking as someone that actually ADMINISTERS a Great Plains system, and knows how the security system works there, trust me this is a non issue.

    A bit of background: Great Plains is a two teir system - client software talking to a SQL Database, these days, SQL Server. (Originally, CTree and a bunch of other databases)

    To stop end users accessing the database directly (e.g., using SQL tools), the passwords are encrypted - i.e., whatever password you type in to GP is encrypted and then used to log into SQL Server. Thus, users don't know their real SQL Server password and cannot connect to the company database using SQL tools.

    Let me repeat that - A base user CANNOT CONNECT TO THE DATABASE USING SQL TOOLS. Thus, they don't have access to SY02400.

    (Yes, I fully realise that a three tier model with security enforced in the server tier would be easier, but remember that this product predates that model. And there are a number of advnatages of that model that I wish GP had, but that's another story.)

    (There's an execption if they're logging in as 'sa', but if they're logging in as sa, it's game-over anyway.)

    Also, the system password isn't used for anything. Normally that security model is switched off and a proper 'user has access to screen' model is used. (Heck, usually those screens are only accessable to the 'sa' user anyway.)

    And don't suggest AES - that's all for encrypting the database below the application in case the DBA is incompetent and loses the back-up tapes on the bus.

  45. Mod parent up by Anonymous Coward · · Score: 0

    That's the singular most informative post in the whole discussion.

  46. Not Quite true, but close.. by PopBus · · Score: 1

    "As the parent mentions, NO USER has DB access in an ERP system. Only the ERP system itself has access and then the ERP system manages all table and transaction access. Can anyone verify this for GP? Also, even if the system password is available to any user created in GP I don't think that matters." As far as Dynamics GP is concerned, all users set up in the system have full read/write access to all tables. The security layer comes from the encryption of the users' passwords by GP for their SQL login. This is done using a strong encryption method, not a caesar cypher. The original poster, I think, caused a bit of a stir here because I think 101 people here are mistaking the "system" password (which is a weak security password for opening certain system windows, of which all of them would be locked down by the normal security in GP anyway), and the 'sa' password, which truly does have "god" powers in the system.

  47. Is it unfair? by symbolset · · Score: 1

    Is it unfair to expect more from the world's largest software company? If we give them millions of dollars each year, and spend millions more training our people on how to use their stuff with best practices and secure it, is it too much to ask that their products be in some way better than the products of the long-haired smelly neckbeards who give us their stuff for free? If we're not getting that for our money, what are we paying them for? To dress well and take the CIO to lunch twice a year?

    --
    Help stamp out iliturcy.
    1. Re:Is it unfair? by Amouth · · Score: 1

      It's not unfair to expect that - but your expectation applies to both groups when the ones that are giving it for free claim that flaws like this only happen I'm closed enviroments when intact they pull things that are on the same level

      --
      '...if only "Jumping to a Conclusion" was an event in the Olympics.'