Sigma rule: Potential Recon Activity Via Nltest.EXE

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-23e770ad5084, updated 2023-12-15T00:00:00.000Z.

Rule

Title
Potential Recon Activity Via Nltest.EXE
Status
test
Level
medium
Author
Craig Young, oscd.community, Georg Lauenstein
Date
2021-07-24
Modified
2023-12-15
File
rules/windows/process_creation/proc_creation_win_nltest_recon.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects nltest commands that can be used for information discovery

Log source

product
windows
category
process_creation

Detection

selection_nltest:
    - Image|endswith: '\nltest.exe'
    - OriginalFileName: 'nltestrk.exe'
selection_recon:
    - CommandLine|contains|all:
          - 'server'
          - 'query'
    - CommandLine|contains:
          - '/user'
          - 'all_trusts' # Flag for /domain_trusts
          - 'dclist:'
          - 'dnsgetdc:'
          - 'domain_trusts'
          - 'dsgetdc:'
          - 'parentdomain'
          - 'trusted_domains'
condition: all of selection_*

False positives (as the rule lists them)

  • Legitimate administration use but user and host must be investigated

Tags

  • attack.discovery
  • attack.t1016
  • attack.t1482

MITRE ATT&CK ids this rule names

Related rules

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_nltest_recon.yml

Sources and licences

  • SigmaHQ

    "Potential Recon Activity Via Nltest.EXE" by Craig Young, oscd.community, Georg Lauenstein (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_nltest_recon.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Potential Recon Activity Via Nltest.EXE",
entity page, dataset version ref-23e770ad5084, updated 2023-12-15T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/5cc90652-4cbd-4241-aa3b-4b462fa5a248 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 5cc90652-4cbd-4241-aa3b-4b462fa5a248, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.