Slide 1

Slide 1 text

A history on security and how to win the battle... Joshua Thijssen

Slide 2

Slide 2 text

Channeling and restricting flow

Slide 3

Slide 3 text

Sometimes channels don’t listen

Slide 4

Slide 4 text

Failure is always an option

Slide 5

Slide 5 text

Security is a business value

Slide 6

Slide 6 text

Security is a business value

Slide 7

Slide 7 text

Security is a business value

Slide 8

Slide 8 text

Let others take care of security

Slide 9

Slide 9 text

Let others take care of security

Slide 10

Slide 10 text

History of (computer) security

Slide 11

Slide 11 text

Security in the “old days”

Slide 12

Slide 12 text

I wasn’t kidding when I said: “old days”

Slide 13

Slide 13 text

5.25” high density disks

Slide 14

Slide 14 text

5.25” high density disks

Slide 15

Slide 15 text

Copying was a breeze

Slide 16

Slide 16 text

Copy protection

Slide 17

Slide 17 text

Copy protection

Slide 18

Slide 18 text

Let’s try dongles

Slide 19

Slide 19 text

NOPE!

Slide 20

Slide 20 text

8086 segmented memory layout

Slide 21

Slide 21 text

8086 segmented memory layout segment reg. 16-bit

Slide 22

Slide 22 text

8086 segmented memory layout segment reg. offset reg. 16-bit 16-bit

Slide 23

Slide 23 text

8086 segmented memory layout segment reg. offset reg. physical address 16-bit 16-bit 20-bit

Slide 24

Slide 24 text

8086 segmented memory layout segment reg. offset reg. << 4 physical address 16-bit 16-bit 20-bit

Slide 25

Slide 25 text

8086 segmented memory layout segment reg. offset reg. << 4 + physical address 16-bit 16-bit 20-bit

Slide 26

Slide 26 text

07C0:0050 07C00 0050+ 07C50 8086 segmented memory layout segment reg. offset reg. << 4 + physical address 16-bit 16-bit 20-bit

Slide 27

Slide 27 text

07C0:0050 07C00 0050+ 07C50 0000:7C50 00000 07C50+ 07C50 8086 segmented memory layout segment reg. offset reg. << 4 + physical address 16-bit 16-bit 20-bit

Slide 28

Slide 28 text

07C0:0050 07C00 0050+ 07C50 0000:7C50 00000 07C50+ 07C50 007C:7490 007C0 07490+ 07C50 8086 segmented memory layout segment reg. offset reg. << 4 + physical address 16-bit 16-bit 20-bit

Slide 29

Slide 29 text

8086 segmented memory layout segment reg. offset reg. << 4 + physical address 16-bit 16-bit 20-bit

Slide 30

Slide 30 text

386 protected memory layout + descriptor directory entry page table entry physical address directory page offset cr3 gdt / ldt page directory page table page frame linear address descriptor table selector offset 32-bit 16-bit

Slide 31

Slide 31 text

No content

Slide 32

Slide 32 text

No content

Slide 33

Slide 33 text

Ring 0 Kernel

Slide 34

Slide 34 text

Ring 0 Kernel Ring 1 Device drivers

Slide 35

Slide 35 text

Ring 0 Kernel Ring 1 Device drivers Ring 2 Device Drivers

Slide 36

Slide 36 text

Ring 0 Kernel Ring 1 Device drivers Ring 2 Device Drivers Ring 3 Applications

Slide 37

Slide 37 text

Security today

Slide 38

Slide 38 text

The weakest link

Slide 39

Slide 39 text

Humans

Slide 40

Slide 40 text

it is much easier to trick someone into giving a password for a system than to spend the effort to crack into the system -- K. Mitnick

Slide 41

Slide 41 text

Raising awareness on browsers

Slide 42

Slide 42 text

It’s a trap!

Slide 43

Slide 43 text

We’re curious

Slide 44

Slide 44 text

People are resourceful

Slide 45

Slide 45 text

Weird hobby’s

Slide 46

Slide 46 text

Weird hobby’s

Slide 47

Slide 47 text

00710022211101015511130102359000000000

Slide 48

Slide 48 text

00710033308171115011231111700000000000

Slide 49

Slide 49 text

00710033308171115011231111700000000000 00710022211101015511130102359000000000

Slide 50

Slide 50 text

00710033308171115011231111700000000000 00710022211101015511130102359000000000

Slide 51

Slide 51 text

00710022211101015511130102359000000000 00710033308171115011231111700000000000

Slide 52

Slide 52 text

00710044401011200001231122359000000000

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

Magnetic card reader/writer: $ 250

Slide 55

Slide 55 text

Magnetic card reader/writer: $ 250 Parking costs per night: $40

Slide 56

Slide 56 text

Magnetic card reader/writer: $ 250 Parking costs per night: $40 Free parking: priceless

Slide 57

Slide 57 text

How can we cure this problem?

Slide 58

Slide 58 text

We need to implement REAL security, not fake.

Slide 59

Slide 59 text

How do we win the war? How do we win the war?

Slide 60

Slide 60 text

If we as developers have to keep thinking about security, we will lose...

Slide 61

Slide 61 text

We need to deflect *EVERY* attack, They only need *ONE* to win...

Slide 62

Slide 62 text

99.999% of all programmers are NOT trained or have the capability to identify security threats. The other 0.001% will not be able to identify them ALL OF THEM ALL THE TIME.

Slide 63

Slide 63 text

A day in the life of a PHP programmer...

Slide 64

Slide 64 text

$result = mysql_query('SELECT * FROM users WHERE username="'.$_GET['username'].'"');

Slide 65

Slide 65 text

You should use mysql_real_escape_string!

Slide 66

Slide 66 text

No, you shouldn’t!

Slide 67

Slide 67 text

You just put a developer who wasn’t aware of security issues, in charge of security...

Slide 68

Slide 68 text

Let others handle security (PDO)

Slide 69

Slide 69 text

There is no (quick) solution.

Slide 70

Slide 70 text

There is no (quick) solution. but we have to change the way we deal with security radically,

Slide 71

Slide 71 text

There is no (quick) solution. but we have to change the way we deal with security radically, by not dealing with security...

Slide 72

Slide 72 text

Let others take care of security

Slide 73

Slide 73 text

Any questions (maximum 5)?

Slide 74

Slide 74 text

Find me on twitter: @jaytaph Find me for development and training: www.noxlogic.nl Find me on email: [email protected] Find me for blogs: www.adayinthelifeof.nl Thank you! http://joind.in/6853