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

decode_data crashes in svcscan #1478

Open
atcuno opened this issue Dec 27, 2024 · 0 comments
Open

decode_data crashes in svcscan #1478

atcuno opened this issue Dec 27, 2024 · 0 comments
Assignees

Comments

@atcuno
Copy link
Contributor

atcuno commented Dec 27, 2024

@dgmcdona - can you fix this one? Assigning to me until I can assign tickets to you directly.

https://github.com/volatilityfoundation/volatility3/blob/develop/volatility3/framework/plugins/windows/svcscan.py#L212

File "/home/ub/volatility3/volatility3/cli/__init__.py", line 501, in run
    renderer.render(grid)
  File "/home/ub/volatility3/volatility3/cli/text_renderer.py", line 232, in render
    grid.populate(visitor, outfd)
  File "/home/ub/volatility3/volatility3/framework/renderers/__init__.py", line 241, in populate
    for level, item in self._generator:
  File "/home/ub/volatility3/volatility3/framework/plugins/windows/svcscan.py", line 380, in _generator
    service_table_name, service_binary_dll_map, filter_func = self.get_prereq_info(
                                                              ^^^^^^^^^^^^^^^^^^^^^
  File "/home/ub/volatility3/volatility3/framework/plugins/windows/svcscan.py", line 368, in get_prereq_info
    cls._get_service_binary_map(services_key)
  File "/home/ub/volatility3/volatility3/framework/plugins/windows/svcscan.py", line 230, in _get_service_binary_map
    SvcScan._get_service_binary(service_key),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ub/volatility3/volatility3/framework/plugins/windows/svcscan.py", line 212, in _get_service_binary
    .decode_data()
     ^^^^^^^^^^^^^
  File "/home/ub/volatility3/volatility3/framework/symbols/windows/extensions/registry.py", line 320, in decode_data
    data = layer.read(self.Data + 4, datalen)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@atcuno atcuno self-assigned this Dec 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant