nakajima jun
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    セキュア・バイ・デザイン 第14章 最後に:セキュリティを忘れるべからず! === ###### tags: `セキュア・バイ・デザイン読書会` # Discord開始位置 - # 自己紹介 - なかじま(J.Nakajima) - ファシリ役 - タイムキーパー役 - こばやし(t2_Kobayashi) - 読み上げ役 # 参加の仕方 - マイクはいつでもONにして、話に参加して結構です。 - テキストチャットでも、コメントやリアクションでどんどん参加してください!ラジオ担当が拾っていきます。 - 聞いているだけの方もOKです! # ディスカッションをより豊かにするためのグランドルール - 参加者は毎回任意 - 今回は不参加、次回は参加をするといった気軽な感じ - 途中参加も断然OK! まずは聞くだけでも大丈夫です! - フィードバックを恐れない - マサカリは怖いと思いますが、アウトプットからのフィードバックを受け、学びを深めていきましょう - アウトプット7割:インプット3割の気持ちで臨みましょう! - 経験の有る無しは気にしない - 自分はDDD非経験者だから……と気後れする必要はないです - 堂々と意見や疑問を語りましょう - ページ数と同時に、節のタイトルやキーワードを言って頂けるとスムーズです - 電子書籍で読んでいるとページ数ではわからないため - 話していない人が、率先してメモしましょう - このHackMDはみんなのものです。どんどん書いていきましょう:+1: :+1: - 気になる質問や同感するものには :+1: を末尾につけてください。 # タイムテーブル | 時間 | 所要時間 | 内容 |備考 | | -------- | -------- | -------- | -------- | | 19:50- | - | 集合開始 | | | 20:00-20:15 | 15分 | 当日の流れとグランドルールの共有 | | | 20:15-20:25 | 10分 | 感想記入&HackMDに書かれた皆さんの感想・気づき・疑問をもっと掘り下げたいものを、 :+1: 付けていく | | | 20:25-21:55 | 90分 | 本の節ごとにディスカッション(ここでも適宜、HackMDに気づきとか書いていってもらっていいです) | | |21:55-22:00 | 5分 | 次回開催日と読む範囲決めてクローズ | | ## 下に感想などを書いていって下さい。どんな些細なことでもOKです。 --- # 第14章 序章 ## 目安の時間 - xx分 ## 感想・気づき > p.506 例えば、私たち著者は開発チームを形成する際、開発チームに実装者とテスト・エンジニアの両方を含めるようにし、実装とテストを別々のフェーズに分けるようなことはせず、1つのスプリントの中でテストも実施するようにしています。 - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025731443244150854) - シフトレフトの話、運用の話のシフトレフトからセキュリティも...って話でよく聞くけれど、いまだに運用の「 Throw over the wall」的な場面見かける。周知し続けるしかないですね。(重要さに共感する人は増えてる感覚) ## 疑問 --- # 14.1 セキュリティを意識したコード・レビュー ## 目安の時間 - 20分 ## 感想・気づき > p.507 セキュリティを意識したコード・レビューは、通常のコードレビューを行うことはほぼ同じなのですが... - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025733644289069056) - 最近のSASTツールとか、こういう自動テスト系に結構任せたい気はする反面、まだまだだいぶ足りないんだろうなぁ。レビューできる知識のハードルが高い上、人が見る限り見落としは多いと思う。:+1::+1::+1::+1: - SASTツール、使っている人いたら、どういうの使っているのか聞いてみたい > p.507 セキュリティを意識したコード・レビューをすることで、開発者が知らなかったセキュリティに関するテクニックや知識(…)を知ることができるようになります - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025735500616708096) - レビュー参加者によっては確かに知識共有できて良さそうだけど、現状のチームメンバのみとかでやると深まるかは不安だから、勉強会とかも合わせてやるとかした方がいいのか… :+1::+1::+1: > p.507 コード・レビューを行うのにすべてのコードが書き終わるまで待つ必要はないということです - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025738214855680060) - 短い行のうちに見せた方がいいと思いつつ、中途半端な設計のまま見せられないと思って結局最後に見せがちなの良くないよなあ :+1: - PRベースだと全て書き終わって〜のアプローチだと思っているけど、書き途中ではどうレビューしてもらう感じかな。話しかけに行って相談する感じかな - Googleのコードレビューの基準に小さくレビューっていう項目があった気がします。 - https://fujiharuka.github.io/google-eng-practices-ja/ja/review/developer/small-cls.html > P.508~ - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025737194985492500) - やっぱりチェックリストなのか・・・ - 1から自分たちで作るのは割とハードル高めだと思うので、OWASP とかにチェックリスト的なものはあったりするかな~~?:+1::+1: - https://owasp.org/www-project-web-security-testing-guide/v42/ とか。 ## 疑問 --- # 14.2 最新のセキュリティに関する情報の把握 ## 目安の時間 - 20分 ## 感想・気づき > p.511 セキュリティの脆弱性を自動的に見つけるツールを手に入れたら - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025740340105322586) - 8章の話だけれど、やはりここを人がブログ見て探すの頼みな時点で結構厳しいのかもしれない。 ## 疑問 - 脆弱性の優先度の割り振りってどうするんだろう:+1: - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025739507066220634) --- # 14.3 侵入テスト(penetration test)の実装 ## 目安の時間 - 20分 ## 感想・気づき > P.513 侵入テストを行う第一の目的は、できるだけセキュリティの欠陥を持たないソフトウェアを設計し、開発できるよに開発者を助けることなのです。 - 確かに、侵入テストをやったとしても、システムに脆弱性がないことを証明できるはずはないですね。 > p.514 侵入テストを行なう多くのテスト・エンジニアはドメイン・ルールを悪用することについては訓練されていないため、このような攻撃があることを認識していません - 善意の元にやっていくから確かにそうだよな > p.514 侵入テストを行ったチームからフィードバックを受けることで、学ぶ機会を得ている、ということです - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025743358682996786) - 継続的なフィードバック、学習をする文化を醸成するという意味で、侵入テストを定期的に実践するのは大事:+1: - 社内で自社サービスを使ったCTF的ななにかとかやったら面白そう > p.515 加えて、もし侵入テストを日頃から行っていないと、侵入テストに関して様々な不安を感じてるようになってしまいます。 - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025745715017826314) - 確かにテストは時間空けるとバグ見つかるの怖くなってきがちなので、なるべく日常ごとにしていく方が気持ち的には取り組みやすくなりそう:+1: > p.516 コンテキスト駆動開発 - 正しいタイミングで正しいテストの一方で、過去のテストに万能の幻想を持ってテストを追加しない。。。とかは避けないといけないと、意図と違う自戒。 ## 疑問 - コンテキスト駆動テスト(CDT) について、出来れば日本語でサクッと概要が纏まっているサイトなど知っている方がいたら教えてください🙏 :+1::+1: - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025742515183292486) --- # 14.4 セキュリティの分野についての学習 ## 目安の時間 - 20分 ## 感想・気づき > p.519 実際、最新のセキュリティに関する事例や攻撃経路について学ぶことは新しいWebフレームワークや新しいプログラミング言語を学ぶのと同じくらい重要なことです - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025746695604146238) - 本書読んでそれは理解できたけど、やっぱりセキュリティは内容も幅広く難解なイメージがあるので、継続的に学びを続けられるかは不安。意識が向けられるだけでも少しは違うのかもしれないが…。:+1: - 継続的に学ばなくてはならないし、組織に専門家が欲しくなるレベルでセキュリティで知らなくてはならないことが加速している感。:+1::+1::+1::+1: ## 疑問 --- # 14.5 セキュリティ・インシデントに対する仕組み ## 目安の時間 - 20分 ## 感想・気づき - > P.529 侵入テストは時間と労力を要する作業であり、多くの場合、そのテストで見つけられるのは、すべての脆弱性ではなく、いくつかの脆弱性だけになります。 - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025751045458120705) - そりゃそうですよね。:+1: - しかし、脆弱性診断を業者に頼むとかかる費用は... :money_with_wings: ## 疑問 - P.525~ Antifragile(反脆弱性) ってあまり頻繁に聞く用語ではない気がしているけど、どれくらい一般的になっているのだろう?(日本/海外で) - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025748776478048337) - 昔聞いたかわしまさんの講演が面白かったです。 (ただ、当時セキュリティ観点の話として聞けてはいなかった...) - https://www.slideshare.net/kawasima/ss-172965978 - p.526 Wolffの法則 - [Discord](https://discord.com/channels/432531367427964929/911610565103845387/1025749854498074665) - 転んでもただでは起きない、は人間での修復になるかも。絆創膏パッチ的な修正だと、p.527 にある通りどんどん脆くなるし、ボーイスカウトルール的な動きを心がけないと。 ---

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully