Skip to content

Commit

Permalink
Update T1082.yaml (#2895)
Browse files Browse the repository at this point in the history
Co-authored-by: Carrie Roberts <[email protected]>
  • Loading branch information
likhitha0541 and clr2of8 authored Aug 3, 2024
1 parent a8cdef7 commit de8cc18
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion atomics/T1082/T1082.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -527,4 +527,14 @@ atomic_tests:
command: sysctl -n hw.model
name: sh
elevation_required: false

- name: 'operating system discovery '
description: |-
operating system discovery using get-ciminstance
https://petri.com/getting-operating-system-information-powershell/
supported_platforms:
- windows
executor:
command: Get-CimInstance Win32_OperatingSystem | Select-Object Caption, Version, ServicePackMajorVersion, OSArchitecture, CSName, WindowsDirectory | Out-null
name: powershell
elevation_required: false

0 comments on commit de8cc18

Please sign in to comment.