Home > AS/400 Tips > iSeries security tips > A guide to System i security, Part 3: Digging in to the System i security environment
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES SECURITY TIPS

A guide to System i security, Part 3: Digging in to the System i security environment


Andrew Borts, Contributor
08.15.2008
Rating: -4.25- (out of 5)


iSeries news and advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Andrew Borts

In the first part of this three-part series, Andrew Borts discussed the general overview of everything that needs to be considered for a System i security policy. In part two he delved into setting up the system to allow specific user access and authority and maintain a secure i. Here he directs you through the process of tightening up your system environment.

Now that we've created the concepts for an AS/400 security policy and created a corporate-wide security solution, let's see what we need to do to secure our computers. Reviewing what we did thus far:

  • Took care of physical security (Part 1)
  • Created policies and identified what we want to secure (Part 2)
  • Communicated the plan to the corporation (Part 1 and Part 2). Please note, that I'm going to nag you until you do this. So, let's just say I mentioned it here in Part 3 and be done with it!

We're now going to investigate how we tighten up our environments for security starting with the system and what needs to be done before we step into the environment.

We authenticated when we got to the office using our PC's -- can we utilize this so we don't need to sign on anymore? In some cases, yes, some no. The area you need to investigate further is a standard server for "directory services" called LDAP. This is a "directory" protocol which has been on the i5 since way back in V4R3 days. LDAP is a fancy data lookup service into a database of centrally stored users and their associated objects. The i5 can see if the user has been authenticated, and in some cases, bypass a sign-on page avoiding one of the MANY prompt for user ID and password. This second sign-on could be an "Achilles heal" for your users, causing them to write down their many User ID's and passwords and open up more holes in your environment.

What about our systems environment?
At last count, there were 36 security system values dealing with restoring objects and their security when restored to the changing and quality of passwords being created. Here is my favorite aspect that needs to be addressed:

  • QMAXSGNACN: Action to take for failed signon attempts -- from disabling device you're using to sign on (ineffective if your system creates new devices) disabling the user profile in question, but that requires people being vocal when their profile is disabled, and making note of it and last but not least disabling the device and profile. Now I mention that disabling the devices is ineffective if system value QAUTOVRT – or create virtual devices is set to a level that is too high. If it's set too high, if someone is "hacking" and disabling devices, another one is right there to take it's place when the hacker tries again!
  • QMAXSIGN: Maximum sign-on attempts allowed before the system gets mad, and disables the device. Three is a good number – the user must pay attention when they have bad sign on attempts.
  • QINACTITV: This setting signs people off the system after the i5/OS detects idle time of more then xx minutes (where you indicate this setting).
  • QDSPSGNINF (display sign-on information): I like this setting because you can see if you had attempts on your user ID and report it (e.g., I just had a good sign on, and it said "sign-on attempts not valid").

Click image for larger version

  • QPWDEXPITV: Password expiration is an art. Too soon, and your users create a system for their passwords, so if you guess the password, it becomes a number that adds one every month. Not soon enough, and the users become complacent and give out their passwords.
  • QPWDLMTAJC: This system value limits adjacent digits in password. This value is either on (1) or off (0).
  • QPWDLMTCHR: Limit characters in password. If you want to prevent the passwords from being words then don't allow vowels. Again, it's an art. If you make it too difficult the users write the passwords on the bottom of their keyboards.
  • QPWDLMTREP: Will limit repeating characters in a password. One level (1) indicates that letters can't be repeated. The next level up (2) limits consecutive repeats.
    AS/400 security guidance
    A guide to System i security: Descending into the heart of darkness of IT security

    A guide to System i security, part 2: Landing and establishing access

    Ensuring security on i runbook

    System i security fast guide

    Learning Guide: Steps to a secure System i

    Expert Technical Advice: AS/400 security

  • QPWDLVL: This system value sets your password level, which defines length from a maximum of 10 characters, to a maximum of 128 characters. Once you go this route, you may be limiting PC clients using older versions of windows from connecting to your system. This value can be a zero through three. Please make sure that this is what you want, as passwords will also become case sensitive.
  • QPWDMAXLEN: Maximum password length – from 1 to 128.
  • QPWDMINLEN: Minimum password length – from 1 to 128.
  • QPWDPOSDIF: Limit password character positions. This prevents the same password with a new number from being used when it's time to change passwords. Essentially – this forces the characters to change position in a new password.
  • QPWDRQDDGT: Requires a digit in password.
  • QPWDRQDDIF: Duplicate password control limits the number of times (four to 32) previous passwords can be re-used.
  • QPWDVLDPGM: Password validation program. For use if you have more stringent password intervals.
  • QSECURITY: System security level. The minimum security should be 30. The operating system ships at 40 or OS level security, so you have a fighting chance at minimum security.

There is also a seldom-used tool built into the operating system that you can access by typing "go security" and hitting enter. Here you can find many security tools and wizards to help you change your environment to your liking. Warning: you can potentially lock yourself out of your own system! So please read up on these tools. Read the CFGSYSSEC (configure system security) command documentation for more information.

Object level security is a necessity on the AS/400. The idea is that if someone were to "hack" into your system, what would they have access to? Hopefully, not much. So keep your objects secured to a group profile, or to an authorization list.

Also, turn on security auditing so you can review journal entries of changed security items. You can choose events and place them into the QAUTLVL system value and indicate which security events you want audited.

The system ships with minimum security level 40 that "hardens" the operating system against any hands that shouldn't be touching the system objects. The OS also locks out API's that may be harmful.

There you have it, my three part security overview is completed. This is an enormous topic, and can become a full-time job for someone at a larger company. Remember, salt to taste, and take this project one bite at a time. And try not to chew off too much at once!

ABOUT THE AUTHOR: Andrew Borts is webmaster at United Auto Insurance Group in North Miami, Fla. He is a frequent speaker at COMMON and is past president of The Southern National Users Group, an iSeries-AS/400 user group based in Deerfield Beach, Fla.

Rate this Tip
To rate tips, you must be a member of Search400.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
iSeries security tips
Security considerations for IBM i backups
Developing a security incident response system for System i
Tracking remote access users on System i
Setting up security for programmers on IBM i
Controlling remote access on your IBM i
Checking in on your IBM i authorization lists
PCI data security standards and the System i
Securing the integrated file system on IBM System i
Contextual security on IBM i: Limit user profile access
Time for a security checkup for your i

iSeries system and application security
Developing a security incident response system for System i
Setting up security for programmers on IBM i
Blocking AS/400 DB2 users
Trouble accessing IFS path from Win2k3 server
Checking in on your IBM i authorization lists
Strategies for securing IBM i production files
Changing password security levels and upgrading operating systems on the IBM i
Determine the value of parameter UPPWEI in the DSPUSRPRF field
Define journal code value "K"
Modify content within a journal receiver file

Security Tools
Tracking remote access users on System i
User being locked out by Windows share on iSeries
Controlling remote access on your IBM i
Checking in on your IBM i authorization lists
Expanded password rules available in System i/OS 6.1
How to tell if you're using the right security level
Search400.com Products of the Year 2008
Detecting system changes made by outside IP address
System values on i: Setting them up and locking i down
Encrypting files or fields on the iSeries

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
midrange  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



iSeries Security - Security Tools, Physical Security and System Security
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts