Skip to content
Threat Feed
low advisory

Detection of macOS Network Share Discovery via Enumeration Utilities

Adversaries leverage native macOS utilities such as smbutil and showmount to perform internal network reconnaissance by discovering available SMB and NFS shares.

Adversaries targeting macOS environments frequently perform internal reconnaissance to identify accessible network resources that may contain sensitive data or facilitate further lateral movement. The use of built-in system utilities such as 'smbutil' and 'showmount' allows attackers to enumerate SMB and NFS network shares respectively without deploying additional custom binaries. This activity often occurs during the post-exploitation phase, where the attacker is mapping the local network topology and identifying target systems or file stores. Detecting this behavior is essential for security operations centers, as the execution of these utilities is rarely required for routine end-user operations. Defenders should focus on monitoring process creation events linked to these utilities, particularly when invoked from non-standard paths or by unexpected user accounts, to identify malicious internal discovery efforts.

Impact

Successful internal reconnaissance allows adversaries to identify high-value targets for data exfiltration or lateral movement within a corporate network. If an attacker identifies sensitive file shares, it could lead to unauthorized access to proprietary information, credentials, or system configurations, potentially resulting in a significant data breach.

Recommendation

  • Deploy process auditing on macOS endpoints using Endpoint Security frameworks and osquery to capture execution telemetry for 'smbutil' and 'showmount'.
  • Implement the provided detection logic to alert on the execution of these utilities and tune out known administrative baselines in your environment.
  • Investigate alerts by pivoting to user and host telemetry to determine if the execution of these tools aligns with authorized troubleshooting activities or indicates unauthorized reconnaissance.

Immediate actions

Deploy detection logic to SIEM and validate against baseline administrative activity

Detection Engineering 7d

Threat Hunt

Search for historical execution of smbutil or showmount in process logs

T1135 medium medium confidence convert to detection

Data: Process command line logs

Detection coverage 1

Detect macOS Network Share Discovery

low

Detects the execution of smbutil or showmount utilities which are used for network share enumeration

sigma tactics: discovery techniques: T1135 sources: process_creation, macos

Detection queries are available on the platform. Get full rules →