GithubHelp home page GithubHelp logo

Manage Binaries Enhancements about grr HOT 6 OPEN

google avatar google commented on May 13, 2024
Manage Binaries Enhancements

from grr.

Comments (6)

grrrrrrrrr avatar grrrrrrrrr commented on May 13, 2024 1

Manage Binaries is all new. Fixed.

from grr.

mbushkov avatar mbushkov commented on May 13, 2024 1

I think this issues was closed too early. "Manage Binaries" was indeed redesigned, but we didn't add an API nor grr_config_updater command to delete old binaries. Reopening this issue.

from grr.

pidydx avatar pidydx commented on May 13, 2024

Should this get closed and tracked under the datastore management issue? Ultimately the datastore management piece is about being able to delete old stuff whether it is old drivers, installers, hunts, flows, clients, client data, blobs, etc.

from grr.

b2az avatar b2az commented on May 13, 2024

Have i missed something?

The ability to remove old/unnecessary binaries

Where/how can i remove binaries, which are listed in "Manage Binaries"?

I repacked the client with another 'Client.name' for obfuscation as described here:
https://github.com/google/grr-doc/blob/master/deploying-grr-clients/protection.md

After testing i deleted the new files from
/usr/share/grr-server/executables/installers/ but they're still listed in the WebUI.

Any help would be appreciated.
Thanks in advance.

from grr.

mbushkov avatar mbushkov commented on May 13, 2024

@b2az , answering your questions. After being repacked your clients got written to GRR datastore. So effectively, even if you delete the files from the /usr/share/grr-server/executables/installers/, they will continue to be visible in the UI, since UI gets them from the datastore. Unfortunately, at the moment, as I mentioned in my previous comment, there's no easy (and documented) way to delete binaries from the datastore. We'll fix that.

from grr.

b2az avatar b2az commented on May 13, 2024

@mbushkov , thanks for your fast reply.
I found it out yesterday, after i greped the sqlite files for the process name string, that the binary is saved there and it doesn't have to do anything with the files in the installers folder.

This feature is at least from my sight pretty important, because i want to deploy dozens of differently obfuscated GRR clients in my environment and don't want to bloat up the SQL databases with binaries.

I will look at the process behind the removage of a client as described in:
https://github.com/google/grr-doc/blob/master/maintaining-and-tuning/low-level-maintenance-with-console.md

Thanks for reopening the issue. 👍

from grr.

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.