PowerNews: August 2011
Posted in Audits, Company News, Security on August 5th, 2011 by Kiki – Be the first to comment
PowerTech Releases Command Security
The newest member of the PowerTech line of security products is Command Security, a rule-based security solution that lets you audit and control selected commands.
With Command Security, you can prevent unauthorized users from executing a monitored command, allow only authorized users to execute certain commands, control the situations when a command is allowed, and monitor and secure commands used by other applications.
Plus, Command Security records monitored command use in a secure journal and provides a complete audit trail to meet government legislation and industry regulations.
“Not all commands have the potential for misuse,” says Robin Tatam, PowerTech Director of Security Technologies. “Command Security gives users the flexibility to control just the commands and situations that could compromise system data or security. Plus, it works with almost any IBM i command and can control commands in third-party applications. It’s a great addition to the PowerTech security suite.”
For more information on commands and how Command Security helps you control their use, see “Commands Never Die!” below.
—————————————————————————————-
Commands Never Die! Stay in Command of Your Command Line
By Oshan Indika, Security Consultant, CISSP, CISA
From its earliest days, the primary means of interaction with a computer has been through a command line. Everything was text based and application programs used menu systems for navigation.
Starting in the early ’90s, many operating systems transitioned to a graphical user interface (GUI). But, surprisingly, the command line has survived—especially among power users, administrators, and geeks (like me). Although great strides have been made on the GUI front, there’s still a unique role for the command line in IT.
When it comes to IBM i, the command line hasn’t changed over the years and still plays an important role, maybe more than in other operating systems. IBM has done a great job in improving the GUI capabilities of the OS. However, power users, developers, and administrators still consider the command line their primary mode of interaction with the system. The reason for this popularity may be due to some easy-to-use features:
- Prompting: You can prompt all commands directly from the command line to display its parameters.
- Command Help: Context-sensitive help is available on all IBM i commands.
- Ease of finding commands: The commands use standardized abbreviations, making them easy to find quickly. For example, change is CHG, display is DSP, program is PGM, user is USR, and so on. If you want to see all verb (such as CHG) or subject (such as USR) commands, go to the respective menus by entering GO VERB or GO SUBJECT. In addition, for each abbreviation there is a corresponding menu that starts with the letters CMD. So, for example, to see all DSP commands, simply run the command GO CMDDSP. This is one of my favorite ways of browsing commands on the system.
Commands = Power
The ease of use of command line access also gives the user a lot of power. Coupled with a higher authority level, a user with command line access can do almost anything on the system. Some commands (like DSPMSG) are harmless, but others can change security configurations (like CHGSYSVAL) or create/modify/delete user profiles (like WRKUSRPRF). To reduce the risk of users running powerful commands, system administrators often remove the ability to run commands by setting the Limit capabilities parameter in the user profile to *YES.
Although this stops users from running commands from a workstation session, there are other ways to run a command. Two of the most commonly used access methods are Remote Command and FTP. For Remote Command, you must have IBM System i Access for Windows installed on your PC. In many environments, it’s installed by default. And, FTP clients are found in almost any operating system.
These remote command capabilities add another layer of complexity to command access. From a security viewpoint, it’s important to monitor which commands are executed on the system, regardless of where they were entered. You should at least monitor commands with the potential to alter or delete data and system configurations.
Auditing Isn’t the Full Solution
One way to track the commands being run by users is to turn on command auditing for specific user profiles using the Change User Auditing command:
CHGUSRAUD USRPRF(OSHAN) AUDLVL(*CMD)
When auditing is on, the operating system writes a CD entry in the system audit journal (QAUDJRN) whenever the specified user executes a command.
There are two important things missing in this solution. First, you won’t know immediately when a user enters a command that could impact the whole system; you’ll only know the next time you run the audit report. Second, there’s no way to control which commands a user can and cannot run.
Control Command Use with Command Security
The best way to control commands is to use PowerTech Command Security. Using Command Security, you identify which commands you want to monitor, specify the conditions under which the command should be secured, and define the actions to take when the conditions are met.
With Command Security, you can:
- Allow the command to execute as it was entered.
- Prevent the command from being executed.
- Notify an administrator when the command is issued.
- Modify the command in a predefined way (from substituting command keywords to replacing the entire command).
There’s no doubt that the need to run commands will remain one of the most important aspects of maintaining a system in the foreseeable future. It’s also important to allow users to run commands in a controlled manner, without jeopardizing the integrity of the system. With Command Security, you remain in total command of your command line.
—————————————————————————————-
Q & A with Paulie Culin
Dear Paulie,
Can I transfer SecurityAudit from one system to another for D/R testing?
A: Yes. However, because the system name and license information is hard coded in the product, you’ll need keys specific to the new machine or partition. You also must run a special command before re-licensing.
Make sure the SecurityAudit product library is in your library list. Enter the LUPDSYSSA command and press F4 to display the command prompt. Enter the System name, Serial# and LPAR ID, and specify Yes (Y) for Recreate License objects. Press Enter.
When the SecurityAudit Main Menu displays, select option 61. Then, select option 4 on the Administration menu to enter the new license code.
Q: Dear Paulie,
How can I monitor a specific user’s commands?
A: You can audit the commands entered by a specific user using the Change User Auditing (CHGUSRAUD) command. Specify the user profile to audit and *CMD for the AUDLVL parameter. Once you start auditing, Compliance Monitor, SecurityAudit, and Interact can provide visibility to the user’s commands by using the CD audit entries in the audit journal.
Note: An easier way to monitor and control user commands is to use PowerTech’s new Command Security. See the articles in this issue for more information.






















![image001[2] image001[2]](http://www.powertech-news.com/wp-content/uploads/2011/01/image0012.jpg)
