This detection identifies the execution of “Scanner.exe,” a process often associated with NetBIOS name enumeration that adversaries leverage to map network topology and discover active hosts during initial reconnaissance phases. Proactive hunting for this behavior in Azure Sentinel is essential to distinguish legitimate administrative scanning from stealthy threat actors attempting to establish a foothold before launching lateral movement attacks.
rule NetBIOS_Name_Scanner {
meta:
description = "Auto-generated rule on file NetBIOS Name Scanner.exe"
author = "yarGen Yara Rule Generator by Florian Roth"
hash = "888ba1d391e14c0a9c829f5a1964ca2c"
strings:
$s0 = "IconEx"
$s2 = "soft Visual Stu"
$s4 = "NBTScanner!y&"
condition:
all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 3 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the Auto-generated rule on file NetBIOS Name Scanner.exe, including suggested filters and exclusions:
Scenario: Scheduled Network Inventory Scans by Admin Tools
NetBIOS Name Scanner.exe (or similar) from the C:\Program Files\NetworkTools\Inventory\ directory to enumerate active NetBIOS nodes on the subnet.C:\Program Files\NetworkTools\Inventory\NetBIOS Name Scanner.exe. Additionally, add a filter for specific User Context (e.g., DOMAIN\AdminService or NT SERVICE\NetworkInventory) to ensure only service accounts trigger this.Scenario: Endpoint Security Agent Health Checks
NetBIOS Name Scanner.exe within their installation directory (e.g., C:\Program Files\CrowdStrike\).csagent.exe, SentinelOneAgent.exe, or MsMpEng.exe), suppress the alert. This ensures that internal housekeeping scans by the EDR itself do not generate noise.**Scenario: