meta data for this page
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| soc:irt:playbooks:windows_disk [2026/06/16 12:06] – titannet | soc:irt:playbooks:windows_disk [2026/06/17 08:44] (current) – titannet | ||
|---|---|---|---|
| Line 18: | Line 18: | ||
| ==== Env variables ==== | ==== Env variables ==== | ||
| <code bash> | <code bash> | ||
| + | rm ~/.case.env | ||
| pwd | pwd | ||
| - | WD=/ | + | WD=/ |
| - | E=/ | + | E=/ |
| </ | </ | ||
| - | ==== Disk Image ==== | + | ==== Disk Image basics |
| <code bash> | <code bash> | ||
| mmls -r $E | mmls -r $E | ||
| - | sudo -E ~/ | + | sudo -E ~/ |
| # -p has ' | # -p has ' | ||
| # new tab or crtl-z | # new tab or crtl-z | ||
| - | DISK_C=< | + | DISK_C=< |
| </ | </ | ||
| + | |||
| + | ==== Hayabusa ==== | ||
| + | |||
| + | <code bash> | ||
| + | target-fs " | ||
| + | docker run -it --rm -v " | ||
| + | docker run -it --rm -v " | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Plaso ==== | ||
| + | |||
| + | <code bash> | ||
| + | docker run -it --rm --entrypoint=/ | ||
| + | # docker run -it --rm --user :$(id -g) --entrypoint=/ | ||
| + | |||
| + | # one step | ||
| + | psteal.py --source / | ||
| + | |||
| + | # two step | ||
| + | log2timeline.py --storage-file / | ||
| + | psort.py -o json_line -w / | ||
| + | #psort.py -o json_line -w / | ||
| + | |||
| + | |||
| + | cp output/ | ||
| + | cd tools/ | ||
| + | docker compose up -d | ||
| + | # -> localhost: | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Splunk ==== | ||
| + | |||
| + | <code bash> | ||
| + | mkdir -p etc/ | ||
| + | vim props.conf | ||
| + | cp props.conf etc/ | ||
| + | |||
| + | </ | ||
| + | |||
| Line 47: | Line 91: | ||
| mactime -b data/ | mactime -b data/ | ||
| + | |||
| + | # dissect | ||
| + | |||
| + | target-query -f hostname, | ||
| + | # much more useful for queries on multiple disks at once | ||
| + | |||
| + | target-query -j -f services $E | jq -r ' | ||
| + | # JSON output → jq | ||
| + | target-query --list | grep -iE ' | ||
| </ | </ | ||