<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[資安工作者的學習之路 - Medium]]></title>
        <description><![CDATA[業餘資安寫手，希望透過紀錄所學的知識來回饋於社群上，互相學習分享。個人介紹參考 https://portaly.cc/kurohuang - Medium]]></description>
        <link>https://medium.com/blacksecurity?source=rss----2c740c348256---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>資安工作者的學習之路 - Medium</title>
            <link>https://medium.com/blacksecurity?source=rss----2c740c348256---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 12 Nov 2026 04:07:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/blacksecurity" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[董事會看待 AI 安全議題]]></title>
            <link>https://medium.com/blacksecurity/board-ai-sec-2cf3548ec9d7?source=rss----2c740c348256---4</link>
            <guid isPermaLink="false">https://medium.com/p/2cf3548ec9d7</guid>
            <category><![CDATA[board-of-directors]]></category>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[Kuro Huang]]></dc:creator>
            <pubDate>Wed, 04 Nov 2026 08:55:36 GMT</pubDate>
            <atom:updated>2026-11-05T16:42:10.712Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wV6avhDp-yOVXfl7-u-1_w.png" /></figure><p>董事會怎麼看 AI 安全？</p><p>大 AI 時代，2026 年資安事件一件接一件，分享一下近期的一些心得。</p><p>資安單位上董事會報告越來越普遍了。最近跟董事會等高階管理層報告資安，我原本以為焦點會放在傳統議題，結果 AI 是被問最多的。科技圈跟新聞上都在喊 AI 有多神、產值有多大，但站在經營者的位置，看到的是另一回事。簡單整理分享最近的心得，還有跟其他公司的高階管理層聊到的幾個議題。</p><p><strong>1. 員工私底下到底怎麼用 AI？</strong></p><p>高階管理層會擔心 AI 失控。大家心裡都有數，我個人的想法是，除非是銀行或竹科大廠，有集中式管理才有機會掌握住，其他企業的員工多半還是會自己用。問題是如果有人把程式碼、個資、合約或公司策略丟進工具中，資料外洩算誰的？到底該怎麼管？</p><p>就算管理制度或政策都有了，技術控制也不一定有預算跟得上，EDLP、Proxy、SASE 每一樣都是費用。就我的經驗，先撇除監管嚴格的行業，很多大型企業其實也缺乏資料外洩防護的政策與解決方案，當今可能還要搭配安全存取服務邊緣（Secure Access Service Edge，簡稱 SASE）才足夠應付Shadow AI 。說穿了就是不太想投資在這塊，端點數量太多，要花的錢太可觀，管理起來太難，或是資安單位跟資訊單位推來推去誰要管理。</p><p><strong>2. 駭客用 AI 打過來，我們擋得住嗎？</strong></p><p>以前的釣魚信破綻很多。現在 AI 可以仿冒聲音、寫高度客製化的信件、自動找漏洞，攻擊成本低很多。我們的防禦跟得上駭客用 AI 的速度嗎？</p><p>每間企業的對外曝險、預算和專業人力都不同，這題沒有標準答案。Mandiant 今年的 M-Trends 報告估計，平均漏洞利用時間已經是負 7 天，也就是漏洞常在修補程式出來之前就被打了。攻擊者取得初始存取後轉手給下一個集團，中位數只要 22 秒。攻擊者只要成功一次，防守方卻得每次都擋下來，AI 讓攻擊變便宜以後，這個不對等只會更明顯。</p><p>但同一份報告也提到，2025 年的入侵事件大多還是來自人為和系統性的缺失，AI 並不是直接原因。Verizon 今年的 DBIR 也看到相同的趨勢：31% 的外洩事件從漏洞利用開始，19 年來第一次超過帳密竊取。換句話說，AI 放大的多半還是那些老問題，像是漏洞未修、權限過大、驗證太弱。很多時候，企業連這些基本功都還沒做好。</p><p>防守方當然也該用 AI。NIST 正在制定的 Cyber AI Profile，就把「用 AI 強化防禦」和「抵禦 AI 驅動的攻擊」並列為重點。只是 AI 是用來補人力缺口的，替代不了基本功。</p><p>最近自己也寫了MCP 來幫我管理資安系統/產品，寫好Skills 處理許多庶務還有幫助我分析風險..</p><p><strong>3. 組織權責</strong></p><p>AI 管理卡關的地方很少是技術，多半是說不清楚誰該負責、該管到哪裡：誰制定規範、誰負責 AI 安全維運。這還沒談到哪個單位要編預算、出錢投資技術控制。實際上光是 AI 安全的日常作業，大家可能就推得一乾二淨，現實上很多公司的資安單位自己都不太想負責。</p><p>ISACA 今年的 AI Pulse Poll 也反映了這點：九成受訪者認為員工在用 AI，有完整 AI 政策的組織卻只有 38%。被問到 AI 出事該由誰負責，有兩成答不出來，這在台灣也很常見。</p><p>AI 治理沒辦法只靠資安單位寫規範或導入工具就完成，也不是只管好Claude Org 層級帳號就好 ，有太多要討論的議題 ，高階管理層願意花時間討論 AI，我反而覺得是好事，代表這件事終於被放到該放的位置。</p><p><strong>資料連結</strong></p><ul><li>Mandiant M-Trends 2026：<a href="https://cloud.google.com/blog/topics/threat-intelligence/m-trends-2026">https://cloud.google.com/blog/topics/threat-intelligence/m-trends-2026</a></li><li>Verizon 2026 DBIR：<a href="https://www.verizon.com/about/news/breach-industry-wide-dbir-finds">https://www.verizon.com/about/news/breach-industry-wide-dbir-finds</a></li><li>NIST Cyber AI Profile（NIST IR 8596）：<a href="https://www.nccoe.nist.gov/node/2581">https://www.nccoe.nist.gov/node/2581</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2cf3548ec9d7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blacksecurity/board-ai-sec-2cf3548ec9d7">董事會看待 AI 安全議題</a> was originally published in <a href="https://medium.com/blacksecurity">資安工作者的學習之路</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon Kiro Enterprise Security Integration: Getting Started with AWS IAM Identity Center and…]]></title>
            <link>https://medium.com/blacksecurity/amazon-kiro-enterprise-b39782221648?source=rss----2c740c348256---4</link>
            <guid isPermaLink="false">https://medium.com/p/b39782221648</guid>
            <category><![CDATA[genai-security]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[kiro]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Kuro Huang]]></dc:creator>
            <pubDate>Fri, 23 Jan 2026 08:32:29 GMT</pubDate>
            <atom:updated>2026-01-23T08:32:31.444Z</atom:updated>
            <content:encoded><![CDATA[<h3>Amazon Kiro Enterprise Security Integration: Getting Started with AWS IAM Identity Center and Security Management (Kiro for Enterprise)</h3><p>When enterprises adopt generative AI tools, <strong>authentication and access control</strong> are the most critical security elements. Kiro Enterprise not only delivers powerful development and collaboration capabilities, it also requires rigorous sign-in and authorization mechanisms and ensures kiro administrators complete <strong>security best practices</strong> in Kiro configuration.</p><p>This article is available in both Trandtional Chinese and English. For the Chinese version, please refer to: <a href="https://medium.com/@kuroH/amazon-kiro-e6cdf49b5851">https://medium.com/@kuroH/amazon-kiro-e6cdf49b5851</a></p><p>To reduce the risk of credential leakage, simplify user management, and meet compliance requirements, Kiro uses <strong>AWS IAM Identity Center</strong> as the core integration approach — <strong>replacing traditional IAM user sign-in</strong>. This design enables <strong>single sign-on (SSO)</strong>, <strong>centralized permission management</strong>, and <strong>integration with external identity providers (IdPs)</strong> so that enterprises can maintain best‑practice security while using AI applications.</p><p>This article discusses:</p><ul><li><strong>Why you should use IAM Identity Center rather than IAM user sign-in</strong></li><li><strong>How to integrate enterprise authentication flows and security settings</strong></li></ul><p>Because I’m an <strong>AWS Community Builder — Security</strong>, I’ve received credits to experiment with AWS services. In the current AI wave, I’m focusing on the administrator security configuration. (The security topics around the Kiro IDE have already been widely discussed online, so I won’t repeat them here.)</p><p>My AWS Community Builder Profile :</p><p><a href="https://builder.aws.com/community/@kurohuangaws">AWS Builder Center</a></p><h3>What is Kiro</h3><blockquote><strong>Agentic AI development from prototype to production</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aHODmot0YyxFa2CozbZ2AA.png" /><figcaption><a href="https://kiro.dev/">https://kiro.dev/</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZLFFioolAH0Dxw2qFVz6xg.png" /><figcaption>kiro.dev</figcaption></figure><h3>From the user’s perspective: Where Kiro shines</h3><p>In practice, Kiro is not just another AI tool — it’s a <strong>complete enterprise‑grade AI development platform</strong>. From a security standpoint, I haven’t yet seen third‑party assurance reports specifically for Kiro (e.g., formal certification reports). However, technically, Kiro enables many security configurations that competing tools often cannot match.</p><p><strong>Three highlights of Kiro:</strong></p><p><em>(Fun fact: My name is Kuro, and I keep typing Kiro as Kuro.)</em></p><h4>1) Vibe Coding</h4><p>This is the most compelling part of Kiro for me. It goes beyond code suggestions — Kiro understands project context and has helped me complete many small developer tools. When needed, it automatically generates tests and documentation, making development smoother.</p><h4>2) Enterprise‑grade security integration</h4><p>As a security practitioner, I value that Kiro integrates with <strong>AWS IAM Identity Center</strong> to provide <strong>SSO</strong>, <strong>group management</strong>, and <strong>permission sets</strong>, avoiding the credential risks associated with traditional IAM users. The admin console also enables <strong>Prompt Logging</strong>, <strong>usage reports</strong>, and <strong>access controls</strong>, which are far more convenient than many alternatives. <strong>CloudTrail</strong> can also record and monitor <strong>AWS API–level</strong> activities performed in your account.</p><h4>3) Flexibility and extensibility</h4><p>Whether via <strong>IDE</strong>, <strong>CLI</strong>, or <strong>MCP (Model Context Protocol)</strong> to integrate external tools, Kiro supports them — and bundles foundational security settings.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*h1wLTq8pXeV9guOv--LyHQ.png" /></figure><h3>Kiro + AWS Enterprise Onboarding (To onboard your team to Kiro)</h3><h4>1) Sign in to your AWS account</h4><p>You can sign in as the <strong>AWS root user</strong> or as a user with a <strong>privileged role</strong>.<br> Alternatively, allow administrators to use Kiro with the <strong>minimum necessary permissions</strong>.</p><h4>2) Enable AWS IAM Identity Center</h4><p>Enable <strong>IAM Identity Center</strong> in your AWS account.<br> Add users to its directory, or connect it to an external IdP.<br> If this is your first time, see <strong>Getting started with IAM Identity Center</strong>.</p><p>Kiro Enterprise relies on <strong>Identity Center</strong> to implement secure user subscriptions and SSO, avoiding the risks of manually managing IAM users (credential leakage, difficult lifecycle management, revocation pitfalls). IAM Identity Center provides a dedicated <strong>Start URL</strong> for sign‑in; users can authenticate with their organizational accounts without juggling multiple AWS IAM credentials.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*pkZxs37-Zz6QOZH7.png" /><figcaption><a href="https://aws.amazon.com/tw/blogs/security/category/security-identity-compliance/aws-single-sign-on-sso/">https://aws.amazon.com/tw/blogs/security/category/security-identity-compliance/aws-single-sign-on-sso/</a></figcaption></figure><p>When you enable IAM Identity Center and create users, you’ll see several important fields:</p><ul><li><strong>Instance name</strong> — The name of the IAM Identity Center instance (customizable) for easy identification.</li><li><strong>Identity source</strong> — The identity store in use (e.g., the <strong>Identity Center directory</strong>) or an external IdP (such as <strong>Okta</strong> or <strong>Microsoft Entra ID</strong>).</li><li><strong>Region</strong> — The AWS Region where the Identity Center instance is deployed.</li><li><strong>Organization ID</strong> — The unique identifier of <strong>AWS Organizations</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qM1CG8xVKADsb9mHYku0aA.png" /></figure><p>Next, <strong>create a user</strong>. This user can sign in through the <strong>AWS access portal</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jIQcxEEXB0JGfun4D8vYrQ.png" /></figure><h4>3) Create a Kiro Profile and subscribe users</h4><p>In the <strong>AWS Management Console</strong>, open the <strong>Kiro Console</strong>.<br> Use the provided UI to <strong>create a Kiro profile</strong> and <strong>subscribe users</strong>.<br> <strong>Profile</strong> binds a user’s identity to their <strong>Kiro subscription and settings</strong>.<br> Don’t forget to <strong>enable MFA</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*ecp0b6Y3XEr0-6rGuofnVA.png" /><figcaption>photo : <a href="https://kiro.dev/">https://kiro.dev/</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EAVXBSv8knlJA0XBeYlWyQ.png" /></figure><p><em>Choose the plan that fits your usage; frequent use generally suggests </em><strong><em>Kiro Pro+</em></strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*q8fmwHSaM8KaL2xnDflpfg.png" /></figure><h4>4) Ask users to check email</h4><p>Within <strong>24 hours</strong> of being subscribed, users should receive an email with <strong>download instructions</strong> for Kiro IDE and sign‑in steps. In practice, timing may vary — <strong>console status is authoritative</strong>.<br> After installation, select <strong>Sign in with AWS IAM Identity Center</strong>.<br> Remember to use the <strong>Identity Center Start URL</strong>, <strong>not</strong> a regular IAM user sign‑in.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*dk-0lb-_lTwN8K0J50c9sA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*MOXs7rxGEe757CSPi19Fmg.png" /></figure><h3>Admin Console (AWS) — Shared settings</h3><p>Return to the AWS admin view. It’s important to <strong>carefully evaluate</strong> which options to enable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-1o7m6_O31jzjTzgBdefpw.png" /></figure><p><strong>Shared settings</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qwqvuHvHNj-7kAk85QQVA.png" /><figcaption>Shared settings</figcaption></figure><p><strong>Include suggestions with code references</strong></p><ul><li>Whether suggestions include code references, helping developers see relevant source snippets.</li></ul><p><strong>Encryption key</strong></p><ul><li>Choose a <strong>customer‑managed key</strong>; otherwise an AWS‑managed key is used. This affects <strong>encryption at rest</strong>.</li></ul><p><strong>Member account subscriptions</strong></p><ul><li>Display and manage subscriptions from <strong>member accounts</strong>. Requires <strong>Trusted Access</strong> for aggregate visibility.<br> This setting <strong>lists subscriptions in the Amazon Q console</strong> (under the <strong>management account</strong>), unifying subscriptions across management and member accounts.</li><li><strong>Security note:</strong> Ensure <strong>Trusted Access</strong> is enabled and scoped correctly to avoid unauthorized access to enterprise resources.</li></ul><h3>Admin Console (AWS) — Kiro settings</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qwqvuHvHNj-7kAk85QQVA.png" /><figcaption>Kiro settings</figcaption></figure><p><strong>Model Context Protocol (MCP)</strong></p><ul><li>Allows Kiro agents to use MCP to exchange context with external tools or models.</li><li><strong>Security note:</strong> Grant only what’s necessary, follow <strong>least privilege</strong>, and regularly review MCP connections and <strong>tokens</strong>.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*BI2dWBMk1iR99dUegvA58w.png" /></figure><p><strong>Overages</strong></p><ul><li>Allow users to continue working after exceeding monthly usage limits.</li><li><strong>Security/Cost note:</strong> Prevent uncontrolled costs or resource abuse; pair with alerting mechanisms.</li></ul><p><strong>Prompt logging</strong></p><ul><li>Record Kiro <strong>prompts</strong> and <strong>metadata</strong> for auditing and traceability; be mindful of privacy/compliance.</li><li><em>Official description:</em> “Kiro admins can enable the logging of all inline suggestions and chat conversations that users have in the Kiro IDE. These logs can help with auditing, debugging, analytics, and ensuring compliance.”</li><li><strong>Security note:</strong> If logs contain sensitive data, enforce access controls. Even without KMS, enable <strong>S3 server‑side encryption (SSE)</strong>.</li></ul><h3>Usage activity</h3><p><strong>Kiro usage dashboard</strong></p><ul><li>When enabled, track usage and provide admin visualization.</li><li><strong>User activity report</strong><br> Collect per‑user telemetry and <strong>export daily reports</strong> to an <strong>S3 bucket</strong> — useful for behavioral analysis and compliance.</li><li><strong>Security note:</strong> Ensure S3 <strong>versioning</strong> and <strong>encryption</strong> are enabled; configure <strong>IAM policies</strong> to avoid public access.</li><li><em>Official description:</em> “You can configure Kiro to collect user activity telemetry of individual Kiro subscribers in your organization and present that information in a report. The report gives you insights into how specific users are using Kiro.”</li></ul><h3>Best‑practice summary</h3><ul><li><strong>Encryption keys</strong> — Prefer <strong>customer‑managed KMS keys</strong> to meet enterprise security standards.</li><li><strong>Prompt Logging</strong> — If enabled, combine with auditing and <strong>strict access controls</strong> to avoid sensitive‑data exposure; at minimum, ensure you <strong>retain logs</strong>.</li><li><strong>MCP</strong> — Restrict external tool permissions to mitigate security and data‑exfiltration risks.</li><li><strong>S3 reports</strong> — Ensure buckets have correct <strong>IAM policies</strong> and <strong>encryption</strong>.</li></ul><h3>Advanced recommendations</h3><h4>MCP security hardening</h4><ul><li>Use <strong>API Gateway + IAM roles</strong> to control access from external tools.</li><li><strong>Rotate credentials</strong> regularly.</li><li><strong>CloudTrail</strong> can monitor <strong>AWS API–level</strong> actions (e.g., S3, IAM, Amazon Q/Kiro–related APIs). Note that CloudTrail <strong>does not record MCP actions that occur locally or outside AWS</strong>; MCP calls that invoke AWS services will then appear in CloudTrail.</li></ul><h4>Prompt Logging</h4><ul><li>Apply <strong>PII masking</strong>.</li><li>Enable <strong>S3 SSE</strong> (even if you don’t use KMS).</li><li>Restrict read access via <strong>IAM policies</strong>.</li></ul><h4>S3 log/report buckets</h4><ul><li>Enable <strong>Block Public Access</strong>.</li><li>Use <strong>bucket policies</strong> that allow only specific <strong>IAM roles</strong>.</li><li>Turn on <strong>versioning</strong> to avoid accidental deletion.</li></ul><h4>Resource‑usage controls</h4><ul><li>Add <strong>CloudWatch Billing Alarms</strong> to notify when budgets are exceeded.</li><li>Configure <strong>Overages</strong> cautiously to avoid unlimited usage (unless your team truly intends it).</li></ul><h3>Dashboard</h3><p>If the above features are enabled, the dashboard will visualize actual usage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TGA-6sX4_oUafrbc3KItfg.png" /></figure><h3>VPC Endpoint</h3><p>Enterprises can use <strong>AWS PrivateLink</strong> to create <strong>interface VPC endpoints</strong> for Kiro (e.g., com.amazonaws.us-east-1.q) so <strong>traffic to Kiro APIs stays on the AWS network</strong>. However, parts of <strong>sign‑in/authentication</strong> may still require public internet connectivity—always follow the latest official documentation.</p><p><strong>Reference</strong><br><a href="https://kiro.dev/docs/enterprise/settings/">https://kiro.dev/docs/enterprise/settings/</a></p><h3>Conclusion</h3><p>When enterprises adopt generative AI tools like <strong>Kiro</strong>, the value of the platform lies not only in productivity gains but also in <strong>security and governance</strong>. By integrating with <strong>AWS IAM Identity Center</strong>, Kiro Enterprise mitigates risks inherent to traditional account management and provides <strong>SSO</strong>, <strong>group‑based controls</strong>, and <strong>permission sets</strong> so that security policies can be enforced in practice.</p><p>At the same time, Kiro’s security settings (such as <strong>Prompt Logging</strong>, <strong>usage reports</strong>, and <strong>access controls</strong>) let developers enjoy AI assistance while meeting baseline security requirements and supporting audits. This balance of <strong>efficiency + security</strong> is the foundational skill enterprises need when scaling AI adoption.</p><p><strong>About Kuro ：</strong></p><ul><li>Portaly / About me : <a href="https://portaly.cc/kurohuang">https://portaly.cc/kurohuang</a></li><li>Personal Website : <a href="https://kuronetwork.me/">https://kuronetwork.me</a></li><li>Instagram : <a href="https://www.instagram.com/kuronetwork/">https://www.instagram.com/kuronetwork/</a></li><li>Threads : <a href="https://www.threads.net/@kuronetwork">https://www.threads.net/@kuronetwork</a></li><li>Facebook : <a href="https://www.facebook.com/kublackstock">https://www.facebook.com/kublackstock</a></li><li>LinkedIn： <a href="https://www.linkedin.com/in/kurohuang/">https://www.linkedin.com/in/kurohuang/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b39782221648" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blacksecurity/amazon-kiro-enterprise-b39782221648">Amazon Kiro Enterprise Security Integration: Getting Started with AWS IAM Identity Center and…</a> was originally published in <a href="https://medium.com/blacksecurity">資安工作者的學習之路</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Amazon Kiro 企業版安全整合：AWS IAM Identity Center 與安全管理入門(Kiro for Enterprise)]]></title>
            <link>https://medium.com/blacksecurity/amazon-kiro-e6cdf49b5851?source=rss----2c740c348256---4</link>
            <guid isPermaLink="false">https://medium.com/p/e6cdf49b5851</guid>
            <category><![CDATA[genai-security]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[kiro]]></category>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Kuro Huang]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 13:31:57 GMT</pubDate>
            <atom:updated>2026-06-12T16:04:44.982Z</atom:updated>
            <content:encoded><![CDATA[<p>在企業導入生成式 AI 工具的過程中，<strong>身份驗證與存取控管</strong>是最關鍵的安全環節。Kiro 企業版不僅提供強大的開發與協作能力，更要求嚴謹的登入與授權機制，並確保管理員已完成 Kiro 設定的安全最佳實務。<br>為了降低憑證洩漏風險、簡化使用者管理並符合合規要求，Kiro 採用 <strong>AWS IAM Identity Center</strong> 作為核心整合方案，取代傳統 IAM 使用者登入方式。此設計能夠實現 <strong>單一登入（SSO）</strong>、集中式權限管理，以及與外部身分提供者（IdP）整合，讓企業在使用 AI 應用時，仍能維持最佳安全實務。</p><p>本篇文章有中英文版，英文版連結請參考：<a href="https://medium.com/@kuroH/amazon-kiro-enterprise-b39782221648">https://medium.com/@kuroH/amazon-kiro-enterprise-b39782221648</a></p><p>這次來聊一下：</p><ul><li><strong>為何必須使用 IAM Identity Center 而非 IAM 使用者登入</strong></li><li><strong>整合企業身份驗證流程與資安設定</strong></li></ul><p>因為我本身是 AWS <strong>Community Builder</strong> — Security組，有獲得一些 Credit 能來玩玩 AWS 各項服務，趁大 AI 時代來研究一下管理者的安全設定。而Kiro這個IDE安全議題網路上有不少討論了，就不在這篇多提。</p><p>我 AWS Community Builder 檔案:</p><p><a href="https://builder.aws.com/community/@kurohuangaws">AWS Builder Center</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cc3Hz8_JlJZFWnSGMIvEPA.png" /></figure><h3>什麼是 Kiro</h3><blockquote><strong>Agentic AI development from prototype to production</strong></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aHODmot0YyxFa2CozbZ2AA.png" /><figcaption><a href="https://kiro.dev/">https://kiro.dev/</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZLFFioolAH0Dxw2qFVz6xg.png" /></figure><h3>Amazon Kiro CLI ?</h3><p>CLI 操作是開發者很喜愛的一個工作模式，很推薦大家學習，我也做了一個中文指引網站（透過 Kiro 完成) 來與大家一同學習 Kiro CLI !</p><p><a href="https://kiro.kuronetwork.me/">Kiro CLI 繁中教學 - 從零到自動化</a></p><h4>從使用者角度看它的價值</h4><p>在實際使用 Kiro 的過程中，這不只是單純的 AI 工具，而是一個完整的企業級 AI 開發平台。從資安的角度考量，Kiro這個時間還沒有看到有效的資安驗證或是確信報告，但從技術上看能做到許多其他工具沒辦法完成的資安設定。</p><p>Kiro 的核心亮點有三個：</p><ol><li>我叫 Kuro，打 Kiro 一直打成 Kuro。</li><li><strong>Vibe Coding </strong><br> 這是 Kiro 最吸引我的地方。它不只是提供程式碼建議，而是能理解專案上下文，協助我這段時間完成蠻多開發小工具的任務，在需要時自動生成測試與文件，讓開發過程更流暢。</li><li><strong>企業級安全整合</strong><br>作為資安從業者。Kiro 與 <strong>AWS IAM Identity Center</strong> 整合，提供單一登入（SSO）、群組管理與權限集，避免傳統 IAM 使用者帶來的憑證風險。同時，後台還能啟用 <strong>Prompt Logging</strong>、使用報告與存取控管，比起其他工具方便許多。CloudTrail 同樣能夠留存與監控使用者行為。</li><li><strong>彈性與擴展性</strong><br> 無論是 IDE、CLI，還是 MCP（Model Context Protocol）整合外部工具，Kiro 都能支援，並整合基礎的安全設定。</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*h1wLTq8pXeV9guOv--LyHQ.png" /></figure><h3>Kiro 與 AWS 企業整合設定 (To onboard your team to Kiro)</h3><h4>登入 AWS 帳號</h4><ul><li>您可以使用 <strong>AWS Root 使用者</strong> 或具備 <strong>特權角色的使用者</strong>登入。</li><li>或者允許管理員以 <strong>最低必要權限</strong>使用 Kiro。</li></ul><h4>啟用 AWS IAM Identity Center</h4><ul><li>在您的 AWS 帳號中啟用 <a href="https://docs.aws.amazon.com/zh_tw/singlesignon/latest/userguide/what-is.html"><strong>IAM Identity Center</strong></a>。</li><li>將使用者新增至其目錄，或連接至外部身分識別提供者（IdP）。</li><li>如果這是您第一次設定 IAM Identity Center，請參考官方文件：<br><a href="https://docs.aws.amazon.com/singlesignon/latest/userguide/getting-started.html"> <strong>Getting started with IAM Identity Center</strong></a></li><li><strong>Kiro 企業版需要 Identity Center 來實現安全的使用者訂閱與 SSO</strong>，避免手動管理 IAM 使用者帶來的風險（如憑證洩漏、難以管理和撤銷）。</li><li>IAM Identity Center 提供專屬登入 URL，使用者只需企業帳號即可登入 Kiro，不必管理多組 AWS IAM 憑證。</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/0*pkZxs37-Zz6QOZH7.png" /><figcaption><a href="https://aws.amazon.com/tw/blogs/security/category/security-identity-compliance/aws-single-sign-on-sso/">https://aws.amazon.com/tw/blogs/security/category/security-identity-compliance/aws-single-sign-on-sso/</a></figcaption></figure><p>我們先啟用 IAM Identity Center ，並建立使用者，這時候右方就有 幾個重要資訊：</p><ul><li><strong>Instance name</strong>：IAM Identity Center 實例的名稱，可自訂，用於識別此 Identity Center 實例，方便管理。</li><li><strong>Identity source</strong>：身分來源，目前使用 AWS 內的Identity Center directory，表示使用 AWS Identity Center 內建目錄，或可選擇外部 IdP（如 Okta、Azure Entra ID ）。</li><li><strong>Region</strong>：Identity Center 實例部署的 AWS 區域，決定服務運行位置，影響資料主權與延遲。</li><li><strong>Organization ID</strong>：AWS Organizations 的唯一識別碼</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qM1CG8xVKADsb9mHYku0aA.png" /></figure><p>接下來建立一個 User，此 user 可以登入AWS access portal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jIQcxEEXB0JGfun4D8vYrQ.png" /></figure><h4>建立 Kiro Profile 並訂閱使用者</h4><ul><li>在 AWS 管理主控台中，進入 <strong>Kiro Console</strong>。</li><li>使用提供的 UI 建立 <strong>Kiro Profile</strong> 並訂閱使用者。</li><li><strong>Profile 的作用</strong>：將使用者身分與其 Kiro 訂閱及設定綁定。</li><li>記得啟用 MFA !</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*ecp0b6Y3XEr0-6rGuofnVA.png" /><figcaption>photo : <a href="https://kiro.dev/">https://kiro.dev/</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EAVXBSv8knlJA0XBeYlWyQ.png" /></figure><p>我們可以選擇適合的方案，頻繁使用建議 Kiro Pro+</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1004/1*q8fmwHSaM8KaL2xnDflpfg.png" /></figure><h4>4. 使用者確認電子郵件</h4><ul><li>在完成訂閱後 <strong>24 小時內</strong>，使用者將收到一封電子郵件。不過這可能以當下管理主控台狀態為準</li><li>下載完Kiro IDE，選擇 Sign in with AWS IAM Identity Center</li><li>登入記得要走 <strong>IAM Identity Center 的專屬連結，並非一般的IAM 登入</strong></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*dk-0lb-_lTwN8K0J50c9sA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*MOXs7rxGEe757CSPi19Fmg.png" /></figure><h3>Admin Console (AWS)-Shared settings</h3><p>這邊回到 AWS 上的管理者介面， 強烈建議好好評估這邊的設定是否要打開。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-1o7m6_O31jzjTzgBdefpw.png" /></figure><p>往下拉之後會看到 Shared settings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qwqvuHvHNj-7kAk85QQVA.png" /><figcaption>Shared settings</figcaption></figure><p><strong>Include suggestions with code references</strong></p><ul><li>是否在建議中包含程式碼參考，方便開發者直接看到相關程式碼片段。</li></ul><p><strong>Encryption key</strong></p><ul><li>可選擇使用自訂加密金鑰（Customer-managed key），若未啟用則使用預設金鑰。此設定影響靜態資料加密安全性。</li></ul><p><strong>Member account subscriptions</strong></p><ul><li>顯示並管理來自成員帳號的訂閱，需啟用 Trusted Access 才能集中檢視。這會在管理帳號下<strong>統一列出管理與成員帳號的 Kiro 訂閱</strong></li><li><strong>安全考量</strong>：確保啟用 Trusted Access，避免未授權帳號存取企業資源。</li></ul><h3>Admin Console (AWS)-Kiro settings（Kiro 設定）</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qwqvuHvHNj-7kAk85QQVA.png" /><figcaption>Kiro settings</figcaption></figure><p><strong>Model Context Protocol (MCP)</strong></p><ul><li>允許 Kiro agent 使用 MCP 與外部工具或模型交換上下文，需注意安全權限控管。</li><li><strong>安全考量</strong>：僅授權必要工具、使用最小權限原則、定期審核 MCP 連線與 Token。</li></ul><p>如果未打開，Kiro就無法使用，會顯示 MCP Usage has been disable by your organizaion</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*BI2dWBMk1iR99dUegvA58w.png" /></figure><p>重新打開之後可以使用MCP Server</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/1*BI2dWBMk1iR99dUegvA58w.png" /></figure><p>Kiro 說明 這幾個MCP作用</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/1*vj6IAkWciCVbbrUEBzH4Wg.png" /></figure><p>對MCP測試有興趣可參考 : <a href="https://estellacoding.github.io/blog/aws-kiro-build-fillup-using-specification-driven-development-mcp/#MCP-Server">https://estellacoding.github.io/blog/aws-kiro-build-fillup-using-specification-driven-development-mcp/#MCP-Server</a></p><p><strong>Overages</strong></p><ul><li>是否允許使用者在超過月使用限制後繼續使用 Kiro。</li><li><strong>安全考量</strong>：避免因無限制使用導致成本失控或資源濫用，建議搭配告警機制。</li></ul><p><strong>Prompt logging</strong></p><ul><li>記錄 Kiro 的 Prompt 及其 Metadata，方便稽核與追蹤，但涉及隱私與合規風險。</li><li>官方說明 : Kiro admins can enable the logging of all inline suggestions and chat conversations that users have in the Kiro IDE. These logs can help with auditing, debugging, analytics, and ensuring compliance.)</li><li><strong>安全考量</strong>：若包含敏感資料，需搭配存取控管。建議啟用加密儲存（即使不使用 KMS，也可採用 S3 Server-Side Encryption）。</li></ul><h3>Usage activity（使用活動）</h3><p><strong>Kiro usage dashboard</strong></p><ul><li>啟用後可追蹤 Kiro 功能使用情況，提供管理者可視化報告。</li><li>收集使用者活動指標並每日輸出報告至 S3 Bucket，適合企業做行為分析與合規檢查。</li><li><strong>安全考量</strong>：確保 S3 Bucket 啟用版本控管與加密、設定 IAM Policy，避免公開存取。</li><li>官方說明 :<strong> Kiro user activity report (You can configure Kiro to collect user activity telemetry of individual Kiro subscribers in your organization and present that information in a report. The report gives you insights into how specific users are using Kiro)</strong></li></ul><h3><strong>最佳實務總結</strong></h3><ul><li><strong>加密金鑰</strong>：建議啟用自訂 KMS 金鑰，符合企業安全規範。</li><li><strong>Prompt Logging</strong>：若開啟，需搭配稽核與存取控管，避免敏感資料外洩，沒有稽核至少也留下 Log 。</li><li><strong>MCP</strong>：啟用時必須限制外部工具權限，避免資安問題或資料外洩。</li><li><strong>S3 報告</strong>：確保 S3 Bucket 有正確的 IAM Policy 與加密設定。</li></ul><h3>進階建議</h3><p><strong>MCP 安全強化</strong></p><ul><li>使用 <strong>API Gateway + IAM Role</strong> 控制外部工具存取。</li><li>定期輪替憑證</li><li>CloudTrail 能監控<strong>經由 AWS API</strong> 發生的活動（例如 S3、IAM、Amazon Q/Kiro 相關的 API。需注意 <strong>CloudTrail 無法直接記錄 MCP 在本機執行的非 AWS 操作</strong>，MCP 請求若呼叫 AWS 服務才會在 CloudTrail 中呈現</li></ul><p><strong>Prompt Logging</strong></p><ul><li>敏感資料遮罩（PII Masking）。</li><li>啟用加密儲存（即使不使用 KMS，也可採 S3 SSE）。</li><li>設定 IAM Policy 限制誰能讀取 Prompt Log。</li></ul><p><strong>S3 日誌報告</strong></p><ul><li>啟用 <strong>Block Public Access</strong>。</li><li>設定 Bucket Policy 僅允許特定 IAM Role 存取。</li><li>啟用版本控管，避免手殘刪除。</li></ul><p><strong>資源使用控管</strong></p><ul><li>搭配 <strong>CloudWatch Billing Alarm</strong>，超過預算時通知。</li><li>設定 Overages 限制，避免無上限使用，除非你的單位很賺錢那無所謂XD</li></ul><h3>Dashboard</h3><p>如果前面設定有開啟，那Dashboard可以看到實際使用狀況</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TGA-6sX4_oUafrbc3KItfg.png" /></figure><h3>VPC Endpoint</h3><p>企業可用 <strong>AWS PrivateLink</strong> 建立 Kiro 的 <strong>介面型 VPC Endpoint</strong>（如 com.amazonaws.us-east-1.q），讓 <strong>與 Kiro API 的流量不出公網</strong>；但<strong>登入/認證等部分流程仍可能走公開網路</strong>，請依官方文件為準，畢竟隨時都有可能更新</p><h4>參考資料</h4><p><a href="https://kiro.dev/docs/enterprise/settings/">Settings - IDE - Docs - Kiro</a></p><h3>總結</h3><p>在企業導入 生成式 AI 工具、或是如 Kiro等工具 的過程中，<strong>AI 開發平台的價值不僅在於提升生產力，更在於如何確保安全與管理</strong>。Kiro 企業版透過與 <strong>AWS IAM Identity Center</strong> 的整合，解決了傳統帳號管理的風險，並提供單一登入（SSO）、群組控管與權限集，讓資安規範能夠落地執行。</p><p>同時，Kiro 的 安全設定（如 Prompt Logging、使用報告、存取控管），讓開發者在享受 AI 助力的同時，仍能維持基本的資安要求，也可以被稽核。這種「效率 + 安全」的平衡，正是企業在擴展 AI 應用時最需要的基本功。</p><p>最後請 AI (M365 Copliot) 幫我整理了一下可能的風險與對應，提供大家參考</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FpxfjpqIlXB-0poWtbcNLw.png" /></figure><p><strong>關於 Kuro 介紹、聯絡方式、文章分享 ：</strong></p><ul><li>Portaly 關於我（推薦）: <a href="https://portaly.cc/kurohuang">https://portaly.cc/kurohuang</a></li><li>文章目錄/個人網站 : <a href="https://kuronetwork.me/">https://kuronetwork.me</a></li><li>Instagram : <a href="https://www.instagram.com/kuronetwork/">https://www.instagram.com/kuronetwork/</a></li><li>Threads : <a href="https://www.threads.net/@kuronetwork">https://www.threads.net/@kuronetwork</a></li><li>Facebook : <a href="https://www.facebook.com/kublackstock">https://www.facebook.com/kublackstock</a></li><li>LinkedIn： <a href="https://www.linkedin.com/in/kurohuang/">https://www.linkedin.com/in/kurohuang/</a></li></ul><h4>Cloud Computing</h4><ul><li>2024.02 — AWS Certified Cloud Practitioner Certification (<a href="https://medium.com/blacksecurity/aws-ccp-6fbb13501418">CCP</a>)</li><li>2024.02 — AWS Certified Solutions Architect — Associate (<a href="https://medium.com/blacksecurity/aws-saa-3837551b6898">SAA</a>)</li><li>2024.03 — GCP Associate Cloud Engineer (<a href="https://medium.com/blacksecurity/gcp-associate-cloud-engineer-78f736aee7ad">GCP-ACE</a>)</li><li><a href="https://medium.com/blacksecurity/ccsp-%E9%9B%B2%E7%AB%AF%E8%B3%87%E5%AE%89%E5%B0%88%E5%AE%B6%E8%87%AA%E4%BF%AE%E8%80%83%E8%A9%A6%E5%BF%83%E5%BE%97-%E6%BA%96%E5%82%99%E6%96%B9%E5%BC%8F%E8%88%87%E6%95%99%E6%9D%90%E6%95%B4%E7%90%86-certified-cloud-security-professional-a3dccf22136d">CCSP 雲端資安專家自修考試心得、準備方式與教材整理（Certified Cloud Security Professional）</a></li><li><a href="https://medium.com/blacksecurity/aws-trusted-advisor-03954636abc8">善用你的 AWS Trusted Advisor：提升雲端安全、效能與成本效益！</a></li><li><a href="https://medium.com/blacksecurity/cloud-nacl-review-ed50b1c969fe">雲端網路存取控制規則檢視-官方指令彙整(Azure NSG, AWS Security Group/NACL ,GCP Firewall)</a></li><li><a href="https://medium.com/blacksecurity/amazon-bedrock-85d566d2de1e">Amazon Bedrock 試用心得 — 安全的在雲端上使用生成式 AI</a></li><li><a href="https://medium.com/blacksecurity/cloudrun-with-iap-eb1c71ca88d2">[GCP] 部署 Docker 應用至 Cloud Run 並使用 IAP 驗證登入</a></li><li><a href="https://medium.com/blacksecurity/aws-cloudfront-oac-5805d27b3a7a">使用AWS CloudFront 的原始存取控制(OAC)建立安全的 S3 靜態網站</a></li><li><a href="https://medium.com/blacksecurity/awswellarchitected-43bbddf39abb">AWS 架構安全評估工具 — AWS Well-Architected Tool</a></li><li><a href="https://medium.com/blacksecurity/awsworkspaces-0fb434c14f37">遠距辦公與資料保護-使用 AWS WorkSpaces 虛擬桌面服務</a></li><li><a href="https://medium.com/blacksecurity/aws-asset-inventory-400daeb1f733">在 Windows 安裝WSL 執行Scirpt 以進行 AWS 資源盤點：解決 AWS SecurityAudit Policy限制</a></li><li><a href="https://medium.com/blacksecurity/aws-script-inventory-5c0477603508">Running Custom Scripts on Windows WSL for AWS Resource Inventory: Addressing AWS SecurityAudit Policy Restrictions</a></li><li><a href="https://medium.com/blacksecurity/cloud-nacl-review-ed50b1c969fe">雲端網路存取控制規則檢視-官方指令彙整(Azure NSG, AWS Security Group/NACL ,GCP Firewall)</a></li><li><a href="https://medium.com/blacksecurity/gcp-iam-security-chinese-729961b29297">GCP IAM Security — 使用 PAM 強化特權帳號管理</a></li><li><a href="https://medium.com/blacksecurity/guardduty-detective-e09a8485b5c4">強化雲端威脅偵測與雲端資安事件回應：使用 Amazon GuardDuty 與 Detective</a></li><li><a href="https://medium.com/blacksecurity/amazonmacie-5826bd315535">保護你的雲端資料安全：使用 Amazon Macie.</a></li></ul><p>我想把各種經驗寫出來做分享教學，希望把社群的分享風氣帶出來給大家。並期望之後有人也可以寫出不同的心得文，如果是自修同學對於申請考試和準備上有任何問題，可以透過 <a href="https://www.linkedin.com/in/kurohuang/">LinkedIn</a> 交朋友與 <a href="https://www.facebook.com/kublackstock/">Facebook</a> 來聯絡我，能力範圍內盡量幫你解決(或是你想認識我出來喝杯咖啡也歡迎，我很喜歡多認識業界的朋友們交流，也真的不少人找我聊聊過了!)。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e6cdf49b5851" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blacksecurity/amazon-kiro-e6cdf49b5851">Amazon Kiro 企業版安全整合：AWS IAM Identity Center 與安全管理入門(Kiro for Enterprise)</a> was originally published in <a href="https://medium.com/blacksecurity">資安工作者的學習之路</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[從被動到主動：利用 AWS SecurityAgent 實現自動化安全設計審查(Design review)與Code review]]></title>
            <link>https://medium.com/blacksecurity/designreview-7a8e936a1045?source=rss----2c740c348256---4</link>
            <guid isPermaLink="false">https://medium.com/p/7a8e936a1045</guid>
            <category><![CDATA[design-review]]></category>
            <category><![CDATA[aws-security]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[aws-security-agent]]></category>
            <dc:creator><![CDATA[Kuro Huang]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 12:58:50 GMT</pubDate>
            <atom:updated>2026-01-21T13:21:14.808Z</atom:updated>
            <content:encoded><![CDATA[<h3>從被動到主動：利用 AWS SecurityAgent 實現自動化 <strong>Design review</strong>與 <strong>Code review</strong></h3><p><strong>本篇為從被動到主動：</strong><a href="https://medium.com/blacksecurity/secagentpt-bdc1a14e860b"><strong>利用 AWS Security Agent 實現自動化滲透測試的續作</strong></a>，探討如何於應用程式開發全生命週期中，透過自動化手段執行設計審查與程式碼檢測。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*DAN-2W_6efDjdSTi.png" /><figcaption><a href="https://aws.amazon.com/tw/security-agent/">https://aws.amazon.com/tw/security-agent/</a></figcaption></figure><h3>三大關鍵能力 (Key Capabilities)</h3><h4>1. 設計安全審查 (Design Security Review)</h4><ul><li><strong>時機</strong>：在撰寫程式碼<strong>之前</strong>。</li><li><strong>流程</strong>：團隊上傳設計文件，Agent 依據組織的安全需求進行分析。</li><li><strong>價值</strong>：提供合規評估與修復指引，將耗時的人工審查轉變為重點分析，在修復成本最低的階段解決安全風險。</li></ul><h4>2. 程式碼安全審查 (Code Security Review)</h4><ul><li><strong>時機</strong>：在提交 Pull Request (PR) 或上傳程式碼時。</li><li><strong>流程</strong>：自動分析程式碼，檢查是否符合組織規範，以及是否存在常見漏洞（如 SQL Injection、缺乏輸入驗證）。</li><li><strong>價值</strong>：直接在程式碼儲存庫平台中提供修復建議，確保所有程式碼庫都能受到監控，同時維持對關鍵問題的監督。</li></ul><h4>3. 滲透測試 (On-demand Penetration Testing)</h4><ul><li><strong>時機</strong>：隨時按需執行 (On-demand)。</li><li><strong>流程</strong>：提供目標 URL、驗證資訊及文件。部署專門的 AI Agent，根據文件建立應用程式上下文。執行複雜的<strong>多步驟攻擊場景 (Multi-step attack scenarios)</strong> 以發現傳統工具遺漏的漏洞。</li><li><strong>價值</strong>：提供經過驗證的漏洞報告，包含<strong>影響分析</strong>、<strong>可重現的攻擊路徑</strong>以及<strong>可直接實作的程式碼修復 (Ready-to-implement code fixes)</strong>。效率從「數週」大幅縮短至「數小時」。</li></ul><p><a href="https://medium.com/blacksecurity/secagentpt-bdc1a14e860b">接續上一篇自動化滲透測試文章</a>，這篇我們來使用 Design Review 還有 Code Review 功能！</p><p><a href="https://medium.com/blacksecurity/secagentpt-bdc1a14e860b">從被動到主動：利用 AWS SecurityAgent 實現自動化滲透測試 （Penetration Testing)</a></p><h3>Security Design Review</h3><p>進入首頁後，點選左側選單的 Design Review (設計檢閱)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n8Zy3McxYkOxiYk7zfAVQw.png" /></figure><p>新增 Design Review ，上傳專案相關的設計文件或架構說明（請留意格式限制），這邊強烈建議上傳足夠的專案文件，否則會呈現資料不足，效果不大，專案很前期沒有文件情況就不適合用。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZRuvPGwx1y_czJIeVgcSVQ.png" /></figure><p>上傳成功後，會出現在首頁，Review Status 出現Completed 即可確認結果</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DAGb5BFkcp27kYeCFeEeRA.png" /></figure><p>點進去即可確認審查結果，不過我的測試資料不多，顯示資料不足，較難觸發具體的安全性發現事項 (Findings)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vcmW3d8TzMeqkREekat80Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GcePb6iw3qyVkiGHyZxqhw.png" /></figure><p>打開幾個 Finding 給大家參考</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/884/1*0VquhojTMFzkK4qSXgqDQQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*dqNKvH0toH3B_PVDRjWVnw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/892/1*Jp8nMlidg2EgymF8Z93CLg.png" /></figure><p>以下是其他外國網友的測試結果</p><p><a href="https://aws.plainenglish.io/how-to-use-aws-security-agent-for-automated-vulnerability-detection-and-remediation-cfdaef9af5b8">How to Use AWS Security Agent for Automated Vulnerability Detection and Remediation?</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*oasppHxEpj1BFcbJwGQK0g.png" /><figcaption><a href="https://aws.plainenglish.io/how-to-use-aws-security-agent-for-automated-vulnerability-detection-and-remediation-cfdaef9af5b8">https://aws.plainenglish.io/how-to-use-aws-security-agent-for-automated-vulnerability-detection-and-remediation-cfdaef9af5b8</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*lp9CEwRBnjlRVZhn8o5mVA.png" /><figcaption><a href="https://aws.plainenglish.io/how-to-use-aws-security-agent-for-automated-vulnerability-detection-and-remediation-cfdaef9af5b8">https://aws.plainenglish.io/how-to-use-aws-security-agent-for-automated-vulnerability-detection-and-remediation-cfdaef9af5b8</a></figcaption></figure><h3>Code Review</h3><p>接下來是Code Review功能，點選左側導覽列的 Code Review</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n8Zy3McxYkOxiYk7zfAVQw.png" /></figure><p>先點選右方的「建立新註冊」完成 GitHub 授權後，即可選擇已關聯的儲存庫 (Repository)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*81-f0bMplp5VqXT57QrkKA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tn1d89expFl-lCdC6EaChQ.png" /></figure><p>Code Review能夠選擇自訂檢視規則、常見漏洞或是我全都要！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jaD57I6ierfEyt_w_NO0jw.png" /></figure><p>設定完成後，狀態將顯示為 Enabled (已啟用)。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8UO0ChgDE1DRvOPkpFILPQ.png" /></figure><p>由於我測試的GitHub沒有太多資料，找了同樣的上方其他作者<a href="https://aws.plainenglish.io/how-to-use-aws-security-agent-for-automated-vulnerability-detection-and-remediation-cfdaef9af5b8">測試範例</a></p><p>該功能可以 Automatically review pull requests!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*huDyu6dhazBs-AxcB39C4g.png" /><figcaption><a href="https://aws.plainenglish.io/how-to-use-aws-security-agent-for-automated-vulnerability-detection-and-remediation-cfdaef9af5b8">https://aws.plainenglish.io/how-to-use-aws-security-agent-for-automated-vulnerability-detection-and-remediation-cfdaef9af5b8</a></figcaption></figure><p>最後，如果你有客製化資安規範的需求，可以到安全性要求選擇自訂來客製化。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wXnU8Tl42yJFsY0CQdMyVA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KkSC3RNHgjxkgUPB_1gVtw.png" /></figure><p><strong>為什麼我們要推 Design Review？</strong>因為在設計階段改一個架構只需要改一張圖，但在部署後改一個漏洞可能要動員整個開發團隊跳下來。這就是 AWS Security Agent 帶給企業最大的成本效益。</p><p>在前期發現問題，總比上線後修補來的省事，現在 AI 能夠高效的協助我們發現資安風險，只是推不推得動又是另一回事了 ：）</p><p><a href="https://medium.com/blacksecurity/secagentpt-bdc1a14e860b">從被動到主動：利用 AWS SecurityAgent 實現自動化滲透測試 （Penetration Testing)</a></p><p>往下拉還有很多雲端安全的延伸閱讀～～</p><p><strong>關於 Kuro 介紹、聯絡方式、文章分享 ：</strong></p><ul><li>Portaly 關於我（推薦）: <a href="https://portaly.cc/kurohuang">https://portaly.cc/kurohuang</a></li><li>文章目錄/個人網站 : <a href="https://kuronetwork.me/">https://kuronetwork.me</a></li><li>Instagram : <a href="https://www.instagram.com/kuronetwork/">https://www.instagram.com/kuronetwork/</a></li><li>Threads : <a href="https://www.threads.net/@kuronetwork">https://www.threads.net/@kuronetwork</a></li><li>Facebook : <a href="https://www.facebook.com/kublackstock">https://www.facebook.com/kublackstock</a></li><li>LinkedIn： <a href="https://www.linkedin.com/in/kurohuang/">https://www.linkedin.com/in/kurohuang/</a></li></ul><h4>Cloud Computing</h4><ul><li>2024.02 — AWS Certified Cloud Practitioner Certification (<a href="https://medium.com/blacksecurity/aws-ccp-6fbb13501418">CCP</a>)</li><li>2024.02 — AWS Certified Solutions Architect — Associate (<a href="https://medium.com/blacksecurity/aws-saa-3837551b6898">SAA</a>)</li><li>2024.03 — GCP Associate Cloud Engineer (<a href="https://medium.com/blacksecurity/gcp-associate-cloud-engineer-78f736aee7ad">GCP-ACE</a>)</li><li><a href="https://medium.com/blacksecurity/ccsp-%E9%9B%B2%E7%AB%AF%E8%B3%87%E5%AE%89%E5%B0%88%E5%AE%B6%E8%87%AA%E4%BF%AE%E8%80%83%E8%A9%A6%E5%BF%83%E5%BE%97-%E6%BA%96%E5%82%99%E6%96%B9%E5%BC%8F%E8%88%87%E6%95%99%E6%9D%90%E6%95%B4%E7%90%86-certified-cloud-security-professional-a3dccf22136d">CCSP 雲端資安專家自修考試心得、準備方式與教材整理（Certified Cloud Security Professional）</a></li><li><a href="https://medium.com/@kuroH/designreview-7a8e936a1045">從被動到主動：利用 AWS SecurityAgent 實現自動化 Design review與 Code review</a></li><li><a href="https://medium.com/blacksecurity/secagentpt-bdc1a14e860b">從被動到主動：利用 AWS SecurityAgent 實現自動化滲透測試 （Penetration Testing)</a></li><li><a href="https://medium.com/@kuroH/amazon-kiro-e6cdf49b5851">Amazon Kiro 企業版安全整合：AWS IAM Identity Center 與安全管理入門(Kiro for Enterprise)</a></li><li><a href="https://medium.com/blacksecurity/aws-trusted-advisor-03954636abc8">善用你的 AWS Trusted Advisor：提升雲端安全、效能與成本效益！</a></li><li><a href="https://medium.com/blacksecurity/cloud-nacl-review-ed50b1c969fe">雲端網路存取控制規則檢視-官方指令彙整(Azure NSG, AWS Security Group/NACL ,GCP Firewall)</a></li><li><a href="https://medium.com/blacksecurity/amazon-bedrock-85d566d2de1e">Amazon Bedrock 試用心得 — 安全的在雲端上使用生成式 AI</a></li><li><a href="https://medium.com/blacksecurity/cloudrun-with-iap-eb1c71ca88d2">[GCP] 部署 Docker 應用至 Cloud Run 並使用 IAP 驗證登入</a></li><li><a href="https://medium.com/blacksecurity/aws-cloudfront-oac-5805d27b3a7a">使用AWS CloudFront 的原始存取控制(OAC)建立安全的 S3 靜態網站</a></li><li><a href="https://medium.com/blacksecurity/awswellarchitected-43bbddf39abb">AWS 架構安全評估工具 — AWS Well-Architected Tool</a></li><li><a href="https://medium.com/blacksecurity/awsworkspaces-0fb434c14f37">遠距辦公與資料保護-使用 AWS WorkSpaces 虛擬桌面服務</a></li><li><a href="https://medium.com/blacksecurity/aws-asset-inventory-400daeb1f733">在 Windows 安裝WSL 執行Scirpt 以進行 AWS 資源盤點：解決 AWS SecurityAudit Policy限制</a></li><li><a href="https://medium.com/blacksecurity/aws-script-inventory-5c0477603508">Running Custom Scripts on Windows WSL for AWS Resource Inventory: Addressing AWS SecurityAudit Policy Restrictions</a></li><li><a href="https://medium.com/blacksecurity/cloud-nacl-review-ed50b1c969fe">雲端網路存取控制規則檢視-官方指令彙整(Azure NSG, AWS Security Group/NACL ,GCP Firewall)</a></li><li><a href="https://medium.com/blacksecurity/gcp-iam-security-chinese-729961b29297">GCP IAM Security — 使用 PAM 強化特權帳號管理</a></li><li><a href="https://medium.com/blacksecurity/guardduty-detective-e09a8485b5c4">強化雲端威脅偵測與雲端資安事件回應：使用 Amazon GuardDuty 與 Detective</a></li><li><a href="https://medium.com/blacksecurity/amazonmacie-5826bd315535">保護你的雲端資料安全：使用 Amazon Macie.</a></li></ul><p>我想把各種經驗寫出來做分享教學，希望把社群的分享風氣帶出來給大家。並期望之後有人也可以寫出不同的心得文，如果是自修同學對於申請考試和準備上有任何問題，可以透過 <a href="https://www.linkedin.com/in/kurohuang/">LinkedIn</a> 交朋友與 <a href="https://www.facebook.com/kublackstock/">Facebook</a> 來聯絡我，能力範圍內盡量幫你解決(或是你想認識我出來喝杯咖啡也歡迎，我很喜歡多認識業界的朋友們交流，也真的不少人找我聊聊過了!)。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a8e936a1045" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blacksecurity/designreview-7a8e936a1045">從被動到主動：利用 AWS SecurityAgent 實現自動化安全設計審查(Design review)與Code review</a> was originally published in <a href="https://medium.com/blacksecurity">資安工作者的學習之路</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[從被動到主動：利用 AWS SecurityAgent 實現自動化滲透測試 （Penetration Testing)]]></title>
            <link>https://medium.com/blacksecurity/secagentpt-bdc1a14e860b?source=rss----2c740c348256---4</link>
            <guid isPermaLink="false">https://medium.com/p/bdc1a14e860b</guid>
            <category><![CDATA[aws-security]]></category>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[aws-security-agent]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Kuro Huang]]></dc:creator>
            <pubDate>Wed, 21 Jan 2026 12:58:46 GMT</pubDate>
            <atom:updated>2026-01-21T13:20:55.235Z</atom:updated>
            <content:encoded><![CDATA[<p>2025年12月，AWS發布了安全代理程式(AWS Security Agent)，能夠主動保護應用程式在整個開發生命週期中的安全。根據您組織需求執行自動化安全審查 (Security Review)，並依照需求執行滲透測試。透過從設計到部署持續驗證應用程式安全性，它有助於在開發前期預防漏洞。這讓我想到先前有個 Code Security 的工具在預覽版結束後就被移除，推測或許是基於過去的技術累積所延伸出的新一代產品。這次就來介紹 SecurityAgent 的三大功能吧!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8XI2NWCYWoTx0jAGlT68XA.png" /><figcaption><a href="https://aws.amazon.com/tw/security-agent/">https://aws.amazon.com/tw/security-agent/</a></figcaption></figure><h3><strong>工作流程:</strong></h3><p><a href="https://docs.aws.amazon.com/securityagent/latest/userguide/how-it-works.html">How AWS Security Agent works</a></p><h4>AWS Security Agent 三大核心組件</h4><ol><li><strong>AWS 管理控制台 (Console)</strong>：管理者用來設定環境、規則與權限。</li><li><strong>Web 應用程式 (Web App)</strong>：使用者用來執行審查、測試與檢視結果。</li><li><strong>程式碼儲存庫整合 (Code Integration)</strong>：目前支援 GitHub，用於自動化原始碼審查。</li></ol><p><strong>AWS Security Agent</strong> 具有<strong>上下文感知能力 </strong>— 了解整個應用程式生態系統，包括設計文件、原始程式碼和特定的安全需求，和傳統資安產品不同。</p><h4>管理控制台設定 (由管理員操作)</h4><p>這是設定 AWS Security Agent 的指揮中心：</p><ul><li><strong>Agent Spaces (代理空間)</strong>：建立不同的空間來代表各個專案或應用程式，Web App 將根據此空間呈現對應的環境資訊。。</li><li><strong>安全性需求 (Security Requirements)</strong>：集中定義組織的資安規則（如授權庫、日誌標準），系統會在審查時自動驗證是否合規。</li><li><strong>滲透測試設定</strong>：為每個空間設定測試環境，包括網域驗證、VPC 存取權限、日誌記錄、測試憑證及 S3 關聯內容。</li><li><strong>整合 (Integrations)</strong>：連接 GitHub Repo，以提供測試上下文(Context)、自動化原始碼審查 (PR Review) 及自動化修復建議。</li><li><strong>使用者存取</strong>：支援透過 IAM Identity Center (SSO) 指派使用者，或使用標準 IAM 權限存取。</li></ul><h4>Web 應用程式活動 (由使用者操作)</h4><p>使用者在此執行實際的資安評估工作：</p><ul><li><strong>選擇空間</strong>：登入後選擇被指派的 Agent Space 開始工作。</li><li><strong>設計審查 (Design Reviews)</strong>：上傳設計文件或架構規格，系統會依據組織的安全需求進行分析與提供建議。</li><li><strong>執行滲透測試</strong>：設定目標 URL 與相關資訊，系統會執行自動化攻擊場景以找出可利用的漏洞。</li><li><strong>檢視結果</strong>：檢視詳細的資安風險，包含影響分析、攻擊路徑演示及修復方法。</li><li><strong>驗證修復</strong>：修復漏洞後重新執行評估，確認問題已解決。</li></ul><h4>程式碼儲存庫整合</h4><ul><li>目前在這個時間點僅支援 <strong>GitHub</strong>。</li><li>功能包含：在 Pull Request (PR) 中提供自動化原始碼審查，以及針對滲透測試發現的漏洞提供修復 PR。</li></ul><h3>核心運作機制</h3><ul><li><a href="https://docs.aws.amazon.com/securityagent/latest/userguide/security-guidance.html">Security Considerations for AWS Security Agent and AI assisted penetration testing</a></li><li><a href="https://aws.amazon.com/tw/blogs/aws/new-aws-security-agent-secures-applications-proactively-from-design-to-deployment-preview/">New AWS Security Agent secures applications proactively from design to deployment (preview) | Amazon Web Services</a></li></ul><p>AWS Security Agent目標是從<strong>設計到部署</strong>的完整開發生命週期中，主動保護應用程式。</p><ul><li><strong>集中定義，自動執行</strong>：資安團隊只需在 AWS Console 集中定義組織的安全標準（如預先定義核准的授權、日誌規範、資料存取策略）。Agent 會在開發過程中自動驗證架構文件與程式碼是否符合這些標準。</li><li><strong>配合開發速度 (Velocity)</strong>：透過自動化審查，解決傳統人工審查的瓶頸。</li><li><strong>深度理解與驗證</strong>：Agent 能理解應用程式的上下文 (Context)，執行複雜的攻擊鏈來發現並驗證漏洞。</li></ul><h3>三大關鍵能力 (Key Capabilities)</h3><h4>1. 設計安全審查 (Design Security Review)</h4><ul><li><strong>時機</strong>：在撰寫程式碼<strong>之前</strong>。</li><li><strong>流程</strong>：團隊上傳設計文件，Agent 依據組織的安全需求進行分析。</li><li><strong>價值</strong>：提供合規評估與修復指引，將繁瑣的人工初步審查，轉化為更具價值的重點分析，在修復成本最低的階段解決安全風險。</li></ul><h4>2. 程式碼安全審查 (Code Security Review)</h4><ul><li><strong>時機</strong>：在提交 Pull Request (PR) 或上傳程式碼時。</li><li><strong>流程</strong>：自動分析程式碼，檢查是否符合組織規範，以及是否存在常見漏洞（如 SQL Injection、缺乏輸入驗證）。</li><li><strong>價值</strong>：直接在程式碼儲存庫平台中提供修復建議，確保所有程式碼庫都能受到監控，同時維持對關鍵問題的監督。</li></ul><h4>3. 滲透測試 (On-demand Penetration Testing)</h4><ul><li><strong>時機</strong>：隨時按需執行 (On-demand)。</li><li><strong>流程</strong>：提供目標 URL、驗證資訊及文件。部署專門的 AI Agent，根據文件建立應用程式上下文。執行複雜的<strong>多步驟攻擊場景 (Multi-step attack scenarios)</strong> 以發現傳統工具遺漏的漏洞。</li><li><strong>價值</strong>：提供經過驗證的漏洞報告，包含<strong>影響分析</strong>、<strong>可重現的攻擊路徑</strong>以及<strong>可直接實作的程式碼修復 (Ready-to-implement code fixes)</strong>。效率從「數週」大幅縮短至「數小時」。</li></ul><p>實戰 AWS Security Agent —安全審查 ，會在<a href="https://medium.com/@kuroH/designreview-7a8e936a1045">另一篇文章介紹</a>，如下：</p><p><a href="https://medium.com/blacksecurity/designreview-7a8e936a1045">從被動到主動：利用 AWS SecurityAgent 實現自動化安全設計審查(Design review)與Code review</a></p><h3>實戰自動化滲透測試</h3><p>首先我們要到AWS上搜尋 Security Agent</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CuL8iagTg7cQgS8yIUsBjw.png" /></figure><p>點選代理程式空間 (Agent Spaces)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dXH8reMwQE4AqJY6naDQog.png" /></figure><p>點選右方的 Create Agent Space，建立完成後即可在列表上看見該空間。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DvbJG7L9OkVzuu1Unj3ydA.png" /></figure><p>回到首頁，找到滲透測試，建立相關設定</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W-Y4u3PK_RnXTI7rdDJXwA.png" /></figure><p>要對目標執行滲透測試，你需要驗證網域擁有權，我這邊拿我自己的網站做測試。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kHILMvulMmvLbP5aQDlKsQ.png" /></figure><p>建立後會給你驗證的資訊，接下來去 DNS 服務新增資料。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GuNOgV9fYJQcHstGYsmFwQ.png" /></figure><p>下圖為在 Cloudflare 中新增 DNS 紀錄的實作畫面</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RYEnqX_t2ZyWTe7dB9o9Jw.png" /></figure><p>點選最右邊”滲透測試” 的 Web應用程式啟動</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4aU1QdvBk_3qccq9w0XaNA.png" /></figure><p>進入到 Security Agent 首頁，點選 Create a penetration test</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f9AzZRW38w59sRF1yOvRKw.png" /></figure><p>新增受檢測的目標資訊，也可以排除檢測項目</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EJ8UERdDPNNAXErIjwJR1A.png" /></figure><p>如果你目標在 VPC 內，就需要選擇 VPC，否則可以Skip</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gwczyWq4j2bp2ZCG14IDxA.png" /></figure><p>選擇現有資源（例如文件、GitHub 和 S3 ）或上傳文件:為Security Agent提供應用程式資料進行滲透測試，可以提高測試覆蓋率和精確度，有助於檢測複雜的漏洞。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yHkUgn0OHxs_HjKSpxodoA.png" /></figure><p>建立後即可開始第一次的Start run</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Ka4MKXer3FGngK2J_Sttw.png" /></figure><p>執行過多次的話就會有多筆資料</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iEKhyOYehPFM2hof7awNTg.png" /></figure><p>點進去可以確認執行狀況</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KX1R2IpzDFyU3euWRAD3Lw.png" /></figure><p>首先預設會先執行 Static analysis，靜態分析完成後執行滲透測試</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yJHh69lxMleEQjHUodOgAA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jsLT185KgdsbT9ESO7TH6A.png" /></figure><p>下圖為 SQL Injection 模擬攻擊的執行日誌 (Log)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_sx9-H7j3tF0w5mhAGdtfA.png" /></figure><p>下圖為網路上其他專家執行範例</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/713/1*ayWyhPx8w0cDaHWnjEf8qg.png" /><figcaption><a href="https://rodelllemit.medium.com/llm-ai-assisted-pentesting-aws-security-agent-74006c490e04">https://rodelllemit.medium.com/llm-ai-assisted-pentesting-aws-security-agent-74006c490e04</a></figcaption></figure><p>滲透測試結束。找一個結果來看一下 意外的還不錯，有提供原因與修復方式。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9Wks8QQvBkwYucY5pVDiIw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*thNw54M6aH2oXC7ZxOUQvQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/814/1*1eT0lg-0HSdTUF9sMUnAag.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/772/1*6m7h_ziPSRg9qf0MYunYcg.png" /></figure><p>由於我的網站有掛 CDN，所以我檢查了 CloudFlare的 request activity</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rYixOMXnZE6r45JH4Jm4pQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hk9LZdcWQRuXuNO5wBAEvw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cFny0Ft_ZY1Xv-i0v8ZAKw.png" /></figure><p>最後，如果你有客製化資安規範的需求，可以到安全性要求選擇自訂來客製化。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wXnU8Tl42yJFsY0CQdMyVA.png" /></figure><p>這些自動化檢測工具最大的價值，在於將滲透測試人員從低價值的重複工作中抽離。AI 負責處理簡單且重複的工作，人類負責處理需要邏輯判斷與花時間人工分析複雜的難題，能顯著提升滲透測試的效率與速度。</p><p>接下來繼續閱讀其他兩個功能介紹 — Security Review 與 Code Security !</p><p><a href="https://medium.com/blacksecurity/designreview-7a8e936a1045">從被動到主動：利用 AWS SecurityAgent 實現自動化安全設計審查(Design review)與Code review</a></p><p>往下拉還有很多雲端安全的延伸閱讀～～</p><p>參考資料 :</p><ul><li><a href="https://rodelllemit.medium.com/llm-ai-assisted-pentesting-aws-security-agent-74006c490e04">https://rodelllemit.medium.com/llm-ai-assisted-pentesting-aws-security-agent-74006c490e04</a></li><li><a href="https://docs.aws.amazon.com/securityagent/latest/userguide/security-guidance.html">https://docs.aws.amazon.com/securityagent/latest/userguide/security-guidance.html</a></li><li><a href="https://docs.aws.amazon.com/securityagent/latest/userguide/what-is.html">https://docs.aws.amazon.com/securityagent/latest/userguide/what-is.html</a></li><li><a href="https://aws.amazon.com/tw/blogs/aws/new-aws-security-agent-secures-applications-proactively-from-design-to-deployment-preview/">https://aws.amazon.com/tw/blogs/aws/new-aws-security-agent-secures-applications-proactively-from-design-to-deployment-preview/</a></li><li><a href="https://aws.plainenglish.io/how-to-use-aws-security-agent-for-automated-vulnerability-detection-and-remediation-cfdaef9af5b8">https://aws.plainenglish.io/how-to-use-aws-security-agent-for-automated-vulnerability-detection-and-remediation-cfdaef9af5b8</a></li></ul><p><strong>關於 Kuro 介紹、聯絡方式、文章分享 ：</strong></p><ul><li>Portaly 關於我（推薦）: <a href="https://portaly.cc/kurohuang">https://portaly.cc/kurohuang</a></li><li>文章目錄/個人網站 : <a href="https://kuronetwork.me/">https://kuronetwork.me</a></li><li>Instagram : <a href="https://www.instagram.com/kuronetwork/">https://www.instagram.com/kuronetwork/</a></li><li>Threads : <a href="https://www.threads.net/@kuronetwork">https://www.threads.net/@kuronetwork</a></li><li>Facebook : <a href="https://www.facebook.com/kublackstock">https://www.facebook.com/kublackstock</a></li><li>LinkedIn： <a href="https://www.linkedin.com/in/kurohuang/">https://www.linkedin.com/in/kurohuang/</a></li></ul><h4>Cloud Computing</h4><ul><li>2024.02 — AWS Certified Cloud Practitioner Certification (<a href="https://medium.com/blacksecurity/aws-ccp-6fbb13501418">CCP</a>)</li><li>2024.02 — AWS Certified Solutions Architect — Associate (<a href="https://medium.com/blacksecurity/aws-saa-3837551b6898">SAA</a>)</li><li>2024.03 — GCP Associate Cloud Engineer (<a href="https://medium.com/blacksecurity/gcp-associate-cloud-engineer-78f736aee7ad">GCP-ACE</a>)</li><li><a href="https://medium.com/blacksecurity/ccsp-%E9%9B%B2%E7%AB%AF%E8%B3%87%E5%AE%89%E5%B0%88%E5%AE%B6%E8%87%AA%E4%BF%AE%E8%80%83%E8%A9%A6%E5%BF%83%E5%BE%97-%E6%BA%96%E5%82%99%E6%96%B9%E5%BC%8F%E8%88%87%E6%95%99%E6%9D%90%E6%95%B4%E7%90%86-certified-cloud-security-professional-a3dccf22136d">CCSP 雲端資安專家自修考試心得、準備方式與教材整理（Certified Cloud Security Professional）</a></li><li><a href="https://medium.com/@kuroH/designreview-7a8e936a1045">從被動到主動：利用 AWS SecurityAgent 實現自動化 Design review與 Code review</a></li><li><a href="https://medium.com/blacksecurity/secagentpt-bdc1a14e860b">從被動到主動：利用 AWS SecurityAgent 實現自動化滲透測試 （Penetration Testing)</a></li><li><a href="https://medium.com/@kuroH/amazon-kiro-e6cdf49b5851">Amazon Kiro 企業版安全整合：AWS IAM Identity Center 與安全管理入門(Kiro for Enterprise)</a></li><li><a href="https://medium.com/blacksecurity/aws-trusted-advisor-03954636abc8">善用你的 AWS Trusted Advisor：提升雲端安全、效能與成本效益！</a></li><li><a href="https://medium.com/blacksecurity/cloud-nacl-review-ed50b1c969fe">雲端網路存取控制規則檢視-官方指令彙整(Azure NSG, AWS Security Group/NACL ,GCP Firewall)</a></li><li><a href="https://medium.com/blacksecurity/amazon-bedrock-85d566d2de1e">Amazon Bedrock 試用心得 — 安全的在雲端上使用生成式 AI</a></li><li><a href="https://medium.com/blacksecurity/cloudrun-with-iap-eb1c71ca88d2">[GCP] 部署 Docker 應用至 Cloud Run 並使用 IAP 驗證登入</a></li><li><a href="https://medium.com/blacksecurity/aws-cloudfront-oac-5805d27b3a7a">使用AWS CloudFront 的原始存取控制(OAC)建立安全的 S3 靜態網站</a></li><li><a href="https://medium.com/blacksecurity/awswellarchitected-43bbddf39abb">AWS 架構安全評估工具 — AWS Well-Architected Tool</a></li><li><a href="https://medium.com/blacksecurity/awsworkspaces-0fb434c14f37">遠距辦公與資料保護-使用 AWS WorkSpaces 虛擬桌面服務</a></li><li><a href="https://medium.com/blacksecurity/aws-asset-inventory-400daeb1f733">在 Windows 安裝WSL 執行Scirpt 以進行 AWS 資源盤點：解決 AWS SecurityAudit Policy限制</a></li><li><a href="https://medium.com/blacksecurity/aws-script-inventory-5c0477603508">Running Custom Scripts on Windows WSL for AWS Resource Inventory: Addressing AWS SecurityAudit Policy Restrictions</a></li><li><a href="https://medium.com/blacksecurity/cloud-nacl-review-ed50b1c969fe">雲端網路存取控制規則檢視-官方指令彙整(Azure NSG, AWS Security Group/NACL ,GCP Firewall)</a></li><li><a href="https://medium.com/blacksecurity/gcp-iam-security-chinese-729961b29297">GCP IAM Security — 使用 PAM 強化特權帳號管理</a></li><li><a href="https://medium.com/blacksecurity/guardduty-detective-e09a8485b5c4">強化雲端威脅偵測與雲端資安事件回應：使用 Amazon GuardDuty 與 Detective</a></li><li><a href="https://medium.com/blacksecurity/amazonmacie-5826bd315535">保護你的雲端資料安全：使用 Amazon Macie.</a></li></ul><p>我想把各種經驗寫出來做分享教學，希望把社群的分享風氣帶出來給大家。並期望之後有人也可以寫出不同的心得文，如果是自修同學對於申請考試和準備上有任何問題，可以透過 <a href="https://www.linkedin.com/in/kurohuang/">LinkedIn</a> 交朋友與 <a href="https://www.facebook.com/kublackstock/">Facebook</a> 來聯絡我，能力範圍內盡量幫你解決(或是你想認識我出來喝杯咖啡也歡迎，我很喜歡多認識業界的朋友們交流，也真的不少人找我聊聊過了!)。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bdc1a14e860b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blacksecurity/secagentpt-bdc1a14e860b">從被動到主動：利用 AWS SecurityAgent 實現自動化滲透測試 （Penetration Testing)</a> was originally published in <a href="https://medium.com/blacksecurity">資安工作者的學習之路</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[資安 x 潛水 x 應變- Rescue Diver 救援潛水員證照訓練心得]]></title>
            <link>https://medium.com/blacksecurity/rescue-diver-5fc7e3734038?source=rss----2c740c348256---4</link>
            <guid isPermaLink="false">https://medium.com/p/5fc7e3734038</guid>
            <category><![CDATA[scuba-diving]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[rescue-diver-course]]></category>
            <category><![CDATA[reading]]></category>
            <dc:creator><![CDATA[Kuro Huang]]></dc:creator>
            <pubDate>Tue, 18 Nov 2025 15:32:47 GMT</pubDate>
            <atom:updated>2025-11-27T01:49:07.521Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>資安 x 潛水 x 應變— Rescue Diver 救援潛水員證照訓練心得</strong></h3><p>救援潛水課程(Rescue Diver)是能提升風險管理與事故應變的訓練，不管是不是要往潛水長或教練考，都能對潛水安全意識與技能有所提升，我很推薦大家都來考取救援潛水，整個思考與訓練與資安有所相近之處， 能有所結合啊～</p><p>過去我有寫一篇OW的心得：<a href="https://medium.com/blacksecurity/openwaterdiver-d7bf423cc281">資安 x 潛水 x 風險管理：綠島的 Open Water Dive 開放水域潛水員證照訓練心得</a>，結合了資安與潛水，這是我希望同樣能將救援潛水課程與資安對比一下。</p><p>今年11 月來參加救援潛水員(PADI — Rescue Diver)的訓練，這是今年最後一個證照了 XDD，整個下半年都在練習潛水技巧，還花錢在泳池刻意練習基本技術，至少要還能看的水準，資訊資安考了40 多張，發現潛水跟資安有點像啊～</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*-54xBeT38I4wMDhRdm_APg.png" /><figcaption>潛店貓貓</figcaption></figure><p>今年 10月認真去學了急救技術（SSI — React Right），11月這次除了急救技能，更加強了預防和處理潛水緊急情況的技巧。心得只有一句話：除了累，還是累。（做資安心同樣很累…)</p><p>第一天早上放呆習慣一下水，接著下一隻就正式開始上課，將救援流程拆解成單項技巧練習，開頭複習了解除抽筋、口吹充氣建立正浮力，還有「模擬暈眩」 — — 把面鏡拿掉在水中被轉好幾圈後，要重新建立方向感，可能會面臨大浪或是面鏡被打掉的情境。學習了如何接近與評估潛水員、岸上拋繩救人、水上水下遇到恐慌或無意識潛水員的應對方式、救援心理學、意外管理、裝備脫除 、搬運方法、裝備安全問題等。</p><p>「模擬暈眩」 vs. 「資安」：當告警一大堆、系統停擺時，資安人員往往也會陷入暈眩中，或是直接恐慌？不知道攻擊從哪來？擴散範圍多大？Log 是不是被刪了？哪個才是正確方向？ 自己處理還是求救？平常控制措施是否都有測試過？系統是否安全？事故應變流程？</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zazbID_-5hnqZsbY3t-pfw.png" /><figcaption>早上先放呆感受一下大海</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*F2sw5HU8rLZxt13Z4k8Bzw.png" /><figcaption><a href="https://blog.padi.com/tw/padi-rescue-diver-exercises/">10 項 PADI Rescue Diver 練習</a></figcaption></figure><p>其實除了術科操作，認真研讀學科教材，真的能學到不少關於風險評估與潛水事故應變的新知，畢竟上課時間有限無法說太多，理解學科理論能有效提升自己面對風險的應變能力，學科很詳細的說明各種方法外，還會說明不同情境下該怎麼實施救援，所以我花了半天將學科寫成筆記方便重新閱讀，之前學 SSI React Right 同樣也有寫成筆記。</p><p>資安上除了工作實務經驗，你也需要經常研讀證照書籍、國際框架、國際標準、NIST文件、最佳實務等資料，讓自己在資安上更具專業，提升決策能力。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DiEhb0Lb1gUIYPQaec7sYw.png" /><figcaption>SSI-React Right 學科筆記</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3_3865L2YGeqZ2-HxuOQpw.png" /><figcaption>PADI-Rescue學科筆記</figcaption></figure><p>第二天課程有完整的「情境模擬」，簡單的說：先用導航搭配搜索技能（U型、方形、圓形等）找到失蹤潛水員，經過評估後把無意識的潛伴從水下安全地帶回水面，再評估後給予兩口救援呼吸並每五秒做一次救援呼吸，同時要照順序把兩人的裝備脫完，最崩潰的是，在手忙腳亂脫裝備的同時，每五秒一次的救援呼吸絕對不能停。最後想辦法拖帶上岸進行 CPR 與 AED。</p><p>我第一次拖教練上岸直接往後摔，看起來超慘，沙地有夠難踩好，演屍體的教練大概會喝水🤣</p><p><strong>潛水與資安：</strong> 你必須邊給氣（維持生命），邊幫忙脫裝備，手忙腳亂但節奏不能亂。資安資訊人員常面臨「服務不能中斷」，但技術上又必須「阻止攻擊」的兩難。這項練習在極高壓力下，如何同時兼顧「生存（Availability）」與「處置（Containment/Eradication）」。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EDNXiMSkJq8VWGVxoYnLAg.png" /><figcaption><a href="https://blog.padi.com/tw/padi-rescue-diver-exercises/">10 項 PADI Rescue Diver 練習</a></figcaption></figure><p>但練習過程中，一直讓扮演無意識的豆腐教練和跟課潛伴芋圓喝到水……真的抱歉了～～</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mglk8E7SodaPCne_Hdm7tw.png" /><figcaption><a href="https://blog.padi.com/tw/padi-rescue-diver-exercises/">10 項 PADI Rescue Diver 練習</a></figcaption></figure><p>另外覺得很難的是救援潛水中「搜索與尋回」，要學搜索方法外（U型、方形、圓形等），並練習三種繩結把物品綁上起吊帶，並把物品帶回水面。那些繩結打法超級難記，不確定標準的救援課程有沒有這一段，因為大多數的救援課程中貌似不會教繩結與起吊帶，會丟到潛水長才學，但很開心可以多學到東西！未來有機會考潛水長或是教練班才會練到刻進腦子裡了。</p><p><strong>資安上：</strong> 在能見度不佳與寬廣的水下，用<strong>系統化的方法</strong>（非亂找）定位目標。三個難記的繩結，就像是<strong>還原演練中的 SOP</strong>。平常沒練習，真的發生問題，你會發現備份還原不了（繩結打不緊），或是還原順序錯誤導致資料庫還原失敗（起吊失敗）。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/744/1*BuL3t-jNZg9-mx1MzVuK9g.png" /></figure><p>雖然以我現在的身份資格，用到救援技能的機率極低，但學會如何降低風險、在意外發生第一時間做出正確反應，對自己和潛伴都是一種保障，出事情不會這麼緊張，當然是希望用不到~（這就是企業投入大筆預算做<strong>異地備援、紅隊演練與買資安保險</strong>的心態）</p><p>題外話：我的 CPR、AED 是在 SSI 系統學的，有些步驟跟 PADI 稍有不同，不過大同小異，了解不同系統的教學也蠻有趣的，不同看法能有不同的思考方式與應變。</p><p>教練教的很棒🤣 但我資質太差</p><p>今年就這樣了，我的荷包…瘦了很多。</p><p>如果對救援課程有興趣，可以參考PADI有關救援的官方文章：</p><ul><li><a href="https://blog.padi.com/tw/padi-rescue-diver-exercises/">10 項 PADI Rescue Diver 練習</a></li><li><a href="https://www.facebook.com/share/p/1BV5nbRdyj/">救援潛水員課程真的很難嗎？如何成為一名充滿安全感的潛水員</a></li><li><a href="https://blog.padi.com/tw/improve-your-diving-by-practicing-these-skills-on-land-part-2/">通過在陸地上練習這些技巧來提升您的潛水水平：第2 部分</a></li><li><a href="https://chenweichi.blogspot.com/2014/12/padi-divemaster-course.html">Andy 的隨手寫技術筆記本: 【筆記】PADI Divemaster Course 繩結打法</a></li><li><a href="https://www.divessi.com/tw/advanced-training/scuba-diving/react-right---course-combination-fa-cpr-aed-o2">SSI React Right 專長認證 — SSI 入門</a></li><li><a href="https://medium.com/blacksecurity/openwaterdiver-d7bf423cc281">資安 x 潛水 x 風險管理：綠島的 Open Water Dive 開放水域潛水員證照訓練心得 — 資安工作者的學習之路</a></li></ul><h4><strong>記錄一下潛水資格，先最新到最舊</strong></h4><p>1.PADI — Rescue Diver 救援潛水員</p><p>2.Scuba Schools International (SSI) — React Right Specialty Certification (RR) 正確反應員</p><p>3.International Association of Nitrox Divers (IANTD) — Deep Diver 深度潛水員</p><p>4.Scuba Diving International (SDI) — Advanced Scuba Diver (AOW) 進階水肺潛水員</p><p>5.ADS International — OpenWater Diver (OW) 開放水域潛水員</p><p>6.ADS International — EAN STANDARD DIVER 高氧潛水員</p><h4><strong>關於 Kuro 介紹、聯絡方式、文章分享 ：</strong></h4><ul><li>Portaly 關於我（推薦）: <a href="https://portaly.cc/kurohuang">https://portaly.cc/kurohuang</a></li><li>Instagram : <a href="https://www.instagram.com/kuronetwork/">https://www.instagram.com/kuronetwork/</a></li><li>Threads : <a href="https://www.threads.net/@kuronetwork">https://www.threads.net/@kuronetwork</a></li><li>Facebook : <a href="https://www.facebook.com/kublackstock">https://www.facebook.com/kublackstock</a></li><li>LinkedIn： <a href="https://www.linkedin.com/in/kurohuang/">https://www.linkedin.com/in/kurohuang/</a></li></ul><h4>Cloud Computing</h4><ul><li>2024.02 — AWS Certified Cloud Practitioner Certification (<a href="https://medium.com/blacksecurity/aws-ccp-6fbb13501418">CCP</a>)</li><li>2024.02 — AWS Certified Solutions Architect — Associate (<a href="https://medium.com/blacksecurity/aws-saa-3837551b6898">SAA</a>)</li><li>2024.03 — GCP Associate Cloud Engineer (<a href="https://medium.com/blacksecurity/gcp-associate-cloud-engineer-78f736aee7ad">GCP-ACE</a>)</li><li><a href="https://medium.com/blacksecurity/ccsp-%E9%9B%B2%E7%AB%AF%E8%B3%87%E5%AE%89%E5%B0%88%E5%AE%B6%E8%87%AA%E4%BF%AE%E8%80%83%E8%A9%A6%E5%BF%83%E5%BE%97-%E6%BA%96%E5%82%99%E6%96%B9%E5%BC%8F%E8%88%87%E6%95%99%E6%9D%90%E6%95%B4%E7%90%86-certified-cloud-security-professional-a3dccf22136d">CCSP 雲端資安專家自修考試心得、準備方式與教材整理（Certified Cloud Security Professional）</a></li><li><a href="https://medium.com/blacksecurity/aws-trusted-advisor-03954636abc8">善用你的 AWS Trusted Advisor：提升雲端安全、效能與成本效益！</a></li><li><a href="https://medium.com/blacksecurity/cloud-nacl-review-ed50b1c969fe">雲端網路存取控制規則檢視-官方指令彙整(Azure NSG, AWS Security Group/NACL ,GCP Firewall)</a></li><li><a href="https://medium.com/blacksecurity/amazon-bedrock-85d566d2de1e">Amazon Bedrock 試用心得 — 安全的在雲端上使用生成式 AI</a></li><li><a href="https://medium.com/blacksecurity/cloudrun-with-iap-eb1c71ca88d2">[GCP] 部署 Docker 應用至 Cloud Run 並使用 IAP 驗證登入</a></li><li><a href="https://medium.com/blacksecurity/aws-cloudfront-oac-5805d27b3a7a">使用AWS CloudFront 的原始存取控制(OAC)建立安全的 S3 靜態網站</a></li><li><a href="https://medium.com/blacksecurity/awswellarchitected-43bbddf39abb">AWS 架構安全評估工具 — AWS Well-Architected Tool</a></li><li><a href="https://medium.com/blacksecurity/awsworkspaces-0fb434c14f37">遠距辦公與資料保護-使用 AWS WorkSpaces 虛擬桌面服務</a></li><li><a href="https://medium.com/blacksecurity/aws-asset-inventory-400daeb1f733">在 Windows 安裝WSL 執行Scirpt 以進行 AWS 資源盤點：解決 AWS SecurityAudit Policy限制</a></li><li><a href="https://medium.com/blacksecurity/aws-script-inventory-5c0477603508">Running Custom Scripts on Windows WSL for AWS Resource Inventory: Addressing AWS SecurityAudit Policy Restrictions</a></li><li><a href="https://medium.com/blacksecurity/cloud-nacl-review-ed50b1c969fe">雲端網路存取控制規則檢視-官方指令彙整(Azure NSG, AWS Security Group/NACL ,GCP Firewall)</a></li><li><a href="https://medium.com/blacksecurity/gcp-iam-security-chinese-729961b29297">GCP IAM Security — 使用 PAM 強化特權帳號管理</a></li><li><a href="https://medium.com/blacksecurity/guardduty-detective-e09a8485b5c4">強化雲端威脅偵測與雲端資安事件回應：使用 Amazon GuardDuty 與 Detective</a></li><li><a href="https://medium.com/blacksecurity/amazonmacie-5826bd315535">保護你的雲端資料安全：使用 Amazon Macie.</a></li></ul><p>我想把各種經驗寫出來做分享教學，希望把社群的分享風氣帶出來給大家。並期望之後有人也可以寫出不同的心得文，如果是自修同學對於申請考試和準備上有任何問題，可以透過 <a href="https://www.linkedin.com/in/kurohuang/">LinkedIn</a> 交朋友與 <a href="https://www.facebook.com/kublackstock/">Facebook</a> 來聯絡我，能力範圍內盡量幫你解決(或是你想認識我出來喝杯咖啡也歡迎，我很喜歡多認識業界的朋友們交流，也真的不少人找我聊聊過了!)。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fc7e3734038" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blacksecurity/rescue-diver-5fc7e3734038">資安 x 潛水 x 應變- Rescue Diver 救援潛水員證照訓練心得</a> was originally published in <a href="https://medium.com/blacksecurity">資安工作者的學習之路</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[有限資源，無限賽局-為何優秀的畢業生，都只能往科技業擠？從資安推動角度看就業選擇]]></title>
            <link>https://medium.com/blacksecurity/securityjob-life-b63c1bbc7ed5?source=rss----2c740c348256---4</link>
            <guid isPermaLink="false">https://medium.com/p/b63c1bbc7ed5</guid>
            <category><![CDATA[reading]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[careers]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[Kuro Huang]]></dc:creator>
            <pubDate>Mon, 10 Nov 2025 05:12:53 GMT</pubDate>
            <atom:updated>2025-11-10T05:12:42.677Z</atom:updated>
            <content:encoded><![CDATA[<p>最近看了一部討論畢業生為何都往科技業擠的影片，讓我感觸很深。這其實就跟我們做資安一樣，理想很豐滿，但人生現實往往是資源、預算和環境的考量。人生如此，職涯選擇亦然。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wWEeBSEbtAcDithPZVcLwQ.png" /></figure><p><a href="https://www.youtube.com/watch?v=I8x8qNFZTVo">傳產沒人愛？科技業錢多有陷阱？最爽職位居然是？【年輕人就業調查】</a></p><p>這篇最早是發在我 <a href="https://www.linkedin.com/posts/kurohuang_%E5%82%B3%E7%94%A2%E6%B2%92%E4%BA%BA%E6%84%9B%E7%A7%91%E6%8A%80%E6%A5%AD%E9%8C%A2%E5%A4%9A%E6%9C%89%E9%99%B7%E9%98%B1%E6%9C%80%E7%88%BD%E8%81%B7%E4%BD%8D%E5%B1%85%E7%84%B6%E6%98%AF%E5%B9%B4%E8%BC%95%E4%BA%BA%E5%B0%B1%E6%A5%AD%E8%AA%BF%E6%9F%A5-activity-7369000343298310144-WUde">Linkedin</a> 上，我潤飾後發在這邊。</p><p>想到最近在資安社群跟幾個大學教授聊天，談論到蠻多資安實驗室畢業的也都不一定做資安，可能是去真科技業當 IT 、開發或是其他職業，老師們覺得可惜，是站在『學以致用』的理想角度。但對一個家裡沒礦，又想在30歲時於北部立足的年輕人來說，這份『可惜』，在頭期款與小孩的壓力下，實在輕如鴻毛，沒有什麼選擇。</p><p>現實就是一張攤開的資產負債表，當『成家立業』是你的首要目標時，職涯選擇題就變成了一道計算題。傳產、金融、服務業的薪資曲線，可能讓你奮鬥到40歲都還達不到房貸的門檻。此時，去高薪的科技業、原廠外商、或是加密貨幣，幾乎成了唯一能『落地』的方案。這不是選擇，而是生存。」即便選真。科技業還可能只買得起郊區房子，還不包含買車，更何況談生小孩跟其他的休閒娛樂。（金融業年資比重很高，即便能力很好但年紀不到，也不會給你到對應的薪水）</p><p>不然就是要當少年股神啦：Ｄ</p><p>傳統的生活意義終究要回歸柴米油鹽，畢竟除了父母，沒有人有義務幫你付房貸、養小孩。理想與現實的拉扯，每天都在發生。這就好像在企業推動資安，你想導入最好的資安設備、最嚴格的管理流程（追求理想生活），但老闆只給你有限的預算（有限的薪水），還要求不能影響現有業務（不能犧牲太多生活品質）。要在龐大的組織（社會）裡推動資安（成家立業、買房、養小孩），真的是難如登天。</p><p>我主管經常在推動資安跟我說：「先求有，再求好。我們要怎麼讓事情往前走一小步？有時候是且戰且走」很務實，要讓資安落地，卻也充滿妥協。</p><p>套用到人生規劃上，當「買房養家」這個專案要落地時，你手上的資源就那幾樣，能選的「解決方案」自然不多。畢竟，聊理想（有趣的工作）誰都會，但真正要執行時，才會發現選項早已被現實劃定了範圍。這麼一看，優秀畢業生們的選擇，似乎也只是最合乎邏輯的理性決策罷了。不想被綁架？看看現在的生育率，資安專家要怎麼解決這問題呢？</p><p>說到底，影片中大家的選擇就像資安主管在做年度規劃。你必須盤點手上所有資源：你有多少人力（時間與精力）、多少預算（薪資與存款），然後面對眼前數不清的任務（買房、育兒、旅遊、進修），一一評估它們的優先級。</p><p>當你把這張「人生任務矩陣」攤開，依據緊急與重要性排列後，你自然會明白，現階段的自己，究竟是該為了理想與成就感而戰，還是該先確保能安穩地活下去。而多數人的答案，相信自己都知道了。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b63c1bbc7ed5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blacksecurity/securityjob-life-b63c1bbc7ed5">有限資源，無限賽局-為何優秀的畢業生，都只能往科技業擠？從資安推動角度看就業選擇</a> was originally published in <a href="https://medium.com/blacksecurity">資安工作者的學習之路</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[常見壺鈴訓練動作中英文對照表 Kettlebell Exercise Terminology: Chinese-English Reference]]></title>
            <link>https://medium.com/blacksecurity/kettlebellenglish-57ccc15f7748?source=rss----2c740c348256---4</link>
            <guid isPermaLink="false">https://medium.com/p/57ccc15f7748</guid>
            <category><![CDATA[kettlebells]]></category>
            <category><![CDATA[kettlebell-training]]></category>
            <category><![CDATA[exercise-at-home]]></category>
            <category><![CDATA[reading]]></category>
            <dc:creator><![CDATA[Kuro Huang]]></dc:creator>
            <pubDate>Sat, 05 Jul 2025 11:55:14 GMT</pubDate>
            <atom:updated>2025-07-05T12:02:02.351Z</atom:updated>
            <content:encoded><![CDATA[<p>最近去上了專門針對壺鈴的訓練課程，每一堂課結束後我稍微紀錄訓練的內容，每一堂課程都是循序漸進的訓練，在家裡訓練的話使用壺鈴非常方便，很推薦大家去上看看壺鈴的專門課程！</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ISvdvChhppwtC8R_.jpg" /><figcaption><a href="https://img.goodfon.com/original/5600x3737/1/d1/russian-dumbbell-crossfit-talc-man-kettlebell.jpg">https://img.goodfon.com/original/5600x3737/1/d1/russian-dumbbell-crossfit-talc-man-kettlebell.jpg</a></figcaption></figure><p>有時候在查影片教學時候，中文翻譯都不太一樣，總感覺怪怪的，所以我就把有印象上過的訓練內容找對應的英文筆記下來囉</p><p>我的其他運動文章推薦 ：</p><ul><li><a href="https://medium.com/blacksecurity/workout-d40a34b19194">資安思維、強韌身心：資安人的健康啟示 — 為什麼要運動？將資安觀念套用到你的日常生活，提升你的身體韌性！</a></li><li><a href="https://medium.com/blacksecurity/c-level-exercise-0fbc222bf7f1">體適能健身C級指導員認證課程-新手入門學習心得！</a></li></ul><h3>徒手核心訓練/敏捷訓練</h3><ul><li>棒式 Plank</li><li>側棒式 Side Plank</li><li>哥本哈根側棒式 Copenhagen Side Plank</li><li>仰臥放腿 Leg Lowering/Supine Leg Drop</li><li>熊爬 Bear Crawl</li><li>懸掛抬腿 Hanging Leg Raise</li><li>棒式碰肩 Anti-rotation plank / plank shoulder tap</li><li>死蟲式 Dead Bug</li><li>繩梯訓練 Agility ladder drills</li></ul><h3>壺鈴動作英文</h3><ul><li>壺鈴農夫走路 Kettlebell Farmer’s Walk</li><li>壺鈴羅馬尼亞硬舉 Kettlebell RDL</li><li>雙臂壺鈴推Double-Arm Kettlebell Push Press</li><li>壺鈴上舉 Kettlebell (Shoulder) Press</li><li>壺鈴高拉 Kettlebell High Pull</li><li>壺鈴單手盪壺 Kettlebell Single-Arm Swing</li><li>壺鈴雙手盪壺 Kettlebell Two-Hand Swing</li><li>壺鈴架式深蹲 KettlebellRack Squat</li><li>壺鈴繞身 Kettlebell around-the-body pass</li><li>壺鈴八字繞環/穿腿繞環 Kettlebell Figure 8</li><li>壺鈴上搏 Kettlebell Clean</li><li>壺鈴借力推Kettlebell push press</li><li>壺鈴挺舉 Kettlebell Jerk</li><li>壺鈴抓舉 Kettlebell Snatch</li><li>壺鈴土耳其站立 Turkish Get-Up</li><li>壺鈴後跨步蹲 Kettlebell Reverse Lung</li><li>單手壺鈴划船 One-arm Kettlebell Row</li><li>雙手壺鈴划船 Two-Handed Kettlebell Row</li><li>壺鈴風車式 Kettlebell Windmill</li><li>壺鈴交替擺盪 Alternating Kettlebell Swing</li><li>壺鈴側蹲 Kettlebell Lateral Lunge</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57ccc15f7748" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blacksecurity/kettlebellenglish-57ccc15f7748">常見壺鈴訓練動作中英文對照表 Kettlebell Exercise Terminology: Chinese-English Reference</a> was originally published in <a href="https://medium.com/blacksecurity">資安工作者的學習之路</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[資安 x 潛水 x 風險管理：綠島的 Open Water Dive 開放水域潛水員證照訓練心得]]></title>
            <link>https://medium.com/blacksecurity/openwaterdiver-d7bf423cc281?source=rss----2c740c348256---4</link>
            <guid isPermaLink="false">https://medium.com/p/d7bf423cc281</guid>
            <category><![CDATA[open-water-diver]]></category>
            <category><![CDATA[scuba-diving]]></category>
            <category><![CDATA[reading]]></category>
            <category><![CDATA[information-security]]></category>
            <dc:creator><![CDATA[Kuro Huang]]></dc:creator>
            <pubDate>Fri, 06 Jun 2025 17:02:13 GMT</pubDate>
            <atom:updated>2025-11-18T15:34:19.942Z</atom:updated>
            <content:encoded><![CDATA[<p>在 5 月連續假期在綠島完成了 OpenWater 水肺潛水的三天課程，並順利的拿到 OpenWater 與高氧的兩張證照，記錄一下學習過程與心得。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X2zG2v55ovAyl8N_5SlXfg.jpeg" /></figure><h3>為什麼學水肺潛水 ？</h3><p>很簡單的，我只是想多增加一些休閒的興趣，並學習一些新的技能，例如今年找了專業的教練認真學習壺鈴，水下世界很美，雖然我不會游泳，但透過水肺潛水依然能探索水中世界。過去幾年考了很多資安證照，有時候需要轉換一點興趣嘗試不熟悉的事情，去年考了體適能的教練證照，今年學了水肺潛水，希望今年有機會考到咖啡師認證！</p><p>2025/11月更新 ：<a href="https://medium.com/blacksecurity/rescue-diver-5fc7e3734038">資安 x 潛水 x 應變 — Rescue Diver 救援潛水員證照訓練心得 |</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yw3zL3OD7giyfpT2qKQQkw.png" /></figure><h3>資安潛水教練與學科</h3><p>我沒有找全職的潛水教練，而是跟資安同行的潛水教練拜師學藝，當然這群人一定是推坑推到爆，一開始推坑把裝備買完！！！起因是某一天這群同行的資安潛水教練跑來問這週要不要去體驗潛水，就把我跟我的資安潛伴拉入坑。</p><p>因為大家都是同行，所以可以抱大腿問到飽…(欸)，所以我們提早約了某個假日上課，一般來說課程會在課程的晚上教學科，我們提早的好處是術科能拉更多時間練習，還有動手練習洗裝備（Ｘ）， 白天術科晚上還要上學科太累人，提早上完輕鬆多了。</p><p>不得不說 ADS 的教材內容圖文並茂，每一頁都搭配豐富插圖，誠心推薦可以買來看看，對新手友善程度超高，還會想多翻幾次。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_3r1l0I8YhwMDqv3h8-nHg.png" /></figure><p>報名課程時教練推薦我們一起把健康的高氧上完，這樣 OW 與高氧就一起拿到，後續 AOW 時專長選修可以挑不同的體驗，所以我們當天花了七個小時…講好講滿還講更多。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/1*gncihcCvhS93_d5qzri-wg.png" /></figure><h3>術科</h3><p>這次上課是在漂亮的綠島學，兩個資安潛水教練一個幾百隻氣瓶經驗助教，超高的教練比，這次包含我有四個學員，都跟資安這行有關聯。</p><p>OW 課程即便不同體系內容應該都大同小異，教練都是裝備狂人，裝備的說明教學就花了一小時多，輪流操作與詳細講解裝備使用、注意事項、測量高氧瓶等實務經驗。</p><p>下水後許多技巧都是與保命有關的技能，也是 OW 最重要的基礎能力，術科教的東西很多，簡單列一下：</p><p>裝備互相檢查（裝備不正確會被教練電爛，錯一次 500 $）、面鏡進水時的排水技巧、面鏡脫除、認識各種水下手勢、感受中性浮力、訓練用肺控制上升下潛、尋回二級頭、指北針導航、安全停留、拖帶疲憊潛水員、正確穿脫裝備（在水面與水下）、浮力帶使用，潛伴共享氣源、跨步式入水、解決耳壓、水下穿脫蛙鞋等等。</p><p>學習過程不輕鬆，畢竟我不會游泳，在水面上心理壓力很大。記得有一次下水前我瞬間緊張了一下，所以呼吸很快有點不順臨時而喊了暫停，稍作休息後才下潛，在水面上比水下更緊張。還有一次練習跨步式入水時候直接正面落水。</p><p>我想大家都說水肺潛水很安全，但這是建立在有安全觀念、良好的基本功、好的潛伴等等因素所搭起來，而身體或天候不佳時不要強迫自己潛水，這次學潛水都沒有遇到耳壓問題，可能是可以免手或是剛好身體狀況還不錯 ? 不然就是深度太淺了，毫無影響 ?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1010/1*S9pqjxF8PjbU603OZWTspg.png" /></figure><p>充氣洩氣的一些要點（謝謝 AI ）</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fJsiAD6i4eTQ5fGJ1STDtQ.png" /></figure><h3>潛水與資安</h3><p>我還有發現一篇資安與潛水的相同之處文章，我把這篇用 AI 翻成中文給大家看：）</p><p><a href="https://zinatullin.com/2023/04/02/scuba-diving-and-cyber-security/">Scuba diving and cyber security</a></p><h4>1. 風險管理</h4><p>潛水和網路安全都涉及風險管理。潛水時，潛水員必須管理空氣耗盡、迷路或遇到危險水流的風險。在網路安全領域，則需要評估和緩解資料外洩、服務中斷和法規罰款的風險。然而，兩者都能帶來回報，潛水能探索海洋，網路安全則能促成新產品的推出。因此，請記住，儘管風險看似艱鉅，但平衡的應對方式能讓您和您的組織安全無虞地運作。</p><h4>2. 團隊合作</h4><p>無論是潛水還是網路安全，團隊合作都是關鍵。潛水時，通常會採用「潛伴制度」(buddy system)，確保每位潛水員都有人照應。同樣地，在網路安全領域，人們必須通力合作，才能有效地辨識和應對威脅。您無法獨自完成這一切。</p><h4>3. 準備與規劃</h4><p>潛水員會接受專業設備的使用訓練，並 undergoes 嚴格的安全程序培訓。同樣地，學習網路安全原則是成功的關鍵。就像潛水員在下水前會檢查和測試氣瓶與潛水裝備一樣，網路安全專業人員也會遵循「標準作業程序」(SOP) 以確保安全控制措施有效運作。</p><p>成功的潛水需要仔細的規劃。必須制定一份潛水計畫，考量深度、水流和潛水時間等因素。在網路安全領域，「事件應變計畫」(incident response planning) 也同樣至關重要。相關人員必須清楚自己在潛在網路攻擊中的職責，並且應定期測試「事件應變計畫」。</p><h4>4. 監控與應變</h4><p>一旦潛水員入水，他們必須隨時留意周遭環境，持續監測空氣供應，並注意水下水流和海洋生物。同樣地，網路安全專業人員也必須不斷監控他們的網路和系統，尋找入侵或攻擊的跡象，就像潛水員掃描水下環境以尋找潛在危險一樣。</p><p>當意外發生時，快速思考和冷靜的態度在潛水和網路安全中都至關重要。就像潛水員在水況突然變化時必須迅速反應並保持冷靜一樣，網路安全專業人員在面對潛在的網路攻擊時，也必須保持警惕和沉著。這需要解決問題的能力，就像潛水員必須冷靜有效地處理設備故障，以確保潛水安全。</p><p>我記得在我的「開放水域潛水課程」(Open Water Diving Course) 中，教練的建議是 — — 遇到緊急情況時，請「停、吸、想、做」(Stop, Breathe, Think, Act)。這有助於打破自動的情緒反應，並根據您的訓練執行一個邏輯計畫。</p><h4>5. 持續學習</h4><p>持續教育和改進是必要的。潛水和網路安全都在不斷發展，新的方法和技術不斷被開發出來。潛水員必須隨時掌握最新的潛水裝備和最佳實踐，而網路安全專業人員則必須隨時了解不斷演變的網路威脅和應對措施。</p><p>無論您是探索海洋深處，還是保護您的組織免受網路威脅，這些原則都將幫助您保持安全。別忘了從中找樂趣！</p><h3>後記</h3><p>由於學科提早上完，所以術科可以教比較久外，晚上還可以到處吃飯，不需要念學科。學潛水真的是一個衝動，然後 OW 課程結束後就跑去買了裝備，教練跟我講了很多租借裝備的鬼故事（？）還有租到壞掉裝備的心得。</p><p>潛水是個花錢的休閒運動，不要入坑…我被說服後購入的裝備</p><ul><li>調節器：Apeks XL4</li><li>手錶：Garmin G2</li><li>蛙鞋：MARES Avanti Quattro Plus</li><li>面鏡：TUSA M212</li><li>防寒衣：Bestbive 防寒衣與褲子</li><li>鞋套：Aropec</li><li>手套：Gull</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*q3XkuOH3haDhbRuGCzLSkA.png" /><figcaption>買了 Apeks XL4 + Regulator Set</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7bf423cc281" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blacksecurity/openwaterdiver-d7bf423cc281">資安 x 潛水 x 風險管理：綠島的 Open Water Dive 開放水域潛水員證照訓練心得</a> was originally published in <a href="https://medium.com/blacksecurity">資安工作者的學習之路</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[生成式 AI 資料控管與安全防護機制設計 — 使用 Amazon Bedrock Guardrails]]></title>
            <link>https://medium.com/blacksecurity/%E7%94%9F%E6%88%90%E5%BC%8F-ai-%E8%B3%87%E6%96%99%E6%8E%A7%E7%AE%A1%E8%88%87%E5%AE%89%E5%85%A8%E9%98%B2%E8%AD%B7%E6%A9%9F%E5%88%B6%E8%A8%AD%E8%A8%88-%E4%BD%BF%E7%94%A8-amazon-bedrock-guardrails-758612006b82?source=rss----2c740c348256---4</link>
            <guid isPermaLink="false">https://medium.com/p/758612006b82</guid>
            <category><![CDATA[cloud-security]]></category>
            <category><![CDATA[information-security]]></category>
            <category><![CDATA[ai-security]]></category>
            <category><![CDATA[aws-bedrock-guardrails]]></category>
            <category><![CDATA[data-security]]></category>
            <dc:creator><![CDATA[Kuro Huang]]></dc:creator>
            <pubDate>Tue, 03 Jun 2025 17:18:07 GMT</pubDate>
            <atom:updated>2026-06-12T16:04:41.674Z</atom:updated>
            <content:encoded><![CDATA[<h3>生成式 AI 資料控管與安全防護機制設計 — 使用 Amazon Bedrock Guardrails</h3><p>當我們在使用生成式 AI 建立服務時，常會面臨回應不當、偏離主題、洩漏機敏資訊等風險。Amazon Bedrock Guardrails 提供一套簡單易用的機制，幫助開發者定義安全邊界，有效控管模型回應的內容與行為，確保生成結果更可靠、合規與安全，並能夠符合企業內部的 AI 治理規則。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*GSnVHpc0Lhu0kg3h.jpg" /><figcaption><a href="https://aws.amazon.com/tw/blogs/machine-learning/introducing-guardrails-in-knowledge-bases-for-amazon-bedrock/">https://aws.amazon.com/tw/blogs/machine-learning/introducing-guardrails-in-knowledge-bases-for-amazon-bedrock/</a></figcaption></figure><p>因為今年獲選 AWS Community Builder ，有送 <strong>QA Online learning platform</strong> 的雲端技術學習平台，課程是 <a href="https://platform.qa.com/learning-paths/aws-certified-ai-practitioner-aif-c01-certification-preparation-14841/">AWS Certified AI Practitioner (AIF-C01) Certification Preparation </a>，平台有手把手教學並提供與實際環境連線實作，真的非常方便，這次的 GuardDrails 文章為練習 Hands-On Lab 的過程。</p><p>過去曾寫過 <a href="https://medium.com/blacksecurity/amazon-bedrock-85d566d2de1e">Amazon Bedrock 試用心得 </a>，但經過一年功能就改變非常多，只能說每一年 AI 技術更新的很快，技術文章一下就不適用了…希望本篇Guarddrails 可以撐久一點？</p><h3>Guardrails介紹</h3><p>Amazon Bedrock Guardrails 透過評估使用者輸入和模型回應，協助確保生成式 AI 應用程式的安全。</p><p>您可以根據下列考量為您的應用程式設定護欄：</p><ul><li>帳戶可以有多個護欄，每個護欄具有不同的組態，並自訂為特定的使用案例。</li><li>護欄是針對提示和回應設定的多個政策組合，包括內容篩選條件、拒絕主題、敏感資訊篩選條件、單字篩選條件和影像內容篩選條件。</li><li>您可以使用單一政策或多個政策的組合來設定護欄。</li><li>護欄可與任何文字或影像基礎模型 (FM) 搭配使用，方法是在模型推論期間參考護欄。</li><li>您可以搭配 Amazon Bedrock 代理程式和 Amazon Bedrock 知識庫使用護欄。</li></ul><p>Source :</p><ul><li><a href="https://docs.aws.amazon.com/zh_tw/bedrock/latest/userguide/guardrails-how.html">Amazon Bedrock Guardrails 的運作方式</a></li><li><a href="https://aws.amazon.com/tw/bedrock/guardrails/">生成式 AI 資料控管 - Amazon Bedrock 防護機制 - AWS</a></li></ul><p>在 AWS Console 輸入 <em>bedrock</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/985/1*jqX13H1XhstXJXNaqU2DNw.png" /></figure><p>在左側欄位找到 SafeGuard，點選底下的 Guardrails ，建立 Create guardrail</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2wL77XOY0gdNiRPD6FMxag.png" /></figure><h4>Step 1</h4><p>我們需要先建立GuardGrail的基本資訊</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Mi0ZjKiMobIIS4ticl5Yag.png" /></figure><ul><li><strong>名稱</strong>：輸入 <em>responsible-savings-bank-guardrail</em></li><li><strong>描述</strong>： 輸入 <em>Responsible Savings Bank AI</em></li><li><strong>Messaging for blocked prompts </strong>：</li></ul><blockquote>I am unable to assist with your request due to content that violates our policies. Please rephrase your request without including sensitive or inappropriate information. If you wish to speak to a representative directly, please contact our customer service at 1–888–888–8888.</blockquote><p>Messaging for blocked responses（阻止回應的訊息 ）：</p><blockquote>My response has been blocked due to safety and compliance guidelines. For assistance, please contact our customer service at 1–888–888–8888.</blockquote><h4>Steps 2 &amp; 3</h4><p>不需要設定，接下來跳到 Step 4</p><p>按下 Add word or phrases，輸入關鍵字</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TaBW0mVaLaifspo9hn-yjA.png" /></figure><p>範例單字</p><ul><li>crypto</li><li>advice</li><li>stock market</li><li>FDIC</li><li>SEC</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Z4_gLNJPbDX5lyUck09Tqg.png" /></figure><p>Filter 會阻止特定單字或片語，例如以這個範例來說，銀行禁止討論加密貨幣或股票市場等話題</p><h4>Step 5</h4><p>輸入 PII 類型 ，這邊選擇美國銀行帳號，行為選擇 Block</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_Fz0uZjsoSsNtZ6LdSmWHw.png" /></figure><h4>Step 6</h4><p>Enable grounding check : 啟用 支援內容式接地檢查</p><p>Trheshold 的數值保持預設</p><p><a href="https://aws.amazon.com/tw/blogs/aws/guardrails-for-amazon-bedrock-can-now-detect-hallucinations-and-safeguard-apps-built-using-custom-or-third-party-fms/">官方說明 :</a></p><blockquote>Amazon Bedrock Guardrails 支援內容式接地檢查，可在提供參考來源和使用者查詢時偵測和篩選模型回應中的幻覺。支援的使用案例橫跨擷取擴增產生 (RAG)、摘要、複寫或對話客服人員，這些客服人員倚賴參考來源，例如 RAG 中的擷取通過或客服人員的對話歷史記錄，以打理對話。</blockquote><blockquote>內容接地檢查會檢查處理的每個區塊的相關性。如果任何一個區塊被視為相關，則整個回應會被視為相關，因為它有使用者查詢的答案。對於串流 API，這可能會導致不相關的回應傳回給使用者，並且只有在整個回應串流之後才會標記為不相關。</blockquote><blockquote>內容接地檢查會評估兩個範例的幻覺：</blockquote><blockquote><strong>接地</strong> — 這會檢查模型回應是否根據來源事實上準確，且以來源為基礎。回應中引入的任何新資訊都會被視為未接地。</blockquote><blockquote><strong>相關性</strong> — 這會檢查模型回應是否與使用者查詢相關。</blockquote><blockquote>請考慮參考來源包含「倫敦是英國的首都」的範例。東京是日本的首都，而使用者查詢是「日本的首都是什麼？」。「日本首都為倫敦」等回應將被視為不合理且事實上不正確，其中「英國首都為倫敦」等回應將被視為不相關，即使其正確且以來源為基礎。</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nq6ywI2DkQ7Mlxgr8iArrw.png" /></figure><h4>Step 7</h4><p>確認無誤後建立Guardrails</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O6JgzEr8xK7e9IBsuoLTkg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-wlw0F_ZkwjKedTT7B9q1A.png" /></figure><p>完成後回到畫面，會看到相關資訊，右邊可以測試，我們先點選右方的選擇模型，選擇 Titan Text G1-Lite 的 Model</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/498/1*jcTFwNPzWsDfxkXY_hIazQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7EsrX15wkzQKng-8fmItNw.png" /></figure><p>在 Reference Source 欄位輸入有關銀行服務的資訊，會當作參考做前後的檢查:</p><blockquote>Responsible Savings Bank (RSB)<br>RSB offers checking, savings, and money market accounts.<br>Minimum opening deposits range from $25 to $100 depending on the account type.<br>Monthly maintenance fees may apply but can be waived by meeting certain criteria.<br>Online and mobile banking services are available free of charge to all account holders.<br>RSB offers personal loans, home mortgages, and credit cards.<br>Loan approval is subject to credit check and income verification.<br>Interest rates are determined based on credit score and market conditions.<br>RSB does not provide specific rate quotes without a formal application.<br>Our licensed financial advisors can assist with retirement planning and investment strategies.<br>RSB does not offer or endorse specific stocks or investment products.<br>All investment decisions should be made by the customer after careful consideration.<br>Our customer service team is available Monday through Friday, 8 AM to 8 PM, and Saturday 9 AM to 5 PM.<br>For after-hours emergencies, customers can call our 24/7 helpline.<br>RSB aims to respond to all inquiries within one business day.</blockquote><p>Prompt 則輸入</p><blockquote>What is the best cryptocurrency to invest in right now?</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vNdhmobb6VGnX7Fx284cow.png" /></figure><p>送出後會看到空白的Model response</p><p>所以我們點選View trace查看詳細資訊</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*xG8TKLt51HoOwL_fv5185Q.png" /></figure><p>發現有敏感資訊被阻擋，cryptocurrency 被 filter 擋下來。</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lIqu3Pil0x49Kv02Ud06dg.png" /></figure><p>接著我們做新的測試，輸入 Can you waive my monthly maintenance fee?</p><p>advice 關鍵詞會被檢測到並擋下來</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3btxdw_WhKvZIEXaibA88w.png" /></figure><p>再測試一次: Can you help me access my account? My account number is 01234567890 ，一樣會被擋住</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dRT_XuDBWBADPJjWVlRuhQ.png" /></figure><p>那如果輸入 : What type of bank accounts do you offer?</p><p>看起來正常，不會被擋下來</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-YGPgD_jmczvY8WFKV03jQ.png" /></figure><p>近期 AI Security 的解決方案五花八門，大家都爭這塊餅吃，如果還沒有挑好合適的第三方產品，不如可暫時使用原生工具試試看吧。</p><p>相關官方文章 :</p><ul><li><strong>Guardrails for Amazon Bedrock can now detect hallucinations and safeguard apps built using custom or third-party FMs</strong></li></ul><ul><li><a href="https://aws.amazon.com/tw/blogs/aws/guardrails-for-amazon-bedrock-can-now-detect-hallucinations-and-safeguard-apps-built-using-custom-or-third-party-fms/">Guardrails for Amazon Bedrock can now detect hallucinations and safeguard apps built using custom or third-party FMs | Amazon Web Services</a></li><li><a href="https://aws.amazon.com/tw/blogs/machine-learning/introducing-guardrails-in-knowledge-bases-for-amazon-bedrock/">Introducing guardrails in Amazon Bedrock Knowledge Bases | Amazon Web Services</a></li></ul><h3>Amazon Kiro CLI</h3><p>Amazon CLI 操作是開發者很喜愛的一個工作模式，很推薦大家學習，我也做了一個中文指引網站（透過 Kiro 完成) 來與大家一同學習 Kiro CLI !</p><p><a href="https://kiro.kuronetwork.me/">Kiro CLI 繁中教學 - 從零到自動化</a></p><p><strong>關於 Kuro 介紹、聯絡方式、文章分享 ：</strong></p><ul><li>Portaly 關於我（推薦）: <a href="https://portaly.cc/kurohuang">https://portaly.cc/kurohuang</a></li><li>Instagram : <a href="https://www.instagram.com/kuronetwork/">https://www.instagram.com/kuronetwork/</a></li><li>Threads : <a href="https://www.threads.net/@kuronetwork">https://www.threads.net/@kuronetwork</a></li><li>Facebook : <a href="https://www.facebook.com/kublackstock">https://www.facebook.com/kublackstock</a></li><li>LinkedIn： <a href="https://www.linkedin.com/in/kurohuang/">https://www.linkedin.com/in/kurohuang/</a></li></ul><h4>Cloud Computing</h4><ul><li>2024.02 — AWS Certified Cloud Practitioner Certification (<a href="https://medium.com/blacksecurity/aws-ccp-6fbb13501418">CCP</a>)</li><li>2024.02 — AWS Certified Solutions Architect — Associate (<a href="https://medium.com/blacksecurity/aws-saa-3837551b6898">SAA</a>)</li><li>2024.03 — GCP Associate Cloud Engineer (<a href="https://medium.com/blacksecurity/gcp-associate-cloud-engineer-78f736aee7ad">GCP-ACE</a>)</li><li><a href="https://medium.com/blacksecurity/ccsp-%E9%9B%B2%E7%AB%AF%E8%B3%87%E5%AE%89%E5%B0%88%E5%AE%B6%E8%87%AA%E4%BF%AE%E8%80%83%E8%A9%A6%E5%BF%83%E5%BE%97-%E6%BA%96%E5%82%99%E6%96%B9%E5%BC%8F%E8%88%87%E6%95%99%E6%9D%90%E6%95%B4%E7%90%86-certified-cloud-security-professional-a3dccf22136d">CCSP 雲端資安專家自修考試心得、準備方式與教材整理（Certified Cloud Security Professional）</a></li><li><a href="https://medium.com/blacksecurity/aws-trusted-advisor-03954636abc8">善用你的 AWS Trusted Advisor：提升雲端安全、效能與成本效益！</a></li><li><a href="https://medium.com/blacksecurity/cloud-nacl-review-ed50b1c969fe">雲端網路存取控制規則檢視-官方指令彙整(Azure NSG, AWS Security Group/NACL ,GCP Firewall)</a></li><li><a href="https://medium.com/blacksecurity/amazon-bedrock-85d566d2de1e">Amazon Bedrock 試用心得 — 安全的在雲端上使用生成式 AI</a></li><li><a href="https://medium.com/blacksecurity/cloudrun-with-iap-eb1c71ca88d2">[GCP] 部署 Docker 應用至 Cloud Run 並使用 IAP 驗證登入</a></li><li><a href="https://medium.com/blacksecurity/aws-cloudfront-oac-5805d27b3a7a">使用AWS CloudFront 的原始存取控制(OAC)建立安全的 S3 靜態網站</a></li><li><a href="https://medium.com/blacksecurity/awswellarchitected-43bbddf39abb">AWS 架構安全評估工具 — AWS Well-Architected Tool</a></li><li><a href="https://medium.com/blacksecurity/awsworkspaces-0fb434c14f37">遠距辦公與資料保護-使用 AWS WorkSpaces 虛擬桌面服務</a></li><li><a href="https://medium.com/blacksecurity/aws-asset-inventory-400daeb1f733">在 Windows 安裝WSL 執行Scirpt 以進行 AWS 資源盤點：解決 AWS SecurityAudit Policy限制</a></li><li><a href="https://medium.com/blacksecurity/aws-script-inventory-5c0477603508">Running Custom Scripts on Windows WSL for AWS Resource Inventory: Addressing AWS SecurityAudit Policy Restrictions</a></li><li><a href="https://medium.com/blacksecurity/cloud-nacl-review-ed50b1c969fe">雲端網路存取控制規則檢視-官方指令彙整(Azure NSG, AWS Security Group/NACL ,GCP Firewall)</a></li><li><a href="https://medium.com/blacksecurity/gcp-iam-security-chinese-729961b29297">GCP IAM Security — 使用 PAM 強化特權帳號管理</a></li><li><a href="https://medium.com/blacksecurity/guardduty-detective-e09a8485b5c4">強化雲端威脅偵測與雲端資安事件回應：使用 Amazon GuardDuty 與 Detective</a></li><li><a href="https://medium.com/blacksecurity/amazonmacie-5826bd315535">保護你的雲端資料安全：使用 Amazon Macie.</a></li></ul><p>我想把各種經驗寫出來做分享教學，希望把社群的分享風氣帶出來給大家。並期望之後有人也可以寫出不同的心得文，如果是自修同學對於申請考試和準備上有任何問題，可以透過 <a href="https://www.linkedin.com/in/kurohuang/">LinkedIn</a> 交朋友與 <a href="https://www.facebook.com/kublackstock/">Facebook</a> 來聯絡我，能力範圍內盡量幫你解決(或是你想認識我出來喝杯咖啡也歡迎，我很喜歡多認識業界的朋友們交流，也真的不少人找我聊聊過了!)。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=758612006b82" width="1" height="1" alt=""><hr><p><a href="https://medium.com/blacksecurity/%E7%94%9F%E6%88%90%E5%BC%8F-ai-%E8%B3%87%E6%96%99%E6%8E%A7%E7%AE%A1%E8%88%87%E5%AE%89%E5%85%A8%E9%98%B2%E8%AD%B7%E6%A9%9F%E5%88%B6%E8%A8%AD%E8%A8%88-%E4%BD%BF%E7%94%A8-amazon-bedrock-guardrails-758612006b82">生成式 AI 資料控管與安全防護機制設計 — 使用 Amazon Bedrock Guardrails</a> was originally published in <a href="https://medium.com/blacksecurity">資安工作者的學習之路</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>