iSCSI: unauthenticated access to virtual disks
Attack Techniques & Methods2026-11-10, 08:12
iSCSI: unauthenticated access to virtual disks
SpecterOps specialists published an analysis demonstrating how a misconfigured iSCSI storage target allows an attacker to connect to the storage without authentication and access LUNs. The issue does not require exploiting a separate vulnerability: it is enough for the iSCSI storage target to have CHAP or IQN/IP restrictions disabled.
How does it work?
The iSCSI target service is part of the File and Storage Services role in Windows Server. During setup, the administrator selects a physical disk for the virtual disk, assigns the target an IQN-formatted name, and lists the initiator servers that are allowed access. CHAP authentication is offered as an optional step, and Microsoft’s guide recommends skipping it.
The key feature is SPN registration. When the iSCSI target service starts on a domain-joined computer, it registers an SPN in the computer account in AD. A simple LDAP query returns a list of all iSCSI targets in the domain.
The second feature is the predictability of the initiator IQN. Windows builds it from the computer’s
dNSHostName attribute, for example iqn.1991-05.com.microsoft:hyv-node1.ludus.domain. By enumerating domain names, an attacker can identify a valid initiator IQN, then open a discovery session and request the target’s IQN with the SendTargets command. The service has no request-rate limiting or brute-force protection.Exploitation workflow
- Finding targets and initiators. An LDAP query for the SPN returns a list of computers running the iSCSI target service. The
dNSHostNameattributes from AD or DNS provide a list of potential initiator IQNs. - Finding the target IQN.
scuzzy.pyenumerates initiators through a discovery session, and the target responds to a valid IQN with a list of IQNs available to it. - Logging in and browsing. The attacker checks whether CHAP is required. If the login succeeds, the
lscommand shows the volume’s directories, including$RECYCLE.BINwith the SIDs of users who previously mounted the volume. - Downloading and mounting. The
.VHDXfile is downloaded from the volume, andadiskreadermounts the disk. - Extraction and dumping. The SAM, SYSTEM, and SECURITY hives are extracted from
C:\Windows\System32\config. If available,C:\Windows\NTDS\NTDS.ditis also obtained.secretsdump.pyextracts the credentials.
Vendors
Products
More