LoFP LoFP / legitimate use of netexec by security professionals or system administrators for network assessment and management.

Techniques

Sample rules

HackTool - NetExec Execution

Description

Detects execution of the hacktool NetExec. NetExec (formerly CrackMapExec) is a widely used post-exploitation tool designed for Active Directory penetration testing and network enumeration In enterprise environments, the use of NetExec is considered suspicious or potentially malicious because it enables attackers to enumerate hosts, exploit network services, and move laterally across systems. Threat actors and red teams commonly use NetExec to identify vulnerable systems, harvest credentials, and execute commands remotely.

Detection logic

condition: selection
selection:
  CommandLine|contains:
  - ' ftp '
  - ' ldap '
  - ' mssql '
  - ' nfs '
  - ' rdp '
  - ' smb '
  - ' ssh '
  - ' vnc '
  - ' winrm '
  - ' wmi '
  Image|endswith: \nxc.exe