This rule detects adversaries leveraging legacy or repurposed hacking tools like RangeScan.exe to conduct network reconnaissance and system enumeration within the environment. Proactive hunting for this behavior in Azure Sentinel is critical to identify potential lateral movement or initial foothold establishment by threat actors utilizing known, yet often overlooked, utility files that may evade standard signature-based defenses.
rule RangeScan {
meta:
description = "Disclosed hacktool set (old stuff) - file RangeScan.exe"
author = "Florian Roth"
date = "23.11.14"
score = 60
hash = "bace2c65ea67ac4725cb24aa9aee7c2bec6465d7"
strings:
$s0 = "RangeScan.EXE" fullword wide
$s4 = "<br><p align=\"center\"><b>RangeScan " fullword ascii
$s9 = "Produced by isn0" fullword ascii
$s10 = "RangeScan" fullword wide
$s20 = "%d-%d-%d %d:%d:%d" fullword ascii
condition:
3 of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 5 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the RangeScan.exe detection rule, including suggested filters or exclusions:
Scenario: Legacy Network Discovery Scans by SolarWinds NPM
RangeScan.exe to perform periodic ARP table sweeps and network topology discovery. This process runs as a scheduled task every 15 minutes on all domain-joined servers, triggering the rule due to its “hacktool” classification in the threat intelligence feed.C:\Program Files\SolarWinds\NPM\RangeScan.exe) and restrict the alert to only trigger if the process is running under a non-domain service account (e.g., exclude NT SERVICE or specific domain admin accounts like svc_solarwinds).Scenario: Automated Asset Inventory by Lansweeper
RangeScan.exe, executes nightly to enumerate USB devices and network adapters. Because the file hash has not been updated in the threat intelligence database recently, it is flagged as an “old stuff” hacktool rather than a known good enterprise utility.RangeScan.exe from a trusted Lansweeper server and add it to the rule’s exclusion list, ensuring that only this specific version triggers no alert regardless of execution time or user context.Scenario: Scheduled Maintenance by Dell OpenManage