Hortonworks Cybersecurity Platform Administration (April 24, 2018)
Total Page:16
File Type:pdf, Size:1020Kb
Hortonworks Cybersecurity Platform Administration (April 24, 2018) docs.cloudera.com Hortonworks Cybersecurity April 24, 2018 Platform Hortonworks Cybersecurity Platform: Administration Copyright © 2012-2018 Hortonworks, Inc. Some rights reserved. Hortonworks Cybersecurity Platform (HCP) is a modern data application based on Apache Metron, powered by Apache Hadoop, Apache Storm, and related technologies. HCP provides a framework and tools to enable greater efficiency in Security Operation Centers (SOCs) along with better and faster threat detection in real-time at massive scale. It provides ingestion, parsing and normalization of fully enriched, contextualized data, threat intelligence feeds, triage and machine learning based detection. It also provides end user near real-time dashboarding. Based on a strong foundation in the Hortonworks Data Platform (HDP) and Hortonworks DataFlow (HDF) stacks, HCP provides an integrated advanced platform for security analytics. Please visit the Hortonworks Data Platform page for more information on Hortonworks technology. For more information on Hortonworks services, please visit either the Support or Training page. Feel free to Contact Us directly to discuss your specific needs. Except where otherwise noted, this document is licensed under Creative Commons Attribution ShareAlike 4.0 License. http://creativecommons.org/licenses/by-sa/4.0/legalcode ii Hortonworks Cybersecurity April 24, 2018 Platform Table of Contents 1. HCP Information Roadmap .......................................................................................... 1 2. Understanding Hortonworks Cybersecurity Suite .......................................................... 2 2.1. HCP Architecture ............................................................................................... 2 2.1.1. Real-Time Processing Security Engine ...................................................... 3 2.1.2. Telemetry Data Collectors ...................................................................... 3 2.1.3. Data Services and Integration Layer ....................................................... 3 2.2. Understanding HCP Terminology ....................................................................... 3 3. Configuring and Customizing HCP ............................................................................... 6 3.1. Adding a New Telemetry Data Source ............................................................... 6 3.1.1. Telemetry Data Source Parsers Bundled with HCP ................................... 6 3.1.2. Prerequisites to Adding a New Telemetry Data Source ............................ 9 3.1.3. Understanding Streaming Data into HCP .............................................. 10 3.1.4. Streaming Data Using NiFi .................................................................... 11 3.1.5. Understanding Parsing a New Data Source to HCP ................................ 15 3.1.6. Elasticsearch Type Mapping Changes .................................................... 16 3.1.7. Creating a Parser for Your New Data Source by Using the Management Module .................................................................................... 18 3.1.8. Transform Your New Data Source Parser Information by Using the Management Module .................................................................................... 22 3.1.9. Create a Parser for Your New Data Source by Using the CLI .................. 24 3.1.10. Verifying That Events Are Indexed ...................................................... 29 3.2. Enriching Telemetry Events .............................................................................. 29 3.2.1. Bulk Loading Enrichment Information .................................................. 30 3.2.2. Streaming Enrichment Information ....................................................... 38 3.3. Configuring Indexing ....................................................................................... 40 3.3.1. Understanding Indexing ....................................................................... 40 3.3.2. Default Configuration ........................................................................... 41 3.3.3. Specifying Index Parameters by Using the Management Module ........... 42 3.3.4. Specifying Index Parameters by Using the CLI ....................................... 42 3.3.5. Indexing HDFS Tuning .......................................................................... 43 3.3.6. Turning Off HDFS Writer ...................................................................... 45 3.3.7. Support for Elasticsearch 5.x ................................................................. 45 3.3.8. Adding X-Pack Extension to Elasticsearch .............................................. 46 3.3.9. Troubleshooting Indexing ..................................................................... 50 3.4. Preparing to Configure Threat Intelligence ...................................................... 50 3.4.1. Prerequisites ......................................................................................... 50 3.4.2. Bulk Loading Threat Intelligence Information ....................................... 50 3.4.3. Creating a Streaming Threat Intel Feed Source ..................................... 60 3.5. Prioritizing Threat Intelligence ......................................................................... 62 3.5.1. Performing Threat Triage Using the Management Module .................... 63 3.5.2. Performing Threat Triage Using the CLI ................................................ 65 3.6. Setting Up Enrichment Configurations ............................................................. 68 3.6.1. Sensor Configuration ............................................................................ 69 3.7. Understanding Global Configuration ............................................................... 70 3.8. Creating Global Configurations ....................................................................... 71 3.9. Understanding the Profiler .............................................................................. 73 3.10. Creating an Index Template .......................................................................... 74 iii Hortonworks Cybersecurity April 24, 2018 Platform 3.11. Configuring the Metron Dashboard to View the New Data Source Telemetry Events .................................................................................................... 75 3.12. Setting up pcap to View Your Raw Data ....................................................... 76 3.12.1. Setting up pycapa .............................................................................. 76 3.12.2. Starting pcap ...................................................................................... 77 3.12.3. Installing Fastcapa .............................................................................. 78 3.12.4. Using Fastcapa ................................................................................... 81 3.12.5. Using Fastcapa in a Kerberized Environment ....................................... 85 3.13. Troubleshooting Parsers ................................................................................ 86 3.13.1. Storm is Not Receiving Data From a New Data Source ......................... 86 3.13.2. Determining Which Events Are Not Being Processed ........................... 86 4. Monitor and Manage ................................................................................................ 87 4.1. Understanding Throughput ............................................................................. 87 4.2. Updating Properties ........................................................................................ 88 4.3. Understanding ZooKeeper Configurations ....................................................... 89 4.4. Managing Sensors ........................................................................................... 89 4.4.1. Starting a Sensor .................................................................................. 90 4.4.2. Stopping a Sensor ................................................................................ 90 4.4.3. Modifying a Sensor .............................................................................. 91 4.4.4. Deleting a Sensor ................................................................................. 93 4.5. Monitoring Sensors ......................................................................................... 94 4.5.1. Displaying the Metron Error Dashboard ................................................ 94 4.5.2. Default Metron Error Dashboard Section Descriptions ........................... 95 4.5.3. Reloading Metron Templates ................................................................ 96 4.6. Starting and Stopping Parsers ......................................................................... 98 4.7. Starting and Stopping Enrichments ................................................................. 99 4.8. Starting and Stopping Indexing ..................................................................... 100 4.9. Pruning Data from Elasticsearch .................................................................... 102 4.10. Tuning Apache Solr ..................................................................................... 102 4.11. Backing Up the Metron Dashboard ............................................................. 102 4.12. Restoring Your Metron Dashboard Backup .................................................