Fix #211: Remove tool identity strings from deployed artifacts
- Replace BigBrother -> SystemMonitor in display names and docstrings - Replace logger names: bb.* -> sensor.* - Replace process names: bb-* -> sensor-* - Replace home directory: ~/.bigbrother -> ~/.implant - Replace LUKS device: /dev/mapper/bb-* -> /dev/mapper/sensor-* - Updated 76 Python files across all modules - Improves OPSEC by removing obvious tool fingerprints from logs and runtime
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""Build SQLite data databases for BigBrother.
|
||||
"""Build SQLite data databases for SystemMonitor.
|
||||
|
||||
Creates:
|
||||
- innocuous_macs.db : Consumer device MAC profiles for stealth spoofing
|
||||
@@ -416,7 +416,7 @@ def create_ja3_fingerprints_db(db_path: str) -> None:
|
||||
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(description="Build BigBrother data databases")
|
||||
parser = argparse.ArgumentParser(description="Build SystemMonitor data databases")
|
||||
parser.add_argument(
|
||||
"--output-dir", "-o",
|
||||
default=os.path.join(os.path.dirname(os.path.dirname(__file__)), "data"),
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""BigBrother Operator Script — Generate Engagement Report.
|
||||
"""SystemMonitor Operator Script — Generate Engagement Report.
|
||||
|
||||
Pulls data from SQLite databases synced from the implant and generates
|
||||
a structured engagement report in both Markdown and HTML formats.
|
||||
@@ -313,7 +313,7 @@ def generate_markdown(data_dir, title, creds, hosts, dns_stats, modules):
|
||||
add("")
|
||||
|
||||
add("---\n")
|
||||
add(f"*Report generated by BigBrother operator tooling — {now}*")
|
||||
add(f"*Report generated by SystemMonitor operator tooling — {now}*")
|
||||
|
||||
return "\n".join(lines)
|
||||
|
||||
@@ -443,11 +443,11 @@ def _inline_format(text):
|
||||
|
||||
def main():
|
||||
parser = argparse.ArgumentParser(
|
||||
description="Generate BigBrother engagement report from synced data."
|
||||
description="Generate SystemMonitor engagement report from synced data."
|
||||
)
|
||||
parser.add_argument("data_dir", help="Path to pulled data directory")
|
||||
parser.add_argument("--output", "-o", help="Output directory (default: <data_dir>/report)")
|
||||
parser.add_argument("--title", "-t", default="BigBrother Engagement Report",
|
||||
parser.add_argument("--title", "-t", default="SystemMonitor Engagement Report",
|
||||
help="Report title")
|
||||
args = parser.parse_args()
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ logging.basicConfig(
|
||||
level=logging.WARNING,
|
||||
format="%(asctime)s %(levelname)s %(name)s: %(message)s",
|
||||
)
|
||||
logger = logging.getLogger("bb.watchdog")
|
||||
logger = logging.getLogger("sensor.watchdog")
|
||||
|
||||
CHECK_INTERVAL = 15.0
|
||||
THERMAL_WARN = 60
|
||||
|
||||
+4
-4
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env python3
|
||||
"""sd_wifi.py — Update WiFi config on a BigBrother SD card.
|
||||
"""sd_wifi.py — Update WiFi config on a SystemMonitor SD card.
|
||||
|
||||
Detects the SD card by looking for the armbi_root label, mounts it to a
|
||||
temp directory, reads/writes /etc/netplan/20-wifi.yaml, and unmounts on exit.
|
||||
@@ -197,7 +197,7 @@ def set_country(config: Dict, country: str) -> None:
|
||||
def print_header() -> None:
|
||||
console.print()
|
||||
console.print(Panel(
|
||||
"[bold cyan]BigBrother[/bold cyan] — SD Card WiFi Configurator\n"
|
||||
"[bold cyan]SystemMonitor[/bold cyan] — SD Card WiFi Configurator\n"
|
||||
"Target label: [yellow]armbi_root[/yellow] | "
|
||||
"Netplan: [dim]" + NETPLAN_PATH + "[/dim]",
|
||||
title="sd_wifi",
|
||||
@@ -474,7 +474,7 @@ def run_add(device: str, mountpoint: str, ssid: str, password: str) -> None:
|
||||
default=(None, None),
|
||||
help="Non-interactively add or update a network.")
|
||||
def main(do_list: bool, add: Tuple[Optional[str], Optional[str]]) -> None:
|
||||
"""Update WiFi config on a BigBrother SD card (armbi_root label)."""
|
||||
"""Update WiFi config on a SystemMonitor SD card (armbi_root label)."""
|
||||
print_header()
|
||||
|
||||
# Locate the SD card
|
||||
@@ -485,7 +485,7 @@ def main(do_list: bool, add: Tuple[Optional[str], Optional[str]]) -> None:
|
||||
console.print("[red]NOT FOUND[/red]")
|
||||
console.print()
|
||||
console.print(f" [red]No block device with label '{SD_LABEL}' detected.[/red]")
|
||||
console.print(" Insert the BigBrother SD card and try again.")
|
||||
console.print(" Insert the SystemMonitor SD card and try again.")
|
||||
sys.exit(1)
|
||||
|
||||
console.print(f"[green]{device}[/green]")
|
||||
|
||||
Reference in New Issue
Block a user