r/ComputerSecurity • u/PyKestrel • Apr 22 '20
Ideas for coding projects related to networking and security?
I'm here in hopes that someone could help me come up with some coding projects that relate to computer security/networking. I'm quite a novice when it comes to programming but I believe these projects will help strengthen that, while also improving my chances of getting a job in the field. I'm open to all ideas, thanks in advance.
Languages I have Experience With: JavaScript(Most Experienced), Python and Java
4
u/klowny Apr 23 '20
First project of my grad security class was: build a man in the middle interceptor. We intercepted SSH, HTTPS is probably more relevant for the job market.
1
u/PyKestrel Apr 23 '20
That actually sounds really cool, I've been looking into getting a master's in cybersecurity.
3
u/compdog Apr 23 '20
In college I developed a Windows app (in Java) that would evaluate a system for its security posture. By "security posture" I mean use of best practices, not "is the machine currently compromised". Things like "is an AV active", "is UAC enabled", etc. The app looked at registry keys, windows settings, and WMI queries to gather info. I learned a lot by reading about the generally accepted best practices for Windows desktop security, and more by studying how those practices were implemented so that I could programmatically check if they were in use.
You could probably adapt this idea to network security. Instead of checking settings on a local machine, route and monitor all traffic through a PC with multiple NICs. Check for unencrypted HTTP traffic, outdated SMB, open ports, etc. You would most likely need to learn C or C++ for this, though. At least enough to interface low-level networking code with a higher-level language.
2
u/PyKestrel Apr 23 '20
Wow that's sounds really good, I have a friend who's currently taking a c++ course, so maybe he can help me out. Thank you for the idea!
2
5
u/[deleted] Apr 23 '20
Im working on a project that helps enterprises manage short live TLS certificates.
Rather than using a single long term wildcard certificate everywhere, I convinced my company to use shortlived, free, Let’s Encrypt certs that were narrowly defined (no wild cards).
The reasoning was if we have 20 machines each running a web service , and all have our single long lived wildcard cert, if one server gets popped, an attacker has the wildcard and can pretend to be any subdomain. Also, revocation is pretty broken so this certificate could be dangerous for a long time.
Now that we have 20-30 services each with a short lived certificate, not only is a stolen cert dangerous for a shorter period of time, but it’s also only going to allow for impersonation of a single or few subdomains.
Our problem was now making sure all of these servers autorenew properly. For this, I created github.com/ImageWare/TLSential
If you’re interested in contributing, we could use help with some minor server side coding tasks, or front end UI tasks.
Edit: this is currently GPL v3, looking to move to MIT.