Detects attempts to post the file with the usage of wget utility. The adversary can bypass the permission restriction with the misconfigured sudo permission for wget utility which could allow them to read files like /etc/shadow.
Description
Detects attempts to post the file with the usage of wget utility. The adversary can bypass the permission restriction with the misconfigured sudo permission for wget utility which could allow them to read files like /etc/shadow.
Query · wazuh
field columns.cmdline="wget --post-file="
No license declared
socfortress/Wazuh-Rules publishes no license, and without an express grant the default is all rights reserved. The query above is synthesized from the rule rather than copied out of it, so you can see what the rule matches on; the rule as written stays upstream.
Read the full rule at Osquery/200200-osquery.xml ↗. Why this rule is treated this way.
Fires when
Wazuh evaluates a chain top-down. Every rule above this one must match on the same event before this rule is tested at all.
-
decoded_as=json AND field name="bpf_process_events|es_process_events" -
200255Detects attempts to post the file with the usage of wget utility. The adversary can bypass the permission restriction with the misconfigured sudo permission for wget utility which could allow them to read files like /etc/shadow. refinement level 12 this rulefield columns.cmdline="wget --post-file="
Rule dependencies
Depends on
-
composes · Wazuh if_sid
200223