<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://homeostasis.scs.carleton.ca/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sophia</id>
	<title>Soma-notes - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://homeostasis.scs.carleton.ca/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sophia"/>
	<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php/Special:Contributions/Sophia"/>
	<updated>2026-06-03T00:42:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://homeostasis.scs.carleton.ca/wiki/index.php?title=SystemsSec_2018W_Lecture_14&amp;diff=21550</id>
		<title>SystemsSec 2018W Lecture 14</title>
		<link rel="alternate" type="text/html" href="https://homeostasis.scs.carleton.ca/wiki/index.php?title=SystemsSec_2018W_Lecture_14&amp;diff=21550"/>
		<updated>2018-03-01T22:00:06Z</updated>

		<summary type="html">&lt;p&gt;Sophia: /* Notes */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;==Audio==&lt;br /&gt;
&lt;br /&gt;
[https://homeostasis.scs.carleton.ca/~soma/systemssec-2018w/lectures/comp4108-2018w-lec14-28Feb2018.m4a Lecture 14 audio.]&lt;br /&gt;
&lt;br /&gt;
==Notes Student 1==&lt;br /&gt;
► Many strategies are wrong: If there is one single bug in any major system we use, everything falls apart&lt;br /&gt;
&lt;br /&gt;
► We can do better, but the way we do things now is not sustainable&lt;br /&gt;
&lt;br /&gt;
→ Existence proof: Biology&lt;br /&gt;
&lt;br /&gt;
:1. Everything starts with a random process&lt;br /&gt;
&lt;br /&gt;
:2. How do biology systems protect itself again adversaries?&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ANIMALS&lt;br /&gt;
*Animals face threats (ie. Falls of cliff, gets eaten)&lt;br /&gt;
&lt;br /&gt;
*Threats from really small things (huge factor in mortality, ie. humans lifespan doubled because of disease control):&lt;br /&gt;
:→ They see the animal as a resource, so why not use it?&lt;br /&gt;
:→ Most important defence: Barrier defence&lt;br /&gt;
::- Skin&lt;br /&gt;
:→ But we can&#039;t keep everything out: Basic chemistry&lt;br /&gt;
::- Stomach acid to react with what came into your body&lt;br /&gt;
::- Digestive enzymes (enzyme: biological catalyst) breaks down proteins&lt;br /&gt;
&lt;br /&gt;
*Analogies:&lt;br /&gt;
::DNA = &amp;quot;Stored code&amp;quot;&lt;br /&gt;
:::→ Backbone = &amp;quot;Framework&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::Proteins = &amp;quot;Running code&amp;quot;&lt;br /&gt;
&lt;br /&gt;
::T-cells = Has randomized detectors to find bad things. If binded to a regular cell, gets killed&lt;br /&gt;
:::→ Auto-immune disease&lt;br /&gt;
:::::- T-cell recognizes some behaviour and reacts with it&lt;br /&gt;
:::::- To prevent mistakes (ie. autoimmune disease)&lt;br /&gt;
::::::○ Only battles when there is evidence cells are dying&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VIRUSES&lt;br /&gt;
*Chunk of DNA/RNA (in between DNA/RNA and proteins) surrounded by proteins&lt;br /&gt;
*When comes in contact with cell, injects DNA into cell&lt;br /&gt;
:- Overflow cell (cell running malicious code) until it explode, and continue to other cells&lt;br /&gt;
:-Cells have vulnerabilities&lt;br /&gt;
::□ Viruses targets fact that cells have semi-permeable membranes&lt;br /&gt;
:- Defence&lt;br /&gt;
::□ Cells have different membranes&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
IMMUNE SYSTEM&lt;br /&gt;
*Regular proteins will output certain peptide, immune system checks if its the right one&lt;br /&gt;
:- Virus imitates the protein&lt;br /&gt;
*Red, hot: Immune system discovered dead cells and investigates&lt;br /&gt;
*Incompatible MHC: Organ rejects new organ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
DIGESTIVE SYSTEM&lt;br /&gt;
*When your good bacteria turns bad, fecal transplant&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The body is not an engineering system: Separation of concern is not there, they are all just cells.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Notes Student 2==&lt;br /&gt;
Assignment now due March 5th &lt;br /&gt;
Midterm postponed to March 7th &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using biology as an existence proof:&lt;br /&gt;
*The code inside you was generated by random code&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In computer security, we are engaged in evolution &lt;br /&gt;
*The system&#039;s survival depends on evolution&lt;br /&gt;
*As adversary adapts, leads to new defenses&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ANIMALS&lt;br /&gt;
&lt;br /&gt;
Each animal has risks to survival: getting attacked, missing food&lt;br /&gt;
*There are also risks from really small things (which is a huge factor in mortality):&lt;br /&gt;
**Think about why the human lifespan has doubled? Because we are getting infectious diseases under control&lt;br /&gt;
*The small thing sees the animal as home (animal = set of resources)&lt;br /&gt;
**It&#039;s not necessarily malicious, it&#039;s a mobile place to live and eat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Animals need to have defences&lt;br /&gt;
*Barrier: skin → this is a physical layer&lt;br /&gt;
*Acid (stomach) → this is chemical, it&#039;ll just react with whatever comes into the body&lt;br /&gt;
*Digestive enzymes&lt;br /&gt;
**Enzyme = biological catalyst, something that changes the rate of a reaction&lt;br /&gt;
**Digestive enzymes = breaks down protein&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
You are made up of the following, and this is how it relates to computer science: &lt;br /&gt;
*DNA = stored code&lt;br /&gt;
**Control code, and the patterns for the protein&lt;br /&gt;
**Chain of 4-letters&lt;br /&gt;
*RNA&lt;br /&gt;
**Carbohydrates&lt;br /&gt;
**Protein = running code&lt;br /&gt;
*Made up of chains of 20 amino acids&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Peptide = 6-10 amino acid chain&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
VIRUSES&lt;br /&gt;
&lt;br /&gt;
What is a biological virus?&lt;br /&gt;
*A chunk of DNA or RNA surrounded by a coat of protein&lt;br /&gt;
*Gets into a cell and forms a virus&lt;br /&gt;
*The cell membrane should block this, but it has vulnerabilities&lt;br /&gt;
*One of the fundamental ways we are protected against this: cells are all a little different in what they allow and don&#039;t allow in (so not everyone would die from the same virus)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Immune system&lt;br /&gt;
*Made up of cells like the rest of your body&lt;br /&gt;
*When the virus has infected a cell, it runs malicious code inside the cell&lt;br /&gt;
*Problem: immune system needs a way of knowing what&#039;s going on inside a cell, but they can&#039;t puncture the cell&lt;br /&gt;
*Solution: the immune system looks at the cell&#039;s behaviour, puts the peptides on the outside of the cell&lt;br /&gt;
*Think in evolutionary terms, how would the virus try and get around this: make its proteins out of the same peptides as the one&#039;s you&#039;re trying to infect&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Major Histocompatibility Complex (MHC)&lt;br /&gt;
*Found on the surfaces of cells, so immune system can recognize foreign substances&lt;br /&gt;
*In computer science terms: deals with the problem of recognizing malicious code&lt;br /&gt;
*This matters for things like organ transplant&lt;br /&gt;
*If you&#039;re getting a transplant from someone with incompatible MHC, you&#039;re immune system with attack the organ&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
How does this fit in with what we&#039;re talking about this term?&lt;br /&gt;
*Central problem of today&#039;s attacks: if I can find the vulnerability in one host, I can infect millions of others that are running the same thing&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
T-cells&lt;br /&gt;
*Not self-reactive&lt;br /&gt;
*Finds the bad small things&lt;br /&gt;
*Once the t-cells are release to circulate in the bloodstream, they are going to see patterns they haven&#039;t seen in testing&lt;br /&gt;
*How do you make sure these patterns do not cause an auto-immune disease?&lt;/div&gt;</summary>
		<author><name>Sophia</name></author>
	</entry>
</feed>