Let’s talk about a corner of IBM i security that is powerful, useful, and quietly risky if you forget it exists: server authentication entries, the stored credentials your system uses to connect to other systems over DRDA and DDM.
Here is the situation these create. When your system needs to reach another IBM i, say for remote SQL or distributed data, it can store a user and password to authenticate that connection automatically. Convenient, and often necessary. But it also means your system holds credentials for other systems, and each one is a path from this box to that one. If you do not know what authentication entries exist, you do not fully know what your system can reach, or what an attacker who compromised it could reach next.
Here is how to see them:
SELECT AUTHORIZATION_NAME,
SERVER_NAME,
USER_NAME
FROM QSYS2.DRDA_AUTHENTICATION_ENTRY_INFO
ORDER BY AUTHORIZATION_NAME, SERVER_NAME;
That lists each local profile, the remote server it has a stored credential for, and the remote user name it authenticates as.
Read it as a map of trust leaving your system. For each entry, the questions are familiar by now. Is this connection still needed, or is it left over from a project or a system that no longer exists? Does it authenticate as a remote user with appropriate, limited authority, or does it log into the far end as something powerful? A forgotten authentication entry that logs into a critical remote system as a high-authority profile is exactly the kind of quiet, inherited risk that security reviews built only around local authority will never surface.
These connections between systems are easy to set up and even easier to forget. Review them like you review everything else: does it still need to exist, and is it scoped no broader than necessary?
Map the trust that leaves your system. It is as important as the authority inside it.
Originally posted on LinkedIn. Join the conversation there.
Leave a Reply