Instituto Superior Técnico

MEIC-A · Instituto Superior Técnico

Segurança em Software

Software Security

SSofPágina da Cadeira
  • 6 ECTS
  • P2
  • Exame: Obrigatório
Geral
5
2
4
4
3
3
2
3
1
1
3.2
★★★★★
13 avaliações
Carga de trabalho
Muito leve
1
Leve
0
Moderada
3
Pesada
7
Muito pesada
0
Moderada11 avaliações

Feedback

2025/2026
★★★★★
Carga:Pesada

há 5 meses

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.

★★★★★
Carga:Moderada

há 9 meses

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.

★★★★★
Carga:Pesada

há 9 meses

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.

★★★★★
Carga:Pesada

há 9 meses

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.

★★★★★
Carga:Pesada

há 9 meses

Not rewarding for the effort necessary.

★★★★★
Carga:Pesada

há 10 meses

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.

★★★★★
Carga:Pesada

há 10 meses

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.

Sobre a cadeira

Objetivos

Compreender os problemas comuns de segurança de software e quais são as suas causas subjacentes. Desenvolver competências na criação, análise e integração de diretrizes, técnicas e ferramentas para resolver esses problemas.

Programa

Conceitos básicos de segurança de sistemas: controlo de acessos, proteção dinâmica. Vulnerabilidades de software: vulnerabilidades em aplicações convencionais, vulnerabilidades em bases de dados, vulnerabilidades em aplicações web, vulnerabilidades em aplicações móveis, vulnerabilidades em máquinas maliciosas. Conceção de mecanismos de segurança de software: taint e segurança de fluxo de informação, políticas de segurança, definição de propriedades, análise de programas para segurança (técnicas estáticas e dinâmicas), verificação e deteção de erros em segurança. Desenvolvimento de software seguro: segurança no desenvolvimento de software, auditoria de segurança de software, validação e codificação, deteção de erros de segurança, aspetos de segurança da arquitetura das linguagens de programação e do ambiente de execução.

Pré-requisitos

Conhecimentos de linguagens de programação, programação e sistemas operativos

Componente de Competências Transversais

No âmbito desta unidade curricular, os estudantes têm a oportunidade de trabalhar diferentes conjuntos de Competências Transversais, nomeadamente: i) Trabalho em Equipa; ii) Pensamento Crítico e Inovador (criatividade e estratégias de resolução de problemas); iii) Competências Intrapessoais (autodisciplina, perseverança e motivação pessoal) e iv) Competências Interpessoais (comunicação, organização, tomada de decisão e iniciativa).

Componente Laboratorial

Exercícios de exploração de vulnerabilidades de software. Exercícios de implementação de mecanismos de segurança de software. Exercícios de exploração de limitações em mecanismos de segurança de software. Projeto: Implementação de uma ferramenta de segurança de software + componente de análise crítica.

Componente de Programação e Computação

No curso em que esta unidade curricular é lecionada, as componentes de programação e computação são asseguradas de acordo com os critérios definidos no MEPP 2122.

Princípios Éticos

O objetivo de uma unidade curricular de segurança de software é compreender os problemas de segurança de software mais comuns e aprender a proteger os sistemas informáticos contra ciberataques, pelo que os princípios éticos são fundamentais para orientar um comportamento responsável. Nesta unidade curricular, os estudantes aprenderão técnicas que permitem identificar vulnerabilidades em sistemas de software. Espera-se que os estudantes respeitem os mais elevados padrões de integridade. O respeito pela propriedade intelectual, o cumprimento das normas legais e o compromisso com a transparência são essenciais. O objetivo desta unidade curricular é fomentar uma cultura de confiança e responsabilização no desenvolvimento e na manutenção de sistemas de software seguros. Todos os membros de um grupo são responsáveis pelo trabalho do grupo. Em qualquer avaliação, cada estudante deve divulgar honestamente qualquer ajuda recebida e as fontes utilizadas. Numa avaliação oral, cada estudante deve ser capaz de apresentar e responder a perguntas sobre todo o trabalho e a respetiva solução.

Traduzido automaticamente do inglês

Falta algo ou está desatualizado?

Avaliação

Exame (50%), Componente Prática (Projeto, ferramenta e análise crítica, + Laboratórios) (50%).

Traduzido automaticamente do inglês

A avaliação mudou ou falta alguma coisa?

Bibliografia

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

Falta algum livro ou material?