VirusTotal Integration

94 views
Skip to first unread message

Md Mojadded Alam

unread,
Dec 4, 2023, 2:48:20 AM12/4/23
to Wazuh | Mailing List
How to integrate virus total on a newly installed wazuh.

Emmanuel Sadiq

unread,
Dec 4, 2023, 3:17:57 AM12/4/23
to Wazuh | Mailing List

Hello Md,
Thank you for using Wazuh. 
To integrate virustotal on wazuh kindly follow this guide
I hope this information is helpful. 

Best regards. 

Jackpot_Cybersenses

unread,
Dec 4, 2023, 3:38:04 AM12/4/23
to Wazuh | Mailing List
Frist create an account with VT and copy your API key.

VT_API.jpg

Then enable VT integration in the Wazuh Manager.

En_VT.jpg

Now write the line of code via manager or cli:

API_INT.jpg
===============
  <integration>
    <name>virustotal</name>
    <api_key>xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</api_key> <!-- Replace with your VirusTotal API key -->
    <rule_id>554</rule_id>
    <alert_format>json</alert_format>
  </integration>
================

To test the integrations, add to the agent.conf on the Wazuh manger or the agent itself with this line of code:

Test_VT.jpg
==================================
<agent_config>
<!-- Shared agent configuration here -->
<wodle name="syscollector">
<disabled>no</disabled>
<interval>1h</interval>
<os>yes</os>
<packages>yes</packages>
<hotfixes>yes</hotfixes>
</wodle>
<syscheck>
<directories check_all="yes" realtime="yes">C:\Users\*\Downloads</directories> <!--ADD THIS-->

</syscheck>
</agent_config>
==============================

After that is restart the wazuh manager just for the sake of mind.
==============================
systemctl restart wazuh-manager
==============================

Then go to eicar.org/download-anti-malware-testfile/ and download it to an agent, keep in mind that the folder should be C:\Users\*\Downloads of any user on the machine.

To validate go back to VT login and on the menu select API KEY:

API_CHECK.jpg

Or check the Wazuh Manager for events:

API_CHECK_2.jpg

Let me know if you get a problem.

Kind regards.

Jackpot_Cybersenses

unread,
Dec 4, 2023, 3:39:26 AM12/4/23
to Wazuh | Mailing List

Md Mojadded Alam

unread,
Dec 4, 2023, 3:46:16 AM12/4/23
to Wazuh | Mailing List

Thanks a lot 
Jackpot_Cybersenses
Reply all
Reply to author
Forward
0 new messages