Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server works - linux client works -- Windows client fails #1064

Open
overvotcher opened this issue Mar 19, 2024 · 0 comments
Open

Server works - linux client works -- Windows client fails #1064

overvotcher opened this issue Mar 19, 2024 · 0 comments

Comments

@overvotcher
Copy link

Server version is 3.4.7.1

No issue so far with server and accessing port 8000
Ubuntu is host for server 20.04
Downloaded linux client to localserver machine and client is detected by server.

Down loaded and tried both the windows client and the debug windows client on windows 10 and windows 11.
with the debug version of client, I get the same message on both windows 10 and windows 11 client machines:


C:\Windows\System32\GRR\3.4.7.1>grr.exe --config gre.exe.yaml --verbose
Traceback (most recent call last):
File "grr_response_core\lib\config_lib.py", line 1187, in InterpolateValue
File "grr_response_core\lib\config_lib.py", line 438, in Parse
File "grr_response_core\lib\lexer.py", line 196, in Close
File "grr_response_core\lib\lexer.py", line 134, in NextToken
File "grr_response_core\lib\config_lib.py", line 406, in Filter
File "grr_response_core\lib\config_lib.py", line 268, in Filter
grr_response_core.lib.config_lib.FilterError: Unable to find resource install_data/etc@grr-response-core while interpolating:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "grr_response_core\lib\config_lib.py", line 1187, in InterpolateValue
File "grr_response_core\lib\config_lib.py", line 438, in Parse
File "grr_response_core\lib\lexer.py", line 196, in Close
File "grr_response_core\lib\lexer.py", line 134, in NextToken
File "grr_response_core\lib\config_lib.py", line 424, in ExpandArg
File "grr_response_core\lib\config_lib.py", line 1050, in Get
File "grr_response_core\lib\config_lib.py", line 1198, in InterpolateValue
grr_response_core.lib.config_lib.FilterError: Unable to find resource install_data/etc@grr-response-core while interpolating: : %(install_data/etc@grr-response-core|resource)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "Lib\site-packages\grr_response_client\client.py", line 36, in
File "absl\app.py", line 308, in run
File "absl\app.py", line 254, in _run_main
File "grr_response_client\client_main.py", line 71, in main
File "grr_response_client\client_startup.py", line 21, in ClientInit
File "grr_response_core\lib\config_lib.py", line 1514, in ParseConfigCommandLine
File "grr_response_core\lib\config_lib.py", line 987, in getitem
File "grr_response_core\lib\config_lib.py", line 1050, in Get
File "grr_response_core\lib\config_lib.py", line 1198, in InterpolateValue
grr_response_core.lib.config_lib.FilterError: Unable to find resource install_data/etc@grr-response-core while interpolating: : %(install_data/etc@grr-response-core|resource): %(Config.directory)/server.local.yaml
[21836] Failed to execute script 'client' due to unhandled exception!

My assumption is client is looking for server,local.yaml.
There is no such file installed on client.


GRE.EXE.yaml file on the client is:
CA.certificate: '-----BEGIN CERTIFICATE-----

MIIC2zCCAcOgAwIBAgIBATANBgkqhkiG9w0BAQsFADAgMREwDwYDVQQDDAhncnJf

dGVzdDELMAkGA1UEBhMCVVMwHhcNMjQwMzE4MDMwMjQ0WhcNMzQwMzE3MDMwMjQ0

WjAOMQwwCgYDVQQDDANncnIwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB

AQDKgiwLEPIToXw9jPBZmptuK/YTesnMYJgSVuLeV7Z2i1Xl7cb9TICNOkndOdSP

bnPbV09DXeLmFEmPcmBE2OAcDRIghHd6dwlVA5CMEsBc5pvB7QklMdJDsXrSF2r6

9SjFHhs2GQUrlhDg6ygQEw1bn6R2vAIVk0pHvOTapjSMtnds3dHWYBgjlpj6pIxj

Gb93Pz2TRxAjSLsOczdLHxmXCNdFDtYO7KSMo9zKHmBGWiqZehuGrWii7DNenBCS

Hj+KPcIxcKKtgA5/UqNsDWTyioXFs+0aQqwqo/G3tlYWcyVXPBpYMjobBN4rrroX

nDx3g2puGJMxJFiMXunXHLtBAgMBAAGjMjAwMA8GA1UdEwEB/wQFMAMBAf8wHQYD

VR0OBBYEFCQpi1ipMN2xvJfW1tUxVZoYUdAVMA0GCSqGSIb3DQEBCwUAA4IBAQAp

F0vI6fgFOejzbq72cP03Fnv40dojrzvSjLKBGSZuXyUML/2+y74TkvIvlhxVdIcw

jozl9ZvzU132ZQNrBX15Du2Fjr7grIyLTjcqTGEI0CZY6Yn7CspGsMD8wJD56EZM

Exl9Xf1ocg5S2zEuApcdc3WLQqpnN1F6NXuR6BSINAviBMhAf6X5seOvN2Ty/Fbz

UyH0cKcFax52LOk3yFu/iEgLz7qdNXxC2dluAfPrUFXzUEI7fhr61gb+X8IMAIte

08oouhkFOcYvhSDuy+zdtY6SJxdrGxFcwXnirUI+UvZzfel8RMSpPo3fwDc1h4Eb

QMdlSA2bp1hwnLx6YaGJ

-----END CERTIFICATE-----'
Client.arch: amd64
Client.binary_name: '%(Client.name).exe'
Client.build_environment: Windows_10_64bit
Client.build_time: '2023-10-24T17:30:44.065642+00:00'
Client.company_name: GRR Project
Client.deploy_time: '2024-03-19 03:04:19'
Client.description: '%(name) %(platform) %(arch)'
Client.executable_signing_public_key: '-----BEGIN PUBLIC KEY-----

MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA5Yl+2fNAd8Osa0kMzmxf

BA1rvk5Y+ErDiO6cHK6iCtPh47TzJoGxo2HXzr0XIbRplhkvxqx4IZlACaJqUjqj

HjtUL2E7k8fOz79C5LWQPai0SAFOQZqzh6koskjnGXQLe3Kc0P4JC07hvgl0bZp7

YFZAsxVpscL7qoz5pz03aMyvYsjQuu6XqiqGgMm9aIfusvW0q1XjtZL4YzYZ9Qch

xrpn4J2eLkrpXohEHyCmQVLEkhxKIwnmfnb69ZU/P76VzCQ5Km1SfUF/B8rJFkjf

mhA6/FdEz1qAHcy0jv1mfux3L7vSfFv0dxTdd+jL2Tuoko5OZ58jE9+uhCe97XVo

0wIDAQAB

-----END PUBLIC KEY-----'
Client.fleetspeak_enabled: true
Client.foreman_check_frequency: 30
Client.grr_tempdir: Temp
Client.install_path: '%(SystemRoot|env)\System32\%(Client.name)\%(Source.version_string)'
Client.name: GRR
Client.platform: windows
Client.poll_max: 5
Client.prefix: dbg_
Client.rss_max: 4000
Client.server_urls:

  • http://HP:8080/
    Client.tempdir_roots:
  • '%(install_path)'
    Client.use_filesystem_sandboxing: true
    Client.use_memory_sandboxing: true
    Config.includes:
  • build.yaml
    Config.writeback: reg://%(Client.config_hive)/%(Client.config_key)
    Logging.domain: localhost
    Logging.engines: file,stderr,event_log
    Logging.filename: '%(path)\%(Client.name).log'
    Logging.path: '%(WINDIR|env)\System32\logfiles\'
    Logging.verbose: true
    Template.arch: amd64
    Template.build_context:
  • Target:Windows
  • ClientBuilder Context
  • ClientBuilder Context
  • Arch:amd64
  • Platform:Windows
  • Target:Windows
  • Target:WindowsMsi
    Template.build_type: Release
    Template.version_major: '3'
    Template.version_minor: '4'
    Template.version_release: '1'
    Template.version_revision: '7'

Server works fine with local linux client.

Any help pointing me in correct direction is greatly appreciated.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant