Home > AS/400 Tips > iSeries security tips > Controlling remote command processing
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES SECURITY TIPS

Controlling remote command processing


Rich Loeber
01.11.2005
Rating: -3.62- (out of 5)


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


One of the cardinal rules of securing your iSeries-AS/400 system is to prevent users from having open access to the OS/400 command line unless absolutely necessary. Typically, access to the command line is limited to operators, programmers and other IT staff users who need it to get their jobs done. Users in general should never be granted use of the command line.

A knowledgeable PC user, using PC-based software tools such as iSeries Access (Client Access), can run commands on your system without obtaining a sign-on screen and command line. Also, when a user submits a remote command, OS/400 does not honor the Limit Capability (LMTCPB) setting for the user profile in use. In my book, that is a significant security exposure. Granted, the user must be knowledgeable, but it can be done.

There are several ways that can be accomplished. View the following:

  • Using Distributed Data Management (DDM), a user can open a file and use the remote command function to run any command on the remote system.

  • Using the iSeries Access optimized client, or other similar PC software, a user can issue a command through Distributed Program Call (DPC) APIs without even using DDM.

  • Using remote SQL and ODBC, some software can provide a remote command function without using either DDM or DPC.

What's a security officer to do?

Deal with the DDM issue. One easy way to control that is to simply turn DDM access off completely for your system. You should first verify that no current applications running on your system require DDM, Distributed Relational Database Architecture (DRDA) or DB2. To shut DDM off, simply run the following comma...


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



RELATED CONTENT
Systems Management
Can you trust all those trigger programs?
Are your backups complete?
Watch your profiles
Avoid locking issues
Send message to users at a remote site
Security journal receiver management
Top 10 backup commands
Tracking critical file access in real time
Create an iSeries Access image and update it with the latest Service Pack
Prompt user to delete spool files before sign off

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

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


nd:

     CHGNETA DDMACC(*REJECT)

This step is pretty drastic and obviously will not work for many shops where DDM, DRDA and/or DB2 are in use on a regular basis. For those shops, your best defense is an aggressive security policy that protects your critical data assets.

If you want to take a more active approach to this issue, then you'll have to look into coding an exit point program, or you can purchase a third-party software package that implements exit point processing. The easiest approach when creating your own exit program is to limit the use of remote commands to a list of known user profiles. That allows you to grant permission to process remote commands for known and trusted user profiles, while denying permission to all others. In the exit point process, you can set a flag that returns a failure status to the PC software issuing the remote command process, so your user will know why his attempt failed. You can find more information about exit point programming in several manuals, such as the following:

  • Implementation Guide for iSeries Security and Auditing -- GG24-4200
  • iSeries Security Reference - SC41-5302
  • iSeries System API Reference book

If you have any questions about this topic, you can reach me at rich@kisco.com, I'll give it my best shot. All e-mail messages will be answered.


---------------------------
About the author: Rich Loeber is president of Kisco Information Systems Inc., in Saranac Lake, N.Y. The company is a provider of various security products for the iSeries market.


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.


Submit a Tip




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