I can not found any trace of this Event 6416 in the Manager log: /var/ossec/logs/alerts/alerts.logPlease advice.Thanks and RegardsYolanda
On 2017-08-30 17:54, yolanda wrote:Hi Team
I already have Wazuh installed:
Wazuh server:
Elastic Stack:
Wazuh agent:
Installed in single-host architectures configuration
I have 2 Windows Wazuh agents running and attached to the Wazuh manager.
I already configured Local Security Policy for the USB detection based on:
https://blog.wazuh.com/monitoring-usb-drives-in-windows-using-wazuh/
In windows, in Even Viewer I am capable to see the event
"6416: A new external device was recognized by the System"
1) How I can locate it in Kibana visor?
2) and how I configure a rule(s) to send a email when that Event 6416
arrives to the manager?
Any idea?
Thanks in advanced !
Regards,
Yolanda


--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/13a99741aa8fc8393a378d148795ca86%40saitechnology.com.
For more options, visit https://groups.google.com/d/optout.
Hi Yolanda,
Currently, Wazuh could generate daily reports to be sent by email,
these reports can also be configured to send a summary of alerts using
the group or category alert field. The Wazuh ruleset is mapped with
the PCI-DSS compliance requirements, so you can generate daily reports
using their PCI-DSS group name:
<ossec_config>
<reports>
<category>PCI_DSS_11.4</category>
<title>Daily report: PCIDSS 11.4 requeriment</title>
<email_to>exa...@test.com</email_to>
</reports>
</ossec_config>
The above will send a daily report email to exa...@test.com with all
generated alerts and will filter the output by the PCI_DSS_11.4 group.
The Wazuh manager can't create a report of these alerts in a format
like CSV or similar, just plain text. You could find more information
regarding reports generation options here:
https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/reports.html
[4]
A workaround could be the usage of a Kibana visualization. The Wazuh
APP is shipped with several visualizations one of them is
"Requirements by agent", this Data table visualization will show you
the generated alerts grouping them by the source agent and the PCI-DSS
requirement number.
Then you could export the results of the visualization into a CSV file
using the "Formatted" export button
With Kibana you could set the timeframe used to display data into the
visualization among others, this feature could help you to easily
filter the output by setting this timeframe.
I hope it helps.
Best regards
Miguelangel Freitas
Security Engineer
[5]
www.wazuh.com [5]
On Fri, Sep 1, 2017 at 3:45 PM, <yol...@saitechnology.com> wrote:
Sorry for the typo:
I mean to says Regulatory compliance
Maybe I should create a new thread for this question, but I wasto find a new topic option , but when I login, I can not find the
trying
new
topic option anywhere.
( I attached the screen I get as soon as I log in Google account)
My question is the following:
How I can get a Regulatory compliance reports? This is a very
important
requirement for us.
I need to exports the information in CSV format or something like
that?
I can not find any Report Option.
Could you please advise?
Thanks very much in advance.
Regards
Yolanda
--
You received this message because you are subscribed to the Google
Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh [1].
To view this discussion on the web visit
https://groups.google.com/d/msgid/wazuh/13a99741aa8fc8393a378d148795ca86%40saitechnology.com[2].
For more options, visit https://groups.google.com/d/optout [3].
Links:
------
[1] https://groups.google.com/group/wazuh
[2]
https://groups.google.com/d/msgid/wazuh/13a99741aa8fc8393a378d148795ca86%40saitechnology.com
[3] https://groups.google.com/d/optout
[4]
https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/reports.html
[5] http://www.wazuh.com/
Hi Miguel,
Thanks very much for your advise.
I created the following rules in:
/var/ossec/etc/ossec.conf
Based your advise and based the reports help link:
<ossec_config>
<reports>
<category>pci_dss_11.4</category>
<title>Daily regulatory compliance report: PCIDSS 11.4 requeriment</title>
<email_to>yolanda@saitechnology.com</email_to>
</reports>
<reports>
<group>authentication_failed,</group>
<srcip>192.168.1.141</srcip>
<title>Auth_Report</title>
<email_to>yolanda@saitechnology.com</email_to>
<showlogs>yes</showlogs>
</reports>
</ossec_config>
And restarted the wazuh-manager service.
But still I did not received any report.
What I am missing?
I need to restart some another component?
Please advise.
Thanks!
Yolanda
On 2017-09-04 15:18, Miguelangel Freitas wrote:
Hi Yolanda,
Currently, Wazuh could generate daily reports to be sent by email,
these reports can also be configured to send a summary of alerts using
the group or category alert field. The Wazuh ruleset is mapped with
the PCI-DSS compliance requirements, so you can generate daily reports
using their PCI-DSS group name:
<ossec_config>
<reports>
<category>PCI_DSS_11.4</category>
<title>Daily report: PCIDSS 11.4 requeriment</title>
<email_to>example@test.com</email_to>
send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh [1].
To view this discussion on the web visit
https://groups.google.com/d/msgid/wazuh/13a99741aa8fc8393a378d148795ca86%40saitechnology.com[2].
For more options, visit https://groups.google.com/d/optout [3].
Links:
------
[1] https://groups.google.com/group/wazuh
[2]
https://groups.google.com/d/msgid/wazuh/13a99741aa8fc8393a378d148795ca86%40saitechnology.com
[3] https://groups.google.com/d/optout
[4]
https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/reports.html
[5] http://www.wazuh.com/
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+unsubscribe@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/f1be84363f9a5385166358ad394e3f60%40saitechnology.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/458cc415f792690830aa42f183d68f53%40saitechnology.com.
<email_alert_level>12</email_alert_level>
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/efc9ff728367600dfb66a016d6a87423%40saitechnology.com.
Yolanda,
Which rule level has your local rule? Try to change to level 12,
restart Wazuh and try again (unplug and plug your USB device).
You have in your ossec.conf:
<email_alert_level>12</email_alert_level>
So, the alerts to be delivered via email must have almost this level.
Regards,
[5]
Polkan Garcia / Security Engineer
pol...@wazuh.com
On Sep 15, 2017, at 12:04 PM, yol...@saitechnology.com wrote:
Hi Polkan,
Hi All,
Did you have a chance to look into this issue? Some clue?
Thanks for your support.
The SMTP server is working ( Please see the dialogue SMTP attached)
As I explained before, I am receiving almost immediately the emails
due my local rule if I attach the PNP device.( Please see the
message attached)
That rule to receive the regulatory complain email could be awesome,
but I am not sure why is not working.
in /var/ossec/etc/ossec.conf
<ossec_config>
<global>
<jsonout_output>yes</jsonout_output>
<alerts_log>yes</alerts_log>
<logall>no</logall>
<logall_json>no</logall_json>
<email_notification>yes</email_notification>
<smtp_server>*****.bluehost.com [1]</smtp_server>
[root@controller etc]# telnet *****.bluehost.com [1] 25
Trying 162.144.182.15...
Connected to box3140.bluehost.com [2].
Escape character is '^]'.
220-*****.bluehost.com [1] ESMTP Exim 4.87 #1 Thu, 14 Sep 2017
12:52:00 -0600
220-We do not authorize the use of this system to transport
unsolicited,
220 and/or bulk e-mail.
helo
250 *****.bluehost.com [1] Hello
50-197-177-185-static.hfc.comcastbusiness.net [3] [50.197.177.185]
mail from:root
501 root: sender address must contain a domain
mail from:ro...@controller.com
250 OK
rcpt to:yol...@saitechnology.com
250 Accepted
data
354 Enter message, ending with "." on a line by itself
test
.
250 OK id=1dsZGP-000g91-L8
Should I explicit the smtp host in that <report> tags? In the
following way?
Pleases advice.
<reports>
<category>pci_dss_11.4</category>
<title>Daily regulatory compliance report: PCIDSS 11.4
requeriment</title>
<smtp_server>*****.bluehost.com [1]</smtp_server>
<smtp_server>xxxxx.bluehost.com [4] [1 [1]]</smtp_server>
Links:
------
[1] http://bluehost.com
[2] http://box3140.bluehost.com
[3] http://50-197-177-185-static.hfc.comcastbusiness.net
[4] http://xxxxx.bluehost.com
[5] http://wazuh.com/
[6] https://wazuh.my.webex.com/join/polkan
[7] https://twitter.com/wazuh
[8] https://www.linkedin.com/company-beta/7576479/
[9] https://www.youtube.com/channel/UC3Kr7V99AXOOOuPy4bLhS8w
[10] https://github.com/wazuh