Detects adversary creating hidden file or directory, by detecting directories or files with . as the first character.


Description

Detects adversary creating hidden file or directory, by detecting directories or files with . as the first character.

field columns.cmdline="/.|^."

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.

  1. decoded_as=json AND field name="bpf_process_events|es_process_events"
  2. field columns.cmdline="mkdir|touch|vim|nano|vi"
  3. 200263 Detects adversary creating hidden file or directory, by detecting directories or files with . as the first character. refinement level 8 this rule
    field columns.cmdline="/.|^."

Rule dependencies

Depends on

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.