How secure are your passwords?
It seems I am starting every post recently with “it’s been a while since I last posted”!Â I have probably reached the point that it goes without saying… lol
AÂ recent scenario at a client got me to thinking about security – or lack thereof – that exists at some clients for various reasons as well as the flipside of ridiculous security that was going too far the other way.
I’ve been documenting the configuration of a third party reporting & budgeting tool one of my clients uses, since no one, including myself, knows any of the inner workings.
- Does it require a service account to run?
- How does it connect to the server?
- How are user permissions managed?Â
- What are the admin passwords?
It’s an odd situation really, no one knows much about this application and the person who was all gung ho about it to buy it and get it installed is no longer with the company.Â Having spoken to this person before they left, they didn’t know either.Â Swell!
I started down this road because they are in the middle of an upgrade and they are interested in scaling back on the use of ‘sa’ internally after the upgrade is complete.Â The question came up: does XYZ product use ‘sa’ anywhere that we need to know about?Â Great question!Â It was bought and installed long before I was involved so I have no idea, and the VAR didn’t do the install so they have no idea either.Â To compound it, the IT person who was working with the software vendor is no longer here, didn’t document anything and no one knows who did the original install.Â It really sounds too goofy to be true but I’m quite sure this happens more often than people realize.
First lesson to share: SOMEONE write down the key ingredients to a new product install – that includes admin accounts, service accounts, etc.Â Ideally your VAR is installing new products for or with you and they really should be responsible for documenting some of this for you – and yes, you have to pay for this to be done!Â If you don’t want to pay for this kind of documentation, then someone needs to pay attention, ask questionsÂ and write things down.
Let the hacking begin
“Hacking”Â may be a bit extreme but what I had to do was go into any and all applications and configuration areas this suite of products had to determine what some of these settings were.Â The documentation I had from the software vendor was sadly lacking; but of course they are not typically documenting the configuration settings of an install, at least not for an end user.Â Those kinds of instructions the VARs may get or they may learn them via training on installation of the product.Â
In this case there were two separate products, one was a data warehouse kind of tool with a front end administration console and the second was a reporting tool.Â Both have client pieces as well. Fortunately one of the users knew one of the admin passwords – which was the software company’s name (that’s original!).Â The documentation from the software vendor did mention the default password for one of the admin tools was “admin” and turns out, that still worked.Â Yikes… no mention of how to change this either.
There was a third admin user that no one seemed to know the password to, so a-hacking I went trying to guess.Â It didn’t take long, I tried all of the common passwords people use, like password, access, no password etc..Â No rocket scientist needed here.
Now that I was able to access some of the admin sides of these apps, I did find that “sa” was being used as a service account of sorts for the connection to the server and the other app used it’s own service account, and they used the ‘sa’ password for that service account.Â Of course that wasn’t documented anywhere but through trial and error I tried the same password as the ‘sa’ account and sure enough that was it.Â At least that was a smart idea.
It really bugs me when people – VARs, Consultants, Software Providers, ClientsÂ – use such weak passwords for admin functions.Â Sometimes it’s the clients’ request – they don’t want it too complicated.Â Sometimes it’s the installers though – they just merrily install with the weak passwords without consulting the client on what to use.Â In my opinion it’s our job as a consultant/VAR to recommend – if the client chooses not to follow our recommendations, that’s their option.
- Don’t use obvious passwords on admin accounts or if you do, at least document how and where to change them.
- Use strong passwords in particular on critical user accounts – ‘sa’ for instance.
- Use specific user accounts as service accounts or default logins; don’t use ‘sa’ as a service account login!
I could go on and perhaps will in a future post.Â Personally I am a believer that very few people should use the ‘sa’ account: nearly everything can be done with granting the necessary SQL permissions to DYNSA or a GP user account.Â Installation routines are probably the one thing where ‘sa’ is still sometimes hard-coded into installation routines, even if DYNSA is granted the sysadmin SQL role, for instance.Â Day to day admin that requires elevated SQL permissions?Â I always recommend elevating DYNSA’s permissions and using that for the usual user setup, user access types of things and in some cases elevate specific GP user ID permissions in SQL as well where named users makes more sense.
The risk of going too far overboard is the opposite effect.Â I had a client once where their audit recommendations were the use of 14-character passwords for everyone in the organization.Â Yikes!Â I’m ok with the recommendation I suppose, but the client does have a choice between ridiculous requirements and reasonable requirements.Â In this case the client chose to follow the recommendations.Â Guess what, EVERY user has their password written on a post-it note on their desk because 14 characters is too long to remember.Â How secure is that?
Well the good news is now that we found the configuration areas we were able to secure things better and have a nice starting point for the IT department on the inner workings of this third party tool.Â
How secure are your passwords?
October 29, 2011
Â· firstname.lastname@example.org Â· No Comments
Tags: configuration, David Musgrave, dynamics, dynamics-gp-mvp, General Ledger, general stuff,, recommendations, security, upgrade, victoria-yudin Â· Posted in: Blogs I Follow Total Views: 479