impacket-getarch
reconnaissance tool that determines whether a remote Windows system is running
TLDR
Detect the architecture of a remote Windows system
SYNOPSIS
impacket-getarch [-h] [-target IP] [-targets FILE] [-port PORT]
DESCRIPTION
impacket-getarch is a reconnaissance tool that determines whether a remote Windows system is running a 32-bit or 64-bit operating system. It works by connecting to the target's SMB service and analyzing the response to identify the system architecture.
This information is valuable during penetration testing when preparing architecture-specific payloads or exploits. The tool requires no authentication and works against systems with SMB exposed.
PARAMETERS
-target IP
IP address of the target system to probe-targets FILE
File containing a list of target IP addresses (one per line)-port PORT
Port to connect to (default: 445)
CAVEATS
Requires network access to the target's SMB port (typically 445). Results depend on SMB being accessible and not blocked by firewalls. Does not work against non-Windows systems.
HISTORY
Part of the Impacket library by SecureAuth. The tool exploits differences in how 32-bit and 64-bit Windows systems respond to certain SMB requests to fingerprint the architecture without authentication.
SEE ALSO
impacket-getadusers(1), nmap(1), smbclient(1)
