diff options
author | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-10-15 15:35:20 +0200 |
---|---|---|
committer | Rasmus Dahlberg <rasmus@rgdd.se> | 2024-10-15 15:35:45 +0200 |
commit | 76bae02bcd7d6b3ec9eea428e5e95da184a8dbfb (patch) | |
tree | 410ab71c78c99d35aecd46733958a5699cdf5204 /slides/2019-side-channels/img | |
parent | 883a67439aff566962adafeb0385c6ae972073a3 (diff) |
Rescue some slides from old private mono repos
Diffstat (limited to 'slides/2019-side-channels/img')
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 Binary files differnew file mode 100644 index 0000000..3a0adec --- /dev/null +++ b/slides/2019-side-channels/img/attacker.jpg diff --git a/slides/2019-side-channels/img/client.png b/slides/2019-side-channels/img/client.png Binary files differnew file mode 100644 index 0000000..f1ad88d --- /dev/null +++ b/slides/2019-side-channels/img/client.png 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 Binary files differnew file mode 100644 index 0000000..509c9ad --- /dev/null +++ b/slides/2019-side-channels/img/demo.png diff --git a/slides/2019-side-channels/img/grandpa.png b/slides/2019-side-channels/img/grandpa.png Binary files differnew file mode 100644 index 0000000..1953027 --- /dev/null +++ b/slides/2019-side-channels/img/grandpa.png 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 Binary files differnew file mode 100755 index 0000000..0c7c885 --- /dev/null +++ b/slides/2019-side-channels/img/logo.png diff --git a/slides/2019-side-channels/img/meltdown-dump.png b/slides/2019-side-channels/img/meltdown-dump.png Binary files differnew file mode 100644 index 0000000..6ecf2cf --- /dev/null +++ b/slides/2019-side-channels/img/meltdown-dump.png diff --git a/slides/2019-side-channels/img/meltdown-ff.png b/slides/2019-side-channels/img/meltdown-ff.png Binary files differnew file mode 100644 index 0000000..f097f49 --- /dev/null +++ b/slides/2019-side-channels/img/meltdown-ff.png diff --git a/slides/2019-side-channels/img/meltdown-insn.png b/slides/2019-side-channels/img/meltdown-insn.png Binary files differnew file mode 100644 index 0000000..6b3b686 --- /dev/null +++ b/slides/2019-side-channels/img/meltdown-insn.png 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 Binary files differnew file mode 100644 index 0000000..b941373 --- /dev/null +++ b/slides/2019-side-channels/img/meltdown-out-of-order.png diff --git a/slides/2019-side-channels/img/meltdown-pageload.png b/slides/2019-side-channels/img/meltdown-pageload.png Binary files differnew file mode 100644 index 0000000..1304f32 --- /dev/null +++ b/slides/2019-side-channels/img/meltdown-pageload.png diff --git a/slides/2019-side-channels/img/meltdown.png b/slides/2019-side-channels/img/meltdown.png Binary files differnew file mode 100644 index 0000000..476eada --- /dev/null +++ b/slides/2019-side-channels/img/meltdown.png diff --git a/slides/2019-side-channels/img/memlayout.png b/slides/2019-side-channels/img/memlayout.png Binary files differnew file mode 100644 index 0000000..779f137 --- /dev/null +++ b/slides/2019-side-channels/img/memlayout.png diff --git a/slides/2019-side-channels/img/pandora.jpg b/slides/2019-side-channels/img/pandora.jpg Binary files differnew file mode 100644 index 0000000..b8763ea --- /dev/null +++ b/slides/2019-side-channels/img/pandora.jpg diff --git a/slides/2019-side-channels/img/printersound.png b/slides/2019-side-channels/img/printersound.png Binary files differnew file mode 100644 index 0000000..99e253d --- /dev/null +++ b/slides/2019-side-channels/img/printersound.png diff --git a/slides/2019-side-channels/img/security-door-zoomin.png b/slides/2019-side-channels/img/security-door-zoomin.png Binary files differnew file mode 100644 index 0000000..200de7f --- /dev/null +++ b/slides/2019-side-channels/img/security-door-zoomin.png diff --git a/slides/2019-side-channels/img/security-door-zoomout.png b/slides/2019-side-channels/img/security-door-zoomout.png Binary files differnew file mode 100644 index 0000000..934e998 --- /dev/null +++ b/slides/2019-side-channels/img/security-door-zoomout.png diff --git a/slides/2019-side-channels/img/security-door.png b/slides/2019-side-channels/img/security-door.png Binary files differnew file mode 100644 index 0000000..0a38cec --- /dev/null +++ b/slides/2019-side-channels/img/security-door.png diff --git a/slides/2019-side-channels/img/server.png b/slides/2019-side-channels/img/server.png Binary files differnew file mode 100644 index 0000000..8ca8af3 --- /dev/null +++ b/slides/2019-side-channels/img/server.png diff --git a/slides/2019-side-channels/img/smartcard.png b/slides/2019-side-channels/img/smartcard.png Binary files differnew file mode 100644 index 0000000..d8306cd --- /dev/null +++ b/slides/2019-side-channels/img/smartcard.png 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 Binary files differnew file mode 100644 index 0000000..0ee3c11 --- /dev/null +++ b/slides/2019-side-channels/img/timeit.png diff --git a/slides/2019-side-channels/img/ultrasound.png b/slides/2019-side-channels/img/ultrasound.png Binary files differnew file mode 100644 index 0000000..b0de69e --- /dev/null +++ b/slides/2019-side-channels/img/ultrasound.png diff --git a/slides/2019-side-channels/img/voip.png b/slides/2019-side-channels/img/voip.png Binary files differnew file mode 100644 index 0000000..1c0a912 --- /dev/null +++ b/slides/2019-side-channels/img/voip.png |