DEF CON Forum Site Header Art

The Artful Bastion - Chronicles of a Black-Belt Session Knight

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • VincenzoDush
    Member
    • Jul 2025
    • 1

    #1

    The Artful Bastion - Chronicles of a Black-Belt Session Knight

    Hey DEF CON community,

    I wanted to share my experience with developing a C++ mini web server that balances robust security with the spirit of open collaboration. In the world of infosec, we often find ourselves walking a fine line between sharing knowledge and protecting our creations.

    My server is designed with a fortress-like mentality, incorporating advanced cryptographic techniques to ensure that even if I share my code, it remains secure. Each session is protected with a HMAC-signed session ID, acting as an unforgeable passport for users. Passwords are encrypted using AES-CTR before they traverse the network, and the database is secured with ChaCha20-Poly1305, ensuring that sensitive data remains safe even if intercepted.

    I believe that sharing code is crucial for innovation and learning, but it’s equally important to implement strong security measures. By using PBKDF2-HMAC-SHA256 for password storage and a cryptographically secure RNG for key generation, I can confidently share my work without the fear of it being easily compromised.

    In a world where knowledge is power, I want to contribute to the community while ensuring that my server remains a black-belt session knight—fast, secure, and ready to defend against threats. Let’s continue to share our knowledge and tools, but let’s do it smartly and securely.

    Looking forward to your thoughts and feedback!
    Last edited by VincenzoDush; July 6, 2025, 01:07.
  • nora3467
    Member
    • Jul 2025
    • 1

    #2
    This is awesome work, really cool balance between open sharing and strong security. Love the use of modern crypto like ChaCha20 and HMACs. Would be great to see the code or a demo if you're open to sharing.

    Comment

    Working...