Securing Your System: Security Hardening Techniques for SUSE Linux Enterprise Server 12



Similar documents
Securing Your System: Security Hardening Techniques for SUSE Linux Enterprise Server

Operating System Security Hardening for SAP HANA

SUSE Linux Enterprise 12 Security Certifications

Advanced Systems Management with Machinery

SUSE Linux Enterprise 12 Security Certifications Common Criteria, EAL, FIPS, PCI DSS,... What's All This About?

Relax-and-Recover. Johannes Meixner. on SUSE Linux Enterprise 12.

SUSE Customer Center Roadmap

Implementing Linux Authentication and Authorisation Using SSSD

Wicked A Network Manager Olaf Kirch

Running SAP HANA One on SoftLayer Bare Metal with SUSE Linux Enterprise Server CAS19256

How To Make A Cloud Work For You

Btrfs and Rollback How It Works and How to Avoid Pitfalls

Public Cloud. Build, Use, Manage. Robert Schweikert. Public Cloud Architect

Using SUSE Linux Enterprise to "Focus In" on Retail Optical Sales

Workflow und Identity Management - Genehmigungsprozesse, Role Mining, Role Design und Compliance Management

Software Defined Everything

SUSE OpenStack Cloud 4 Private Cloud Platform based on OpenStack. Gábor Nyers Sales gnyers@suse.com

DevOps and SUSE From check-in to deployment

Big Data, SAP HANA. SUSE Linux Enterprise Server for SAP Applications. Kim Aaltonen

Using btrfs Snapshots for Full System Rollback

Challenges Implementing a Generic Backup-Restore API for Linux

We are watching SUSE

Build Platform as a Service (PaaS) with SUSE Studio, WSO2 Middleware, and EC2 Chris Haddad

Configuration Management in SUSE Manager 3

Data Center Automation with SUSE Manager Federal Deployment Agency Bundesagentur für Arbeit Data Center Automation Project

Ceph Distributed Storage for the Cloud An update of enterprise use-cases at BMW

kgraft Live patching of the Linux kernel

HO15982 Deploy OpenStack. The SUSE OpenStack Cloud Experience. Alejandro Bonilla. Michael Echavarria. Cameron Seader. Sales Engineer

High Availability Storage

How an Open Source Cloud Will Help Keep Your Cloud Strategy Options Open

Installing, Tuning, and Deploying Oracle Database on SUSE Linux Enterprise Server 12 Technical Introduction

SUSE Linux uutuudet - kuulumiset SUSECon:sta

TUT5605: Deploying an elastic Hadoop cluster Alejandro Bonilla

SUSE Enterprise Storage Highly Scalable Software Defined Storage. Gábor Nyers Sales

Kangaroot SUSE TechUpdate Interoperability SUSE Linux Enterprise and Windows

SUSE Storage. FUT7537 Software Defined Storage Introduction and Roadmap: Getting your tentacles around data growth. Larry Morris

High Availability and Disaster Recovery for SAP HANA with SUSE Linux Enterprise Server for SAP Applications

Oracle Products on SUSE Linux Enterprise Server 11

CAS18543 Migration from a Windows Environment to a SUSE Linux Enterprise based Infrastructure Liberty Christian School

NIST ITL July 2012 CA Compromise

RedHat (RHEL) System Administration Course Summary

GL-250: Red Hat Linux Systems Administration. Course Outline. Course Length: 5 days

HO5604 Deploying MongoDB. A Scalable, Distributed Database with SUSE Cloud. Alejandro Bonilla. Sales Engineer abonilla@suse.com

Deploying Hadoop with Manager

GL254 - RED HAT ENTERPRISE LINUX SYSTEMS ADMINISTRATION III

File Management Suite. Novell. Intelligently Manage File Storage for Maximum Business Benefit. Sophia Germanides

1 Scope of Assessment

Wicked Trip into Wicked Network Management

Using SUSE Cloud to Orchestrate Multiple Hypervisors and Storage at ADP

Novell Collaboration Vibe OnPrem

ENTERPRISE LINUX SYSTEM ADMINISTRATION

Of Pets and Cattle and Hearts

SUSE Cloud 5 Private Cloud based on OpenStack

Open Source High Availability Writing Resource Agents for your own services. Lars Marowsky-Brée Team Lead SUSE Labs

How To Secure An Rsa Authentication Agent

COURCE TITLE DURATION LPI-202 Advanced Linux Professional Institute 40 H.

ENTERPRISE LINUX SECURITY ADMINISTRATION

Yosemite Server Backup Installation Guide

GL-550: Red Hat Linux Security Administration. Course Outline. Course Length: 5 days

Linux Operating System Security

How SUSE Is Helping You Rock The Public Cloud

NetIQ Sentinel Quick Start Guide

Novell Identity Manager Resource Kit

S E C U R I T Y A S S E S S M E N T : B o m g a r A p p l i a n c e s

Introducing Director 11

Cisco Secure PIX Firewall with Two Routers Configuration Example

TUT19344 Managing RH/CentOS with SUSE Manager

RH033 Red Hat Linux Essentials or equivalent experience with Red Hat Linux..

Support Notes for SUSE LINUX Enterprise Server 9 Service Pack 3 for the Intel Itanium 2 Processor Family

Mandatory Access Control in Linux

RSA Security Analytics. S4 Broker Setup Guide

Linux w chmurze publicznej SUSE na platformie Microsoft Azure

Host Hardening. OS Vulnerability test. CERT Report on systems vulnerabilities. (March 21, 2011)

Secure Network Filesystem (Secure NFS) By Travis Zigler

GL550 - Enterprise Linux Security Administration

Based on Geo Clustering for SUSE Linux Enterprise Server High Availability Extension

Acano solution. Security Considerations. August E

Executive Summary and Purpose

Nixu SNS Security White Paper May 2007 Version 1.2

GLS250 "Enterprise Linux Systems Administration"

The Risks that Pen Tests don t Find. OWASP 13 April The OWASP Foundation

Data Collection and Analysis: Get End-to-End Security with Cisco Connected Analytics for Network Deployment

Leveraging Wikis to Manage SCP Documentation TWiki Novell Technical Services

Document Exchange Server 2.5

Application Note Gemalto.NET 2.0 Smart Card Certificate Enrollment using Microsoft Certificate Services on Windows 2008

Certification Report

iscsi Security (Insecure SCSI) Presenter: Himanshu Dwivedi

Abstract. Microsoft Corporation Published: November 2011

VMware vcenter Log Insight Security Guide

Transcription:

Securing Your System: Security Hardening Techniques for SUSE Linux Enterprise Server 12 Craig Gardner Software Engineer SUSE Craig.Gardner@suse.com

Overview What? and Why? New for SUSE Linux Enterprise Server 12 Architecture Dive: Inspection Tools 2

What? and Why? What Should Security Be?

What is Security? Good software......does what you expect it to do, and does it well. Secure software......is good software that does nothing else. 4

What to Do? Software contains errors Malfunctions Crashes Downtime Security Vulnerabilities Data loss and disclosure, identity theft, system abuse, privilege transition Apply Maintenance Updates Nowhere is this more evident than with POODLE and SHELLSHOCK 5

A Closer Look Administration Purpose, responsibilities, mandates, team play Infrastructure Network and network boundaries, services Security Zones Assets and protection, domains, domain transitions Systems Deployment, installation, configuration (hardening), monitoring, maintenance, auditing 6

A Closer Look Administration Purpose, responsibilities, mandates, team play Infrastructure Network and network boundaries, services Security Zones Assets and protection, domains, domain transitions Systems Deployment, installation, configuration (hardening), monitoring, maintenance, auditing 7

Security Considerations for SUSE Linux Enterprise Server 12

Security Standards Compliance Upcoming Common Criteria Certification 9 EAL4+ expected ( under evaluation ) Upcoming FIPS 140-2 validation OpenSSL OpenSSH client and server Strongswan Kernel Crypto API libgcrypt

SUSE Linux Enterprise 12 Changes Related to Security 10 SCC Registration 2nd action after accepting the license Important for getting security updates immediately Updates from SCC, SMT, or Manager No more Stage 2 installation Create New User and root password in stage 1 No more blowfish; default is sha512 Simplification; Flexibility

SUSE Linux Enterprise 12 Changes Related to Security TLS 1.2 support for all services Grub2 UEFI Secure Boot SELinux returns systemd journald and journalctrl 11 Tamper resistant local logging

SUSE Linux Enterprise 12 Changes Related to Security Built Upon Proven SUSE Linux Enterprise 11 12

Inspection, Configuration, Hardening

DMZ 0 Shuttle Networks DMZ 1 Inner Networks Admin Network 14

Screenshots

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

YaST Security Center and Hardening

33

What Security Center Does In the Background Run another YaST module Change settings in files in /etc/sysconfig Modify configuration files directly 34

Architecture and Design

Schematical Overview: system calls KDE proc, sys User-land processes VFS ext3 reiserfs vfat NFS (mount table) sd sg ICMP UDP Physics/Electronics aic7xxx Kernel-land drivers, kernel threads IP eth0 ppp0 BT USB SCSI SCSI 36 TCP PCI Serial Shell device files Libraries Human O/S Kernel + Userland

Inspection Approach your system as if you were an attacker: network 37 ports services processes files kernel

Network Interface addresses: all interfaces enabled and conn.? Routing setup: IP-forwarding on/off? Netfilter rules: active, any? maintain ARP table records Other tweakables: txqueuelen, mtu ICMP replies, ICMP redirects ECN slow-start 38

Ports port scan: Open TCP and UDP sockets nmap -ss -v -O ip.address.on.network Compare to output of netstat -anpl Discrepancies...? (Not all services are userland process bound! (knfsd)) Watch out for UDP sockets! 39

Services Disable all services that are not needed, permanently Remove the runlevel symlinks (insserv -r <servicename>) Kill the servers (rcapache2 stop) Verify if they the services are really dead! Remove the packages from the system? 40

Processes Get to know all processes on your system in person... ps faux rpm -qfi /usr/sbin/nscd...and deactivate whatever is not needed running. 41

Files Permissions: /etc/permissions* from /etc/sysconfig/security Use chkstat -set <permissions file> or SuSEconfig find / /usr... -mount -type f \( -perm +2000 -o -perm +4000 \) -ls PolKit and default rules in /etc/polkit-default-privs.* Integrity measures: AIDE, RPM maintain offsite RPM database backup for maintain offsite AIDE database backup mount options: /etc/fstab, /proc/mounts 42 rpm -Va

Kernel: Use AppArmor! Example profile: dhcp daemon #include <tunables/global> /usr/sbin/dhcpd { #include <abstractions/base> #include <abstractions/nameservice> capability dac_override, capability net_bind_service, capability net_raw, capability setgid, capability setuid, capability sys_chroot, } 43 /db/dhcpd.leases* lrw, /etc/dhcpd.conf r, /etc/hosts.allow r, /etc/hosts.deny r, /usr/sbin/dhcpd rmix, /var/lib/dhcp/dhcpd.leases* rwl, /var/lib/dhcp/etc/dhcpd.conf r, /var/run/dhcpd.pid wl,

Kernel: We support SELinux (again!) Many government contracts require SELinux A lot the same,but different Starts everything off with high protection settings (MAC = Mandatory Access Control) SUSE Linux Enterprise 12 brings back the choice 44

Tools

Tools The YaST Security Center The YaST AppArmor profile generator Integrity: AIDE and RPM Port Scanner: nmap Vulnerability scanner: openscap + OVAL 46

More Tools, More Considerations System Monitoring: Nagios, Ganglia Syslog Monitoring: logwatch, Sentinel Vulnerability Scanner: openvas, tripwire Configuration Management: puppet, chef, cfengine, or SUSE Manager 47

Unpublished Work of SUSE. All Rights Reserved. This work is an unpublished work and contains confidential, proprietary and trade secret information of SUSE. Access to this work is restricted to SUSE employees who have a need to know to perform tasks within the scope of their assignments. No part of this work may be practiced, performed, copied, distributed, revised, modified, translated, abridged, condensed, expanded, collected, or adapted without the prior written consent of SUSE. Any use or exploitation of this work without authorization could subject the perpetrator to criminal and civil liability. General Disclaimer This document is not to be construed as a promise by any participating company to develop, deliver, or market a product. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. SUSE makes no representations or warranties with respect to the contents of this document, and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose. The development, release, and timing of features or functionality described for SUSE products remains at the sole discretion of SUSE. Further, SUSE reserves the right to revise this document and to make changes to its content, at any time, without obligation to notify any person or entity of such revisions or changes. All SUSE marks referenced in this presentation are trademarks or registered trademarks of Novell, Inc. in the United States and other countries. All third-party trademarks are the property of their respective owners.