Closed QU3B1M closed 2 years ago
Tester | PR commit |
---|---|
@QU3B1M | 9faa01f |
OS | OS version | Deployment | Image/AMI | Notes |
---|---|---|---|---|
Ubuntu | 20.04 | LOCAL \| Vagrant |
ubuntu/focal64 |
wazuh-manager |
wazuh-agent |
---|---|
fixed-deb | fixed-deb |
unfixed-deb | unfixed-deb |
The testing was successful :green_circle:.
Everything seems to work properly.
Description
This issue is to test the VirusTotal alerts that includes agent's IPv6, it should escape the special character
:
, every VirusTotal alert should come with the IPv6 correctly parsedLink to a guide to reproduce a VirusTotal event.
Proposed checks
[x] Alerts from VirusTotal are parsed correctly
Test cases
-Raise an alert with VirusTotal integration on IPv6
1. Install `wazuh-manager` 2. Install `wazuh-agent` 3. Configure VirusTotal following [this guide](https://github.com/wazuh/wazuh/wiki/Proof-of-concept-guide#detecting-and-removing-malware---virustotal-integration) 4. Add the `IPv6` configuration ```xmlRaise an alert with VirusTotal integration on IPv4
1. Install `wazuh-manager` 2. Install `wazuh-agent` 3. Configure VirusTotal and generate the alerts following [this guide](https://github.com/wazuh/wazuh/wiki/Proof-of-concept-guide#detecting-and-removing-malware---virustotal-integration) 4. Check the alert is correctly formatted `expected` ```JSON {"timestamp":"2022-11-03T17:18:49.261-0300","rule":{"level":12,"description":"VirusTotal: Alert - c:\\users\\workspace\\eicar.com - 63 engines detected this file","id":"87105","mitre":{"id":["T1203"],"tactic":["Execution"],"technique":["Exploitation for Client Execution"]},"firedtimes":1,"mail":true,"groups":["virustotal"],"pci_dss":["10.6.1","11.4"],"gdpr":["IV_35.7.d"]},"agent":{"id":"001","name":"DESKTOP","ip":"192.168.56.10"},"manager":{"name":"VBox"},"id":"1667506729.2228767","decoder":{"name":"json"},"data":{"virustotal":{"found":"1","malicious":"1","source":{"alert_id":"1667506726.2227426","file":"c:\\users\\asus\\workspace\\eicar.com","md5":"44d88612fea8a8f36de82e1278abb02f","sha1":"3395856ce81f2b7382dee72602f798b642f14140"},"sha1":"3395856ce81f2b7382dee72602f798b642f14140","scan_date":"2022-11-03 20:18:01","positives":"63","total":"68","permalink":"https://www.virustotal.com/gui/file/275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f/detection/f-275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f-1667506681"},"integration":"virustotal"},"location":"virustotal"}Required installation methods
Configuration and considerations