standards and strategies of security for the service oriented architecture christopher irish david...
Post on 18-Dec-2015
214 views
TRANSCRIPT
StandardsStandards and and StrategiesStrategies of Security for the of Security for the
Service Oriented ArchitectureService Oriented Architecture
Christopher IrishDavid Orr
Sophya KheimAdam LangeDaniel Palma
AgendaAgenda
OverviewCurrent ProblemsCurrent StrategiesWS StandardsFuture Areas of ResearchReferencesQuestions
Web Services DefinitionWeb Services Definition
From World Wide Web Consortium (W3C)– is the programmatic interfaces made
available for application to application communication
Types of Web ServicesTypes of Web Services
OverviewOverview
Key Concepts for Strategies– Authentication– Authorization– Integrity– Non-repudiation– Confidentiality– Privacy
Current ProblemsCurrent Problems
SOAP monitoring and regulation
Current StrategiesCurrent Strategies
IP Blocking XML Firewall SSL/TLS Virtual Private Networks (VPN) XML Digital Signature WS-Security XACML SAML
IP BlockingIP Blocking
Process of identifying those IP addresses from which Web requests will be accepted
Achieved by specifying a list of acceptable IP addresses
Pros– Simple and easy to implement
Cons– Valid users with invalid IP addresses will be blocked– Clients will not be able to access any part of the Web
site until you have added their IP to the accepted list
Traditional FirewallsTraditional Firewalls
Filters out unauthorized requests by IP Address
Pros– Easy to implement and maintain
Cons– IP Address can be spoofed– Does not perform authentication, authorization, auditing
and validation on web service traffic– Can not encrypt or decrypt– If web service uses Port 80, difficult to implement– Not XML aware
XML FirewallsXML Firewalls
Filters out Unauthorized requests by inspecting XML content
Pros– Can perform authentication, authorization, auditing and
validation on web service traffic– Protect against buffer overflows and denial of service– Message routing, encryption and forwarding are available– Includes features of traditional firewall
Cons– Difficult to setup– Limited vendors– No standardization
SSL/TLSSSL/TLS Endpoint to endpoint encryption of web service traffic over
TCP
Pros– Easy to implement– Standardized protocols– Protects against network sniffing
Cons– Does not perform authentication, authorization, auditing and
validation on web service traffic– Messages can not have multiple transports– No Element-Wise Signing– Data stored on disk before processing can not be protected – Not XML aware
Virtual Private NetworksVirtual Private Networks Enables the creation of secure data tunnels among remote sites or hosts
for web service traffic
Pros – Uses several technologies– Standardized protocols
• Secure VPNs - IPSec, SSL/TLS, PPTP, L2TP• Trusted VPNs – MPLS, L2F
– Easy to implement– Protects against network sniffing– Web service can join or leave dynamically– A web service can be invoked dynamically– Frees web service from managing access control, auditing and encryption
Cons– Does not perform validation on web service traffic– Data stored on disk before processing can not be protected– Not XML aware
XML Digital SignatureXML Digital Signature
Provide– Authentication– Data Integrity– Non-repudiation support
Can sign many types of resources– HTML, binary, XML-encoded data
Can be applied to specific portions of XML tree rather than complete document
Web Services StandardsWeb Services Standards
OASIS Web Services Security Standard
SAMLXACML
Developed by OASIS on April 29, 2004. Revised and republished February 17,
2006 as version 1.1. Currently the most comprehensive guide
to Web Service security. Main purpose is to allow the exchange of
secure SOAP messages by protecting its confidentiality and integrity
OASIS WS Security StandardOASIS WS Security Standard
WS-SecurityWS-Security
Focuses on “Tokens” that are added to the SOAP messages to provide different kinds of security.
Is built to be extensible and flexible by allowing different types of token formats to be used in the same message.
WS-Security: Username TokenWS-Security: Username Token
The username token provides a way for a sender to present a claimed identity to the receiver:
WS Security: Binary Security WS Security: Binary Security TokensTokensUsed to encode non-XML security
token, like x.509 and kerberos.
e.g. x.509
Encoding Format
WS-Security: XML SignatureWS-Security: XML Signature
The WS-Security standard incorporates the use of XML signatures into SOAP messages
Begin signature Reference to signature value
Algorithms used to form the signature
End signature
WS-Security: TimestampWS-Security: Timestamp
Allows the freshness of the security features to be determined. Time synchronization is not accounted for.
WS-Security: The big pictureWS-Security: The big picture
WS-Security: The big picture cont.WS-Security: The big picture cont.
XACMLXACML
Covers subjects such as authorization, access control, and privacy policies that is often overlooked in other standards.
XACML (Extensible Access Control Markup Language) is an XML-based policy language that allows for the description of access control requirements.
XACMLXACML
1. Request sent to Policy Enforcement Point (PEP).
2. the Policy Information Point (PIP), will use XACML to describe requestors in terms of attributes.
3. PDP actually makes the decisions.
4. Current policy is retrieved
5. Return response to the PEP and ultimately to the user.]
SAMLSAML
Uses “Assertions” to validity and authenticiy.
Service to Service AuthenticationService to Service Authentication
Verify if a service should be allowed to communicate with another
Authorization Methods:– Tokens
• PK certificates• Kerberos tickets• SAML assertions
– SSL certificates Most web services follow the OASIS WS-
Security standard for any of these methods
Establishing Trust Between ServicesEstablishing Trust Between Services
Trust relationships need to be established between remote web services in order to be useful on a large scale
Involves a Trusted Third Party (TTP)Uses Public Key Infrastructure to
pass keys through the TTP
Distributed Authorization and Distributed Authorization and Access ManagementAccess ManagementWeb Service Access Controls– Role-Based– Policy-Based– Risk-Adaptive
Role-Based Access ControlRole-Based Access Control
Associates a set of access privileges with a particular user role
Allows access based on membership in a group or by id
Simplifies security management by providing a role hierarchy
Role Based ExampleRole Based Example
Policy Based Access ControlPolicy Based Access Control
Enforces strict environmental-level access control policies
Use notion of a Policy AuthorityFocuses on automatically enforcing
Mandatory Access Controls
Risk Adaptive Access ControlRisk Adaptive Access Control
Access control decisions are based on a relative risk profile of the subject
Predefined policy rules aren’t as strictly enforced as role based
Requires real-time information to base risk assessment on with each authentication request
Enforcing Least Privilege AccessEnforcing Least Privilege Access
Users and services should never be given more than the minimum privileges needed to perform an operation
Give privileges only when needed Relinquish privileges immediately upon
completion Divide complex functions into simple
ones, with separate minimal required privilege for each function
End to End AccountabilityEnd to End Accountability
Auditing essential to ensure operations/transactions occurred as expected
Dynamic services make it difficult to implement auditing
No auditing standard has been defined Web Server logging most common
SOAPSOAP Simple Object Access Protocol A SOAP message is fundamentally a one-way transmission
between SOAP nodes, from a SOAP sender to a SOAP receiver, but SOAP messages are expected to be combined by applications to implement more complex interaction patterns ranging from request/response to multiple, back-and-forth "conversational" exchanges.
Pros– Powerful, can perform RPC.– Widespread industry support and acceptance
Cons– Tunnel’s through other protocols, circumventing security.– Application programmer responsible for protocol functionality.
RESTREST
Representational State Transfer
REST strictly refers to a collection of architectural principles. The term is also often used in a looser sense to describe any simple interface that uses XML (or YAML, JSON, plain text) over HTTP without an additional messaging layer such as SOAP.
Block Extensive Exchange ProtocolBlock Extensive Exchange ProtocolBEEPBEEP DTD and XML aware generic application protocol kernel for
connection-oriented asynchronous interactions (web services) using Simple Authentication and Security Layer for authentication and authorization
Pros– Very extensible and simple– Built in profiles for security– Provides single application user-identity– Gaining popularity– Implements standardized technologies– Sits at transport layer
Cons– Limited support– Development costs can be expensive– Can become complicated quickly
Future areas of researchFuture areas of research
Focus on standardizationPerformance of Web Services
security mechanisms Scale of Web Services security
Future Areas of Research cont..Future Areas of Research cont..
Possible future configuration of a web services security system in which an XML Firewall and EASI framework are both implemented together
SummarySummary
OverviewCurrent ProblemsCurrent StrategiesNew StrategiesWS Standards including OASIS,
SAML, XACMLReferences
Questions?Questions?