Xscan
Overview
Executive Summary
XScan is a powerful, legacy network vulnerability scanner and enumeration tool. Originally developed as a legitimate security auditing utility, it has been widely co-opted by threat actors and Initial Access Brokers. Its presence on a corporate network is highly suspicious; it is frequently utilized by attackers during the reconnaissance and lateral movement phases of an intrusion to rapidly identify vulnerable services, open ports, and weak credentials across the internal network infrastructure.Infection Vector and Technical Capabilities
XScan is not self-replicating malware. It is a standalone executable (HackTool) that must be manually deployed and executed by an attacker who has already breached the perimeter, or by a malicious insider. Upon execution, XScan provides comprehensive network mapping capabilities:- Multi-threaded Port Scanning: It can rapidly sweep massive IP ranges, identifying active hosts and cataloging open TCP/UDP ports.
- Vulnerability Probing: XScan contains an extensive database of known vulnerabilities. It actively probes discovered services (like RPC, SMB, IIS, and FTP) to determine if they are susceptible to specific exploits or configuration flaws.
- Credential Brute-Forcing: It includes built-in dictionary attack capabilities to aggressively brute-force passwords for common services like SSH, FTP, Telnet, and Windows File Sharing (SMB), attempting to leverage weak passwords for lateral movement.
Threat Assessment
The detection of XScan (or similar network scanners like Nmap or Masscan) running from an unauthorized, non-administrative endpoint is a critical indicator of an active internal breach. It signifies that an attacker has established a beachhead and is actively hunting for vulnerable targets to escalate privileges or move laterally toward critical infrastructure.Incident Response and Remediation
- Identify the Source: Immediately trace the execution of the XScan executable back to the originating endpoint. This endpoint must be considered fully compromised and isolated from the network instantly.
- Analyze Scanner Output (If Possible): If the XScan execution logs or output files can be recovered from the compromised endpoint, analyze them to determine exactly what the attacker discovered about the internal network (e.g., which servers were identified as vulnerable).
- Forensic Investigation: Because XScan is a post-exploitation tool, the primary incident response focus must be determining *how* the attacker gained access to the endpoint in the first place (e.g., phishing, RDP brute-forcing) and closing that initial vector.
Known aliases
Threat reports may refer to this family under multiple names:
MITRE ATT&CK Techniques
This family has been observed using the following ATT&CK techniques: T1046 T1018 T1110.001
Generated Detections (Boilerplate)
These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.
YARA Rule
rule MALWARE_WIN_XSCAN {
meta:
description = "Detects Xscan (advanced_threat)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "xscan" ascii wide nocase
$s2 = "hacktool.xscan" ascii wide nocase
$s3 = "riskware.scanner" ascii wide nocase
$s4 = "win32/xscan" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Xscan Activity
id: 534a0f25c5e5cdec7e17b7f0ef98bfc8
status: experimental
description: Detects generic indicators of the xscan malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*xscan*"
- "*hacktool.xscan*"
- "*riskware.scanner*"
- "*win32/xscan*"
condition: selection
level: mediumReferences & External Analysis
- Search "xscan" on VirusTotal (External Analysis)
Frequently Asked Questions
How do I remove the Xscan Advanced_Threat from Windows?
Manual removal of Xscan is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Xscan a virus or a Advanced_Threat?
Xscan is classified as a Advanced_Threat. Unlike traditional viruses that infect files, modern malware like Xscan typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Xscan infection?
Symptoms of Xscan can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Related Families (Category: advanced_threat)
Explore other malware families in the same category:
Protect Your Network Against Advanced_Threats
Want to prevent Xscan and similar threats from compromising your organization? Read our comprehensive defensive guide: Suspect an Infection? What to do.
Machine-readable
Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/xscan.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.