Forem

Gabriel Tetzner Menegueti
Gabriel Tetzner Menegueti

Posted on • Edited on

3 1

Capturando tráfego com tcpdump

Sobre

Tutorial desenvolvido para capturar tráfego de rede com a ferramenta tcpdump.

AVISO

  • Não me responsabilizo pelo o uso desses tutoriais/estudos para fins malignos. Esses tutoriais/estudos são voltados para pessoas de interesse na área de Segurança da Informação e Perícia Forense Computacional.

  • Todos esses tutoriais/estudos foram testados em ambientes isolados por mim.

  • Lembrem-se de que usar essas informações para hackear ou invadir dispositivos alheios é CRIME previsto na Lei 14.155/2021.

Ambientes usados

  • Maquina Virtual Kali Linux (Atacante)
  • Maquina Virtual com Windows (Alvo)

Instalação

$ sudo apt update -y
Enter fullscreen mode Exit fullscreen mode
$ sudo apt install tcpdump -y
Enter fullscreen mode Exit fullscreen mode

Iniciando captura do tráfego

Capturar pacotes de host específico

$ sudo tcpdump -v host (ipaddress) -w captura.pcap
Enter fullscreen mode Exit fullscreen mode

Capturar pacotes da rede específica

$ sudo tcpdump -v net (networkaddress/mask) -w captura.pcap
Enter fullscreen mode Exit fullscreen mode

ou

$ tcpdump captura.pcap
Enter fullscreen mode Exit fullscreen mode

Teste

$ sudo tcpdump -v host 192.168.15.143 -w capturas.pcap
Enter fullscreen mode Exit fullscreen mode

Recomendação

  • Visualizar com Wireshark ou programas com o mesmo proposito.

Imagens do tráfego capturado

Image description

Image description

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay