Industrial IoT Authors: Elizabeth White, Stackify Blog, Yeshim Deniz, SmartBear Blog, Liz McMillan

Related Topics: Industrial IoT, Microservices Expo, Cloud Security

Industrial IoT: Article

XML Security Trust and Threat Models for Dummies

Quick guide to understanding XML security models

It is very rare today to find a business application that has not exposed its interface via SOAP/XML. XML is the building block that enables business or consumer applications to exchange data in a standard structured format.  The exchange of XML data typically takes place through an SOAP/XML interface based on the Web Services standard or through the REST-based standard.  These flexible standards that richly describe interface functions of an application also introduce a host of XML and Web Services security vulnerabilities.  This article is a quick guide to most common XML and Web Services security vulnerabilities and the two basic security models they follow.

XML and Web Services Security can be categorized into Trust and Threat Models.  The Threat Model helps identify both inbound and outbound threats and provides means of re-mediating such threats.  Trust Models ensure that message privacy and integrity are retained while ensuring appropriate authentication and authorization decisions are made before letting messages traverse a corporate network.

Threats: Three major threats are Denial-of-service attacks (DoS), Viruses, and SQL injections:

  • DoS attacks prevent a user, or an organization, from accessing services or resources that they would normally be able to access.  Although this type of attack can cost time and money, usually there is no information loss involved. In the XML world a malformed XML document can cause a DoS attack.  For example, a malformed XML payload can come in the form of a deeply nested XML document that causes the back end application parser to go into a tail spin.
  • A virus is a program, or a programming code, that replicates itself. Viruses are often found in email attachments, and downloaded files. They may erase data or damage the hard drive.  When a virus duplicates itself by resending itself as an attachment to an email or as a component of a network message, it is called a worm. There are three classes of viruses: file infections, system or boot-record infections, and macro viruses.  Viruses can use Web Services to enter corporate domains by going undetected through SOAP with attachments (MIME or MTOM).  Since such attachments are Base-64 encoded or maybe encrypted, traditional Anti-virus engines cannot match signatures to detect them.
  • SQL injections are used to gain access to a database or retrieve information from a database.  This access is unauthorized and programs and applications are at risk of being attacked.  It is easy to defend programs and applications from SQL injections by using simple coding practices or by looking for malicious string patterns used for SQL injections. SQL injection attack in the XML world comes in the form of an inbound XML payload containing SQL injection commands.  If not detected correctly, these commands can reach the back end database and cause information to be stolen.

Trust: Three major categories of trust are privacy, integrity, and identity:

  • When it comes to privacy, encryption protects personal information by encoding information.  This has to be done so that only the person or computer, with the private key can decode the information.
  • Integrity insures that no one tampers with information.  Signatures and verification are both part of integrity. Signatures are strings of letters and numbers that represent a signature.  The message is scrambled with mathematical formulas or algorithms.  A key is needed to validate the signature.  Verification simply validates a users indeed signed a message with his private key.
  • Identity involves authentication, authorization, access control and tokens.  Authentication verifies that information comes from a trusted source.  One must know who created the information, as well as be sure that the information has not been modified since created.  Authentication works closely with encryption to ensure that there is a secure environment.  Authorization is simply controlling the access and rights to resources, including things such as services or files.  Access control restricts what a user can do various resources.  There are many types of tokens including SSL tokens, SAML tokens, and WS-Username tokens.  Properly handing such Tokens both at the protocol and message level is crucial for establishing trust between business entities.

The threat and privacy/integrity/identity issues addressed in both of these models mitigate the most common XML vulnerabilities.  Thus, both Threat and Trust models should form the fabric of an enterprise's XML Security design.  From an actual implementation perspective,  an XML Gateway whose core engine is based on both models mitigate these common XML vulnerabilities thus ensuring robust exchange of XML data between enterprises.

More Stories By Rizwan Mallal

Rizwan Mallal serves as the Vice President of Operations at Crosscheck Networks, Inc. As a founding member and Chief Security Architect of Forum Systems, the wholly owned subsidiary of Crosscheck Networks, Rizwan was responsible for all security related aspects of Forum's technology.

Previously, Rizwan was the Chief Architect at Phobos where he was responsible for developing the industry's first embedded SSL offloader. This product triggered Phobos's acquisition by Sonicwall (NASD: SNWL). Before joining Phobos, he was member of the core engineering group at Raptor Systems which pioneered the Firewall/VPN space. Raptor after its successful IPO was later acquired by Axent/Symantec (NASD:SYMC).

Rizwan started his career at Cambridge Technology Partners (acquired by Novell) where he was the technical lead in the client/server group.

Rizwan holds two patents in the area of XML Security. Rizwan has a BSc. in Computer Science from Albright College and MSc. in Computer Science from University of Vermont.

IoT & Smart Cities Stories
The deluge of IoT sensor data collected from connected devices and the powerful AI required to make that data actionable are giving rise to a hybrid ecosystem in which cloud, on-prem and edge processes become interweaved. Attendees will learn how emerging composable infrastructure solutions deliver the adaptive architecture needed to manage this new data reality. Machine learning algorithms can better anticipate data storms and automate resources to support surges, including fully scalable GPU-c...
Machine learning has taken residence at our cities' cores and now we can finally have "smart cities." Cities are a collection of buildings made to provide the structure and safety necessary for people to function, create and survive. Buildings are a pool of ever-changing performance data from large automated systems such as heating and cooling to the people that live and work within them. Through machine learning, buildings can optimize performance, reduce costs, and improve occupant comfort by ...
The explosion of new web/cloud/IoT-based applications and the data they generate are transforming our world right before our eyes. In this rush to adopt these new technologies, organizations are often ignoring fundamental questions concerning who owns the data and failing to ask for permission to conduct invasive surveillance of their customers. Organizations that are not transparent about how their systems gather data telemetry without offering shared data ownership risk product rejection, regu...
René Bostic is the Technical VP of the IBM Cloud Unit in North America. Enjoying her career with IBM during the modern millennial technological era, she is an expert in cloud computing, DevOps and emerging cloud technologies such as Blockchain. Her strengths and core competencies include a proven record of accomplishments in consensus building at all levels to assess, plan, and implement enterprise and cloud computing solutions. René is a member of the Society of Women Engineers (SWE) and a m...
Poor data quality and analytics drive down business value. In fact, Gartner estimated that the average financial impact of poor data quality on organizations is $9.7 million per year. But bad data is much more than a cost center. By eroding trust in information, analytics and the business decisions based on these, it is a serious impediment to digital transformation.
Digital Transformation: Preparing Cloud & IoT Security for the Age of Artificial Intelligence. As automation and artificial intelligence (AI) power solution development and delivery, many businesses need to build backend cloud capabilities. Well-poised organizations, marketing smart devices with AI and BlockChain capabilities prepare to refine compliance and regulatory capabilities in 2018. Volumes of health, financial, technical and privacy data, along with tightening compliance requirements by...
Predicting the future has never been more challenging - not because of the lack of data but because of the flood of ungoverned and risk laden information. Microsoft states that 2.5 exabytes of data are created every day. Expectations and reliance on data are being pushed to the limits, as demands around hybrid options continue to grow.
Digital Transformation and Disruption, Amazon Style - What You Can Learn. Chris Kocher is a co-founder of Grey Heron, a management and strategic marketing consulting firm. He has 25+ years in both strategic and hands-on operating experience helping executives and investors build revenues and shareholder value. He has consulted with over 130 companies on innovating with new business models, product strategies and monetization. Chris has held management positions at HP and Symantec in addition to ...
Enterprises have taken advantage of IoT to achieve important revenue and cost advantages. What is less apparent is how incumbent enterprises operating at scale have, following success with IoT, built analytic, operations management and software development capabilities - ranging from autonomous vehicles to manageable robotics installations. They have embraced these capabilities as if they were Silicon Valley startups.
As IoT continues to increase momentum, so does the associated risk. Secure Device Lifecycle Management (DLM) is ranked as one of the most important technology areas of IoT. Driving this trend is the realization that secure support for IoT devices provides companies the ability to deliver high-quality, reliable, secure offerings faster, create new revenue streams, and reduce support costs, all while building a competitive advantage in their markets. In this session, we will use customer use cases...