Open-source botnet framework

BYOB

BYOB (Build Your Own Botnet) is an open-source, Python post-exploitation framework published by a developer going by malwaredllc for security research and education. It gives an operator a command-and-control server and a point-and-click web dashboard to build cross-platform payloads and run post-exploitation modules against Windows, Linux, and macOS. It is a dual-use tool: written to teach how botnets work, and picked up by real operators to run live ones.

The framework is legitimate by design, and it is profiled here because its servers turn up in the wild. An exposed BYOB panel is worth a closer look, not a confirmed attack, since it may be a researcher's lab as easily as an operator's C2.

Quick facts
  • Aliases: BYOB, Build Your Own Botnet
  • Type: dual-use open-source post-exploitation and botnet framework
  • Author: malwaredllc, open source
  • Project: github.com/malwaredllc/byob (open-source framework, referenced as text only, not linked)
  • Written in: Python
  • Interfaces: a console application and a web GUI dashboard
  • Web GUI port: 5000, where Hunt.io sees the live panels
  • Platforms: Windows, Linux, and macOS
  • Capabilities: payload generation, remote-import modules, keylogging, persistence, anti-analysis
  • Actively tracked
  • Open-source framework
The panel

The web GUI on port 5000 and the modules it imports

BYOB runs two control interfaces over one framework. The console application drives the C2 server from a terminal, and the web GUI serves a browser dashboard where an operator builds payloads and launches modules with a few clicks. Hunt.io tracks the web GUI, which answers on port 5000 by default, so that panel is the part of a BYOB deployment visible from the outside.

BYOB panels on port 5000 in Hunt.io's C2 Infrastructure view, with the month's live IP and domain countsFigure 01. BYOB in Hunt.io's C2 Infrastructure view. The panel answers on port 5000, and the chart tracks how many stayed reachable through the month.

What makes the framework flexible for an operator is its remote-import design. Any Python module dropped into the framework's modules directory becomes importable by every connected client while the C2 server runs, so new capabilities like keylogging or persistence are added to live clients without rebuilding or enlarging the payload. The payload port the clients call home on is the operator's choice and varies between deployments, but the web GUI port stays constant, which is what a detection filter keys on.

Live panels

BYOB IOC feed: exposed dashboards on 5000

Last updated on —.

Live BYOB panels show up in Hunt.io across the trailing 30 days. They answer on port 5000, the web GUI port, which is the clearest single tell that a host is running the framework's dashboard rather than something else.

With the current panels and their hosting in one place, you can recognize a BYOB dashboard on sight and check an incident IP against the known controllers.

HuntSQL

Narrowing to BYOB dashboards on port 5000 with HuntSQL

Hunt.io tracks BYOB servers as a family, so the count of live panels is one query over the C2 infrastructure data:

count unique active servers
SELECT uniq(ip) AS unique_ips
FROM malware
WHERE malware.name = 'BYOB'
  AND is_active = true

Where BYOB's live panels sit says something about who is standing them up, so grouping the active set by country gives that spread at a glance:

group results
SELECT asn.country_code, uniq(ip) AS panels
FROM malware
WHERE malware.name = 'BYOB'
  AND is_active = true
GROUP BY asn.country_code
ORDER BY panels DESC

To list the active panels, deduplicated by host, port, and network:

group results
SELECT ip, port, asn.name, asn.country_code
FROM malware
WHERE malware.name = 'BYOB'
  AND is_active = true
GROUP BY ip, port, asn.name, asn.country_code
ORDER BY ip DESC

Output example:

Live BYOB panels in Hunt.io's SQL results on port 5000Figure 02. The active BYOB panels returned by the query, both on the 5000 web GUI port.

Two pivots widen the view beyond the family tag. The web GUI serves a consistent favicon, so the favicon hash 487145192 (an http.favicon.hash value on Shodan, an icon_hash on FOFA) matches BYOB dashboards that other fingerprints miss. The panel also has a documented unauthenticated remote code execution flaw, so a server that answers on 5000 and matches the favicon is worth confirming on the dashboard itself.

In the wild

BYOB campaigns and where panels turn up

Operators who run BYOB sometimes leave the whole deployment exposed, which turns the framework's own files into the best evidence of real-world use.

Using exposed open directory intelligence from AttackCapture, Hunt.io found a BYOB command-and-control server at 38.255.43.60 on port 8081, hosted by Hyonix in the United States, actively serving payloads. The open directory held a complete BYOB deployment, including droppers, stagers, payloads, and post-exploitation modules, with the infrastructure reused across several regions.

That case is the pattern to hunt: a BYOB panel plus the cross-platform payloads it builds, left reachable on the operator's own server.

Triage

Working a BYOB panel you have found

BYOB runs its control server as a Flask web GUI, and the dashboard on port 5000 is where an operator generates payloads, manages sessions, and pushes modules. The detail that matters for triage is how those modules arrive: the server sends them to the client over the network and the client loads them in memory, so a live panel can add keylogging, screenshots, persistence, or a packer to a client without ever writing the module to disk. A dashboard on 5000 with stagers built and clients connected is a different thing from a bare install sitting on a throwaway box.

Confirm it on the dashboard rather than the port, since operators move off 5000, then pull what the server exposes and pivot on it: the payloads and stagers it serves, the connected clients, the hosting, and any co-located tooling or exposed open directories. Keep the panel's own documented remote code execution in mind while you do, because it means an exposed BYOB server is open to takeover by anyone else who reaches it.

The exposed directories are usually where the context sits. A malware-name search for BYOB in Hunt.io's AttackCapture returns the operator boxes, including a directory on 176.65.132.226 that serves a BYOB panel on one port and a SparkRAT panel on another. Two frameworks stacked on one host reads as opportunistic abuse, and it is a stronger lead than the BYOB detection on its own, so treat the box as an anchor for detecting the wider C2 around it.

Beyond the live panels, BYOB servers surface where operators leave a directory exposed. A malware-name search in AttackCapture pulls those open directories:

BYOB open directories in Hunt.io's AttackCapture, searched by malware nameFigure 03. A malware-name search for BYOB in Hunt.io's AttackCapture, surfacing the exposed 176.65.132.226 directory that runs a BYOB panel and a SparkRAT panel on the same host.
Questions

BYOB detection FAQs

Is BYOB malware?

BYOB is a dual-use framework, not malware on its own. It is an open-source framework published for security research and education, and the same framework has been used by real operators to build and run botnets. A BYOB panel you did not authorize is worth investigating; the tool itself is not malware.

What does BYOB do?

It gives an operator a C2 server and a web dashboard to generate cross-platform payloads for Windows, Linux, and macOS, and to run post-exploitation modules such as keylogging, persistence, and anti-analysis against connected clients.

What port does a BYOB panel use?

The web GUI dashboard defaults to port 5000, which is where Hunt.io sees the live panels. The payload port that clients call home on is set per deployment and varies, so confirm on the web GUI rather than the client port.

How do you detect BYOB?

Look for the web GUI on port 5000, match the dashboard's favicon hash (487145192), and check the Hunt.io feed of live panels. An exposed deployment also gives itself away by the droppers, stagers, and modules served from the same host.

Is it legal to use BYOB?

Using it for authorized testing or education is legal. Building a real botnet, or using it to access systems without permission, is not, which is the line between the framework's intended use and its abuse.

Who made BYOB?

It is an open-source project published by a developer going by malwaredllc, written in Python and maintained on a public repository.