Powershell executed "GetComputerNameEx". Possible system configuration discovery


Description

Powershell executed "GetComputerNameEx". Possible system configuration discovery

Query · wazuh

field win.eventdata.scriptBlockText="(?i)GetComputerNameEx"

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=windows_eventchannel AND field win.system.providerName="\.+"
  2. field win.system.channel="^Microsoft-Windows-PowerShell/Operational$"
  3. field win.eventdata.ScriptBlockId=".+"
  4. 91829 Powershell executed "GetComputerNameEx". Possible system configuration discovery refinement level 4 this rule
    field win.eventdata.scriptBlockText="(?i)GetComputerNameEx"

Rule dependencies

Depends on

Raw source Powershell executed "GetComputerNameEx". Possible system configuration discovery · Wazuh XML
Esc
Published by Wazuh Core Ruleset ↗, licensed under GPLv2 ↗. Reproduced here unmodified.
<rule id="91829" level="4">
    <if_sid>91802</if_sid>
    <field name="win.eventdata.scriptBlockText" type="pcre2">(?i)GetComputerNameEx</field>
    <options>no_full_log</options>
    <description>Powershell executed "GetComputerNameEx". Possible system configuration discovery</description>
    <mitre>
      <id>T1082</id>
    </mitre>
  </rule>

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.