Yes but only with osquery extensions. In an extension, a table can/could be implemented that changes the host configuration.
t
theopolis
07/10/2020, 10:51 PM
Welcome!
What do you mean by “change configuration”? Can you describe at a high level what you are looking to accomplish?
s
Sean Bowles
07/10/2020, 11:24 PM
Mike may have answered it. Consider something like the hosts file (https://osquery.io/schema/4.4.0/#etc_hosts) Can I "INSERT INTO etc_hosts "myhostname" "10.0.0.1"" and update the system's hosts file? (ignoring invalid SQL syntax)
t
theopolis
07/10/2020, 11:48 PM
Got it, yeap! There should be some example extensions that do INSERTs. @Mike Myers know of any we can link Sean to?