| 1 |
# Shell user-interface artifact definitions. |
| 2 |
--- |
| 3 |
name: BashShellConfigurationFile |
| 4 |
doc: Bourne Again shell (bash) configuration files. |
| 5 |
sources: |
| 6 |
- type: FILE |
| 7 |
attributes: |
| 8 |
paths: |
| 9 |
- '%%users.homedir%%/.bash_logout' |
| 10 |
- '%%users.homedir%%/.bash_profile' |
| 11 |
- '%%users.homedir%%/.bashrc' |
| 12 |
- '/etc/bash.bashrc' |
| 13 |
- '/etc/bashrc' |
| 14 |
supported_os: [Darwin, Linux] |
| 15 |
- type: FILE |
| 16 |
attributes: |
| 17 |
paths: |
| 18 |
- '/private/etc/bash.bashrc' |
| 19 |
- '/private/etc/bashrc' |
| 20 |
supported_os: [Darwin] |
| 21 |
- type: FILE |
| 22 |
attributes: |
| 23 |
paths: |
| 24 |
- '%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.bash_logout' |
| 25 |
- '%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.bash_profile' |
| 26 |
- '%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.bashrc' |
| 27 |
separator: '\' |
| 28 |
supported_os: [Windows] |
| 29 |
supported_os: [Darwin, Linux, Windows] |
| 30 |
urls: ['https://forensics.wiki/bash_shell'] |
| 31 |
--- |
| 32 |
name: BashShellHistoryFile |
| 33 |
aliases: [MacOSBashHistory] |
| 34 |
doc: Bourne Again shell (bash) history files. |
| 35 |
sources: |
| 36 |
- type: FILE |
| 37 |
attributes: |
| 38 |
paths: |
| 39 |
- '%%users.homedir%%/.bash_history' |
| 40 |
supported_os: [Darwin, Linux] |
| 41 |
- type: FILE |
| 42 |
attributes: |
| 43 |
paths: ['%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.bash_history'] |
| 44 |
separator: '\' |
| 45 |
supported_os: [Windows] |
| 46 |
supported_os: [Darwin, Linux, Windows] |
| 47 |
urls: ['https://forensics.wiki/bash_shell'] |
| 48 |
--- |
| 49 |
name: BashShellSessionFile |
| 50 |
aliases: [MacOSBashSessions] |
| 51 |
doc: Bourne Again shell (bash) session files. |
| 52 |
sources: |
| 53 |
- type: FILE |
| 54 |
attributes: {paths: ['%%users.homedir%%/.bash_sessions/*']} |
| 55 |
supported_os: [Darwin] |
| 56 |
urls: ['https://forensics.wiki/bash_shell'] |
| 57 |
--- |
| 58 |
name: BourneShellHistoryFile |
| 59 |
doc: Bourne shell (sh) history files. |
| 60 |
sources: |
| 61 |
- type: FILE |
| 62 |
attributes: {paths: ['%%users.homedir%%/.sh_history']} |
| 63 |
supported_os: [Darwin, Linux] |
| 64 |
- type: FILE |
| 65 |
attributes: |
| 66 |
paths: ['%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.sh_history'] |
| 67 |
separator: '\' |
| 68 |
supported_os: [Windows] |
| 69 |
supported_os: [Darwin, Linux, Windows] |
| 70 |
urls: ['https://en.wikipedia.org/wiki/Bourne_shell'] |
| 71 |
--- |
| 72 |
name: CShellConfigurationFile |
| 73 |
doc: C shell (csh) configuration files. |
| 74 |
sources: |
| 75 |
- type: FILE |
| 76 |
attributes: |
| 77 |
paths: |
| 78 |
- '%%users.homedir%%/.cshrc' |
| 79 |
- '/etc/csh.cshrc' |
| 80 |
- '/etc/csh.login' |
| 81 |
- '/etc/csh.logout' |
| 82 |
supported_os: [Darwin, Linux] |
| 83 |
- type: FILE |
| 84 |
attributes: |
| 85 |
paths: |
| 86 |
- '/private/etc/csh.cshrc' |
| 87 |
- '/private/etc/csh.login' |
| 88 |
- '/private/etc/csh.logout' |
| 89 |
supported_os: [Darwin] |
| 90 |
- type: FILE |
| 91 |
attributes: |
| 92 |
paths: ['%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.cshrc'] |
| 93 |
separator: '\' |
| 94 |
supported_os: [Windows] |
| 95 |
supported_os: [Darwin, Linux, Windows] |
| 96 |
urls: ['https://en.wikipedia.org/wiki/C_shell'] |
| 97 |
--- |
| 98 |
name: FishShellConfigurationFile |
| 99 |
doc: FishShell (fish) configuration files. |
| 100 |
sources: |
| 101 |
- type: FILE |
| 102 |
attributes: |
| 103 |
paths: |
| 104 |
- '%%users.homedir%%/.config/fish/conf.d/config.fish' |
| 105 |
- '/etc/fish/conf.d/*.fish' |
| 106 |
- '%%users.homedir%%/.config/fish/config.fish' |
| 107 |
- '/etc/fish/config.fish' |
| 108 |
supported_os: [Linux] |
| 109 |
supported_os: [Linux] |
| 110 |
urls: ['https://fishshell.com/docs/current/language.html#configuration'] |
| 111 |
--- |
| 112 |
name: FishShellHistoryFile |
| 113 |
doc: Fish shell (fish) history files. |
| 114 |
sources: |
| 115 |
- type: FILE |
| 116 |
attributes: {paths: ['%%users.homedir%%/.local/share/fish/fish_history']} |
| 117 |
supported_os: [Linux] |
| 118 |
supported_os: [Linux] |
| 119 |
urls: ['https://fishshell.com/docs/current/cmds/history.html'] |
| 120 |
--- |
| 121 |
name: KornShellConfigurationFile |
| 122 |
doc: KornShell (ksh) configuration files. |
| 123 |
sources: |
| 124 |
- type: FILE |
| 125 |
attributes: |
| 126 |
paths: |
| 127 |
- '%%users.homedir%%/.ksh' |
| 128 |
- '/etc/kshrc' |
| 129 |
supported_os: [Darwin, Linux] |
| 130 |
- type: FILE |
| 131 |
attributes: |
| 132 |
paths: |
| 133 |
- '/private/etc/kshrc' |
| 134 |
supported_os: [Darwin] |
| 135 |
- type: FILE |
| 136 |
attributes: |
| 137 |
paths: ['%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.ksh'] |
| 138 |
separator: '\' |
| 139 |
supported_os: [Windows] |
| 140 |
supported_os: [Darwin, Linux, Windows] |
| 141 |
urls: ['https://en.wikipedia.org/wiki/KornShell'] |
| 142 |
--- |
| 143 |
name: RootUserShellConfigs |
| 144 |
doc: Common Unix root shell configuration files. |
| 145 |
sources: |
| 146 |
- type: FILE |
| 147 |
attributes: |
| 148 |
paths: |
| 149 |
- '/root/.bash_logout' |
| 150 |
- '/root/.bash_profile' |
| 151 |
- '/root/.bashrc' |
| 152 |
- '/root/.cshrc' |
| 153 |
- '/root/.ksh' |
| 154 |
- '/root/.config/fish/config.fish' |
| 155 |
- '/root/.logout' |
| 156 |
- '/root/.profile' |
| 157 |
- '/root/.tcsh' |
| 158 |
- '/root/.zlogin' |
| 159 |
- '/root/.zlogout' |
| 160 |
- '/root/.zprofile' |
| 161 |
supported_os: [Darwin, Linux] |
| 162 |
--- |
| 163 |
name: RootUserShellHistory |
| 164 |
doc: Common Unix root shell history files. |
| 165 |
sources: |
| 166 |
- type: FILE |
| 167 |
attributes: |
| 168 |
paths: |
| 169 |
- '/root/.bash_history' |
| 170 |
- '/root/.local/share/fish/fish_history' |
| 171 |
- '/root/.sh_history' |
| 172 |
- '/root/.zhistory' |
| 173 |
- '/root/.zsh_history' |
| 174 |
supported_os: [Darwin, Linux] |
| 175 |
--- |
| 176 |
name: ShellConfigurationFile |
| 177 |
aliases: [AllShellConfigs, GlobalShellConfigs, UsersShellConfigs] |
| 178 |
doc: Group of shell configuration files. |
| 179 |
sources: |
| 180 |
- type: ARTIFACT_GROUP |
| 181 |
attributes: |
| 182 |
names: |
| 183 |
- 'BashShellConfigurationFile' |
| 184 |
- 'CShellConfigurationFile' |
| 185 |
- 'FishShellConfigurationFile' |
| 186 |
- 'KornShellConfigurationFile' |
| 187 |
- 'ShellLogoutFile' |
| 188 |
- 'ShellProfileFile' |
| 189 |
- 'TeeShellConfigurationFile' |
| 190 |
- 'ZShellConfigurationFile' |
| 191 |
supported_os: [Darwin, Linux, Windows] |
| 192 |
--- |
| 193 |
name: ShellHistoryFile |
| 194 |
aliases: [AllUsersShellHistory, UserShellHistory] |
| 195 |
doc: Group of shell history files. |
| 196 |
sources: |
| 197 |
- type: ARTIFACT_GROUP |
| 198 |
attributes: |
| 199 |
names: |
| 200 |
- 'BashShellHistoryFile' |
| 201 |
- 'BourneShellHistoryFile' |
| 202 |
- 'FishShellHistoryFile' |
| 203 |
- 'ZShellHistoryFile' |
| 204 |
supported_os: [Darwin, Linux, Windows] |
| 205 |
--- |
| 206 |
name: ShellLogoutFile |
| 207 |
doc: Shell logout file. |
| 208 |
sources: |
| 209 |
- type: FILE |
| 210 |
attributes: {paths: ['%%users.homedir%%/.logout']} |
| 211 |
supported_os: [Darwin, Linux] |
| 212 |
- type: FILE |
| 213 |
attributes: |
| 214 |
paths: ['%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.logout'] |
| 215 |
separator: '\' |
| 216 |
supported_os: [Windows] |
| 217 |
supported_os: [Darwin, Linux, Windows] |
| 218 |
--- |
| 219 |
name: ShellProfileFile |
| 220 |
doc: Shell profile file. |
| 221 |
sources: |
| 222 |
- type: FILE |
| 223 |
attributes: |
| 224 |
paths: |
| 225 |
- '%%users.homedir%%/.profile' |
| 226 |
- '/etc/profile' |
| 227 |
supported_os: [Darwin, Linux] |
| 228 |
- type: FILE |
| 229 |
attributes: {paths: ['/private/etc/profile']} |
| 230 |
supported_os: [Darwin] |
| 231 |
- type: FILE |
| 232 |
attributes: |
| 233 |
paths: ['%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.profile'] |
| 234 |
separator: '\' |
| 235 |
supported_os: [Windows] |
| 236 |
supported_os: [Darwin, Linux, Windows] |
| 237 |
--- |
| 238 |
name: TeeShellConfigurationFile |
| 239 |
doc: Tee shell (tcsh) configuration files. |
| 240 |
sources: |
| 241 |
- type: FILE |
| 242 |
attributes: {paths: ['%%users.homedir%%/.tcsh']} |
| 243 |
supported_os: [Darwin, Linux] |
| 244 |
- type: FILE |
| 245 |
attributes: |
| 246 |
paths: ['%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.tcsh'] |
| 247 |
separator: '\' |
| 248 |
supported_os: [Windows] |
| 249 |
supported_os: [Darwin, Linux, Windows] |
| 250 |
urls: ['https://en.wikipedia.org/wiki/Tcsh'] |
| 251 |
--- |
| 252 |
name: ZShellConfigurationFile |
| 253 |
doc: Z shell (zsh) configuration files. |
| 254 |
sources: |
| 255 |
- type: FILE |
| 256 |
attributes: |
| 257 |
paths: |
| 258 |
- '%%users.homedir%%/.zlogin' |
| 259 |
- '%%users.homedir%%/.zlogout' |
| 260 |
- '%%users.homedir%%/.zprofile' |
| 261 |
- '/etc/zshenv' |
| 262 |
- '/etc/zshrc' |
| 263 |
- '/etc/zsh/zlogin' |
| 264 |
- '/etc/zsh/zlogout' |
| 265 |
- '/etc/zsh/zprofile' |
| 266 |
- '/etc/zsh/zshenv' |
| 267 |
- '/etc/zsh/zshrc' |
| 268 |
supported_os: [Darwin, Linux] |
| 269 |
- type: FILE |
| 270 |
attributes: |
| 271 |
paths: |
| 272 |
- '/private/etc/zshenv' |
| 273 |
- '/private/etc/zshrc' |
| 274 |
- '/private/etc/zsh/zlogin' |
| 275 |
- '/private/etc/zsh/zlogout' |
| 276 |
- '/private/etc/zsh/zprofile' |
| 277 |
- '/private/etc/zsh/zshenv' |
| 278 |
- '/private/etc/zsh/zshrc' |
| 279 |
supported_os: [Darwin] |
| 280 |
- type: FILE |
| 281 |
attributes: |
| 282 |
paths: |
| 283 |
- '%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.zlogin' |
| 284 |
- '%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.zlogout' |
| 285 |
- '%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.zprofile' |
| 286 |
separator: '\' |
| 287 |
supported_os: [Windows] |
| 288 |
supported_os: [Darwin, Linux, Windows] |
| 289 |
urls: ['https://en.wikipedia.org/wiki/Z_shell'] |
| 290 |
--- |
| 291 |
name: ZShellHistoryFile |
| 292 |
doc: Z shell (zsh) history files. |
| 293 |
sources: |
| 294 |
- type: FILE |
| 295 |
attributes: |
| 296 |
paths: |
| 297 |
- '%%users.homedir%%/.zhistory' |
| 298 |
- '%%users.homedir%%/.zsh_history' |
| 299 |
supported_os: [Darwin, Linux] |
| 300 |
- type: FILE |
| 301 |
attributes: |
| 302 |
paths: |
| 303 |
- '%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.zhistory' |
| 304 |
- '%%users.localappdata%%\Packages\*\LocalState\rootfs\home\*\.zsh_history' |
| 305 |
separator: '\' |
| 306 |
supported_os: [Windows] |
| 307 |
supported_os: [Darwin, Linux, Windows] |
| 308 |
urls: ['https://en.wikipedia.org/wiki/Z_shell'] |