ChatGPT can rapidly build solutions for network defense

Stanislaw Pytel/GettyImages

 

Connecting state and local government leaders

A new report outlines how the generative AI tool can quickly build scripts to thwart attackers and identify security vulnerabilities, but stresses that secure and responsible use of the evolving technology is essential.

Agencies can use ChatGPT to quickly build security code, adding new ammunition to their cybersecurity arsenal, according to a new report.

“What we found with ChatGPT was it had such a quick ability to build code that you may be able to use in your own systems at a rate that was … faster than your average employee would be able to develop something,” said Sean Heide, research technical director at the Cloud Security Alliance and an author of the “Security Implications of ChatGPT” report that CSA released April 23.

If, for example, some agency employees opened a phishing email but the security team was unsure if anyone clicked on the embedded link, the best way to find out might be to write a script to find recent email logons within 30 minutes of the malicious email’s arrival. “Instead of hand jotting it down, ChatGPT can do it in minutes. You just provide it the prompts [for] what you need to see, and now you have this entirely almost accurate script that you can use internally,” Heide said.

What’s more, the technology, a form of generative artificial intelligence that OpenAI, an AI research and deployment company released at the end of November 2022, can generate specific security code, he added. For example, an agency can build custom scripts from previous or existing standards and frameworks by telling ChatGPT what it needs. The tool can also translate scripts from one programming language to another.

“It will change and morph that code into something that is now applicable to your own use case,” Heide said. “For state and local governments that need a specific standard or to fall under a certain compliance framework, they can now do so and engineer those sandbox prompts with information that they would specifically need otherwise.”

Additionally, ChatGPT can scan for and identify security vulnerabilities. Users can ask it about common vulnerabilities and exposures—and how to mitigate them, Heide added.

And it can identify gaps in security frameworks and standards. “It can assess potential risks or threats by analyzing large datasets,” Heide said. “Of course, you need to be very careful with the data you’re feeding it” to ensure accuracy. Users should also be cautious about uploading agency information into the open source tool. Any data uploaded is used to improve the model, so users are advised not to feed in personally identifying information or sensitive data, the report states.

Heide shared several other potential use cases for the technology that could benefit state and local government users. One is using ChatGPT to do a comprehensive review of existing policies and data for policy analysis and development. “By being able to cross-reference each of those, compare and contrast, it can take a look at the impacts of different policies over time,” he said. “It can look at the faults or look at the successes of policies and make suggestions.”

Another use is in public engagement. ChatGPT can provide fast and accurate answers to questions on government websites or social media platforms, for instance.

A third area is education and training, such as informing employees about new policies, procedures and technologies.

The technology has its limitations, however. For one, it has access to information only up to 2021, so it can’t pull from current events, standards and policies.

“What you’re getting is a compilation of older material,” Heide said. “On the flip side of that, it does have the ability to take in new information, but it’s what the user provides within the prompts…. The potential for inaccuracy is actually very high.”

Other constraints include placing undue importance on certain aspects of the prompt, meaning “the way a query is framed can significantly affect the output,” according to the report. And it is not great at performing complex computations, such as hash algorithm calculations.

What’s more, malicious actors use ChatGPT, too. They can insert inputs to spread misinformation and disinformation, disrupt functionality or produce false information, the report states.

“As AI becomes more advanced, bad actors will persist in devising methods to exploit it for malicious ends,” the report states. “Addressing these challenges demands a multi-faceted approach, encompassing user education, stringent security measures, and cooperation with stakeholders to formulate.”

To ensure accuracy, then, agencies need checks and balances, Heide said, adding that responsible use largely relies on prompts at this early stage. Meanwhile, CSA is working to build policy around ChatGPT for enterprises.

Until then, the report lays out four ways to foster responsible user/AI interaction. The first is ensuring that the connection is encrypted and authenticated to prevent eavesdropping or man-in-the-middle attacks. Second is safeguarding users’ data privacy and preventing unauthorized access. The final two are about protecting the integrity of user inputs to avoid manipulating ChatGPT responses and ensuring that the responses have indeed not been tampered with.

Heide said that ChatGPT’s growth—as of April, it had more than 1 billion users, representing an increase of 55% from February to March, according to research by DemandSage—is likely to continue and that more positive use cases are likely to emerge.

“It’s almost like having a full-time analyst at a fraction of the cost,” he said. “And it’s working 24/7 if you wanted it to.”

Stephanie Kanowitz is a freelance writer based in northern Virginia.

X
This website uses cookies to enhance user experience and to analyze performance and traffic on our website. We also share information about your use of our site with our social media, advertising and analytics partners. Learn More / Do Not Sell My Personal Information
Accept Cookies
X
Cookie Preferences Cookie List

Do Not Sell My Personal Information

When you visit our website, we store cookies on your browser to collect information. The information collected might relate to you, your preferences or your device, and is mostly used to make the site work as you expect it to and to provide a more personalized web experience. However, you can choose not to allow certain types of cookies, which may impact your experience of the site and the services we are able to offer. Click on the different category headings to find out more and change our default settings according to your preference. You cannot opt-out of our First Party Strictly Necessary Cookies as they are deployed in order to ensure the proper functioning of our website (such as prompting the cookie banner and remembering your settings, to log into your account, to redirect you when you log out, etc.). For more information about the First and Third Party Cookies used please follow this link.

Allow All Cookies

Manage Consent Preferences

Strictly Necessary Cookies - Always Active

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data, Targeting & Social Media Cookies

Under the California Consumer Privacy Act, you have the right to opt-out of the sale of your personal information to third parties. These cookies collect information for analytics and to personalize your experience with targeted ads. You may exercise your right to opt out of the sale of personal information by using this toggle switch. If you opt out we will not be able to offer you personalised ads and will not hand over your personal information to any third parties. Additionally, you may contact our legal department for further clarification about your rights as a California consumer by using this Exercise My Rights link

If you have enabled privacy controls on your browser (such as a plugin), we have to take that as a valid request to opt-out. Therefore we would not be able to track your activity through the web. This may affect our ability to personalize ads according to your preferences.

Targeting cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.

Social media cookies are set by a range of social media services that we have added to the site to enable you to share our content with your friends and networks. They are capable of tracking your browser across other sites and building up a profile of your interests. This may impact the content and messages you see on other websites you visit. If you do not allow these cookies you may not be able to use or see these sharing tools.

If you want to opt out of all of our lead reports and lists, please submit a privacy request at our Do Not Sell page.

Save Settings
Cookie Preferences Cookie List

Cookie List

A cookie is a small piece of data (text file) that a website – when visited by a user – asks your browser to store on your device in order to remember information about you, such as your language preference or login information. Those cookies are set by us and called first-party cookies. We also use third-party cookies – which are cookies from a domain different than the domain of the website you are visiting – for our advertising and marketing efforts. More specifically, we use cookies and other tracking technologies for the following purposes:

Strictly Necessary Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Functional Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Performance Cookies

We do not allow you to opt-out of our certain cookies, as they are necessary to ensure the proper functioning of our website (such as prompting our cookie banner and remembering your privacy choices) and/or to monitor site performance. These cookies are not used in a way that constitutes a “sale” of your data under the CCPA. You can set your browser to block or alert you about these cookies, but some parts of the site will not work as intended if you do so. You can usually find these settings in the Options or Preferences menu of your browser. Visit www.allaboutcookies.org to learn more.

Sale of Personal Data

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Social Media Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.

Targeting Cookies

We also use cookies to personalize your experience on our websites, including by determining the most relevant content and advertisements to show you, and to monitor site traffic and performance, so that we may improve our websites and your experience. You may opt out of our use of such cookies (and the associated “sale” of your Personal Information) by using this toggle switch. You will still see some advertising, regardless of your selection. Because we do not track you across different devices, browsers and GEMG properties, your selection will take effect only on this browser, this device and this website.