
- 6 ECTS
- P2
- Exam: Mandatory
Feedback
5 months ago
A cadeira esta dividida em duas partes.
Na parte do pedro adao, as aulas praticas sao resolver exercicios estilo catch the flag e achei mega giro.
Na outra parte era fazer um projeto em que punhamos tipo tags de unsafe e qd passava em sanitizers ja era safe num snippet de codigo.
O exame é okay,
Basicamente sao duas cadeiras numa parece, sendo a parte dos exercicios catch the flag mega gira, sendo a outra um pouco secante.
Dica: gentem fazer os desafios semanais antes da aula porque na aula não dá tempo de fazer todos e dá jeito ter ajuda do stor para os mais complicados.
9 months ago
I thoroughly enjoyed this course even though I couldn’t attend almost any theoretical classes. The course is indeed a 2-in-1: LBS and VSSD.
LBS theoretical and lab classes lack in quality, the main teacher makes an already boring subject unbearable to learn in classes and kind of gives the impression that she isn’t very confident in her knowledge (although she is) which makes the classes very hard to follow. Labs were almost purely exercise-solving to train for the exam but my teacher wasn’t the best which made them also very hard to understand and follow. Despite this, the practical project was actually very fun to develop and really helped me understand what i should have learned in classes. The practical test is demanding and I strongly recommend you take a whole day to analyse your code line by line so you know what everything does and where everything is. Since you have access to your code during the test, comments REALLY help.
VSSD was incredibly fun for me since I am all for pen testing. You learn a whole set of critical and common vulnerabilities in the theory classes and in the labs you get to actually exploit them. Every week you have a set of CTF exercises in which you have to exploit a site/object on server in order to get the flag. The exercises are not incredibly hard but it does take some time to understand the hardest ones and since it is a weekly task you really have to manage your time.
The exam is not the easiest in my opinion since you have to study both parts of the course but you have a lot of provided materials such as previous exams and recorded classes.
9 months ago
This course is divided in LBS (Language Based Security) and VSSD (Vulnerabilities and Secure Software Development).
The project was like a compilers project (which I didn't like much)... Thankfully the submission date was after the winter break, which gave us extra time to complete it.
The VSSD Labs were indeed challenging but really enjoyable (the best part of the course).
Even with the heavy workload and some boring parts I consider this course a must take for people specializing in Cybersecurity, since many of the topics learned in this course which are essential for anyone in Cyber aren't taught in any other course.
9 months ago
I feel this course has significant flaws and is not well-structured. While the division of topics might make sense in theory, the execution, workload distribution, and overall organization leave a lot to be desired.
Theoretical Classes There is a stark contrast between the two halves of the theoretical lectures. On one hand, the VSSDs classes are well-structured, clear, and very easy to follow. On the other hand, the LBS (Language-Based Security) component is quite abstract and therefore difficult to grasp. Because the LBS material is inherently complex, it requires confident and engaging explanations. When those lectures feel like slides are simply being read rather than actively explained, it makes following the abstract content even harder.
Lab Classes & Weekly Challenges While the weekly challenges involve applying real-world attacks and can be interesting, the grading weight does not reflect the effort required. The lab evaluation being worth only 15% is completely unjustified. Certain weeks and challenges demanded a massive amount of work, and the mandatory write-ups were extremely time-consuming. Furthermore, since these challenges can easily be done at home, having fixed lab sessions that merely act as support hours feels somewhat unnecessary. The effort-to-reward ratio for this component is heavily unbalanced.
Project & Practical Test The project feels similar to Compilers, but it lacks proper guidance. I strongly believe the project should provide some base code (a skeleton) from the start. This would make the desired structure much clearer and facilitate the whole development process.
Having a base skeleton would also immensely improve the Practical Test. If everyone followed a standard structure, it would be much more obvious how to implement the required changes during the test. Furthermore, it makes absolutely no sense to force students to take this test on the Lab PCs. These machines have limited performance, and since most students do not use them frequently, it artificially increases the time it takes to complete the practical test.
Exam
The final exam was significantly harder compared to previous years. Furthermore, the multiple-choice grading scheme is incomprehensible and extremely punishing: incorrect answers deduct the equivalent of 2 options, which is excessively harsh.
Overall Organization & Grading There is a severe lack of organization from the teaching staff that makes the course unnecessarily stressful:
Late Grades: Grades for components prior to the exam (especially the practical test) must be published in a timely manner.
Study Materials: Solutions for labs are never published, and almost no past exams have solutions available, which is highly frustrating when trying to prepare.
9 months ago
Not rewarding for the effort necessary.
10 months ago
I really regret taking this course. It is poorly organized, outdated, and the content lacks interest. If I knew then what I know now, I would never have taken it.
The course is divided into two parts, VSSD and LBS, and it feels like you are taking two completely different courses.
VSSD consists mainly of weekly capture-the-flag exercises with write-ups. While these can be interesting, they are extremely time-consuming and are barely valued in the final evaluation.
LBS was a complete waste of time. The theoretical classes were terrible; it was very hard to focus or understand anything being explained.
The exam felt like a joke. It was also divided into two parts, LBS and VSSD. The VSSD section felt like the professor deliberately selected very specific slides containing information that had never appeared in previous exams and based the questions on those. We spent seven weeks doing capture-the-flag exercises covering several important core concepts, yet the exam only assessed about 20% of that material. The core concepts had already been covered in previous exams, and instead of repeating them, the professor created questions from irrelevant topics that appeared on a single slide.
The LBS part was mostly similar to previous years, although I felt that our exam was slightly more complicated and the exercises were longer and more demanding.
The project focuses on the LBS part and can be completed in about a week. After submitting the project, there is a practical test, which feels like another way to penalize students. You can have an excellent project and fully understand it, but if you do not answer exactly what they expect, you will lose points. Because of this, it is not worth investing too much time in the project, as all of us were penalized during the practical test anyway.
In conclusion, I do not recommend this course. The professors are bad, the organization is poor, and the content is uninteresting. I strongly suggest taking any other class instead.
10 months ago
Interesting course, worth it if you're interested in security. But I wouldnt say it's a must take.
So to give some context SSof is divided in 2. VSSD and LBS. They have different theoretical classes and labs and each have a "main" teacher
Vssd
- Each week there were Capture the flag exercises to do, they were fun and you learn about common software vulnerabilities but really time consuming. You had to do a write up for each exercise and later ones were harder to find the solution. So you end up spending a whole day each week on just these exercises (unless you cheat which I wouldn't recommend because these are important for the exam)
- The theoretical classes by pedro adão were well explained and worth going to and helped with the exercises.
Lbs
- The theoretical classes were such a pain. No offense to the teacher she was very sweet but it was so hard to pay attention. This part of the course was kind of theory heavy and kind of confusing. So even tho I barely went to these classes I ended up having to watch some of them when I studied for the exam.
The project
- Not much to say, the project itself wasn't hard and you can do it in a week if you work well. I do recommend you participate in the project because the practical test is tricky.
The exam
- First of all, started studying and only a week before the exam pedro adão decided to update the slides that were missing (because a student asked about the missing slides) then Friday (exam was monday) teacher had to upload a whole chapter that was missing (again because someone asked) Which I found ridiculous and a lack of respect for the students since the teacher really didn't warn anyone after this that the slides were missing and didn't say sorry (and it was in the exam).
- The exam this year I thought was harder and i found the questions kind of bad, I felt like I needed to know obscure facts about the course to answer some questions while some chapters were skipped. Overall not an easy exam at all and really frustrating.
10 months ago
I didn’t love this course, but it was definitely not the worst course I’ve taken during my degree. The course is divided into two main parts: LBS, taught by Professor Ana Almeida Mato, and VSSDs, taught by Professor Pedro Adão.
Overall, the structure makes sense, but the experience really depends on which part of the course you’re focusing on.
Theoretical Classes
The theoretical classes are quite important to understand both the weekly challenges and the lab classes. Without attending them, it would be much harder to follow what’s going on. That said, Professor Ana Mato is extremely shy. Sometimes it feels like she lacks confidence in what she’s saying, which makes the lectures come across as if she’s just reading the slides, rather than actively explaining or engaging with the content.
Lab Classes
The labs are important for understanding the LBS material, especially since this content appears in the exam. However, they mostly felt like support sessions for the weekly challenges. Personally, I didn’t find this very useful, because the challenges could easily be done at home, so having fixed lab hours for that felt a bit unnecessary.
Project
Honestly, I didn’t like the project at all. For anyone who has taken Compilers at LEIC, this project feels very similar. The idea sounds interesting at first, but once you actually start working on it, it quickly becomes boring. That said, the project itself is very doable. My group managed to finish the entire project during the Christmas holidays week, without too much stress. However, I think the most stressful part comes after, with the practical test. In my opinion, it is worse than the one in Compilers. If someone goes into it without really knowing the project, it can become extremely difficult, since the test is not only practical but also theoretical.
Weekly Challenges
These are not difficult at all, and honestly, they were probably the best part of the course. The challenges are actually fun and engaging, since they involve applying real-world attacks to real vulnerabilities. You basically get to act like a hacker trying to exploit a system, which is pretty cool and makes the course much more enjoyable.
Exam
Exams are always subjective, but I personally found this one harder than in previous years. I also felt there was a lot of disorganization from the professors. Solutions were never published, neither for labs nor for exams which was really frustrating, especially since we basically had to beg for the lab solutions to be released. On top of that, Professor Pedro Adão added new slides less than three days before the exam and kept updating existing ones, which I find completely unacceptable so close to the exam date.
8 months ago
last year
Good course, with a lot of material to study from and really engaged professors. Keep in mind that it has multiple weekly graded lab challenges (based on exploiting a vulnerability to get a hidden flag), a big project, an obligatory exam and the biggest project practical test I've had for any course so far.
Half of the lab classes are exercises on paper, the other half is help for the lab challenges. As for the exercises on paper, a lot of exercises are too long, making them confusing and leading to many of the exercises not being solved during class. Thankfully they provided recorded classes from previous years (during Covid, I assume), and that was what got me through.
The weekly lab exercises focused on attacking unsafe systems/servers/websites and the project focused on creating a tool to detect vulnerabilities (which, in practice, was basically a Compilers project), so I think the course was lacking a bit on the defense side of things. Yes, by exploiting vulnerabilities you do learn what NOT to do, but I wish the project or at least some lab exercises consisted of making a system/server/website safe, instead of attacking a system/server/website that is unsafe.
last year
There are 2 parts of this course: VSSD with professor Adão and LBS with professor Ana. Adão explains concepts very well and the VSSD labs are CTF style problems for students to apply their teachings hands-on with a real objective and tangible results. Ana on the other hand is not very eloquent and has difficulty speaking in front of a room of students and the LBS labs are mostly pen and paper problems.
I can certainly say that Adão was one of the best professors with some of the most fascinating course material of the Master's degree so far where as Ana's part was thoroughly lacking.
The reviews below this point may be outdated. Course content, teaching methods, and requirements may have changed since then.
4 years ago
Each week you had one theoretical class for LBS and one for VSSD, and the same for labs. So basically, you had two completely different courses running at the same time.
VSSD labs were like CTFs with a scoreboard — the only part I actually enjoyed. LBS labs were just exam-style exercises.
Professors
Professor Ana Matos makes LBS painful.
Professor Miguel Pupo Correia gave the VSSD lectures. Not good, not bad, just meh.
Exam
The LBS part of the exam is the same style as the labs. The VSSD part is just memorizing slides.
5 years ago
Contents
The first part was all about learning common vulnerabilities and how to exploit them (SQLi, XSS, Race Conditions, Buffer Overflow…) with Professor Pedro Adão. If you're into that kind of stuff, it's super interesting.
The second half (midway through the semester) was focused on studying information flow policies (e.g., Perl taint mode) and other similar mechanisms (like dynamic flow analysis in JavaScript).
It’s a complete context switch from the first half — it’s all about stuff like WHILE annotations, big-step/small-step semantics, symbolic execution… and you don’t really get to exploit anything.
Project
The project for the second part involved building a tool that, given a set of inputs (sources, sinks, vulnerabilities), had to detect whether a vulnerability would occur.
Final thoughts
If you’re into cybersecurity, then in my opinion it’s a must, even though the second part is kinda meh.
I would say 4.5 baits out of 10.
About the course
Objectives
To understand common software security problems and what are their underlying causes. To develop skills in the creation, analysis and integration of guidelines, techniques and tools for solving those problems.
Syllabus
Basic concepts in systems security: access control, dynamic protection. Software vulnerabilities: vulnerabilities in conventional applications, vulnerabilities in databases, vulnerabilities in web applications, vulnerabilities in mobile applications, vulnerabilities in malicious machines. Design of software security mechanisms: taint and information flow security, security policies, definition of properties, program analysis for security (static and dynamic techniques), verification and bug-finding in security. Development of secure software: security in software development, software security auditing, validation and encoding, security bug-finding, security aspects of programming language architecture and execution environment.
Prerequisites
Knowledge of programming languages, programming and operating systems
Cross Competence Component
Within the scope of this course, students have the opportunity to work on different sets of Transversal Skills, namely: i) Teamwork; ii) Critical and Innovative Thinking (creativity and problem-solving strategies); iii) Intrapersonal Skills (self-discipline, perseverance, and personal motivation) and iv) Interpersonal Skills (communication, organization, decision-making, and initiative).
Laboratorial Component
Exploit exercises of software vulnerabilities. Implementation exercises of software security mechanisms. Exploit exercises of limitations in software security mechanisms. Project: Implementation of a software security tool + critical analysis component.
Programming And Computing Component
In the degree where this course is offered, the programming and computing components are assured according to the criteria defined in MEPP 2122.
Ethical Principles
The purpose of a software security course is to understand the most common software security problems and to learn how to protect computer systems from cyber-attacks, thus ethical principles are paramount to guide responsible behavior. In this course students will learn techniques that allow them to identify vulnerabilities in software systems. Students are expected to uphold the highest standards of integrity. Respect for intellectual property, compliance with legal regulations, and a commitment to transparency are critical. The goal of this course is to foster a culture of trust and accountability in the development and maintenance of secure software systems. All members of a group are responsible for the group's work. In any assessment, every student shall honestly disclose any help received and sources used. In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.
Something missing or out of date?
Assessment
Exam (50%), Practical Component (Project, tool and critical analysis, + Labs) (50%).
Has the assessment changed, or is something missing?
Bibliography
Bibliografia Principal
- Segurança no Software (2ª edição): Miguel Pupo Correia e Paulo Jorge Sousa 2017 FCA
- Building Secure Software: How to Avoid Security Problems the Right Way: John Viega and Gary McGraw 2002 Addison-Wesley ISBN 9780201721522
- The 24 Deadly Sins of Software Security: Programming Flaws and How to Fix Them: Michael Howard, David LeBlanc and John Viega 2009 McGraw-Hill
Missing a book or some materials?