Websphere Application Server V7.0 Security Guide

Total Page:16

File Type:pdf, Size:1020Kb

Websphere Application Server V7.0 Security Guide Front cover WebSphere Application Server V7.0 Security Guide Secure WebSphere administration processes Ensure secure WebSphere applications Secure communication with SSL Carla Sadtler Fabio Albertoni Leonard Blunt Shu Guang Chen Elisa Ferracane Grzegorz Smolko Joerg-Ulrich Veser Sean Zhu ibm.com/redbooks International Technical Support Organization WebSphere Application Server V7.0 Security Guide June 2009 SG24-7660-00 Note: Before using this information and the product it supports, read the information in “Notices” on page xiii. First Edition (June 2009) This edition applies to WebSphere Application Server V7. © Copyright International Business Machines Corporation 2009. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contact an IBM Software Services Sales Specialist Start SMALL, Start BIG, ... JUST START architectural knowledge, skills, research and development . that's IBM Software Services for WebSphere. Our highly skilled consultants make it easy for you to design, build, test and deploy solutions, helping you build a smarter and more efficient business. Our worldwide network of services specialists wants you to have it all! Implementation, migration, architecture and design services: IBM Software Services has the right fit for you. We also deliver just-in-time, customized workshops and education tailored for your business needs. You have the knowledge, now reach out to the experts who can help you extend and realize the value. For a WebSphere services solution that fits your needs, contact an IBM Software Services Sales Specialist: ibm.com/developerworks/websphere/services/contacts.html Contact an IBM Software Services Sales Specialist iii iv WebSphere Application Server V7.0 Security Guide Contents Contact an IBM Software Services Sales Specialist . iii Notices . xiii Trademarks . xiv Preface . xv The team that wrote this book . xv Become a published author . xviii Comments welcome. xviii Part 1. Administrative and infrastructure security . 1 Chapter 1. Introduction. 3 1.1 Core concepts and technologies . 4 1.1.1 Global security and security domains . 4 1.1.2 Securing the administrative environment . 5 1.1.3 Defining user registries to WebSphere . 6 1.1.4 Authenticating clients . 7 1.1.5 Authorizing access to applications . 9 1.1.6 Authorization providers . 10 1.1.7 Protecting file systems with Java 2 security . 10 1.1.8 Single sign-on . 10 1.1.9 Web services security . 11 1.1.10 Messaging security . 12 1.2 Summary of new V7 security features and changes . 13 Chapter 2. Administrative security . 17 2.1 Administrative security overview . 18 2.2 Enabling administrative security . 18 2.2.1 Enabling security at profile creation . 19 2.2.2 Enabling security after profile creation . 19 2.2.3 Stopping the application server. 25 2.3 Disabling administrative security . 26 2.4 Administrative roles . 27 2.4.1 Mapping users and groups to administrative roles . 29 2.4.2 Mapping a group to an administrative role . 31 2.4.3 Mapping a user to an administrative role . 33 2.5 Fine-grained administrative security . 35 2.5.1 Authorization group . 35 © Copyright IBM Corp. 2009. All rights reserved. v 2.5.2 Granting fine-grained access . 36 2.5.3 Using fine-grained security: An example. 38 2.6 Job manager security . 41 2.7 Naming service security: CosNaming roles. 46 2.7.1 Mapping a user or a group to a CosNaming role . 47 2.7.2 Applying CosNaming security: An example . 47 Chapter 3. Using security domains . 51 3.1 Global security compared to security domains . 52 3.1.1 Attributes that can be configured in a security domain . 52 3.1.2 Configuration files . 53 3.1.3 Security domain scope . 54 3.2 Application security domain scenarios . 54 3.2.1 Scenario: Application security at the global security level. 54 3.2.2 Scenario: Security domains that override global security . 55 Chapter 4. Configuring the user registry and authentication settings . 65 4.1 User registry basics. 66 4.1.1 User registry types . 66 4.1.2 User registry content . 67 4.1.3 Using multiple registries with domains . 68 4.2 Configuring a stand-alone LDAP registry . 69 4.2.1 Configuration checklist . 70 4.2.2 Understanding the directory structure . 71 4.2.3 Configuring a stand-alone LDAP using the console . 73 4.2.4 Configuring a stand-alone LDAP using wsadmin commands . 81 4.2.5 Stand-alone LDAP dynamic and nested group configuration . 85 4.2.6 Stand-alone LDAP configuration defaults . 92 4.3 Federated repositories . 95 4.3.1 Configuration checklist . 98 4.3.2 Understanding user realms when using federated repositories . 100 4.3.3 VMM entity types. 100 4.3.4 Configuring an LDAP federated repository using the console . 101 4.3.5 Configuring VMM database base adapter features. 121 4.3.6 Configuring elements of federated repositories using wsadmin . 127 4.3.7 Configuring a database repository in VMM . 130 4.4 Authentication and authorization settings . 133 4.4.1 Identifying key authentication and authorization defaults . 137 4.4.2 Custom authentication choices . 146 Chapter 5. Secure Sockets Layer administration. 151 5.1 Secure communications using SSL. 152 5.1.1 Certificates . 153 5.1.2 Keystores and truststores . 155 vi WebSphere Application Server V7.0 Security Guide 5.1.3 SSL configurations . 156 5.2 Basic usage scenarios . 158 5.2.1 Securing administrative communication . 158 5.2.2 Securing LDAP communication . 158 5.2.3 Securing Web inbound and outbound communication . 159 5.2.4 Securing EJB inbound and outbound communication . 161 5.2.5 Securing communication with WebSphere MQ. 162 5.3 Basic SSL administration . 163 5.3.1 Creating keystores . 163 5.3.2 Managing personal certificates . 165 5.3.3 Managing signer certificates . 169 5.3.4 Recovering deleted certificates . 170 5.3.5 Certificate expiration monitoring . 172 5.3.6 Managing SSL configurations . 175 5.3.7 Creating SSL configurations . 177 5.4 Advanced concepts . 184 5.4.1 Changing default chained certificates . 184 5.4.2 Creating and defining a CA client . 186 5.4.3 SSL isolation . 191 5.5 SSL troubleshooting and traces . 191 5.5.1 Diagnostic steps . 192 5.5.2 SSL traces. 192 5.6 Implementation examples . 193 5.6.1 Securing LDAP communication . ..
Recommended publications
  • Tokenvator Release 3 Written by Alexander Polce Leary | July 22, 2021 Tokenvator Release 3 Is a Long Overdue Update That Includes a Major Overhaul to the Tool
    Tokenvator Release 3 written by Alexander Polce Leary | July 22, 2021 Tokenvator Release 3 is a long overdue update that includes a major overhaul to the tool. From the user interface, it will be mostly familiar with some command line tweaks. Under the surface, large portions of the code base have been reworked, and parts of the base have had some updates. In this series, we will go over some of the changes and new features added. Teaser Alert: Adding Privileges & Creating Tokens Improvements First and foremost, the user interface. Historically, every action had a series of positional arguments that were clunky and generally difficult to remember. They were also not very flexible, and as the commands started to have more, and additional optional arguments, they became completely unwieldy. These have been replaced with flags that will auto complete. For instance, to list and enable privileges: This also works in the non-interactive mode (though it won’t tab complete – sorry, it’s Windows): Additionally, the scroll back function was improved and numerous bugs were resolved. For instance, now when you press up you will always go to the last command issued. A printable command history has also been added if you want to copy and paste instead or keep a log of your actions. The info functionality was improved again, removing many bugs and adding additional information, such as impersonation contexts: (Tokens) > whoami [*] Operating as NT AUTHORITY\SYSTEM (Tokens) > info [*] Primary Token [+] User: S-1-5-21-258464558-1780981397-2849438727-1001
    [Show full text]
  • Oracle® Database Administrator's Reference
    Oracle® Database Administrator's Reference 18c for Microsoft Windows E83889-01 August 2018 Oracle Database Administrator's Reference, 18c for Microsoft Windows E83889-01 Copyright © 1996, 2018, Oracle and/or its affiliates. All rights reserved. Primary Authors: Tanaya Bhattacharjee, Sunil Surabhi, Mark Bauer Contributing Authors: Lance Ashdown Contributors: Alexander Key, Sivaselvam Narayanasamy, Ricky Chen, David Collelo, David Friedman, Prakash Jashnani, Sue K. Lee, Rich Long, Satish Panchumarthy, Ravi Thammaiah, Michael Verheij This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are "commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency- specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
    [Show full text]
  • Process Explorer Copyright © 1996-2012 Mark Russinovich Sysinternals
    Process Explorer Copyright © 1996-2012 Mark Russinovich Sysinternals - www.sysinternals.com Process Explorer is an advanced process management utility that picks up where Task Manager leaves off. It will show you detailed information about a process including its icon, command-line, full image path, memory statistics, user account, security attributes, and more. When you zoom in on a particular process you can list the DLLs it has loaded or the operating system resource handles it has open. A search capability enables you to track down a process that has a resource opened, such as a file, directory or Registry key, or to view the list of processes that have a DLL loaded. The Process Explorer display consists of two sub-windows. The top always shows a list of the currently active processes, including the names of their owning accounts, whereas the information displayed in the bottom window, which you can close, depends on the mode that Process Explorer is in: if it is in handle mode you will see the handles that the process selected in the top window has opened; if Process Explorer is in DLL mode you will see the DLLs and memory-mapped files that the process has loaded. Process Explorer also has a powerful search capability that will quickly show you which processes have particular handles opened or DLLs loaded. The unique capabilities of Process Explorer make it useful for tracking down DLL-version problems or handle leaks, and provide insight into the way Windows and applications work. You can obtain equivalent command-line tools, Handle and ListDLLs, at the Sysinternals Web site.
    [Show full text]
  • Understanding Windows Lateral Movements
    Understanding Windows Lateral Movements ATTL4S & ElephantSe4l # ATTL4S • Daniel López Jiménez (a.k.a. ATTL4S) • Twitter: @DaniLJ94 • GitHub: @ATTL4S • Youtube: ATTL4S • Loves Windows and Active Directory security • Senior Security Consultant at NCC Group • Associate Teacher at Universidad Castilla-La Mancha (MCSI) Confs: NavajaNegra, No cON Name, h-c0n, Hack&Beers Posts: Crummie5, NCC Group’s blog, Hackplayers Certs: CRTO, PACES, OSCP, CRTE www.crummie5.club # ElephantSe4l • Godlike Programmer and Elephant Seal • Twitter: @ElephantSe4l • GitHub: @ElephantSe4l • Very curious, he enjoys understanding complex and weird things • Mind behind all the low-level contents of my talks This has been written by ATTL4S www.crummie5.club WWW.CRUMMIE5.CLUB www.crummie5.club The goal of this talk is understanding how to perform lateral movements in Windows and Active Directory environments by comprehending the art of user impersonation www.crummie5.club Credential theft │ Password │ Hash │ Token UserA UserB HostA UserB HostB Agenda 1. Ways of Authentication 2. Authentication Packages 3. Logon Sessions 4. Access Tokens 5. User Impersonation 6. Let’s Move www.crummie5.club Ways of Authentication www.crummie5.club [SAM] : Local Auth [NTDS] : Domain Auth HostA DC [SAM] HostA\UserA [SAM] HostA\UserB [NTDS] Corp\DomainUserA HostB [NTDS] Corp\DomainUserB Remote Authentications • We don’t (usually) care about physical authentications • We care about remote authentications and they require privileges • Being a local user in a system doesn’t mean you have privileges
    [Show full text]
  • Run a Program Under Administrator Privilege
    Knowledgebase Article Run a program under Administrator privilege © Copyright 2001-2012 EMCO Software Company web site: emcosoftware.com Support telephone: +44 20 3287-7651 Support email: [email protected] +1 646 233-1163 Knowledgebase Article Run a program under Administrator privilege 2 Run a program under Administrator privilege In this tutorial we will show you how to execute a program under another user rights to gain more access if you don't have it from your current user logon. Some of our programs require Administrator rights to the remote computer to perform correctly, and the most common support questions we get are because the user that is using our product's does not have the required privilege needed for the program to perform the way it should be!. About the RunAs feature The RunAs feature allows you to run any program under another user account rights. Think about it... if you are not a full member of the Administrator group on the computer you are logged into and have a need to run a program as the administrator user you can use the RunAs feature any time you want. But of course you need to know the password for the administrator or the user you want to use for the RunAs function. There are many ways to use and access the RunAs feature, and we will write about two of them here in this short tutorial. emcosoftware.com © Copyright 2001-2012 EMCO Software Knowledgebase Article Run a program under Administrator privilege 3 Using RunAs from the command line, Cmd.exe From the screenshot below you can see how we access this feature easily by writing just the RunAs.exe as the filename into the Cmd.exe dialog.
    [Show full text]
  • Lazarus Under the Hood Kaspersky Lab Global Research and Analysis Team Executive Summary
    Lazarus Under The Hood Kaspersky Lab Global Research and Analysis Team Executive Summary The Lazarus Group’s activity spans multiple years, going back as far as 2009. Its malware has been found in many serious cyberattacks, such as the massive data leak and file wiper attack on Sony Pictures Entertainment in 2014; the cyberespionage campaign in South Korea, dubbed Operation Troy, in 2013; and Operation DarkSeoul, which attacked South Korean media and financial companies in 2013. There have been several attempts to attribute one of the biggest cyberheists, in Bangladesh in 2016, to Lazarus Group. Researchers discovered a similarity between the backdoor used in Bangladesh and code in one of the Lazarus wiper tools. This was the first attempt to link the attack back to Lazarus. However, as new facts emerged in the media, claiming that there were at least three independent attackers in Bangladesh, any certainty about who exactly attacked the SWIFT systems, and was behind one of the biggest ever bank heists in history, vanished. The only thing that was certain was that Lazarus malware was used in Bangladesh. However, considering that we had previously found Lazarus in dozens of different countries, including multiple infections in Bangladesh, this was not very convincing evidence and many security researchers expressed skepticism abound this attribution link. This paper is the result of forensic investigations by Kaspersky Lab at banks in two countries far apart. It reveals new modules used by Lazarus group and strongly links the SWIFT system attacking tools to the Lazarus Group’s arsenal of lateral movement tools. Considering that Lazarus Group is still active in various cyberespionage and cybersabotage activities, we have segregated its subdivision focusing on attacks on banks and financial manipulations into a separate group which we call Bluenoroff (after one of the tools they used).
    [Show full text]
  • Equest MSI Package Installation Procedures For
    eQUEST MSI Package Installation Procedures For Non-Administrator and Windows Home Users eQUEST must be installed while logged in as the user who is to use the application. The Windows security system prevents non-administrative users from installing applications into the “Program Files” directory [or “Programs Files (x86)” on 64-bit Windows versions] unless an administrator elevates permissions of the installation process. Below is described the process by which the eQUEST 3.65 MSI install process can be given the required elevated permissions. 1. Opening a command prompt window from the start menu: AllPrograms\Accessories\CommandPrompt 2. Execute the following command in the command prompt window: runas /user:domain\adminUserName "msiexec /i PathAndFilenameOfMSI" 3. You will now be prompted to enter the administrator password and if the password and all the runas command parameters were are valid the installation will proceed. To find the current domain and username type “whoami” at the command prompt. However this would need to be used by the administrative user logged into their own account to obtain the required information. For Windows Home users this may be their own account. For example, on Windows 7 computer, while logged in as a non-admin user, opening a command prompt window and typing in the line below will start the installation of the eQUEST (where "W7PC" is the domain name and "JohnDOE2" is the administrator user name). runas /user:W7PC\JohnDOE2 "msiexec /i C:\ eQUEST_3_65_b7158_2013-11-03.msi" Non administrator users who wish to install eQUEST on Windows 8 simply need to double click on the MSI file and then enter the administrator password when prompted by the pop-up dialog window.
    [Show full text]
  • BPA-2020-00461-F Is Now Closed with All Available Agency Records Provided
    2 pre-decisional and deliberative information in the responsive records set because disclosure of the records would harm the interests protected and encouraged by Exemption 5. In this case, BPA asserts Exemption 5 to protect BPA Cyber Security staff viewpoints and recommendations expressed in the report. Fees There are no fees associated with the response to your request. Certification Your FOIA request BPA-2020-00461-F is now closed with all available agency records provided. Pursuant to 10 C.F.R. § 1004.7(b)(2), I am the individual responsible for the exemption determinations and records release described above. Appeal The adequacy of the search may be appealed within 90 calendar days from your receipt of this letter pursuant to 10 C.F.R. § 1004.8. Appeals should be addressed to: Director, Office of Hearings and Appeals HG-1, L’Enfant Plaza U.S. Department of Energy 1000 Independence Avenue, S.W. Washington, D.C. 20585-1615 The written appeal, including the envelope, must clearly indicate that a FOIA appeal is being made. You may also submit your appeal by e-mail to [email protected], including the phrase “Freedom of Information Appeal” in the subject line. (The Office of Hearings and Appeals prefers to receive appeals by email.) The appeal must contain all the elements required by 10 C.F.R. § 1004.8, including a copy of the determination letter. Thereafter, judicial review will be available to you in the Federal District Court either (1) in the district where you reside, (2) where you have your principal place of business, (3) where DOE’s records are situated, or (4) in the District of Columbia.
    [Show full text]
  • Windows Domain and Workgroup Planning Guide
    EXPERION PKS RELEASE 516 Windows Domain and Workgroup Planning Guide EPDOC-X250-en-516A August 2020 Disclaimer This document contains Honeywell proprietary information. Information contained herein is to be used solely for the purpose submitted, and no part of this document or its contents shall be reproduced, published, or disclosed to a third party without the express permission of Honeywell International Sàrl. While this information is presented in good faith and believed to be accurate, Honeywell disclaims the implied warranties of merchantability and fitness for a purpose and makes no express warranties except as may be stated in its written agreement with and for its customer. In no event is Honeywell liable to anyone for any direct, special, or consequential damages. The information and specifications in this document are subject to change without notice. Copyright 2020 - Honeywell International Sàrl - 2 - Contents 3 Chapter 1 - About this document 7 1.1 Revision History 7 1.2 Intended audience 7 1.3 Prerequisite skills 7 1.4 Related documents 7 Chapter 2 - Planning a Windows domain/workgroup 9 2.1 Overview of Windows domain 9 2.2 Overview of a Windows workgroup 10 2.3 Overview of a domain controller 10 2.4 Overview of a Read-only Domain Controller 11 2.5 Overview of a peer domain controller 11 2.5.1 Multiple domain controllers in a domain 12 2.6 Overview of Active Directory and its components 13 2.6.1 Overview of Forests 13 2.6.2 Overview of domain trees 14 2.6.3 Overview of Organizational Units 15 2.6.4 Using a single domain with
    [Show full text]
  • Hun%Ng for Malicious Powershell with Splunk
    Copyright © 2016 Splunk Inc. Powershell Power Hell: HunCng For Malicious Powershell With Splunk Ryan Chapman & Lisa Tawfall Bechtel Corporaon Disclaimer During the course of this presentaon, we may make forward looking statements regarding future events or the expected performance of the company. We cauCon you that such statements reflect our current expectaons and esCmates based on factors currently known to us and that actual events or results could differ materially. For important factors that may cause actual results to differ from those contained in our forward-looking statements, please review our filings with the SEC. The forward- looking statements made in the this presentaon are being made as of the Cme and date of its live presentaon. If reviewed aer its live presentaon, this presentaon may not contain current or accurate informaon. We do not assume any obligaon to update any forward looking statements we may make. In addiCon, any informaon about our roadmap outlines our general product direcCon and is subject to change at any Cme without noCce. It is for informaonal purposes only and shall not, be incorporated into any contract or other commitment. Splunk undertakes no obligaon either to develop the features or funcConality described or to include any such feature or funcConality in a future release. 2 Agenda Who Are We? Why Focus On Powershell? Seng Up Powershell Logging Finding Malicious Powershell 3 Bechtel Corporaon Bechtel Corporaon is the largest construcCon and civil engineering company in the U.S., making the company a target rich environment. Since 2011, Bechtel has set out to build a world-class Security Operaons Center, which relies heavily on Splunk.
    [Show full text]
  • Systems Administration Guidance for Securing Windows 2000
    Special Publication 800-43 Systems Administration Guidance for Securing Microsoft Windows 2000 Professional System Recommendations of the National Institute of Standards and Technology Murugiah Souppaya Anthony Harris Mark McLarnon Nikolaos Selimis This page intentionally left blank NIST Special Publication 800-43 Systems Administration Guidance for Securing Microsoft Windows 2000 Professional System Recommendations of the National Institute of Standards and Technology Send Comments to [email protected] C O M P U T E R S E C U R I T Y Computer Security Division Information Technology Laboratory National Institute of Standards and Technology Gaithersburg, MD 20899-8930 November 2002 U.S. Department of Commerce Donald L. Evans, Secretary Technology Administration Phillip J. Bond, Under Secretary for Technology National Institute of Standards and Technology Arden L. Bement, Jr., Director This page intentionally left blank Reports on Computer Systems Technology The Information Technology Laboratory (ITL) at the National Institute of Standards and Technology (NIST) promotes the U.S. economy and public welfare by providing technical leadership for the Nation’s measurement and standards infrastructure. ITL develops tests, test methods, reference data, proof of concept implementations, and technical analysis to advance the development and productive use of information technology. ITL’s responsibilities include the development of technical, physical, administrative, and management standards and guidelines for the cost-effective security and privacy of sensitive unclassified information in Federal computer systems. This Special Publication 800-series reports on ITL’s research, guidance, and outreach efforts in computer security and its collaborative activities with industry, government, and academic organizations. National Institute of Standards and Technology Special Publication 800-43 Natl.
    [Show full text]
  • Detecting the Elusive: Active Directory Threat Hunting
    Detecting the Elusive Active Directory Threat Hunting Sean Metcalf (@Pyrotek3) s e a n [@] TrimarcSecurity.com www.ADSecurity.org TrimarcSecurity.com ABOUT • Founder Trimarc, a security company. • Microsoft Certified Master (MCM) Directory Services • Microsoft MVP • Speaker: BSides, Shakacon, Black Hat, DEF CON, DerbyCon, & Sp4rkCon • Security Consultant / Security Researcher • Own & Operate ADSecurity.org (Microsoft platform security info) Sean Metcalf [@Pyrotek3 | [email protected]] AGENDA • The Setup • Tracking Command-line/PowerShell Activity • PS without PowerShell.exe & 06fu$c@t10n • Auditing Attacker Activity • Kerberoasting Detection Sean Metcalf [@Pyrotek3 | [email protected]] Sean Metcalf [@Pyrotek3 | [email protected]] Sean Metcalf [@Pyrotek3 | [email protected]] Sean Metcalf [@Pyrotek3 | [email protected]] Sean Metcalf [@Pyrotek3 | [email protected]] Are We… • Logging the correct type of data? • Logging the correct Event IDs? • Logging what’s needed on all types of systems? • Forwarding log data to our central system (SIEM/Splunk)? • Actually seeing these events in the central system? • Correlating Event IDs to anomalous activity? Sean Metcalf [@Pyrotek3 | [email protected]] What is Normal? Sean Metcalf [@Pyrotek3 | [email protected]] What is Normal Anomalous? Sean Metcalf [@Pyrotek3 | [email protected]] Monitor Enterprise Command Line Activity .Enable CMD Process logging & enhancement: .Windows 2003: Event ID 592 .Windows 2008/Vista: Event ID 4688 .Windows 7/2008R2
    [Show full text]