Skip to content

FakeNet not out of the box in REMnux #739

@emtuls

Description

@emtuls

What's the problem?

While not directly FlareVM related, we do make a custom script to assist with modifying REMnux a little bit with our own small mods via our build script and config.

With this, we can make a crucial adjustment to FakeNet to make it work out of the box when REMnux is used as a standalone Linux Malware analysis environment.

Currently, FakeNet sets its NetworkMode to Auto, which defaults to MultiHost on Linux. This is an issue for a standalone analysis VM and causes FakeNet to not work at all with an error of Cannot fix gateway, as MultiHost is intended to be for when there are multiple VMs connected, not for a single VM being used on its own.

With REMnux being primarily used as a standalone Linux Malware Analysis environment for us, it makes more sense for FakeNet to default to SingleHost mode, which allows everything to work as intended on Linux.

I propose we make a small adjustment to the default.ini (located at /opt/fakenet-ng/lib/python3.8/site-packages/fakenet/configs/default.ini ) in REMnux to force SingleHost for NetworkMode.

Steps to Reproduce

  1. Start REMnux
  2. Try using FakeNet (sudo fakenet)
  3. Note that pings, curls, and browsing to websites does not work as intended with FakeNet.

Environment

REMnux

Additional Information

No response

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions