Sigma rule: HackTool - NetExec File Indicators
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-a3a79663afca, updated 2026-04-08T00:00:00.000Z.
Rule
- Title
- HackTool - NetExec File Indicators
- Status
- experimental
- Level
- high
- Author
- Swachchhanda Shrawan Poudel (Nextron Systems)
- Date
- 2026-04-08
- File
- rules/windows/file/file_event/file_event_win_hktl_netexec_file_indicators.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects file creation events indicating NetExec (nxc.exe) execution on the local machine.
NetExec is a PyInstaller-bundled binary that extracts its embedded data files to a "_MEI<random>" directory
under the Temp folder upon execution. Files dropped under the "\nxc\" sub-directory of that
extraction path are unique to NetExec and serve as reliable on-disk indicators of execution.
NetExec (formerly CrackMapExec) is a widely used post-exploitation and lateral movement tool used for
Active Directory enumeration, credential harvesting, and remote code execution.
Log source
- product
- windows
- category
- file_event
Detection
selection:
- Image|contains: '\nxc-windows-latest\'
- TargetFilename|contains|all:
- '\Temp\_MEI'
- '\nxc\data\'
condition: selectionFalse positives (as the rule lists them)
- Unknown
Tags
- attack.execution
- attack.lateral-movement
- attack.discovery
- attack.t1021.002
- attack.t1059.005
MITRE ATT&CK ids this rule names
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/file/file_event/file_event_win_hktl_netexec_file_indicators.yml
Sources and licences
SigmaHQ
"HackTool - NetExec File Indicators" by Swachchhanda Shrawan Poudel (Nextron Systems) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/file/file_event/file_event_win_hktl_netexec_file_indicators.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: HackTool - NetExec File Indicators",
entity page, dataset version ref-a3a79663afca, updated 2026-04-08T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/efc21479-9e83-41da-8cf1-122e06ba8db3 (accessed 2026-11-03).
Underlying source: SigmaHQ rule efc21479-9e83-41da-8cf1-122e06ba8db3, 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.