<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic The Dangers of using ChatGPT for Coding: Flipping Bits in Ciphers and Why MACs Are So Important in Tech Talk</title>
    <link>https://community.isc2.org/t5/Tech-Talk/The-Dangers-of-using-ChatGPT-for-Coding-Flipping-Bits-in-Ciphers/m-p/68059#M4332</link>
    <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some important lessons here:&amp;nbsp;&amp;nbsp;&amp;nbsp; Prof Bill Buchanan:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;BR /&gt;I did a code review recently, and I noticed that the code was using AES with CBC (Cipher Block Chaining) mode. It involved saving encrypted data to database, and it just looked like copy-and-paste code. So, I took the database, and flipped a few bits, and showed the developer that I had changed the values of the transaction.&lt;BR /&gt;&lt;BR /&gt;“How did you do that?”, “Well, I flipped some bits!”, “But, it is encrypted”, “You do not have a MAC to check”, “What’s a MAC?”. “Where did you get the code?”, “I got it from ChatGPT”.&lt;BR /&gt;&lt;BR /&gt;I stopped there and was worried about the rest of the software. I then asked whether they knew how CBC worked and was met with a blank face.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;A href="https://medium.com/asecuritysite-when-bob-met-alice/the-dangers-for-chatgpt-for-coding-flipping-bits-in-ciphers-and-why-macs-are-so-important-fd1a980a684f" target="_blank" rel="noopener"&gt;https://medium.com/asecuritysite-when-bob-met-alice/the-dangers-for-chatgpt-for-coding-flipping-bits-in-ciphers-and-why-macs-are-so-important-fd1a980a684f&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Caute_Cautim&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2024 04:51:57 GMT</pubDate>
    <dc:creator>Caute_cautim</dc:creator>
    <dc:date>2024-03-10T04:51:57Z</dc:date>
    <item>
      <title>The Dangers of using ChatGPT for Coding: Flipping Bits in Ciphers and Why MACs Are So Important</title>
      <link>https://community.isc2.org/t5/Tech-Talk/The-Dangers-of-using-ChatGPT-for-Coding-Flipping-Bits-in-Ciphers/m-p/68059#M4332</link>
      <description>&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some important lessons here:&amp;nbsp;&amp;nbsp;&amp;nbsp; Prof Bill Buchanan:&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;BR /&gt;I did a code review recently, and I noticed that the code was using AES with CBC (Cipher Block Chaining) mode. It involved saving encrypted data to database, and it just looked like copy-and-paste code. So, I took the database, and flipped a few bits, and showed the developer that I had changed the values of the transaction.&lt;BR /&gt;&lt;BR /&gt;“How did you do that?”, “Well, I flipped some bits!”, “But, it is encrypted”, “You do not have a MAC to check”, “What’s a MAC?”. “Where did you get the code?”, “I got it from ChatGPT”.&lt;BR /&gt;&lt;BR /&gt;I stopped there and was worried about the rest of the software. I then asked whether they knew how CBC worked and was met with a blank face.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;&lt;A href="https://medium.com/asecuritysite-when-bob-met-alice/the-dangers-for-chatgpt-for-coding-flipping-bits-in-ciphers-and-why-macs-are-so-important-fd1a980a684f" target="_blank" rel="noopener"&gt;https://medium.com/asecuritysite-when-bob-met-alice/the-dangers-for-chatgpt-for-coding-flipping-bits-in-ciphers-and-why-macs-are-so-important-fd1a980a684f&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN&gt;Caute_Cautim&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2024 04:51:57 GMT</pubDate>
      <guid>https://community.isc2.org/t5/Tech-Talk/The-Dangers-of-using-ChatGPT-for-Coding-Flipping-Bits-in-Ciphers/m-p/68059#M4332</guid>
      <dc:creator>Caute_cautim</dc:creator>
      <dc:date>2024-03-10T04:51:57Z</dc:date>
    </item>
    <item>
      <title>Re: The Dangers of using ChatGPT for Coding: Flipping Bits in Ciphers and Why MACs Are So Important</title>
      <link>https://community.isc2.org/t5/Tech-Talk/The-Dangers-of-using-ChatGPT-for-Coding-Flipping-Bits-in-Ciphers/m-p/68080#M4333</link>
      <description>“Cipher Block Chaining is a mode of operation that was specifically designed to use both transposition and substitution and padding make it hard for programmers to escape on a Friday. On purpose, simply because I do not like programmers, or weekends.” Xor Munger, Cryptologist to the Stars&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Mar 2024 00:02:04 GMT</pubDate>
      <guid>https://community.isc2.org/t5/Tech-Talk/The-Dangers-of-using-ChatGPT-for-Coding-Flipping-Bits-in-Ciphers/m-p/68080#M4333</guid>
      <dc:creator>Early_Adopter</dc:creator>
      <dc:date>2024-03-11T00:02:04Z</dc:date>
    </item>
  </channel>
</rss>

