
Proxy Socks4a che sfrutta PIC, WebSocket e offuscamento statico a livello di assembly.
Questo progetto implementa un proxy Socka4a basato su websockets.
Il componente client è implementato in C e viene compilato fino a ottenere codice completamente indipendente dalla posizione (PIC).
Durante il processo di compilazione, l'offuscamento viene applicato a livello di assembly sfruttando un secondo strumento: SpiderPIC situato in LastenPIC/SpiderPIC
L'offuscamento include:
Questo serve a rompere le firme statiche, tuttavia devi tenere presente che gli hash delle API, le stringhe e altre costanti non vengono offuscati durante questo processo.
Il makefile produce entrambi: il client socks PIC e un loader di esempio per lo shellcode. Puoi chiamare lo shellcode usando il seguente prototipo:
DWORD lastenzug(PWSTR wServerName, PWSTR wPath, DWORD port, PWSTR proxy, PWSTR pUserName, PWSTR pPassword);
Il loader di esempio incorpora lo shellcode nel suo segmento .text e può essere chiamato nel seguente modo:
.\LastenLoader.exe --server [host] --path [path used by server] --port [port]
cd Server && go build -o LastenServer
./LastenServer server --addr ws://0.0.0.0:8080/lastenzug