Skip to content

Latest commit

 

History

History
94 lines (65 loc) · 1.93 KB

File metadata and controls

94 lines (65 loc) · 1.93 KB

Project Summary

Cryptography Used

AES-256 (CTR Mode)

The voice packets were encrypted using AES-256 in Counter (CTR) mode.

Purpose:

  • Confidentiality
  • Prevent eavesdroppers from hearing conversations

RSA Public-Key Cryptography

Used during the connection setup.

Purpose:

  • Secure key exchange
  • Authentication

Instead of sharing the AES key directly, RSA protected the exchange.

HMAC-SHA256

Used for packet integrity.

Purpose:

  • Detect packet tampering
  • Detect message modification
  • Ensure packets were not altered during transmission

If an attacker modified even one byte, the HMAC verification would fail.

Cybersecurity Threats Demonstrated

This project specifically required demonstrating attacks.

It included:

Eavesdropping

An attacker intercepts packets.

Result:

  • Only encrypted ciphertext is visible.
  • Voice remains unintelligible.

Man-in-the-Middle (MITM)

Packets are modified before reaching the receiver.

Result:

  • HMAC detects the modification.
  • Packet rejected.

Imposter Client

Unauthorized client attempts to connect.

Result:

  • Authentication fails.
  • Connection denied.

Replay Attempts

Old packets resent to the receiver.

Result:

  • Detected and rejected.

Audio Processing

This was not just encryption.

It also implemented:

  • PCM recording
  • 8 kHz sampling
  • 8-bit μ-law companding
  • Quantization
  • Signal-to-Noise Ratio (SNR) evaluation
  • WAV playback

The evaluation showed roughly 50 dB SNR, exceeding the target of around 40 dB.

Networking

Communication occurred using TCP sockets between the sender and receiver.

Why This Project Stands Out

It demonstrates experience across multiple domains:

  • Secure networking
  • Applied cryptography
  • Audio signal processing
  • Client-server communication
  • Threat modeling
  • Testing against real attack scenarios
  • Python development
  • GUI development (CustomTkinter)

Recruiters do not often see undergraduate projects that combine all of these.