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 files149
lewis-ricardo/amaranth-projectRevision 0a4aa5d06cfd
- ↑..Parent directory
- Plan.md
- STAGE06_FINAL_REPORT.md
- baseline2.py
- baseline3.py
- baseline_capture.py
- baseline_test.py
- bl_final.py
- build_quasar.ps1
- build_quasar_client.bat
- build_vm.py
- build_vm2.py
- capture_and_parse.py
- check_owner.py
- check_session.py
- check_session2.py
- check_vm.py
- check_vm2.py
- check_vm3.py
- check_vm_tools.py
- clean_full_test.py
- debug_baseline.py
- debug_ps1.py
- debug_stager.cs
- debug_stager.exe
- debug_stager.py
- debug_stager_test.exe
- debug_test2.exe
- decrypt_strings.py
- deploy_sysmon.py
- deploy_test.py
- deploy_test2.py
- diag.cs
- diag_amsi.cs
- diag_amsi.exe
- diag_amsi_new.exe
- diag_ntdll.cs
- diag_ntdll.exe
- diag_ntdll2.cs
- diag_ntdll2.exe
- diag_vm.py
- diag_vm2.py
- download_log.py
- dump_syscall.py
- dumper.cs
- etw_check.py
- fetch_log.py
- fix_and_test.py
- fix_vm.py
- force_kill.py
- gen_xor.py
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
Stage06/ssh_after_task.py
Python · 2,034 bytesimport paramiko, time
logf = r'D:\Desktop\网安程设\Amaranth_Project\Stage06\vm_after_task.txt'
ssh = paramiko.SSHClient()
ssh.set_missing_host_key_policy(paramiko.AutoAddPolicy())
try:
ssh.connect('192.168.30.136', username='lewis', password='lewis123', timeout=15, allow_agent=False, look_for_keys=False)
# Wait for 9:53 task to fire
print('Waiting 90s for scheduled task trigger...')
time.sleep(90)
with open(logf, 'w', encoding='utf-8') as f:
cmds = [
# Check C2 connections (new ones?)
'netstat -an | findstr 4782',
# Check if powershell.exe is running as stager
'tasklist /v | findstr /i "powershell"',
# Check debug log for new entries
'if exist C:\\Windows\\Temp\\dinvoke_debug.txt (findstr /i "START persist Persisted" C:\\Windows\\Temp\\dinvoke_debug.txt) else (echo NO LOG)',
# Check if mscorsvc.ps1 is still there (if task ran, PS runs in memory, file should persist)
'if exist C:\\Windows\\Temp\\mscorsvc.ps1 (echo PS1 STILL EXISTS) else (echo PS1 IS GONE)',
# WMI - try as admin (if lewis is admin)
'whoami',
'net localgroup Administrators',
'powershell -NoP "Get-WmiObject -Namespace root\\\\subscription -Class __EventFilter 2>$null | Select Name,Query"',
# Time
'echo %date% %time%',
]
for cmd in cmds:
f.write(f'>>> {cmd}\n')
stdin, stdout, stderr = ssh.exec_command(cmd, timeout=15)
out = stdout.read().decode('utf-8', errors='replace').strip()
err = stderr.read().decode('utf-8', errors='replace').strip()
if out: f.write(f'{out[:800]}\n')
if err: f.write(f'ERR: {err[:200]}\n')
f.write('---\n')
time.sleep(0.5)
ssh.close()
print('DONE')
except Exception as e:
with open(logf, 'a', encoding='utf-8') as f:
f.write(f'Error: {e}\n')
print(f'Error: {e}')