Detectionmediumtest

Potential Recon Activity Via Nltest.EXE

Detects nltest commands that can be used for information discovery

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Craig Young, oscd.community, Georg LauensteinCreated Sat Jul 24Updated Fri Dec 155cc90652-4cbd-4241-aa3b-4b462fa5a248windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic2 selectors
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

Legitimate administration use but user and host must be investigated

Related Rules
Rule Metadata
Rule ID
5cc90652-4cbd-4241-aa3b-4b462fa5a248
Status
test
Level
medium
Type
Detection
Created
Sat Jul 24
Modified
Fri Dec 15
Path
rules/windows/process_creation/proc_creation_win_nltest_recon.yml
Raw Tags
attack.discoveryattack.t1016attack.t1482
View on GitHub