sandbox-cli 0.2.31__tar.gz → 0.2.32__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/PKG-INFO +1 -1
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/pyproject.toml +1 -1
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/cli/scanner/__init__.py +10 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/scanner/advanced.py +4 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/.gitignore +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/LICENSE +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/NOTICE +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/README.md +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/__main__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/cli/__init__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/cli/downloader.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/cli/images.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/cli/reporter.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/cli/rules/__init__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/cli/unpack.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/console.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/internal/__init__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/internal/config.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/internal/helpers.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/models/__init__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/models/detections.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/models/sandbox_arguments.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/__init__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/compiler/__init__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/compiler/abc.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/compiler/docker.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/compiler/ssh.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/downloader/__init__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/extractors.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/merge_dll_hooks.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/scanner/__init__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/scanner/rescan.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/unpack/__init__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/unpack/plugins/__init__.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/unpack/plugins/abc.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/unpack/plugins/correlation.py +0 -0
- {sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/unpack/plugins/sort_by_plugins.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sandbox-cli
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.32
|
|
4
4
|
Summary: Command line tool for interaction with sandboxes
|
|
5
5
|
Project-URL: Homepage, https://github.com/Security-Experts-Community/sandbox-cli
|
|
6
6
|
Project-URL: Documentation, https://security-experts-community.github.io/sandbox-cli
|
|
@@ -586,6 +586,15 @@ async def scan_new(
|
|
|
586
586
|
negative="",
|
|
587
587
|
),
|
|
588
588
|
] = None,
|
|
589
|
+
outbound_connections: Annotated[
|
|
590
|
+
list[str] | None,
|
|
591
|
+
Parameter(
|
|
592
|
+
name=["--outbound-connections", "-oc"],
|
|
593
|
+
help="Whitelist of IP addresses to which connections from a VM are allowed (backconnect)",
|
|
594
|
+
group="Sandbox Options",
|
|
595
|
+
negative="",
|
|
596
|
+
),
|
|
597
|
+
] = None,
|
|
589
598
|
all: Annotated[
|
|
590
599
|
bool,
|
|
591
600
|
Parameter(
|
|
@@ -725,4 +734,5 @@ async def scan_new(
|
|
|
725
734
|
procdumps=procdumps,
|
|
726
735
|
decompress=decompress,
|
|
727
736
|
open_browser=open_browser,
|
|
737
|
+
outbound_connections=outbound_connections,
|
|
728
738
|
)
|
|
@@ -81,6 +81,7 @@ async def _prepare_sandbox_new_scan(
|
|
|
81
81
|
disable_clicker: bool,
|
|
82
82
|
skip_sample_run: bool,
|
|
83
83
|
vnc_mode: VNCMode,
|
|
84
|
+
outbound_connections: list[str] | None,
|
|
84
85
|
) -> tuple[Sandbox, SandboxOptionsAdvanced, set[VMImage | str]]:
|
|
85
86
|
sandbox = Sandbox(key=sandbox_key)
|
|
86
87
|
|
|
@@ -161,6 +162,7 @@ async def _prepare_sandbox_new_scan(
|
|
|
161
162
|
sandbox_options.custom_command = custom_command
|
|
162
163
|
|
|
163
164
|
# add extra options
|
|
165
|
+
sandbox_options.debug_options["allowed_outbound_connections"] = outbound_connections or []
|
|
164
166
|
sandbox_options.procdump_new_processes_on_finish = not no_procdumps_on_finish
|
|
165
167
|
sandbox_options.bootkitmon = bootkitmon
|
|
166
168
|
sandbox_options.analysis_duration_bootkitmon = bootkitmon_duration
|
|
@@ -206,6 +208,7 @@ async def scan_internal_advanced(
|
|
|
206
208
|
procdumps: bool,
|
|
207
209
|
decompress: bool,
|
|
208
210
|
open_browser: bool,
|
|
211
|
+
outbound_connections: list[str] | None,
|
|
209
212
|
) -> None:
|
|
210
213
|
key = get_key_by_name(key_name)
|
|
211
214
|
sandbox_sem = asyncio.Semaphore(value=key.max_workers)
|
|
@@ -355,6 +358,7 @@ async def scan_internal_advanced(
|
|
|
355
358
|
disable_clicker,
|
|
356
359
|
skip_sample_run,
|
|
357
360
|
vnc_mode,
|
|
361
|
+
outbound_connections,
|
|
358
362
|
)
|
|
359
363
|
max_image_length = max(len(x) for x in images)
|
|
360
364
|
for i, image_id in enumerate(images):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{sandbox_cli-0.2.31 → sandbox_cli-0.2.32}/sandbox_cli/utils/unpack/plugins/sort_by_plugins.py
RENAMED
|
File without changes
|