Home > AS/400 Tips > iSeries security tips > How to prevent a hack attack
iSeries 400 Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

ISERIES SECURITY TIPS

How to prevent a hack attack


David Ong
03.11.2002
Rating: -3.33- (out of 5)


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


In a PC there is a threat of viruses, worms, hackers, etc. We all have come across the term "safe computing" at some point in time concerning the protection of our PCs. However, this term is seldom mentioned in the iSeries 400 realm. Although true as it is, OS/400 is a relatively closed operating system that prevents the OS internals from being accessed by user written programs. However, the iSeries is still a computer and unless it is properly secured, there is a multitude of ways an unauthorized person can gain access.

In this tip, I present three simple examples showing how easy it is for an unauthorized person to gain access to the system and the steps that can be taken to prevent from such an occurrence.

1. Job descriptions with a user ID attached to it. Any user will be able to submit a batch job (SBMJOB) to run under another user ID by specifying JOBD(&targeted-user) and USER(*JOBD). Security level 30 requires only *USE authority to the job description. Set the system security level to 40 so it requires *USE authority to both the job description and user profile. Also evaluate the necessity and restrict any job descriptions with user IDs attached. The commands CRTJOBD and CHGJOBD should also be restricted.

2. Servicing jobs and related commands. A user who either has *SERVICE special authority or *USE authority to a user profile can execute commands to run under another user ID. This is done by STRSRVJOB and followed by TRCJOB and specifying a program in the EXITPGM parameter. The exit program is coded to read from a file or data queue which then calls QCMDEXC to run it. To prevent this, do not grant *SERVICE special authority and restrict access to all service commands and user profiles.

3. Workstation entry. Assuming a job description has a user ID attached to it. Using the ADDWSE command and by specifying the JOBD parameter, it is possible to sign on to the user ID without requiring their passwords. To circumvent this, change the system security level to 40 and restrict the use of ADDWSE and CHGWSE.

These are some areas of security which is often overlooked and if not properly checked, such abuses are very difficult, if not extremely difficult to detect because the commands are run under a different user ID. The best cure is still prevention.

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Search400's targeted search engine: Get relevant information on security.

Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.


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   



RELATED CONTENT
Systems Management
Can you trust all those trigger programs?
Are your backups complete?
Controlling remote command processing
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

iSeries security tips
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
Security monitoring on IBM i: Watching your super users

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

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