Skip to main content

Overview

The OSInfo command gathers fundamental operating system information including version, architecture, build number, installation date, and system details. This baseline information is essential for understanding the target environment and planning compatible attacks or assessments.

Syntax

Remote Execution

Output

Returns operating system information:
  • OS Version and Build
  • Architecture (x86/x64)
  • Installation date
  • Boot time
  • Hostname
  • Domain/Workgroup
  • Is virtual machine
  • Product name
  • Registered owner/organization

Use Cases

  • Determine OS version for exploit selection
  • Identify architecture for payload compilation
  • Assess system age and patch likelihood
  • Detect virtualized environments
  • Understand domain membership

Example Output

Remote Execution

This command supports remote execution using the -computername parameter.

Detection Considerations

Minimal detection risk - queries basic system information via WMI.