• XSS.stack #1 – первый литературный журнал от юзеров форума

Мануал/Книга How to use Putty as a SOCKS Proxy

Deltaplan

RAID-массив
Пользователь
Регистрация
17.10.2024
Сообщения
90
Реакции
51
Guides

Ever stuck in an environment where your internet access isn’t what you want it to be? Ever need to exfilrate data and bypass some DLP? Obviously I’m talking like a pentester (don’t use this if it beaks policies on anohers assets) so this is useful for some scenarios in testing but also in real life!

How to Guide​

  1. Run Putty
  2. Configure an SSH Session
    1. OPSEC note, if you save the session it leaves evidence, might sound obvious but you know fingerprints are real!
    2. word-image-3281-1.png
  3. Goto SSH > Tunnels and configure as required
  4. Graphical user interface, applicationDescription automatically generated
  5. Key point here is to use DYNAMIC for destination and to configure a source PORT e.g., 1337 (TCP)
  6. Finaly when you are happy with the configuration click Add
  7. Now connect to the SSH Server
  8. Reconfigure your browser/system to use the SOCKS5 proxy 127.0.0.1:1337
  9. Browse the internet
You can use a service like https://ipinfo.io to check your ip address.

You can also use PLINK!

https://www.chiark.greenend.org.uk/~sgtatham/putty/

Remember a SOCKS proxy works with TCP and UDP (works for DNS etc) so you can use them to pivot around networks as well as evade traffic controls (in some instances).

© https://www.pwndefend.com/2022/06/25/how-to-use-putty-as-a-socks-proxy/

P.S.

Баян конечно, но вдруг кто не знал ещё.
 


Напишите ответ...
  • Вставить:
Прикрепить файлы
Верх