Enumerating System Information

Windows

Info to look for

  • hostname

  • OS Name (Windows 7, 8 )

  • OS build (Windows 7 SP1 7600)

  • OS architecture (x64/x86)

  • Installed updates/Hotfixes

Commands

  • getuid

  • sysinfo

  • hostname -> shell

  • systeminfo -> shell

  • wmic qfe get Caption, Description, HotFixID, InstalledOn

  • C:\Windows\System32\eula.txt -> enumerating

Linux

Info to look for

  • hostname

  • distribution & distribution release version

  • kernel version & architecture

  • cpu information

  • disk information & mounted drives

  • installed packages/software

Commands

  • /bin/bash -i

  • sessions -u <session id>

  • sysinfo

  • hostname -> shell

  • cat /etc/*issue

  • cat /etc/*release

  • uname -a -> kernel & others

  • uname -r -> only kernel

  • env

  • lscpu

  • free -h -> ram

  • df -h -> file system

  • df -ht ext4 -> focus on ext4

  • lsblk | grep sd

  • dpkg -l

Last updated