Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Fundamental JS Security - Bandung JS

Fundamental JS Security - Bandung JS

Penjelasan sederhan tentang basic security, bertujuan supaya developer JS lebih aware terhadap security, karena security tidak bisa di anggap sepele, faktanya 30% dari apps kita yang sudah di buat 70% terdapat library yang dipasang di dalam apps, apakah 70% library tersebut sudah aman ? apakah 30% code juga sudah aman ?

Yahya Fadhlulloh Al-Fatih

January 29, 2018
Tweet

More Decks by Yahya Fadhlulloh Al-Fatih

Other Decks in Technology

Transcript

  1. Hello! Saya Yahya F. Al Fatih 15 years experience in

    IT security 10 years as web developer Wawadukan community CTO at Crowde 2
  2. 5

  3. 6

  4. 1001 alasan mereka melakukan hacking 7 - Sebuah tantangan -

    Forge Knowledge - Server Baru - Showoff (?) - Diputusin mantan - Kepo mantan - Dendam sama dosen - Pengen internet gratis - Greedy cryptocurrency - miner - Bitcoin - dsb
  5. 8

  6. Hack JS - BeeF JS - Keylogger JS - Coinhive

    JS - Rowhammer JS - LOIC JS - XSS’OR JS 10
  7. 15

  8. 20

  9. 21

  10. 22

  11. 23

  12. 24

  13. 25

  14. 26

  15. 27

  16. 29 What we need in cyber security is not a

    firewall, not a motte and palisade to keep our bailey inviolate, but an immune system
  17. 32

  18. 33 2 apps flaw that hackers love to abuse yes,

    hackers sexually attracted to your vulnerable app
  19. - Man in the middle attack - XSS, CSRF, JS

    Based - Server Side (SQL Injection, dll) - Fraud (phising account, enumeration attack) - Denial of Service Risk facing Web Developer 34
  20. “ Most of your Apps Vulnerabilities Come from npm 36

    > 375,000 packages > 70,000 publisher > ~14% of npm packages carry known vulnerabilities
  21. “ Do you have any solution ? :( 38 >

    Dependencies Vulnerability scanner > re-check for every new feature is pushed > Manually Check Exploit database > patch~ > update~
  22. “ 41 What should I do with my code ?

    :( > Security Guide for Developer https://github.com/k1m0ch1/secguide
  23. 42 Cara aman menyimpan secret key ke dalam aplikasi adalah

    dengan cara tidak menyimpan secret key ke dalam aplikasi
  24. 46

  25. 47

  26. 6 reason password rules are bullshit - can’t remember -

    Special F#C@ING char - Special word - Too long - Expired password - CAN’T REMEMBER 50
  27. - Do not set arbitary length limit (NIST standar is

    256 character) - Never prohibit any special character - Allow paste and password manager - Always [salted] hash. Never store password using 2 way encryption - Offer two-factor authentication Handling Password 52
  28. “ People cannot create strong, unique password accross all their

    service using only their brain to remember 53
  29. - Jangan menggunakan password yang kadaluarsa - Jangan pake rule

    aneh aneh - Jangan pake password hint New NIST Recommendation 54
  30. 59 Thanks! Any questions? Find me at [email protected] and k1m0ch1.github.io

    Credit Presentation Simon Sturmer - How to Integrate Information Security into your Software Development Life Cycle