Let’s talk about the passwords on your system that never change, because they are almost certainly there and they are exactly what an auditor and an attacker both go looking for first. You can not believe how many of these I have come across in my 30 years. WAY TOO MANY. So, I bet they are on your system, don’t take the chance, check.
Over the years, exceptions get made. A service account is set so its password never expires because rotating it was inconvenient. A profile gets created with no password at all for some integration, and nobody ever revisits it. Each one felt reasonable at the time. Collected together, years later, they are a quiet list of the weakest points on your system, and almost nobody has ever actually looked at that list. Its your job, look at it now.
Here is how to create the list:
SELECT AUTHORIZATION_NAME, STATUS,
PASSWORD_EXPIRATION_INTERVAL,
NO_PASSWORD_INDICATOR,
SIGN_ON_ATTEMPTS_NOT_VALID,
LAST_USED_TIMESTAMP
FROM QSYS2.USER_INFO
WHERE NO_PASSWORD_INDICATOR = 'YES'
ORDER BY AUTHORIZATION_NAME;
As written, that finds every profile with no password set. Two more columns in there earn a careful look while you have the data up. PASSWORD_EXPIRATION_INTERVAL tells you how each profile handles expiration; the ones set to never expire are worth justifying one by one. And SIGN_ON_ATTEMPTS_NOT_VALID is the quiet alarm bell: a profile with a climbing count of invalid sign-on attempts is a profile that something, or someone, is repeatedly trying and failing to get into.
None of this is about locking people out for the sake of it. A never-expiring password on a powerful profile is a key that never changes, and a profile with invalid attempts stacking up is the system trying to tell you something. Read the list, and for each one ask the same question: is this still necessary, and is it as tight as it should be? Do I want to risk my job over this profile?
Run it this week. Whatever comes back, it is a shorter list today than it will be next year if nobody looks. The hackers are just hoping that you ignore this. DO NOT.
Originally posted on LinkedIn. Join the conversation there.
Leave a Reply