GithubHelp home page GithubHelp logo

Comments (7)

Varjack avatar Varjack commented on June 9, 2024 1

I have managed to solve this issue. In the logger box cd into /opt/velociraptor and create a new server and client package as outlined in the velociraptor instructions (https://docs.velociraptor.app/docs/deployment/).

Once done you will have a server.config.yaml and a client.config.yaml in the logger. you will be able to start the server from logger (see link above). Then simply replace the existing client.config.yaml files on dc, wef and win10 with the new one generated and restart the velociraptor service on each box. Then you will see these endpoints in the velociraptor GUI.

from detectionlab.

jgoosey avatar jgoosey commented on June 9, 2024 1

https://docs.velociraptor.app/knowledge_base/tips/rolling_certificates/

sudo ./opt/velociraptor/velociraptor -c /opt/velociraptor/server.config.yaml config rotate_key > /tmp/server.config.yaml

sudo mv /opt/velociraptor/server.config.yaml /opt/velociraptor/server.config.yaml.bak

sudo mv /tmp/server.config.yaml /opt/velopciraptor/

sudo ./opt/velociraptor/velociraptor -c /opt/velociraptor/server.config.yaml debian server

sudo dpkg -i /opt/velociraptor/velociraptor_server*.deb

The post_build_check script fails for "could not create secure SSL/TLS" but at least it's reachable in browser and maintains through reboot 🤷

Oh and then you'll have to make a new client config (resources/velociraptor/Velociraptor.config.yaml):
sudo ./opt/velociraptor/velociraptor -c /opt/velociraptor/server.config.yaml config client > /vagrant/resources/velociraptor/Velociraptor.config.yaml

from detectionlab.

Varjack avatar Varjack commented on June 9, 2024

I have experienced the same issue. I was able to get Velociraptor working again by remaking the server.config file but was unable to get the hosts to come back up. Were you able to resolve this?

from detectionlab.

dembarthe avatar dembarthe commented on June 9, 2024

Experiencing same issue (same setup), I checked the logs of velociraptor (/var/log/syslog) after systemctl start velociraptor_server and it seems to be a certificate issue "certificate has expired or is not yet valid: current time 2023-05-30 is after 2023-04-28".

I'd shot an issue in the line 155 of server.config.yaml, the certificate is up to 28 of April 2023.

from detectionlab.

tridentholder avatar tridentholder commented on June 9, 2024

@Varjack @n0tspam guys ,have any fix for this. when I tried the make command ,I got this

Screenshot 2023-07-24 190122

from detectionlab.

shyampvagadiya avatar shyampvagadiya commented on June 9, 2024

How do I update the certificate (server.config.yaml)?

from detectionlab.

n0tspam avatar n0tspam commented on June 9, 2024

@jgoosey's response worked for me. You do still get the error, but velociraptor is accessible. Thank you.

from detectionlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.