INF226 Software Security
Fall 2026
Software Security
Recently, in a small Scandinavian country...:
- Volue – Ransomware attack, 10 MNOK
- Østre Toten – 30000 documents, 4 MNOK fine
- Stortinget – attacked twice
- Inocean – 2 TB data stolen
- Nordic Choice Hotels – 2000 documents incl. payment and employee data
- Amedia – ransomware stopped papers
- Nortura – virus stopped production
- Nordland – system down for weeks after attack
We can do better
Nasjonal sikkerhetsmyndighet (NSM) hjelper norske virksomheter mot
dataangrep.
Der har de sett en tredobling i antall dataangrep på kort tid. Over 80 prosent av
hendelsene NSM bistår med kunne vært unngått med grunnleggende
sikkerhetstiltak.
(NRK)
How to study
- Lectures: Tue 10–12 & Fri 14–16 in A66 Aud A
- Videonotat in Mitt UiB (no guarantees!)
- Read (textbooks, other resources)
- Work! – Weekly, complusory and online exercises
- Pay attention! – security issues are all around us
- Figure things out on your own¹…
- …and together – in group sessions, on Discord, self-organized
Do stuff => learn stuff!
¹ within limits...
Textbooks

+ other written resources, exercises, lectures, etc
Notes and exercises
https://git.app.uib.no/inf226/26h/inf226-26h
- (Just copy of last year's stuff so far)
- First exercise published later today
- Three compulsory exercises (dates TBD)
Groups start next week!
Discord invite link
Assessment
- Portfolio-assessment (mappeevaluering)
- Final grade = compulsory exercises + exam
- All compulsory exercises & exam must be passed to pass the course
- Exam is “closed book” – no support materials (unlike some previous exams)
Ethics and laws
Ethics is an important part of learing outcomes
You'll need to do exercises that would be unethical or illegal in a normal setting
Be careful, only use/try techniques as directed!
We'll also be looking at some laws and regulation (from a Norwegian/European perspective)
Topics
Common vulnerabilities – Buffer overflows, Code injections, XSS
Writing secure software – Software design, client/server, access control, authentication
Understanding – underlying systems (OS, internet, web, …), problem domain, threats, pitfalls, user behaviour
What is security?
When is a system secure?
CIA(-T)
- Confidentiality
- Integrity
- Availability
- (Traceability)
Lessons of Security

- Lesson 1: “A Rigelian tiger pounces with no warning.”
- Lesson 2: “There are no breaks in security because threats never take breaks.”
- Lesson 3: “Let your tricorder do the investigating.”
- Lesson 6: “Know when to bend the rules.”
- Lesson 7: “Leave no stone unturned.”
– La'An Noonien-Singh, Chief of Security
(Star Trek: Strange New Worlds)
What are the biggest security threats?
More Star Trek Lessons
‘Matter of internal security’ - the age-old cry of the oppressor
– Jean Luc Picard (quoting Voltaire)
(Star Trek: The Next Generation)