meta data for this page
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| soc:tools:velociraptor [2026/06/12 08:16] – created titannet | soc:tools:velociraptor [2026/06/12 10:53] (current) – titannet | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Velociraptor ====== | ====== Velociraptor ====== | ||
| + | [[https:// | ||
| Line 10: | Line 10: | ||
| vim config/ | vim config/ | ||
| # add server ip | # add server ip | ||
| + | docker compose up | ||
| + | docker exec -it ir-velociraptor / | ||
| + | # | ||
| + | docker exec -it ir-velociraptor / | ||
| + | #test | ||
| + | ./ | ||
| + | velociraptor.exe --config client.config.yaml client -v | ||
| + | |||
| + | |||
| + | # run plaso | ||
| + | docker run -it --rm --entrypoint=/ | ||
| + | |||
| + | log2timeline.py --storage-file / | ||
| + | psort.py -o json_line -w / | ||
| + | |||
| + | # psort.py -o json_line -w / | ||
| + | # | ||
| + | docker exec -it ir-velociraptor / | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | # sudo chmod -R a+rwX ./splunk/ | ||
| + | sudo cp props.conf etc/ | ||
| + | |||
| + | docker image load -i ./ | ||
| + | docker compose up | ||
| + | |||
| + | # settings -> add -> monitor -> plaso.conf -> ... | ||
| + | |||
| + | index=" | ||
| </ | </ | ||
| + | |||
| + | < | ||
| + | sed -i -E 's|(- https:// | ||
| + | |||
| + | How it works: | ||
| + | |||
| + | -E: Enables extended regular expressions (so we can use groups like ()). | ||
| + | |||
| + | (- https://): Group 1 (\1), matches the prefix. | ||
| + | |||
| + | [0-9.]+: Matches any combination of numbers and periods (the IP address). | ||
| + | |||
| + | (:[0-9]+/): Group 2 (\2), matches the port and trailing slash (e.g., :20000/). | ||
| + | |||
| + | \1192.168.1.50\2: | ||
| + | |||
| + | </ | ||
| + | |||
| + | <file yaml docker-compose.yml> | ||
| + | services: | ||
| + | velociraptor: | ||
| + | image: ir-velociraptor | ||
| + | container_name: | ||
| + | restart: always | ||
| + | ports: | ||
| + | - " | ||
| + | - " | ||
| + | volumes: | ||
| + | - ./ | ||
| + | - ./ | ||
| + | - ./ | ||
| + | - ./ | ||
| + | |||
| + | </ | ||