|
1 | | -# Eset Security Management Center |
2 | | - |
3 | | -| | | |
4 | | -|----------|-------| |
5 | | -| **Connector ID** | `EsetSMC` | |
6 | | -| **Publisher** | Eset | |
7 | | -| **Tables Ingested** | [`eset_CL`](../tables-index.md#eset_cl) | |
8 | | -| **Used in Solutions** | [Eset Security Management Center](../solutions/eset-security-management-center.md) | |
9 | | -| **Connector Definition Files** | [esetSmc.json](https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Eset%20Security%20Management%20Center/Data%20Connectors/esetSmc.json) | |
10 | | - |
11 | | -Connector for [Eset SMC](https://help.eset.com/esmc_admin/72/en-US/) threat events, audit logs, firewall events and web sites filter. |
12 | | - |
13 | | -## Permissions |
14 | | - |
15 | | -**Resource Provider Permissions:** |
16 | | -- **Workspace** (Workspace): read and write permissions are required. |
17 | | -- **Keys** (Workspace): read permissions to shared keys for the workspace are required. [See the documentation to learn more about workspace keys](https://docs.microsoft.com/azure/azure-monitor/platform/agent-windows#obtain-workspace-id-and-key). |
18 | | - |
19 | | -**Custom Permissions:** |
20 | | -- **Access to Eset SMC console**: Permissions to configure log export |
21 | | - |
22 | | -## Setup Instructions |
23 | | - |
24 | | -> ⚠️ **Note**: These instructions were automatically generated from the connector's user interface definition file using AI and may not be fully accurate. Please verify all configuration steps in the Microsoft Sentinel portal. |
25 | | -
|
26 | | -**1. Install and onboard the agent for Linux** |
27 | | - |
28 | | -Typically, you should install the agent on a different computer from the one on which the logs are generated. |
29 | | - |
30 | | -> Syslog logs are collected only from **Linux** agents. |
31 | | -**Choose where to install the agent:** |
32 | | - |
33 | | -**Install agent on Azure Linux Virtual Machine** |
34 | | - |
35 | | - Select the machine to install the agent on and then click **Connect**. |
36 | | - - **Install agent on Linux Virtual Machine** |
37 | | - |
38 | | - **Install agent on a non-Azure Linux Machine** |
39 | | - |
40 | | - Download the agent on the relevant machine and follow the instructions. |
41 | | - - **Install agent on Linux (Non-Azure)** |
42 | | - |
43 | | -**2. Configure the logs to be collected** |
44 | | - |
45 | | -Configure rsyslog to accept logs from your Eset SMC IP address. |
| 1 | +# Eset Security Management Center |
| 2 | + |
| 3 | +| | | |
| 4 | +|----------|-------| |
| 5 | +| **Connector ID** | `EsetSMC` | |
| 6 | +| **Publisher** | Eset | |
| 7 | +| **Tables Ingested** | [`eset_CL`](../tables-index.md#eset_cl) | |
| 8 | +| **Used in Solutions** | [Eset Security Management Center](../solutions/eset-security-management-center.md) | |
| 9 | +| **Connector Definition Files** | [esetSmc.json](https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Eset%20Security%20Management%20Center/Data%20Connectors/esetSmc.json) | |
| 10 | + |
| 11 | +Connector for [Eset SMC](https://help.eset.com/esmc_admin/72/en-US/) threat events, audit logs, firewall events and web sites filter. |
| 12 | + |
| 13 | +## Permissions |
| 14 | + |
| 15 | +**Resource Provider Permissions:** |
| 16 | +- **Workspace** (Workspace): read and write permissions are required. |
| 17 | +- **Keys** (Workspace): read permissions to shared keys for the workspace are required. [See the documentation to learn more about workspace keys](https://docs.microsoft.com/azure/azure-monitor/platform/agent-windows#obtain-workspace-id-and-key). |
| 18 | + |
| 19 | +**Custom Permissions:** |
| 20 | +- **Access to Eset SMC console**: Permissions to configure log export |
| 21 | + |
| 22 | +## Setup Instructions |
| 23 | + |
| 24 | +> ⚠️ **Note**: These instructions were automatically generated from the connector's user interface definition file using AI and may not be fully accurate. Please verify all configuration steps in the Microsoft Sentinel portal. |
| 25 | +
|
| 26 | +**1. Install and onboard the agent for Linux** |
| 27 | + |
| 28 | +Typically, you should install the agent on a different computer from the one on which the logs are generated. |
| 29 | + |
| 30 | +> Syslog logs are collected only from **Linux** agents. |
| 31 | +**Choose where to install the agent:** |
| 32 | + |
| 33 | +**Install agent on Azure Linux Virtual Machine** |
| 34 | + |
| 35 | + Select the machine to install the agent on and then click **Connect**. |
| 36 | + - **Install agent on Linux Virtual Machine** |
| 37 | + |
| 38 | + **Install agent on a non-Azure Linux Machine** |
| 39 | + |
| 40 | + Download the agent on the relevant machine and follow the instructions. |
| 41 | + - **Install agent on Linux (Non-Azure)** |
| 42 | + |
| 43 | +**2. Configure the logs to be collected** |
| 44 | + |
| 45 | +Configure rsyslog to accept logs from your Eset SMC IP address. |
| 46 | + |
| 47 | +``` |
| 48 | +sudo -i |
| 49 | +
|
| 50 | +# Set ESET SMC source IP address |
| 51 | +export ESETIP={Enter your IP address} |
| 52 | +
|
| 53 | +# Create rsyslog configuration file |
| 54 | +cat > /etc/rsyslog.d/80-remote.conf << EOF |
| 55 | +\$ModLoad imudp |
| 56 | +\$UDPServerRun 514 |
| 57 | +\$ModLoad imtcp |
| 58 | +\$InputTCPServerRun 514 |
| 59 | +\$AllowedSender TCP, 127.0.0.1, $ESETIP |
| 60 | +\$AllowedSender UDP, 127.0.0.1, $ESETIP |
| 61 | +user.=alert;user.=crit;user.=debug;user.=emerg;user.=err;user.=info;user.=notice;user.=warning @127.0.0.1:25224 |
| 62 | +EOF |
| 63 | +
|
| 64 | +# Restart rsyslog |
| 65 | +systemctl restart rsyslog``` |
| 66 | +
|
| 67 | +**3. Configure OMS agent to pass Eset SMC data in API format** |
| 68 | +
|
| 69 | +In order to easily recognize Eset data we will push it to separate table and parse at agent so query in Azure Sentinel is easier and fast. To make it simple we will just modify ```match oms.**``` section to send data as API objects by changing type to out_oms_api. Modify file on /etc/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/conf/omsagent.conf. Full ```match oms.**``` section looks like this: |
46 | 70 |
|
47 | 71 | ``` |
48 | | -sudo -i |
49 | | -
|
50 | | -# Set ESET SMC source IP address |
51 | | -export ESETIP={Enter your IP address} |
52 | | -
|
53 | | -# Create rsyslog configuration file |
54 | | -cat > /etc/rsyslog.d/80-remote.conf << EOF |
55 | | -\$ModLoad imudp |
56 | | -\$UDPServerRun 514 |
57 | | -\$ModLoad imtcp |
58 | | -\$InputTCPServerRun 514 |
59 | | -\$AllowedSender TCP, 127.0.0.1, $ESETIP |
60 | | -\$AllowedSender UDP, 127.0.0.1, $ESETIP |
61 | | -user.=alert;user.=crit;user.=debug;user.=emerg;user.=err;user.=info;user.=notice;user.=warning @127.0.0.1:25224 |
62 | | -EOF |
63 | | -
|
64 | | -# Restart rsyslog |
65 | | -systemctl restart rsyslog``` |
66 | | -
|
67 | | -**3. Configure OMS agent to pass Eset SMC data in API format** |
68 | | -
|
69 | | -In order to easily recognize Eset data we will push it to separate table and parse at agent so query in Azure Sentinel is easier and fast. To make it simple we will just modify ```match oms.**``` section to send data as API objects by changing type to out_oms_api. Modify file on /etc/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/conf/omsagent.conf. Full ```match oms.**``` section looks like this: |
70 | | -
|
71 | | -``` |
72 | | -<match oms.** docker.**> |
73 | | - type out_oms_api |
74 | | - log_level info |
75 | | - num_threads 5 |
76 | | - run_in_background false |
77 | | -
|
78 | | - omsadmin_conf_path /etc/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/conf/omsadmin.conf |
79 | | - cert_path /etc/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/certs/oms.crt |
80 | | - key_path /etc/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/certs/oms.key |
81 | | -
|
82 | | - buffer_chunk_limit 15m |
83 | | - buffer_type file |
84 | | - buffer_path /var/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/state/out_oms_common*.buffer |
85 | | -
|
86 | | - buffer_queue_limit 10 |
87 | | - buffer_queue_full_action drop_oldest_chunk |
88 | | - flush_interval 20s |
89 | | - retry_limit 10 |
90 | | - retry_wait 30s |
91 | | - max_retry_wait 9m |
92 | | -</match> |
93 | | -``` |
94 | | - |
95 | | -**4. Change OMS agent configuration to catch tag oms.api.eset and parse structured data** |
96 | | - |
97 | | -Modify file /etc/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/conf/omsagent.d/syslog.conf |
98 | | -``` |
99 | | -<source> |
100 | | - type syslog |
101 | | - port 25224 |
102 | | - bind 127.0.0.1 |
103 | | - protocol_type udp |
104 | | - tag oms.api.eset |
105 | | -</source> |
106 | | -
|
107 | | -<filter oms.api.**> |
108 | | - @type parser |
109 | | - key_name message |
110 | | - format /(?<message>.*?{.*})/ |
111 | | -</filter> |
112 | | -
|
113 | | -<filter oms.api.**> |
114 | | - @type parser |
115 | | - key_name message |
116 | | - format json |
117 | | -</filter> |
| 72 | +<match oms.** docker.**> |
| 73 | + type out_oms_api |
| 74 | + log_level info |
| 75 | + num_threads 5 |
| 76 | + run_in_background false |
| 77 | + |
| 78 | + omsadmin_conf_path /etc/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/conf/omsadmin.conf |
| 79 | + cert_path /etc/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/certs/oms.crt |
| 80 | + key_path /etc/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/certs/oms.key |
| 81 | + |
| 82 | + buffer_chunk_limit 15m |
| 83 | + buffer_type file |
| 84 | + buffer_path /var/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/state/out_oms_common*.buffer |
| 85 | + |
| 86 | + buffer_queue_limit 10 |
| 87 | + buffer_queue_full_action drop_oldest_chunk |
| 88 | + flush_interval 20s |
| 89 | + retry_limit 10 |
| 90 | + retry_wait 30s |
| 91 | + max_retry_wait 9m |
| 92 | +</match> |
| 93 | +``` |
| 94 | +
|
| 95 | +**4. Change OMS agent configuration to catch tag oms.api.eset and parse structured data** |
| 96 | +
|
| 97 | +Modify file /etc/opt/microsoft/omsagent/{REPLACEyourworkspaceid}/conf/omsagent.d/syslog.conf |
118 | 98 | ``` |
119 | | -
|
120 | | -**5. Disable automatic configuration and restart agent** |
121 | | -
|
122 | | -```bash |
123 | | -# Disable changes to configuration files from Portal |
124 | | -sudo su omsagent -c 'python /opt/microsoft/omsconfig/Scripts/OMS_MetaConfigHelper.py --disable' |
125 | | -
|
126 | | -# Restart agent |
127 | | -sudo /opt/microsoft/omsagent/bin/service_control restart |
128 | | -
|
129 | | -# Check agent logs |
130 | | -tail -f /var/opt/microsoft/omsagent/log/omsagent.log |
131 | | -``` |
132 | | - |
133 | | -**6. Configure Eset SMC to send logs to connector** |
134 | | - |
135 | | -Configure Eset Logs using BSD style and JSON format. |
136 | | -- Go to Syslog server configuration as described in [Eset documentation](https://help.eset.com/esmc_admin/72/en-US/admin_server_settings.html?admin_server_settings_syslog.html) and configure Host (your connector), Format BSD, Transport TCP |
137 | | -- Go to Logging section as described in [Eset documentation](https://help.eset.com/esmc_admin/72/en-US/admin_server_settings.html?admin_server_settings_export_to_syslog.html) and enable JSON |
138 | | - |
139 | | -[← Back to Connectors Index](../connectors-index.md) |
| 99 | +<source> |
| 100 | + type syslog |
| 101 | + port 25224 |
| 102 | + bind 127.0.0.1 |
| 103 | + protocol_type udp |
| 104 | + tag oms.api.eset |
| 105 | +</source> |
| 106 | + |
| 107 | +<filter oms.api.**> |
| 108 | + @type parser |
| 109 | + key_name message |
| 110 | + format /(?<message>.*?{.*})/ |
| 111 | +</filter> |
| 112 | + |
| 113 | +<filter oms.api.**> |
| 114 | + @type parser |
| 115 | + key_name message |
| 116 | + format json |
| 117 | +</filter> |
| 118 | +``` |
| 119 | +
|
| 120 | +**5. Disable automatic configuration and restart agent** |
| 121 | +
|
| 122 | +```bash |
| 123 | +# Disable changes to configuration files from Portal |
| 124 | +sudo su omsagent -c 'python /opt/microsoft/omsconfig/Scripts/OMS_MetaConfigHelper.py --disable' |
| 125 | +
|
| 126 | +# Restart agent |
| 127 | +sudo /opt/microsoft/omsagent/bin/service_control restart |
| 128 | +
|
| 129 | +# Check agent logs |
| 130 | +tail -f /var/opt/microsoft/omsagent/log/omsagent.log |
| 131 | +``` |
| 132 | + |
| 133 | +**6. Configure Eset SMC to send logs to connector** |
| 134 | + |
| 135 | +Configure Eset Logs using BSD style and JSON format. |
| 136 | +- Go to Syslog server configuration as described in [Eset documentation](https://help.eset.com/esmc_admin/72/en-US/admin_server_settings.html?admin_server_settings_syslog.html) and configure Host (your connector), Format BSD, Transport TCP |
| 137 | +- Go to Logging section as described in [Eset documentation](https://help.eset.com/esmc_admin/72/en-US/admin_server_settings.html?admin_server_settings_export_to_syslog.html) and enable JSON |
| 138 | + |
| 139 | +[← Back to Connectors Index](../connectors-index.md) |
0 commit comments