Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update T1082.yaml #3015

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 23 additions & 1 deletion atomics/T1082/T1082.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -578,4 +578,26 @@ atomic_tests:
executor:
name: command_prompt
command: |
powershell.exe -c "gdr -PSProvider 'FileSystem'"
powershell.exe -c "gdr -PSProvider 'FileSystem'"
- name: Discover OS Product Name via Registry
description: |
Identify the Operating System Product Name via registry with the reg.exe command.
Upon execution, the OS Product Name will be displayed.
supported_platforms:
- windows
executor:
command: |
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName
name: command_prompt
elevation_required: false
- name: Discover OS Build Number via Registry
description: |
Identify the Operating System Build Number via registry with the reg.exe command.
Upon execution, the OS Build Number will be displayed.
supported_platforms:
- windows
executor:
command: |
reg query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v CurrentBuildNumber
name: command_prompt
elevation_required: false