r/AskNetsec • u/[deleted] • May 15 '15
What programming language would be most beneficial to learn for a NetSec professional?
5
8
May 15 '15
JavaScript for web, Python/bash (not sold on powershell) for scripting exploits, and finally C/C++ for memory management if you're into finding exploits.
3
u/Melesse May 16 '15
As a SOC analyst, I see lots of alerts concerning Bash and Javascript coming across my console (attacks on our web presence). You should at least be able to read code for that purpose.
I use python and bash for scripting automation on my own stuff.
I use a lot of Excel Functions (I know, I know, not real programming) for metrics, reports, etc. I have to pull a lot of logs down from our SIEM, format them, and forward them to a requesting individual. You could use Python to do it to a CSV file, or Excel functions in an excel. Logs generally don't come out easily readable.
Also, pivot tables in excel are amazing. Want a summary of every IP that someone talked to? You could write a report for it in ArcSight, or pull a channel of to/from that IP, Channel report, pivot table. I fucking love pivot tables.
Huh, I went off on a tangent. Oh well.
7
5
u/strikehold May 15 '15
I'll add in javascript, since you see a lot of it during analysis of web based exploiting.
2
1
u/LVsFINEST May 16 '15
Python.
And bro. I wouldn't have mentioned bro then I saw the other poster. It's seriously like the swiss army knife of security tools.
1
u/iq8 May 16 '15
For web security, I would say PHP, ASP.NET, Perl, python, javascript and of course know your typical SQL (Mysql, sqlite, Mssql) and a sprinkle of passion.
1
1
u/cyberdefender2015 May 15 '15
One that is not so far gone with abstraction such that you actually understand architecture and operating systems. You'll be ahead of 95% of the monkeys. Which language that might be is left as an exercise to the reader.
After that, python or ruby for doing everyday tasks.
0
u/saferthansilence May 15 '15
US Code http://uscode.house.gov/ Chelsea Manning recently published a patch using it.
https://www.documentcloud.org/documents/2074157-bill-050815-2.html
As a network security professional, first and foremost, you are responsible for your own conduct, you can't count on coworkers, employers or clients to know what is legal to write compile and run in any language.
After US Code, I'd take a look at the architecture of TCP/IP and the W3C's current standards for what is in common use.
Then I recommend learning *nix shell scripting followed by perl and python and after all that, spend some time getting a foothold in Java or C.
That will prepare you to learn all the other languages and standards you will run into in realtime. There is really nothing to secure other than the full stack the client has in use. That means you will eventually need to know every language and standard. At least the vulnerabilities and best security practices for them.
Good luck!
-1
-4
May 15 '15
Google/Reddit search. Don't kid, ur not a netsec professional with those searching skills.
0
May 15 '15
[deleted]
6
u/_o7 May 15 '15
I prefer putting a line of buzzwords across the bottom in the smallest font possible so it looks like a line break but it is really my HR filter evasion techniques.
0
May 15 '15
[deleted]
3
u/iq8 May 16 '15
I always hear this, I can agree with 3-5 but why is it so important to know the ins and outs of Excel and/or Powerpoint?
3
u/VA_Network_Nerd May 16 '15
Because management needs metrics to justify budgets.
How many attacks were detected by each system last month v/s this month.
How many internal systems were fully scanned & confirmed as patched-up-to-date this month v/s last month?
Budgets are justified by metrics. Metrics need to be presented using a visual delivery mechanism so they can be digested and understood in 3 seconds or less.
You have three seconds to deliver sufficient visual impact to draw the viewer into caring enough about your data to choose to invest further attention into digesting the rest of the data.
Any half-intelligent IT worker can throw five columns of numbers up on the projector with sums and percentage values at the bottom.
Present that same data as a convincing 3D bar graph, with an easy to follow color scheme, and you are selling a stronger case for whatever you are pitching.
Thats the power of MS-Excel.
Now, PowerPoint comes into play when you need to convince management to fund your new toy.
Numbers arent always enough. Sometimes you need to visually depict your defence in depth approach - visually.
Yes, MS-Visio is a great tool for showing a technical architecture, but thats usually a tool for delivering the deeper level of technical granularity that fellow IT workers are interested in.
Management needs a more simple depiction. 10-12 objects tops.
Simple and convincing depictions of what we have, why its good, where its bad, and how much better its going to be with $300K worth of IPS gear.
I know what you're thinking: "Shouldnt this be my manager's job?"
Perhaps ultimately your manager will be the one the deliver the pitch.
But what if your manager delegates the activity to you?
Will you be prepared to sell your idea to management to get funding for a new tool/service/policy-adoption? Or will you try to gracefully bow-out, and ask manager to find someone else?
PowerPoint and basic Presentation skills are valuable to you.
2
u/iq8 May 16 '15
Ill just google everything :P but thanks for the comment, I understand that in the real business world this stuff matters. Current, im too passionate about hacking and too lazy to focus on things I dont need right this moment as im a uni student. But I will keep this in mind whenever im forced to use MS office.
2
u/VA_Network_Nerd May 16 '15
Focus on technical skills for now. Those are critical to your early career success.
But don't ignore the value of a good presentation.
http://www.microsoftvirtualacademy.com/training-courses/microsoft-excel-2013-essentials
http://www.microsoftvirtualacademy.com/training-courses/becoming-a-visio-2013-power-user
http://www.microsoftvirtualacademy.com/training-courses/excel-2013-power-bi-fundamentals
1
0
22
u/baron_blod May 15 '15
python, perl and powershell for scripting as you're very likely to find systems where they are installed.