Skip to content

Create monkey bootloader for obsolete systems  #479

@ShayNehmad

Description

@ShayNehmad

Expected Behavior

When the Monkey successfully propagates to outdated systems (namely: Ubuntu 12< and Windows XP/2003<) we should report back that there a system that's very outdated.

Actual Behavior

After #393, we lost support for outdated systems since they don't support Python3. The Monkey fails to execute there.

This makes the monkey\infection_monkey\exploit\win_ms08_067.py exploit useless and some cases of SSH and SMB useless as well.

Specifications

Work plan:

  • Set up a testing env (Island on Ubuntu 18, victim is Windows 2003/XP. Use local ESX as no Cloud provides these OSes)
  • DDR
    • Pyinstaller Bootloading - write a small portable binary that will run before the Monkey using Pyinstaller bootloader. If it recognizes that it's on an outdated system - report back just that (perhaps with hostname and some basic info) and don't try to run the Monkey. We might have some licensing issues with that - https://github.com/pyinstaller/pyinstaller/wiki/FAQ#license
    • Bridgehead option - write a binary that is not the monkey that checks the OS and pulls a Monkey if it's compatible.
    • Try to have the Island figure out if the system is old, and don't run any code on it.
    • Think about more options.

Metadata

Metadata

Labels

FeatureIssue that describes a new feature to be implemented.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions