{"id":1590,"date":"2022-10-13T21:54:37","date_gmt":"2022-10-14T01:54:37","guid":{"rendered":"https:\/\/www.briandeyo.us\/brd\/wp\/?p=1590"},"modified":"2023-12-05T07:34:26","modified_gmt":"2023-12-05T12:34:26","slug":"connecting-a-wazuh-4-x-agent-to-securityonion-2-3x","status":"publish","type":"post","link":"https:\/\/www.briandeyo.us\/index.php\/2022\/10\/13\/connecting-a-wazuh-4-x-agent-to-securityonion-2-3x\/","title":{"rendered":"Connecting a Wazuh 4.x agent to SecurityOnion 2.3x"},"content":{"rendered":"<p>Security Onion is a fantastic and continually impressive suite of SOC tools that work very well for small organizations. Most of the time at least. The installation is not user-friendly, and it is clearly expected that you know why or why not to chose a particular option.<\/p>\n<p>For all my love of SecurityOnion 2.x, I am continually wishing it natively had more up-to-date wazuh agent support. There were significant changes in Wazuh 3.x to 4.x, including the change to TCP as the default communications protocol for the agents.<\/p>\n<p>&nbsp;<\/p>\n<pre>2022\/10\/13 21:52:06 wazuh-agent: ERROR: (1216): Unable to connect to '10.X.X.X:1514\/tcp': 'No connection could be made because the target machine actively refused it.'.<\/pre>\n<p>&nbsp;<\/p>\n<p>*sigh*<\/p>\n<p>Manipulating the SO firewall wasn&#8217;t sufficient. I thought that perhaps just adding tcp as a valid protocol:<\/p>\n<pre>sudo so-firewall addportgroup wazuh_4_agents\nsudo so-firewall addport wazuh_4_agents tcp 1514\nsudo so-firewall apply<\/pre>\n<p>&nbsp;<\/p>\n<p>Sadly, that was insufficient. I gave up and went back to 3.13 which was released years ago.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Security Onion is a fantastic and continually impressive suite of SOC tools that work very well for small organizations. Most of the time at least. The installation is not user-friendly, and it is clearly expected that you know why or why not to chose a particular option. For all my love of SecurityOnion 2.x, I &hellip;<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10],"tags":[],"class_list":["post-1590","post","type-post","status-publish","format-standard","hentry","category-tech"],"_links":{"self":[{"href":"https:\/\/www.briandeyo.us\/index.php\/wp-json\/wp\/v2\/posts\/1590","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.briandeyo.us\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.briandeyo.us\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.briandeyo.us\/index.php\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.briandeyo.us\/index.php\/wp-json\/wp\/v2\/comments?post=1590"}],"version-history":[{"count":1,"href":"https:\/\/www.briandeyo.us\/index.php\/wp-json\/wp\/v2\/posts\/1590\/revisions"}],"predecessor-version":[{"id":1591,"href":"https:\/\/www.briandeyo.us\/index.php\/wp-json\/wp\/v2\/posts\/1590\/revisions\/1591"}],"wp:attachment":[{"href":"https:\/\/www.briandeyo.us\/index.php\/wp-json\/wp\/v2\/media?parent=1590"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.briandeyo.us\/index.php\/wp-json\/wp\/v2\/categories?post=1590"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.briandeyo.us\/index.php\/wp-json\/wp\/v2\/tags?post=1590"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}