Informasjon
What the course covers
The course looks at how C and C++ code can be made secure. It starts from the idea that software which behaves correctly under normal use may still fail when it receives unexpected input, such as malformed values, oversized data, null pointers or negative numbers. Attention is given to the mistakes that lead to these failures, what they can cause, and which practices reduce the risk.
Threats, risk and the basics of attacks
The first part introduces general cybersecurity concepts: what security means, how threats and risks are assessed, the main types of cyber threats, and the consequences of insecure software. It also discusses how cost and market pressure can influence security decisions.
Buffer overflows from the ground up
- The low-level background needed to follow exploits: ARM64 assembly, registers, addressing, calling conventions and the stack frame.
- How memory management problems arise, both on the stack and on the heap, and how attackers use them to take control of program flow.
- Common coding errors behind buffer overflows, such as off-by-one errors, incorrect string length calculations and confusion over string termination.
- Safer alternatives to risky functions, and a comparison of C-style strings with std::string.
Protections in the toolchain and at runtime
Several defensive layers are covered. At build time, the course looks at compiler options, warnings, FORTIFY_SOURCE, AddressSanitizer and hardening of the global offset table. Stack canaries and stack smashing protection are explained together with ways they can be bypassed. At runtime, the course addresses address space layout randomisation, non-executable memory with W^X, and attack techniques such as return-to-libc and return-oriented programming, along with the protections against them.
Who the course is for and how it is taught
The course is aimed at developers who write C or C++ code and have general experience with development in these languages. Teaching combines explanations with several practical labs in which participants exploit and then fix weaknesses. Real cases, including the Heartbleed vulnerability, are used to show how mistakes lead to consequences.
Gjennomføringer
Ofte stilte spørsmål
What programming experience do I need to take this course?
What are the main topics covered in the course?
How does the course teach about buffer overflows?
What practical elements are included in the course?
What runtime and build-time protections does the course cover?
What is the difference between C-style strings and std::string that the course discusses?
Om kursleverandøren

Glasspaper
Glasspaper Group er en kompetansepartner som leverer opplærings-, rekrutterings- og bemanningsløsninger gjennom flere datterselskaper. Hovedselskapet Glasspaper Learning tilbyr et bredt kurssortiment innen IT, prosjektledelse, sikkerhet, kunstig intelligens, Microsoft-teknologi og design. Selskapet gjennomfører kurs på flere lokale steder i Norge og tilbyr både åpne kurs, sertifiseringer og e-læring. Kursene henvender seg til fagfolk som ønsker å utvikle eller dokumentere sin kompetanse, samt virksomheter som trenger kompetanseheving for sine ansatte.
Les merVis mindre
Glasspaper People håndterer rekruttering og bemanning, med spesialisering på IT-stillinger innen systemutvikling, sikkerhet, skyløsninger og økonomi. Konsulentselskapet Artisan Consulting leverer digitale løsninger basert på Microsoft-teknologi og populære rammeverk. Gruppen tilbyr også andre tjenester som grafisk design og visuell kommunikasjon gjennom IGM, compliance-løsninger via Kamude, og e-læringsplattformen XtraMile. Alle løsningene skal kombineres for å hjelpe kundene til raskere måloppnåelse.
