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."

59 of 206 comments (clear)

  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 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.

    4. 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

  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 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)
    3. Re:obligatory by Kilrah_il · · Score: 2, Informative
      --
      Whenever in an argument, remember this.
    4. 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.
    5. Re:obligatory by ari_j · · Score: 3, Informative

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

    6. 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
    7. 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".'
    8. 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.

    9. 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
  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 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
    7. 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/

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

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

  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. 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 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.

  6. 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?

  7. 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 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)
    2. 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.

    3. 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)
    4. 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
    5. 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.
    6. 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.

  8. 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
  9. 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?
  10. 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 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

    2. 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.

    3. 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."
  11. 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 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)
  12. 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 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
  13. 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
  14. 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.
  15. 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...

  16. 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.

  17. 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.

  18. 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.

  19. 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.

  20. 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
  21. 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.