| 1 |
# Deprecated definitions kept for backwards compatibility with GRR |
| 2 |
# for the time being. |
| 3 |
# |
| 4 |
# https://github.com/google/grr/blob/master/grr/config/artifacts.py |
| 5 |
# https://github.com/google/grr/blob/master/grr/parsers/windows_registry_parser.py |
| 6 |
--- |
| 7 |
name: AllUsersAppDataEnvironmentVariable |
| 8 |
doc: The %ProgramData% environment variable. |
| 9 |
sources: |
| 10 |
- type: REGISTRY_VALUE |
| 11 |
attributes: {key_value_pairs: [{key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList', value: 'ProgramData'}]} |
| 12 |
provides: [environ_allusersappdata] |
| 13 |
supported_os: [Windows] |
| 14 |
urls: ['http://environmentvariables.org/ProgramData'] |
| 15 |
--- |
| 16 |
name: AllUsersProfileEnvironmentVariable |
| 17 |
doc: The %AllUsersProfile% environment variable. |
| 18 |
sources: |
| 19 |
- type: REGISTRY_KEY |
| 20 |
attributes: |
| 21 |
keys: |
| 22 |
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory' |
| 23 |
- 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\AllUsersProfile' |
| 24 |
provides: [environ_allusersprofile] |
| 25 |
supported_os: [Windows] |
| 26 |
urls: ['http://support.microsoft.com/kb//214653'] |
| 27 |
--- |
| 28 |
name: LinuxRelease |
| 29 |
doc: | |
| 30 |
Linux specific distribution information. |
| 31 |
|
| 32 |
See: lsb_release(1) man page, or the LSB Specification under the 'Command |
| 33 |
Behaviour' section. |
| 34 |
sources: |
| 35 |
- type: FILE |
| 36 |
attributes: |
| 37 |
paths: |
| 38 |
- '/etc/enterprise-release' |
| 39 |
- '/etc/lsb-release' |
| 40 |
- '/etc/oracle-release' |
| 41 |
- '/etc/redhat-release' |
| 42 |
- '/etc/system-release' |
| 43 |
provides: [os_release, os_major_version, os_minor_version] |
| 44 |
supported_os: [Linux] |
| 45 |
--- |
| 46 |
name: SystemDriveEnvironmentVariable |
| 47 |
doc: | |
| 48 |
The %SystemDrive% environment variable, usually "C:". |
| 49 |
|
| 50 |
This value isn't actually present in the Registry but with some parsing we |
| 51 |
can figure it out from SystemRoot. |
| 52 |
sources: |
| 53 |
- type: REGISTRY_VALUE |
| 54 |
attributes: {key_value_pairs: [{key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion', value: 'SystemRoot'}]} |
| 55 |
provides: [environ_systemdrive] |
| 56 |
supported_os: [Windows] |
| 57 |
urls: |
| 58 |
- 'http://environmentvariables.org/SystemDrive' |
| 59 |
- 'https://msdn.microsoft.com/en-us/library/cc231436.aspx' |
| 60 |
--- |
| 61 |
name: WinDomainName |
| 62 |
doc: The Windows domain the system is connected to. |
| 63 |
sources: |
| 64 |
- type: REGISTRY_VALUE |
| 65 |
attributes: {key_value_pairs: [{key: 'HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters', value: 'Domain'}]} |
| 66 |
provides: [domain] |
| 67 |
supported_os: [Windows] |
| 68 |
--- |
| 69 |
name: WindowsEnvironmentVariableAllUsersAppData |
| 70 |
doc: The %ProgramData% environment variable. |
| 71 |
sources: |
| 72 |
- type: REGISTRY_VALUE |
| 73 |
attributes: |
| 74 |
key_value_pairs: |
| 75 |
- {key: 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList', value: 'ProgramData'} |
| 76 |
provides: [environ_allusersappdata] |
| 77 |
supported_os: [Windows] |
| 78 |
urls: ['http://environmentvariables.org/ProgramData'] |