Wednesday Nov 04, 2009
Today, I am very happy to announce the availability of a new Solaris 10 Security Deep Dive training. This version has been updated for Solaris 10 10/2009 (also known as Update 8). From a security perspective, there have only been a few updates since my last posted version, but it is always good to be current. Items added in this new version include: ZFS user and group quotas, ZFS pre-defined ACL sets, NTPv4, and nss_ldap shadowAccount support. In addition, there was a bit of cleanup throughout and a new example was added for Trusted Extensions.
As usual, I have made this content available in both OpenDocument Format (ODF) and PDF. If you are using Microsoft Office, you can use the Sun MS Office ODF Plugin to read the source document.
For those of you who have downloaded one of the previous versions, thank you! There have been nearly 8,000 downloads of this presentation so far! If you have not had a chance, I would encourage you to download and check out a copy today. It is really amazing how many new and updated security features and capabilities there are in Solaris 10. If you have been away from Solaris (even Solaris 10) for a while, I am sure you will be shocked with what you can do today! As always, feedback is greatly appreciated!
Take care!
Glenn
Technorati Tag:
OpenSolaris
Solaris
security
Monday Nov 02, 2009
Just in time for the OpenSolaris Developer Conference, we were able to publish new Immutable Service Containers images directly to
the Amazon Web Services Elastic Compute Cloud (EC2) environment. Previously, I talked about creating ISCs using our security enhanced OpenSolaris 2009.06 AMIs. Today, I am happy to announce that we have taken the next logical step by making available AMIs that fully incorporate the ISC changes. If you want to try out this configuration, simply provision an Immutable Service Containers AMI on EC2. We have made AMIs available in both the U.S. (ami-48c32021) and European (ami-78567d0c) regions. As always, we would love to get your feedback on these images and what you would like to see next!
Take care!
Technorati Tag:
OpenSolaris
security
cloudcomputing
virtualization
auditing
hardening
amazon
aws
ec2
Monday Nov 02, 2009
Just wanted to let everyone know of a new Immutable Service Containers technical presentation (ODF, PDF) that has been posted. This version was delivered last week in Dresden, Germany at the OpenSolaris Developer Conference. This presentation has all of the latest and greatest information particularly on the OpenSolaris ISC Construction Kit. As always, I would love to hear your comments and feedback!
Take care!
Technorati Tag:
OpenSolaris
security
cloudcomputing
virtualization
auditing
hardening
osdevcon
Friday Sep 11, 2009
Back in June, we released the very first security hardened virtual machine images for the Amazon Web Services Elastic Compute Cloud (EC2) environment. These original images were based upon the OpenSolaris 2008.11 release and were configured in accordance with the guidelines published by Sun the Center for Internet Security.
Since its initial release, we have provided an update to offer this image in the European Region. In August, we took another step forward with the release of a security-enhanced image based upon the OpenSolaris 2009.06 release. This image went beyond just the simple hardening of its predecessor to add functionality such as encrypted swap, non-executable stacks and auditing that was enabled by default. With such a strong foundation, it should have been no surprise that it was likely to be used as a foundation for layered functionality. Just this month, for example, we announced the release of an image pre-configured with Drupal (v6.10) along with Apache (v2.2), MySQL (v5.0), and PHP (v5.2).
In parallel, the Immutable Service Containers project was announced back in June. This project was focused on the creation of secure execution environments for services. One of the key deliverables from this project has been the OpenSolaris ISC Construction Kit (Preview) that transforms an OpenSolaris 2009.06 system into an ISC configuration. Interestingly, several of the functional elements used today as part of the security-enhanced AMIs actually got their start as part of the ISC Construction Kit.
This brings us to today. For the first time, we have been able to create ISCs in the Cloud on Amazon EC2! Using the OpenSolaris ISC Construction Kit and the security-enhanced OpenSolaris 2009.06 AMI, we have deployed an ISC that exposes a representative service (in this case, a web server).
HELLO WORLD!
The nice thing about this is that the installation process was essentially the same as the one we used to create our pre-configured OVF image. There were two settings that needed to be adjusted in order for the ISC Construction Kit to properly work on EC2:
export ISC_SVCS_DOCK="fs network zone encrypted_scratch"
export ISC_DOCK_NET_IF_NAME="xnf0"
These two parameters had to be set before running the iscadm.ksh command. The first parameter simply removes steps that have already been completed in the base AMI (or are not needed for EC2). The second parameter changes the network interface name from e1000g0 (default) to xnf0 which is needed on EC2. That's all there was to it!
If you are interested in ISCs and how you can use them in your environment, I would love to hear from you! Also, just in case you missed it, I had the pleasure of joining Hal Stern to discuss ISCs on a recent Innovating@Sun podcast. Check it out and send us your feedback! Thanks in advance!
Take care!
Technorati Tag:
OpenSolaris
security
cloudcomputing
auditing
hardening
Amazon
ec2
aws
Tuesday Jul 07, 2009
In my last post, I discussed the Immutable Service Container project and announced the availability of an ISC Construction Kit to automate the creation of OpenSolaris-based ISCs.
Today, I wanted to provide a few updates. Specifically, I would like to announce:
- a new Immutable Service Container presentation (ODP, PDF) that provides a technical overview of the ISC approach, design goals, and the OpenSolaris implementation available today.
- an updated Private Virtual Network architecture page highlighting additional network topologies that implement different network isolation strategies. These are a few of the models that are being considered for future ISC Construction Kit updates.
- an updated Autonomic security architecture page that provides a number of use cases showing ISCs as an essential building block for these kinds of architectures.
Additional architectural content is in development and as always I am very interested in your feedback and ideas.
Take care!
Technorati Tag:
OpenSolaris
security
cloudcomputing
Wednesday Jul 01, 2009
While the need for security and integrity is well-recognized, it is less often
well-implemented. Security assessments and industry reports regularly show
how sporadic and inconsistent security configurations become for organizations
both large and small. Published recommended security practices and settings
remain unused in many environments and existing, once secured, deployments
suffer from atrophy due to neglect.
Why is this? There is no one answer. Some organizations are simply unaware of
the security recommendations, tools, and techniques available to them. Others
lack the necessary skill and experience to implement the guidance and maintain
secured configurations. It is not uncommon for these organizations to feel
overwhelmed by the sheer number of recommendations, settings and options. Still
others may feel that security is not an issue in their environment. The list goes
on and on, yet the need for security and integrity has never been more important.
Interestingly, the evolution and convergence of technology is
cultivating new ideas and solutions to help organizations better protect their
services and data. One such idea is being demonstrated by the Immutable Service Container
(ISC) project. Immutable Service Containers are an architectural deployment pattern
used to describe a platform for highly secure service delivery. Building upon concepts
and functionality enabled by operating systems, hypervisors, virtualization, and
networking, ISCs provide a secured container into which a service or set of
services is deployed. Each ISC embodies at its core the key principles inherent
in the Sun Systemic
Security framework including: self-preservation, defense in depth, least
privilege, compartmentalization and proportionality. Further, ISC design borrows
from Cloud Computing principles such as service abstraction, micro-virtualization,
automation, and "fail in place".
By designing service delivery platforms using the Immutable Service Containers mode,
a number of significant security benefits:
- For application owners:
- ISCs help to protect applications and services from tampering
- ISCs provide a consistent set of security interfaces and resources for applications
and services to use
- For system administrators:
- ISCs isolate services from one another to avoid contamination
- ISCs separate service delivery from security enforcement/monitoring
- ISCs can be (mostly) pre-configured by security experts
- For IT managers:
- ISCs creation can be automated, pre-integrating security functionality making them
faster and easier to build and deploy
- ISCs leverage industry accepted security practices making them easier to audit and
support
It is expected that Immutable Service Containers will form the most basic
architectural building block for more complex,
highly
dynamic and autonomic
architectures. The goal of the ISC project is to more fully describe the architecture
and attributes of ISCs, their inherent benefits, their construction as well as to
document practical examples using various software applications.
While the notion of ISCs is not based upon any one product or technology, an
instantiation has been recently developed using
OpenSolaris 2009.06. This instantiation offers a pre-integrated configuration
leveraging OpenSolaris security recommended practices and settings. With ISCs,
you are not starting from a blank slate, but rather you can now build upon the
security expertise of others. Let's look at the OpenSolaris-based ISC more closely.
In an ISC configuration, the global zone is treated as a system controller and
exposed services are deployed (only) into their own non-global zones. From a
networking perspective, however, the entire environment is viewed as a single
entity (one IP address) where the global zone acts as a security monitoring and
arbitration point for all of the services running in non-global zones.
As a foundation, this highly optimized environment is pre-configured with:
Further, the default OpenSolaris ISC uses:
- Non-Global Zone. Exposed services are deployed in a non-global zone. There they can take advantage of the core security benefits enabled by OpenSolaris non-global zones such as restricted access to the kernel, memory, devices, etc. For more information on non-global zone security capabilities, see the Sun BluePrint titled "Understanding the Security Capabilities of Solaris Zones Software". Using a fresh ISC, you can simply install your service into the provided non
-global zone as you normally would.
Further in the ISC model, each non-global zone has its own encrypted scratch space (w/its own ephemeral key), its own persistent storage location, as well as a pre-configured auditing and networking configuration that matches that of the global zone. You do not need to use the
encrypted scratch space or persistent storage, but it is there if you want to take advantage of it. Obviously, additional resource controls (CPU, memory, etc.) can be added as necessary. These are not pre-configured due to the variability of service payloads.
- Solaris Auditing. A default audit policy is implemented in the global zone and all non-global zones that tracks login and logout events, administrative events as well as all commands (and command line arguments) executed on the system. The audit configuration and audit trail are kept in the global zone where they cannot be accessed by any of the non-global zones. The audit trail is also pre-configure
d to be delivered by SYSLOG (by default this information is captured in /var/log/auditlog).
- Private Virtual Network. A private virtual network is configured by default for all of the non-global zones. This network isolates each non-global zone to its own virtual NIC. By default, the global and non-global zones can freely initiate external communications, although this can be restricted if needed. A non-global zone is not permitted to accept connections, by default. Non-global zone service
s can be exposed through the global zone IP address by adjusting the IP Filter and IP NAT policies (below).
- Solaris IP NAT. Each non-global zone is pre-configured to have a private address assigned to its virtual NIC. To allow the non
-global zone to communicate with external systems and networks, an IP NAT policy is implemented. Outgoing connections are masked using the
IP address of the global zone. Incoming connections are redirected based upon the port used to communicate. Beyond simple hardening of the non-global zone (a state which can be altered from within the non-global zone itself), this mechanism ensures that the global zone can control which services are exposed by the non-global zone and on which ports.
- Solaris IP Filter. A default packet filtering policy is implemented in the global zone allowing only DHCP (for the exposed network interface) and SSH (to the global zone). Additional rules are available (but disabled) to allow access to non-global zones on an as-needed basis. Further, rules are implemented to deny external access to any non-global zone that has changed its pre-assigned (private) IP address. Packet filtering is pre-configured to log packets to SYSLOG (by default this information is captured in /var/log/ipflog).
So what does all of this really mean? Using the ISC model, you can deploy your services in a micro-virtualized environment that offers protection against kernel-based root kits (and some forms of user-land root kits), offers flexible file system immutability (based upon read-only file systems mounted into the non-global zone), can take advantage of process least privilege and resource controls, and is operated in
a hardened environment where there is a packet filtering, NAT and auditing policy that is effectively out of the reach of the deployed service. This means that should a service be compromised in a non-global zone, it will not be able to impact the integrity or validity of the auditing, packet filtering, and NAT configuration or logs. While you may not be able to stop every form of attack, having reliable audit trails can significantly help to determine the extent of the breach and facilitate recovery.
The following diagram puts all of the pieces together:

Additional private virtual networking models are also being considered. All in all, the ISC model offers a very compelling deployment model. The accessiblity and attractiveness of this model is further enhanced by the availability of an ISC construction kit that allows you to take an OpenSolaris 2009.06 system and convert it to the ISC model with a single command. Sound interesting? Give it a try, come join the project and be sure to send along your feedback
!
Technorati Tag:
OpenSolaris
security
cloudcomputing
Monday Jun 15, 2009
It has sure been a busy month and really it has just begun. Today, I am happy to announce the availability of my Solaris 10 Security Deep Dive presentation, updated for the just released Solaris 10 05/2009 (Update 7). From a security perspective, there have only been a few updates since my last posted version, for Solaris 10 10/2008 (Update 6), but it is always good to be current. Of particular interest is a new slide focused on IPsec and IKE. As usual, I have made this content available in both OpenDocument Format (ODF) and PDF. If you are using Microsoft Office, you can use the Sun MS Office ODF Plugin to read the source document.
For those of you who have downloaded one of the previous versions, thank you! There have been nearly 5,000 downloads of this presentation so far! If you have not had a chance, I would encourage you to download and check out a copy today. It is really amazing how many new and updated security features and capabilities there are in Solaris 10. If you have been away from Solaris (even Solaris 10) for a while, I am sure you will be shocked with what you can do today! As always, feedback is greatly appreciated!
Take care!
Glenn
Technorati Tag:
OpenSolaris
Solaris
security
hardening
Friday Nov 14, 2008
It must be that time of year again. At Sun's Customer Engineering Conference this year, I unveiled the latest update to my Solaris 10 Security Deep Dive Presentation. This version has been updated based upon Solaris 10 10/08 (Update 6) which means it is in sync with the most recently shipping version of Solaris 10. This version is in OpenDocument Format. Should you want a PDF version, you can use this copy.
The last update that I had posted was downloaded more than 2,000 times. That is a great number for such a specialized and technical topic. With all of these downloads, however, I have yet to hear from you! Please be sure to send along your feedback! I am particularly interested in things like:
- Does the content meet your needs? How can it be improved?
- What are your security requirements not met today by Solaris 10? What is your wish list?
- Is their content where you would like more detailed information (e.g., a BluePrint)?
As I said in my last Solaris 10 Security Update... If you have not taken a look into what Solaris 10 can offer recently, you really must give it a look! Also, be on the look out for a posting very soon on a project called Immutable Service Containers. With that as a teaser, I will sign off for today...
Take care!
Glenn
Technorati Tag:
OpenSolaris
Solaris
security