{"id":598,"date":"2020-04-03T12:36:06","date_gmt":"2020-04-03T12:36:06","guid":{"rendered":"http:\/\/www.kinaitech.com.ar\/ciberseguridad\/?p=598"},"modified":"2020-06-23T04:21:18","modified_gmt":"2020-06-23T04:21:18","slug":"installing-thehive-is-really-easy","status":"publish","type":"post","link":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/","title":{"rendered":"Installing TheHive is really easy!"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"900\" height=\"450\" src=\"https:\/\/i0.wp.com\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo-1024x512.jpeg?resize=900%2C450\" alt=\"\" class=\"wp-image-600\" srcset=\"https:\/\/i0.wp.com\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo.jpeg?resize=1024%2C512&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo.jpeg?resize=300%2C150&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo.jpeg?resize=768%2C384&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo.jpeg?w=1280&amp;ssl=1 1280w\" sizes=\"(max-width: 900px) 100vw, 900px\" data-recalc-dims=\"1\" \/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>Installing TheHive on Ubuntu 18.04\n\n1) Install JDK\n\nsudo apt-get install openjdk-11-jre-headless\n\nIf fails, run: apt-get update --fix-missing and run it again\n\n2) Install Elasticsearch\n\n# PGP key installation\nsudo apt-key adv --keyserver hkp:\/\/keyserver.ubuntu.com:80 --recv-key D88E42B4\n\n# Debian repository configuration\necho \"deb https:\/\/artifacts.elastic.co\/packages\/5.x\/apt stable main\" | sudo tee -a \/etc\/apt\/sources.list.d\/elastic-5.x.list\n\n# Install https support for apt\nsudo apt install apt-transport-https\n\n# Elasticsearch installation\nsudo apt update &amp;&amp; sudo apt install elasticsearch\nservice elasticsearch start\nservice elasticsearch status\n\nif fails, edit file vim \/etc\/elasticsearch\/jvm.options and change heap space to:\n\n-Xms1g\n-Xmx1g\n\n3)Download and unzip TheHive\n\ncd \/opt\nwget https:\/\/dl.bintray.com\/thehive-project\/binary\/thehive-latest.zip\napt install unzip\nunzip thehive-latest.zip\nln -s thehive-3.4.0-1 thehive\n\n4)Add user and define service\n\nsudo addgroup thehive\nsudo adduser --system thehive\nsudo cp \/opt\/thehive\/package\/thehive.service \/usr\/lib\/systemd\/system\nsudo chown -R thehive:thehive \/opt\/thehive\nsudo chgrp thehive \/opt\/thehive\/conf\/application.conf\nsudo chmod 640 \/opt\/thehive\/conf\/application.conf\n\n5) Configure the service for TheHive\n\nEdit the paths in the file  \/usr\/lib\/systemd\/system\/thehive.service\n\nExecStart=\/opt\/thehive\/bin\/thehive \\\n        -Dconfig.file=\/opt\/thehive\/conf\/application.conf \\\n        -Dlogger.file=\/opt\/thehive\/conf\/logback.xml \\\n        -Dpidfile.path=\/dev\/null\n\n\n6) Update Service configuration\n\nsystemctl daemon-reload\n\n7) Define Secret Code in the Application.conf file\n\nEdit file \/opt\/thehive\/conf\/application.conf and uncomment secret code section and define a new one\n\n8) Enable Service and Start TheHive\nsudo systemctl enable thehive\nsudo service thehive start\n\n9) Launch TheHive, update Database and define login user\n\nGo to the server IP and port 9000 in your browser. Update Database and define users.\n\n\n\n\n\n\n\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>TheHive is a scalable 4-in-1 open source and free Security Incident Response Platform designed to make life easier for SOCs, CSIRTs, CERTs and any information security practitioner dealing with security incidents that need to be investigated and acted upon swiftly. It is the perfect companion for MISP. You can synchronize it with one or multiple MISP instances to start investigations out of MISP events. <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":""},"categories":[15],"tags":[9,5,10,8],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Installing TheHive is really easy! - KINAITECH | Ciberseguridad<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing TheHive is really easy! - KINAITECH | Ciberseguridad\" \/>\n<meta property=\"og:description\" content=\"TheHive is a scalable 4-in-1 open source and free Security Incident Response Platform designed to make life easier for SOCs, CSIRTs, CERTs and any information security practitioner dealing with security incidents that need to be investigated and acted upon swiftly. It is the perfect companion for MISP. You can synchronize it with one or multiple MISP instances to start investigations out of MISP events.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/\" \/>\n<meta property=\"og:site_name\" content=\"KINAITECH | Ciberseguridad\" \/>\n<meta property=\"article:published_time\" content=\"2020-04-03T12:36:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-06-23T04:21:18+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo-1024x512.jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mateo Martinez\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minuto\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/#website\",\"url\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/\",\"name\":\"KINAITECH | Ciberseguridad\",\"description\":\"Ethical Hacking, Application Security and Trainings through a partner networks across Latin America and Caribbean\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"es\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/#primaryimage\",\"inLanguage\":\"es\",\"url\":\"http:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo-1024x512.jpeg\",\"contentUrl\":\"http:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo-1024x512.jpeg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/#webpage\",\"url\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/\",\"name\":\"Installing TheHive is really easy! - KINAITECH | Ciberseguridad\",\"isPartOf\":{\"@id\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/#primaryimage\"},\"datePublished\":\"2020-04-03T12:36:06+00:00\",\"dateModified\":\"2020-06-23T04:21:18+00:00\",\"author\":{\"@id\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/#\/schema\/person\/e69e72f578032890e89686919b77e209\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing TheHive is really easy!\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/#\/schema\/person\/e69e72f578032890e89686919b77e209\",\"name\":\"Mateo Martinez\",\"url\":\"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/author\/admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing TheHive is really easy! - KINAITECH | Ciberseguridad","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/","og_locale":"es_ES","og_type":"article","og_title":"Installing TheHive is really easy! - KINAITECH | Ciberseguridad","og_description":"TheHive is a scalable 4-in-1 open source and free Security Incident Response Platform designed to make life easier for SOCs, CSIRTs, CERTs and any information security practitioner dealing with security incidents that need to be investigated and acted upon swiftly. It is the perfect companion for MISP. You can synchronize it with one or multiple MISP instances to start investigations out of MISP events.","og_url":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/","og_site_name":"KINAITECH | Ciberseguridad","article_published_time":"2020-04-03T12:36:06+00:00","article_modified_time":"2020-06-23T04:21:18+00:00","og_image":[{"url":"http:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo-1024x512.jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Mateo Martinez","Tiempo de lectura":"1 minuto"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/#website","url":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/","name":"KINAITECH | Ciberseguridad","description":"Ethical Hacking, Application Security and Trainings through a partner networks across Latin America and Caribbean","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"es"},{"@type":"ImageObject","@id":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/#primaryimage","inLanguage":"es","url":"http:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo-1024x512.jpeg","contentUrl":"http:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-content\/uploads\/2020\/04\/TheHive-Logo-1024x512.jpeg"},{"@type":"WebPage","@id":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/#webpage","url":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/","name":"Installing TheHive is really easy! - KINAITECH | Ciberseguridad","isPartOf":{"@id":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/#primaryimage"},"datePublished":"2020-04-03T12:36:06+00:00","dateModified":"2020-06-23T04:21:18+00:00","author":{"@id":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/#\/schema\/person\/e69e72f578032890e89686919b77e209"},"breadcrumb":{"@id":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/installing-thehive-is-really-easy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/"},{"@type":"ListItem","position":2,"name":"Installing TheHive is really easy!"}]},{"@type":"Person","@id":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/#\/schema\/person\/e69e72f578032890e89686919b77e209","name":"Mateo Martinez","url":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/author\/admin\/"}]}},"jetpack_featured_media_url":"","uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Mateo Martinez","author_link":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"TheHive is a scalable 4-in-1 open source and free Security Incident Response Platform designed to make life easier for SOCs, CSIRTs, CERTs and any information security practitioner dealing with security incidents that need to be investigated and acted upon swiftly. It is the perfect companion for MISP. You can synchronize it with one or multiple&hellip;","_links":{"self":[{"href":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-json\/wp\/v2\/posts\/598"}],"collection":[{"href":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-json\/wp\/v2\/comments?post=598"}],"version-history":[{"count":7,"href":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-json\/wp\/v2\/posts\/598\/revisions"}],"predecessor-version":[{"id":613,"href":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-json\/wp\/v2\/posts\/598\/revisions\/613"}],"wp:attachment":[{"href":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-json\/wp\/v2\/media?parent=598"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-json\/wp\/v2\/categories?post=598"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kinaitech.com.ar\/ciberseguridad\/wp-json\/wp\/v2\/tags?post=598"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}