From 76bae02bcd7d6b3ec9eea428e5e95da184a8dbfb Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Tue, 15 Oct 2024 15:35:20 +0200 Subject: Rescue some slides from old private mono repos --- slides/2019-side-channels/img/attacker.jpg | Bin 0 -> 9649 bytes slides/2019-side-channels/img/client.png | Bin 0 -> 48225 bytes slides/2019-side-channels/img/countermeasure.py | 18 ++++++++++++++++++ slides/2019-side-channels/img/demo.png | Bin 0 -> 506328 bytes slides/2019-side-channels/img/grandpa.png | Bin 0 -> 155510 bytes slides/2019-side-channels/img/isn | 7 +++++++ slides/2019-side-channels/img/logo.png | Bin 0 -> 66309 bytes slides/2019-side-channels/img/meltdown-dump.png | Bin 0 -> 120959 bytes slides/2019-side-channels/img/meltdown-ff.png | Bin 0 -> 167652 bytes slides/2019-side-channels/img/meltdown-insn.png | Bin 0 -> 36580 bytes slides/2019-side-channels/img/meltdown-isn | 3 +++ .../2019-side-channels/img/meltdown-out-of-order.png | Bin 0 -> 79533 bytes slides/2019-side-channels/img/meltdown-pageload.png | Bin 0 -> 88408 bytes slides/2019-side-channels/img/meltdown.png | Bin 0 -> 79199 bytes slides/2019-side-channels/img/memlayout.png | Bin 0 -> 49683 bytes slides/2019-side-channels/img/pandora.jpg | Bin 0 -> 2892561 bytes slides/2019-side-channels/img/printersound.png | Bin 0 -> 150660 bytes .../2019-side-channels/img/security-door-zoomin.png | Bin 0 -> 316445 bytes .../2019-side-channels/img/security-door-zoomout.png | Bin 0 -> 712986 bytes slides/2019-side-channels/img/security-door.png | Bin 0 -> 371971 bytes slides/2019-side-channels/img/server.png | Bin 0 -> 22816 bytes slides/2019-side-channels/img/smartcard.png | Bin 0 -> 122659 bytes slides/2019-side-channels/img/strcmp.py | 18 ++++++++++++++++++ slides/2019-side-channels/img/timeit.png | Bin 0 -> 309045 bytes slides/2019-side-channels/img/ultrasound.png | Bin 0 -> 330507 bytes slides/2019-side-channels/img/voip.png | Bin 0 -> 150740 bytes 26 files changed, 46 insertions(+) create mode 100644 slides/2019-side-channels/img/attacker.jpg create mode 100644 slides/2019-side-channels/img/client.png create mode 100755 slides/2019-side-channels/img/countermeasure.py create mode 100644 slides/2019-side-channels/img/demo.png create mode 100644 slides/2019-side-channels/img/grandpa.png create mode 100644 slides/2019-side-channels/img/isn create mode 100755 slides/2019-side-channels/img/logo.png create mode 100644 slides/2019-side-channels/img/meltdown-dump.png create mode 100644 slides/2019-side-channels/img/meltdown-ff.png create mode 100644 slides/2019-side-channels/img/meltdown-insn.png create mode 100644 slides/2019-side-channels/img/meltdown-isn create mode 100644 slides/2019-side-channels/img/meltdown-out-of-order.png create mode 100644 slides/2019-side-channels/img/meltdown-pageload.png create mode 100644 slides/2019-side-channels/img/meltdown.png create mode 100644 slides/2019-side-channels/img/memlayout.png create mode 100644 slides/2019-side-channels/img/pandora.jpg create mode 100644 slides/2019-side-channels/img/printersound.png create mode 100644 slides/2019-side-channels/img/security-door-zoomin.png create mode 100644 slides/2019-side-channels/img/security-door-zoomout.png create mode 100644 slides/2019-side-channels/img/security-door.png create mode 100644 slides/2019-side-channels/img/server.png create mode 100644 slides/2019-side-channels/img/smartcard.png create mode 100755 slides/2019-side-channels/img/strcmp.py create mode 100644 slides/2019-side-channels/img/timeit.png create mode 100644 slides/2019-side-channels/img/ultrasound.png create mode 100644 slides/2019-side-channels/img/voip.png (limited to 'slides/2019-side-channels/img') 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 Binary files /dev/null and b/slides/2019-side-channels/img/attacker.jpg 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 Binary files /dev/null and b/slides/2019-side-channels/img/client.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/demo.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/grandpa.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/logo.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/meltdown-dump.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/meltdown-ff.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/meltdown-insn.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/meltdown-out-of-order.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/meltdown-pageload.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/meltdown.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/memlayout.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/pandora.jpg 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 Binary files /dev/null and b/slides/2019-side-channels/img/printersound.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/security-door-zoomin.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/security-door-zoomout.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/security-door.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/server.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/smartcard.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/timeit.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/ultrasound.png 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 Binary files /dev/null and b/slides/2019-side-channels/img/voip.png differ -- cgit v1.2.3