aboutsummaryrefslogtreecommitdiff
path: root/slides/2019-side-channels/img
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2024-10-15 15:35:20 +0200
committerRasmus Dahlberg <rasmus@rgdd.se>2024-10-15 15:35:45 +0200
commit76bae02bcd7d6b3ec9eea428e5e95da184a8dbfb (patch)
tree410ab71c78c99d35aecd46733958a5699cdf5204 /slides/2019-side-channels/img
parent883a67439aff566962adafeb0385c6ae972073a3 (diff)
Rescue some slides from old private mono repos
Diffstat (limited to 'slides/2019-side-channels/img')
-rw-r--r--slides/2019-side-channels/img/attacker.jpgbin0 -> 9649 bytes
-rw-r--r--slides/2019-side-channels/img/client.pngbin0 -> 48225 bytes
-rwxr-xr-xslides/2019-side-channels/img/countermeasure.py18
-rw-r--r--slides/2019-side-channels/img/demo.pngbin0 -> 506328 bytes
-rw-r--r--slides/2019-side-channels/img/grandpa.pngbin0 -> 155510 bytes
-rw-r--r--slides/2019-side-channels/img/isn7
-rwxr-xr-xslides/2019-side-channels/img/logo.pngbin0 -> 66309 bytes
-rw-r--r--slides/2019-side-channels/img/meltdown-dump.pngbin0 -> 120959 bytes
-rw-r--r--slides/2019-side-channels/img/meltdown-ff.pngbin0 -> 167652 bytes
-rw-r--r--slides/2019-side-channels/img/meltdown-insn.pngbin0 -> 36580 bytes
-rw-r--r--slides/2019-side-channels/img/meltdown-isn3
-rw-r--r--slides/2019-side-channels/img/meltdown-out-of-order.pngbin0 -> 79533 bytes
-rw-r--r--slides/2019-side-channels/img/meltdown-pageload.pngbin0 -> 88408 bytes
-rw-r--r--slides/2019-side-channels/img/meltdown.pngbin0 -> 79199 bytes
-rw-r--r--slides/2019-side-channels/img/memlayout.pngbin0 -> 49683 bytes
-rw-r--r--slides/2019-side-channels/img/pandora.jpgbin0 -> 2892561 bytes
-rw-r--r--slides/2019-side-channels/img/printersound.pngbin0 -> 150660 bytes
-rw-r--r--slides/2019-side-channels/img/security-door-zoomin.pngbin0 -> 316445 bytes
-rw-r--r--slides/2019-side-channels/img/security-door-zoomout.pngbin0 -> 712986 bytes
-rw-r--r--slides/2019-side-channels/img/security-door.pngbin0 -> 371971 bytes
-rw-r--r--slides/2019-side-channels/img/server.pngbin0 -> 22816 bytes
-rw-r--r--slides/2019-side-channels/img/smartcard.pngbin0 -> 122659 bytes
-rwxr-xr-xslides/2019-side-channels/img/strcmp.py18
-rw-r--r--slides/2019-side-channels/img/timeit.pngbin0 -> 309045 bytes
-rw-r--r--slides/2019-side-channels/img/ultrasound.pngbin0 -> 330507 bytes
-rw-r--r--slides/2019-side-channels/img/voip.pngbin0 -> 150740 bytes
26 files changed, 46 insertions, 0 deletions
diff --git a/slides/2019-side-channels/img/attacker.jpg b/slides/2019-side-channels/img/attacker.jpg
new file mode 100644
index 0000000..3a0adec
--- /dev/null
+++ b/slides/2019-side-channels/img/attacker.jpg
Binary files differ
diff --git a/slides/2019-side-channels/img/client.png b/slides/2019-side-channels/img/client.png
new file mode 100644
index 0000000..f1ad88d
--- /dev/null
+++ b/slides/2019-side-channels/img/client.png
Binary files differ
diff --git a/slides/2019-side-channels/img/countermeasure.py b/slides/2019-side-channels/img/countermeasure.py
new file mode 100755
index 0000000..dda0868
--- /dev/null
+++ b/slides/2019-side-channels/img/countermeasure.py
@@ -0,0 +1,18 @@
+#!/usr/bin/python
+
+def is_equal(s1, s2):
+ '''
+ Returns true if the strings s1 and s2 encode the same information.
+ '''
+ if len(s1) != len(s2):
+ return False
+
+ result = 0
+ for (x,y) in zip(s1,s2):
+ result |= ord(x) ^ ord(y)
+
+ return result == 0
+
+target, strs = "abc", [ "ab", "abc", "abcd", "bbc", "abe" ]
+for s in strs:
+ print("{} == {} ? {}".format(target,s,is_equal(target,s)))
diff --git a/slides/2019-side-channels/img/demo.png b/slides/2019-side-channels/img/demo.png
new file mode 100644
index 0000000..509c9ad
--- /dev/null
+++ b/slides/2019-side-channels/img/demo.png
Binary files differ
diff --git a/slides/2019-side-channels/img/grandpa.png b/slides/2019-side-channels/img/grandpa.png
new file mode 100644
index 0000000..1953027
--- /dev/null
+++ b/slides/2019-side-channels/img/grandpa.png
Binary files differ
diff --git a/slides/2019-side-channels/img/isn b/slides/2019-side-channels/img/isn
new file mode 100644
index 0000000..4e536b5
--- /dev/null
+++ b/slides/2019-side-channels/img/isn
@@ -0,0 +1,7 @@
+read(MEM[5]);
+read(MEM[5]);
+...
+raise_exception();
+data = read(MEM[7]);
+read(MEM[data])
+...
diff --git a/slides/2019-side-channels/img/logo.png b/slides/2019-side-channels/img/logo.png
new file mode 100755
index 0000000..0c7c885
--- /dev/null
+++ b/slides/2019-side-channels/img/logo.png
Binary files differ
diff --git a/slides/2019-side-channels/img/meltdown-dump.png b/slides/2019-side-channels/img/meltdown-dump.png
new file mode 100644
index 0000000..6ecf2cf
--- /dev/null
+++ b/slides/2019-side-channels/img/meltdown-dump.png
Binary files differ
diff --git a/slides/2019-side-channels/img/meltdown-ff.png b/slides/2019-side-channels/img/meltdown-ff.png
new file mode 100644
index 0000000..f097f49
--- /dev/null
+++ b/slides/2019-side-channels/img/meltdown-ff.png
Binary files differ
diff --git a/slides/2019-side-channels/img/meltdown-insn.png b/slides/2019-side-channels/img/meltdown-insn.png
new file mode 100644
index 0000000..6b3b686
--- /dev/null
+++ b/slides/2019-side-channels/img/meltdown-insn.png
Binary files differ
diff --git a/slides/2019-side-channels/img/meltdown-isn b/slides/2019-side-channels/img/meltdown-isn
new file mode 100644
index 0000000..19e9bd5
--- /dev/null
+++ b/slides/2019-side-channels/img/meltdown-isn
@@ -0,0 +1,3 @@
+data = read(MEM[addr])
+raise_exception();
+read(probe_array[data * 4096])
diff --git a/slides/2019-side-channels/img/meltdown-out-of-order.png b/slides/2019-side-channels/img/meltdown-out-of-order.png
new file mode 100644
index 0000000..b941373
--- /dev/null
+++ b/slides/2019-side-channels/img/meltdown-out-of-order.png
Binary files differ
diff --git a/slides/2019-side-channels/img/meltdown-pageload.png b/slides/2019-side-channels/img/meltdown-pageload.png
new file mode 100644
index 0000000..1304f32
--- /dev/null
+++ b/slides/2019-side-channels/img/meltdown-pageload.png
Binary files differ
diff --git a/slides/2019-side-channels/img/meltdown.png b/slides/2019-side-channels/img/meltdown.png
new file mode 100644
index 0000000..476eada
--- /dev/null
+++ b/slides/2019-side-channels/img/meltdown.png
Binary files differ
diff --git a/slides/2019-side-channels/img/memlayout.png b/slides/2019-side-channels/img/memlayout.png
new file mode 100644
index 0000000..779f137
--- /dev/null
+++ b/slides/2019-side-channels/img/memlayout.png
Binary files differ
diff --git a/slides/2019-side-channels/img/pandora.jpg b/slides/2019-side-channels/img/pandora.jpg
new file mode 100644
index 0000000..b8763ea
--- /dev/null
+++ b/slides/2019-side-channels/img/pandora.jpg
Binary files differ
diff --git a/slides/2019-side-channels/img/printersound.png b/slides/2019-side-channels/img/printersound.png
new file mode 100644
index 0000000..99e253d
--- /dev/null
+++ b/slides/2019-side-channels/img/printersound.png
Binary files differ
diff --git a/slides/2019-side-channels/img/security-door-zoomin.png b/slides/2019-side-channels/img/security-door-zoomin.png
new file mode 100644
index 0000000..200de7f
--- /dev/null
+++ b/slides/2019-side-channels/img/security-door-zoomin.png
Binary files differ
diff --git a/slides/2019-side-channels/img/security-door-zoomout.png b/slides/2019-side-channels/img/security-door-zoomout.png
new file mode 100644
index 0000000..934e998
--- /dev/null
+++ b/slides/2019-side-channels/img/security-door-zoomout.png
Binary files differ
diff --git a/slides/2019-side-channels/img/security-door.png b/slides/2019-side-channels/img/security-door.png
new file mode 100644
index 0000000..0a38cec
--- /dev/null
+++ b/slides/2019-side-channels/img/security-door.png
Binary files differ
diff --git a/slides/2019-side-channels/img/server.png b/slides/2019-side-channels/img/server.png
new file mode 100644
index 0000000..8ca8af3
--- /dev/null
+++ b/slides/2019-side-channels/img/server.png
Binary files differ
diff --git a/slides/2019-side-channels/img/smartcard.png b/slides/2019-side-channels/img/smartcard.png
new file mode 100644
index 0000000..d8306cd
--- /dev/null
+++ b/slides/2019-side-channels/img/smartcard.png
Binary files differ
diff --git a/slides/2019-side-channels/img/strcmp.py b/slides/2019-side-channels/img/strcmp.py
new file mode 100755
index 0000000..89688fc
--- /dev/null
+++ b/slides/2019-side-channels/img/strcmp.py
@@ -0,0 +1,18 @@
+#!/usr/bin/python
+
+def is_equal(s1, s2):
+ '''
+ Returns true if the strings s1 and s2 encode the same information.
+ '''
+ if len(s1) != len(s2):
+ return False
+
+ for (x,y) in zip(s1,s2):
+ if x != y:
+ return False
+
+ return True
+
+target, strs = "abc", [ "ab", "abc", "abcd", "bbc", "abe" ]
+for s in strs:
+ print("{} == {} ? {}".format(target,s,is_equal(target,s)))
diff --git a/slides/2019-side-channels/img/timeit.png b/slides/2019-side-channels/img/timeit.png
new file mode 100644
index 0000000..0ee3c11
--- /dev/null
+++ b/slides/2019-side-channels/img/timeit.png
Binary files differ
diff --git a/slides/2019-side-channels/img/ultrasound.png b/slides/2019-side-channels/img/ultrasound.png
new file mode 100644
index 0000000..b0de69e
--- /dev/null
+++ b/slides/2019-side-channels/img/ultrasound.png
Binary files differ
diff --git a/slides/2019-side-channels/img/voip.png b/slides/2019-side-channels/img/voip.png
new file mode 100644
index 0000000..1c0a912
--- /dev/null
+++ b/slides/2019-side-channels/img/voip.png
Binary files differ