Thursday, 31 August 2017

Azure Operational Security best practices


Azure Operational Security refers to the services, controls, and features available to users for protecting their data, applications, and other assets in Microsoft Azure. Azure Operational Security is built on a framework that incorporates the knowledge gained through various capabilities that are unique to Microsoft, including the Microsoft Security Development Lifecycle (SDL), the Microsoft Security Response Center program, and deep awareness of the cybersecurity threat landscape.
In this article, we discuss a collection of Azure database security best practices. These best practices are derived from our experience with Azure database security and the experiences of customers like yourself.
For each best practice, we explain:
  • What the best practice is
  • Why you want to enable that best practice
  • What might be the result if you fail to enable the best practice
  • How you can learn to enable the best practice
This Azure Operational Security Best Practices article is based on a consensus opinion, and Azure platform capabilities and feature sets, as they exist at the time this article was written. Opinions and technologies change over time and this article will be updated on a regular basis to reflect those changes.
Azure Operational Security best practices discussed in this article include:
  • Monitor, manage, and protect cloud infrastructure
  • Manage identity and implement single sign-on (SSO)
  • Trace requests, analyze usage trends, and diagnose issues
  • Monitoring services with a centralized monitoring solution
  • Prevent, detect, and respond to threats
  • End-to-end scenario-based network monitoring
  • Secure deployment using proven DevOps tools

Monitor, manage, and protect cloud infrastructure

IT Operations is responsible for managing datacenter infrastructure, applications, and data, including the stability and security of these systems. However, gaining security insights across increasing complex IT environments often requires organizations to cobble together data from multiple security and management systems.
Microsoft Operations Management Suite (OMS) is Microsoft's cloud-based IT management solution that helps you manage and protect your on-premises and cloud infrastructure.
OMS Security and Audit solution enables IT to actively monitor all resources, which can help minimize the impact of security incidents. OMS Security and Audit have security domains that can be used for monitoring resources.
For more information about OMS, read the article Operations Management Suite.
To help you prevent, detect, and respond to threats, Operations Management Suite (OMS) Security and Audit Solution collects and processes data about your resources, which includes:
  • Security event log
  • Event Tracing for Windows (ETW) events
  • AppLocker auditing events
  • Windows Firewall log
  • Advanced Threat Analytics events
  • Results of baseline assessment
  • Results of antimalware assessment
  • Results of update/patch assessment
  • Syslog streams that are explicitly enabled on the agent

Manage identity and implement single sign-on

Azure Active Directory (Azure AD) is Microsoft’s multi-tenant cloud based directory and identity management service.
Azure AD also includes a full suite of identity management capabilities including multi-factor authentication, device registration, self-service password management, self-service group management, privileged account management, role-based access control, application usage monitoring, rich auditing and, security monitoring and alerting.
The following capabilities can help secure cloud-based applications, streamline IT processes, cut costs and help ensure that corporate compliance goals are met:
  • Identity and access management for the cloud
  • Simplify user access to any cloud app
  • Protect sensitive data and applications
  • Enable self-service for your employees
  • Integrate with Azure Active Directory

Identity and access management for the cloud

Azure Active Directory (Azure AD) is a comprehensive identity and access management cloud solution, which gives you a robust set of capabilities to manage users and groups. It helps secure access to on-premises and cloud applications, including Microsoft web services like Office 365 and much non-Microsoft software as a service (SaaS) applications. To learn more how to enable identity protection in Azure AD, see Enabling Azure Active Directory Identity Protection.

Simplify user access to any cloud app

Enable single sign-on to simplify user access to thousands of cloud applications from Windows, Mac, Android, and iOS devices. Users can launch applications from a personalized web-based access panel or mobile app using their company credentials. Use the Azure AD Application Proxy module to go beyond SaaS applications and publish on-premises web applications to provide highly secure remote access and single sign-on.

Protect sensitive data and applications

Enable Azure Multi-Factor Authentication to prevent unauthorized access to on-premises and cloud applications by providing an additional level of authentication. Protect your business and mitigate potential threats with security monitoring, alerts, and machine learning-based reports that identify inconsistent access patterns.

Enable self-service for your employees

Delegate important tasks to your employees, such as resetting passwords and creating and managing groups. Enable self-service password change, reset, and self-service group management with Azure AD.

Integrate with Azure Active Directory

Extend Active Directory and any other on-premises directories to Azure AD to enable single sign-on for all cloud-based applications. User attributes can be automatically synchronized to your cloud directory from all kinds of on-premises directories.
To learn more about integration of Azure Active Directory and how to enable it, please read the article integrate your on-premises directories with Azure Active Directory.
Azure Storage Analytics performs logging and provides metrics data for a storage account. You can use this data to trace requests, analyze usage trends, and diagnose issues with your storage account.
Storage Analytics metrics are enabled by default for new storage accounts. You can enable logging and configure both metrics and logging in the Azure portal; for details, see Monitor a storage account in the Azure portal. You can also enable Storage Analytics programmatically via the REST API or the client library. Use the Set Service Properties operation to enable Storage Analytics individually for each service.
For an in-depth guide on using Storage Analytics and other tools to identify, diagnose, and troubleshoot Azure Storage-related issues, see Monitor, diagnose, and troubleshoot Microsoft Azure Storage.
To learn more about integration of Azure Active Directory and how to enable it, read the article Enabling and Configuring Storage Analytics.

Monitoring services

Cloud applications are complex with many moving parts. Monitoring provides data to ensure that your application stays up and running in a healthy state. It also helps you to stave off potential problems or troubleshoot past ones. In addition, you can use monitoring data to gain deep insights about your application. That knowledge can help you to improve application performance or maintainability, or automate actions that would otherwise require manual intervention.

Monitor Azure resources

Azure Monitor is the platform service that provides a single source for monitoring Azure resources. With Azure Monitor, you can visualize, query, route, archive, and take action on the metrics and logs coming from resources in Azure. You can work with this data using the Monitor portal blade, Monitor PowerShell CmdletsCross-Platform CLI, or Azure Monitor REST APIs.

Enable Autoscale with Azure monitor

Enable Azure Monitor Autoscale applies only to virtual machine scale sets (VMSS), cloud services, app service plans, and app service environments.

Manage Roles Permissions and Security

Many teams need to strictly regulate access to monitoring data and settings. For example, if you have team members who work exclusively on monitoring (support engineers, devops engineers) or if you use a managed service provider, you may want to grant them access to only monitoring data while restricting their ability to create, modify, or delete resources.
This shows how to quickly apply a built-in monitoring RBAC role to a user in Azure or build your own custom role for a user who needs limited monitoring permissions. It then discusses security considerations for your Azure Monitor-related resources and how you can limit access to the data they contain.

Prevent, detect, and respond to threats

Security Center threat detection works by automatically collecting security information from Azure resources, the network, and connected partner solutions. It analyses this information, often correlating information from multiple sources, to identify threats. Security alerts are prioritized in Security Center along with recommendations on how to remediate the threat.
Azure Security Center helps you prevent, detect, and respond to threats with increased visibility into and control over the security of your Azure resources. It provides integrated security monitoring and policy management across your Azure subscriptions, helps detect threats that might otherwise go unnoticed, and works with a broad ecosystem of security solutions.
Security Center delivers easy-to-use and effective threat prevention, detection, and response capabilities that are built in to Azure. Key capabilities are:
  • Understand cloud security state
  • Take control of cloud security
  • Easily deploy integrated cloud security solutions
  • Detect threats and respond fast

Understand cloud security state

Use Azure Security Center to get a central view of the security state of all of your Azure resources. At a glance, verify that the appropriate security controls are in place and configured correctly and quickly identify any resources, which require attention.

Take control of cloud security

Define security policies for your Azure subscriptions according to your company’s cloud security needs, tailored to the type of applications or sensitivity of the data in each subscription. Use policy-driven recommendations to guide resource owners through the process of implementing required controls—take the guesswork out of cloud security.

Easily deploy integrated cloud security solutions

Enable security solutions from Microsoft and its partners, including industry-leading firewalls and antimalware. Use streamlined provisioning to deploy security solutions—even networking changes are configured for you. Your security events from partner solutions are automatically collected for analysis and alerting.

Detect threats and respond fast

Stay ahead of current and emerging cloud threats with an integrated, analytics-driven approach. By combining Microsoft global threat intelligence and expertise, with insights into cloud security-related events across your Azure deployments, Security Center helps you detect actual threats early and reduce false positives. Cloud security alerts give you insights into the attack campaign, including related events and impacted resources and suggest ways to remediate issues and recover quickly.

End-to-end scenario-based network monitoring

Customers build an end-to-end network in Azure by orchestrating and composing various individual network resources such as VNet, ExpressRoute, Application Gateway, Load balancers, and more. Monitoring is available on each of the network resources.
Network Watcher is a regional service that enables you to monitor and diagnose conditions at a network scenario level in, to, and from Azure. Network diagnostic and visualization tools available with Network Watcher help you understand, diagnose, and gain insights to your network in Azure.

Automate remote network monitoring with packet capture

Monitor and diagnose networking issues without logging in to your virtual machines (VMs) using Network Watcher. Trigger packet capture by setting alerts and gain access to real-time performance information at the packet level. When you see an issue, you can investigate in detail for better diagnoses.

Gain insight into your network traffic using flow logs

Build a deeper understanding of your network traffic pattern using Network Security Group flow logs. Information provided by flow logs helps you gather data for compliance, auditing and monitoring your network security profile.

Diagnose VPN connectivity issues

Network Watcher provides you the ability to diagnose your most common VPN Gateway and Connections issues. Allowing you not only to identify the issue but also to use the detailed logs created to help further investigate.
To learn more about how to configure Network watcher and how to enable it, please read the article configure Network watcher.

Secure deployment using proven DevOps tools

These are some of the List of Azure DevOps Practices in this Microsoft Cloud space, which makes enterprises and teams productive and efficient.
  • Infrastructure as Code (IaC): Infrastructure as Code is a set of techniques and practices, which help IT Pros remove the burden associated with the day to day build and management of modular infrastructure. It allows IT Pros to build and maintain their modern server environment in a way that is like how software developers build and maintain application code. For Azure, we have Azure Resource Manager allows you to provision your applications using a declarative template. In a single template, you can deploy multiple services along with their dependencies. You use the same template to repeatedly deploy your application during every stage of the application lifecycle.
  • Continuous Integration and Deployment: You can configure your Visual Studio Online team projects to automatically build and deploy to Azure web apps or cloud services. VSO automatically deploys the binaries after doing a build to Azure after every code check-in. The package build process described here is equivalent to the Package command in Visual Studio, and the publishing steps are equivalent to the Publish command in Visual Studio.
  • Release Management: Visual Studio Release Management is a great solution for automating multi-stage deployment and managing the release process. Create managed continuous deployment pipelines to release quickly, easily, and often. With Release Management, we can much automate our release process, and we can have predefined approval workflows. Deploy on-premises and to the cloud, extend, and customize as required.
  • App Performance Monitoring: Detect issues, solve problems, and continuously improve your applications. Quickly diagnose any problems in your live application. Understand what your users do with it. Configuration is easy matter of adding JS code and a webconfig entry, and you see results within minutes in the portal with all the details.App insights helps enterprises for faster detection of issues & remediation.
  • Load Testing & Autoscale: We can find performance problems in our app to improve deployment quality and to make sure our app is always up or available to cater to the business needs. Make sure your app can handle traffic for your next launch or marketing campaign. Start running cloud-based load tests in almost no time with Visual Studio Online.

No comments:

Post a Comment