Skip to content

Windows-Dropper does not work properly (python error) #798

@gituser2k16

Description

@gituser2k16

Describe the bug

The Infection Monkey Windows Dropper doesn't run any Python Collectors neither 32 nor 64bit.

To Reproduce

Steps to reproduce the behavior:

  1. Deploy Monkey Island on Linux Docker with default settings
  2. "Run on a machine of your choice": Windows10 1803 Enterprise machine
  3. Nothing happens no network scans at all Monkey Island gets only the Machine Name and thats it

Expected behavior

Standard Collection with minimal network scan and information harvesting.
On Linux Monkeys everything works as expected.

Error Message Logs

2020-08-21 12:34:04,932 [16760:16380:INFO] windows_info_collector.get_installed_packages.54: getting installed packages
2020-08-21 12:34:05,129 [16760:16380:ERROR] main.main.137: Exception thrown from monkey's start function. More info: 'charmap' codec can't decode byte 0x81 in position 25: character maps to
Traceback (most recent call last):
File "monkey\infection_monkey\main.py", line 128, in main
File "monkey\infection_monkey\monkey.py", line 142, in start
File "monkey\infection_monkey\monkey.py", line 247, in collect_system_info_if_configured
File "monkey\infection_monkey\system_info_init_.py", line 46, in get_info
File "monkey\infection_monkey\system_info\windows_info_collector.py", line 46, in get_info
File "monkey\infection_monkey\system_info\windows_info_collector.py", line 55, in get_installed_packages
File "c:\monkey_env\infectionmonkey64\lib\encodings\cp1252.py", line 23, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 25: character maps to

After that cleanup is started

Machine version:

  • OS: Windows10 1803 Enterprise
  • Monkey Versions tested: 1.9.0+192 an 1.8.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions