Potential DNS Tunneling via NsLookupedit

This rule identifies a large number (15) of nslookup.exe executions with an explicit query type from the same host. This may indicate command and control activity utilizing the DNS protocol.

Rule type: threshold

Rule indices:

  • winlogbeat-*
  • logs-endpoint.events.*
  • logs-windows.*

Severity: medium

Risk score: 47

Runs every: 5 minutes

Searches indices from: now-9m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100



  • Elastic
  • Host
  • Windows
  • Threat Detection
  • Command and Control

Version: 3 (version history)

Added (Elastic Stack release): 7.11.0

Last modified (Elastic Stack release): 7.16.0

Rule authors: Elastic

Rule license: Elastic License v2

Rule queryedit

event.category:process and event.type:start and
process.name:nslookup.exe and process.args:(-querytype=* or -qt=* or
-q=* or -type=*)

Threat mappingedit


Rule version historyedit

Version 3 (7.16.0 release)
  • Formatting only
Version 2 (7.12.0 release)
  • Formatting only