Debian Codegraph @

test_data/definitions.yaml

raw
1 # Test artifact definitions.
2 ---
3 name: SecurityEventLogEvtxFile
4 aliases: [SecurityEventLogEvtx]
5 doc: Windows Security Event log for Vista or later systems.
6 sources:
7 - type: FILE
8 attributes: {paths: ['%%environ_systemroot%%\System32\winevt\Logs\Security.evtx']}
9 supported_os: [Windows]
10 urls: ['http://www.forensicswiki.org/wiki/Windows_XML_Event_Log_(EVTX)']
11 ---
12 name: AllUsersProfileEnvironmentVariable
13 doc: The %AllUsersProfile% environment variable.
14 sources:
15 - type: REGISTRY_KEY
16 attributes:
17 keys:
18 - 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\ProfilesDirectory'
19 - 'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\ProfileList\AllUsersProfile'
20 provides: [environ_allusersprofile]
21 supported_os: [Windows]
22 urls: ['http://support.microsoft.com/kb//214653']
23 ---
24 name: CurrentControlSet
25 doc: The control set the system is currently using.
26 sources:
27 - type: REGISTRY_VALUE
28 attributes:
29 key_value_pairs:
30 - {key: 'HKEY_LOCAL_MACHINE\SYSTEM\Select', value: 'Current'}
31 provides: [current_control_set]
32 supported_os: [Windows]
33 urls: ['https://code.google.com/p/winreg-kb/wiki/SystemKeys']
34 ---
35 name: WMIProfileUsersHomeDir
36 doc: |
37 Get user homedir from Win32_UserProfile based on a known user's SID.
38
39 This artifact relies on having the SID field users.sid populated in the knowledge
40 base. We expect it to be collected with WindowsRegistryProfiles to
41 supply the rest of the user information.
42 sources:
43 - type: WMI
44 attributes: {query: SELECT * FROM Win32_UserProfile WHERE SID='%%users.sid%%'}
45 provides: [users.homedir]
46 supported_os: [Windows]
47 urls: ['http://msdn.microsoft.com/en-us/library/windows/desktop/ee886409(v=vs.85).aspx']
48 ---
49 name: EventLogs
50 doc: Windows Event logs.
51 sources:
52 - type: ARTIFACT_GROUP
53 attributes:
54 names:
55 - 'ApplicationEventLog'
56 - 'ApplicationEventLogEvtx'
57 - 'SecurityEventLog'
58 - 'SecurityEventLogEvtx'
59 - 'SystemEventLog'
60 - 'SystemEventLogEvtx'
61 supported_os: [Windows]
62 ---
63 name: RedhatPackagesList
64 doc: Linux output of rpm -qa.
65 sources:
66 - type: COMMAND
67 attributes:
68 args: [-qa]
69 cmd: /bin/rpm
70 supported_os: [Linux]
71 ---
72 name: OSXLoadedKexts
73 doc: Mac OS X Loaded Kernel Extensions.
74 sources:
75 - type: COMMAND
76 attributes:
77 args: []
78 cmd: /usr/sbin/kextstat
79 supported_os: [Darwin]