This detection identifies the execution of ipscan.exe, a utility often leveraged by adversaries during network reconnaissance to map internal hosts and identify potential lateral movement paths. Proactively hunting for this activity in Azure Sentinel is essential to distinguish legitimate administrative scanning from malicious enumeration that could precede broader compromise or data exfiltration attempts.
rule Angry_IP_Scanner_v2_08_ipscan {
meta:
description = "Auto-generated rule on file ipscan.exe"
author = "yarGen Yara Rule Generator by Florian Roth"
hash = "70cf2c09776a29c3e837cb79d291514a"
strings:
$s0 = "_H/EnumDisplay/"
$s5 = "ECTED.MSVCRT0x"
$s8 = "NotSupported7"
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 5 specific false positive scenarios for the ipscan.exe detection rule, including suggested filters and exclusions:
Scenario: Microsoft Defender Antivirus Scheduled Scans
Antimalware Service Executable) periodically launches ipscan.exe (often part of the Network Inspection or Active Directory scanning modules) to perform routine network health checks. This occurs automatically at 02:00 AM daily on all domain-joined endpoints.MsMpEng.exe and the command line contains arguments related to “scheduled scan” or “network inspection.” Alternatively, whitelist the file path C:\Program Files\Microsoft Defender Antivirus\bin\ipscan.exe.Scenario: Group Policy Object (GPO) Deployment of Network Tools
NT AUTHORITY\SYSTEM) executes ipscan.exe to validate network connectivity and update IP address assignments for new workstation onboarding scripts.User Account is SYSTEM AND the Process Path matches C:\Windows\System32\GroupPolicy\Machine\ipscan.exe.Scenario: Third-Party Asset Management Agent Execution
ipscan.exe to inventory network devices and verify IP configurations during their hourly heartbeat cycle.SolarWinds.Agent.Service.exe or ivantiservice.exe. Additionally, exclude