项目介绍

NVISOsecurity/cyber-security-llm-agents 是一个托管在 GitHub 上的开源项目,主要使用 Jupyter Notebook 编写,目前获得 398 个 Star、76 次 Fork。

仓库全名
NVISOsecurity/cyber-security-llm-agents
Star 数
398
Fork 数
76
未关闭 Issue
1

README 摘要

cyber-security-llm-agents A collection of agents that use Large Language Models (LLMs) to perform tasks common on our day to day jobs in cyber security. Built on top of AutoGen. Released as part of our talks at RSAC2024: From Chatbot to Destroyer of Endpoints: Can ChatGPT Automate EDR Bypasses? The Always-On Purple Team: An Automated CI/CD for Detection Engineering Detecting the EDR running on a Windows system based…

完整内容见 GitHub 原始 README 或本页 。

常见问题

cyber-security-llm-agents 用什么语言开发?

主要使用 Jupyter Notebook 编写,目前有 398 个 Star。

如何获取 cyber-security-llm-agents 的源码?

可以直接克隆仓库:git clone https://github.com/NVISOsecurity/cyber-security-llm-agents.git,默认分支为 main;安装与运行步骤见仓库 README。

cyber-security-llm-agents 最近还在维护吗?

仓库最近一次更新为 2024年5月7日,当前有 1 个未关闭 Issue;Star 数为 398,可作为社区活跃度的参考。

关于

A collection of agents that use Large Language Models (LLMs) to perform tasks common on our day to day jobs in cyber security.

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
559
价值分
262
活跃状态
活跃

语言占比

Jupyter Notebook
Python
Shell

贡献者

README

cyber-security-llm-agents

A collection of agents that use Large Language Models (LLMs) to perform tasks common on our day to day jobs in cyber security. Built on top of AutoGen.

Released as part of our talks at RSAC2024:
From Chatbot to Destroyer of Endpoints: Can ChatGPT Automate EDR Bypasses?
The Always-On Purple Team: An Automated CI/CD for Detection Engineering

Detecting EDR
Detecting the EDR running on a Windows system based on live data extracted from https://github.com/tsale/EDR-Telemetry.

Key Features

  • Modular Design: Our framework is composed of individual agents and tasks that can be combined and customized to fit your specific security needs. This modular approach ensures flexibility and scalability, allowing you to adapt to the ever-evolving landscape of cyber threats.
  • Automation: With Cyber-Security-LLM-Agents, you can automate repetitive and complex tasks, freeing up valuable time for your security team to focus on strategic analysis and decision-making.
  • Batteries Included: We provide a comprehensive set of pre-defined workflows, agents, and tasks that are ready to use out-of-the-box. This enables you to jumpstart your cyber security automation with proven practices and techniques.

Getting Started

Caution 注意

Running LLM-generated source code and commands poses a security risk to your host environment! Be careful and only run this in a virtual or test environment.

Step 1 - Install requirements

pip install -r requirements

Step 2 - Configure OpenAI API Information

cp .env_template .env

Then add your LLM API information and other parameters to the .env.

Step 3 - Start HTTP and FTP server (Optional)

Only required if you want to host a simple HTTP and FTP server to interact with using your agents. This is useful for demos, where you might want to showcase exfiltration or downloading of payloads onto an implant.

python run_servers.py

Step 3 - Hello, Agents

Run a very basic scenario to confirm everything is configured correctly.

python run_agents.py HELLO_AGENTS

The output should show the agent doing its best at being funny. If you see the below (or an even better) joke, you are all set!

python run_agents.py HELLO_AGENTS

********************************************************************************
Starting a new chat....

********************************************************************************
task_coordinator_agent (to text_analyst_agent):

Tell me a cyber security joke

--------------------------------------------------------------------------------
text_analyst_agent (to task_coordinator_agent):

Why was the computer cold? It left its Windows open. 

TERMINATE

Building Scenarios

All scenarios are defined in actions/agent_actions.py. You can use that file to modify and create new scenarios. Once a new scenario has been added to the dictionary, you can run it:

python run_agents.py <scenario-name>

Development

Jupyter notebooks

You can launch jupyter notebooks on your network interface by choice. This allows you run the notebooks within a VM and expose them to different system - interesting for demos!

./run_notebooks.sh ens37

Static analysis and code quality

We ignore E501 (line too long) as this triggers on long agent and action strings. We ignore W503 (line break before binary operator) and we are opinionated about this being OK.

flake8 --exclude=.venv --ignore=E501,W503 .

Conributions

We welcome contributions from the community!

If you have ideas for new agents, tasks, or improvements, please feel free to fork our repository, make your changes, and submit a pull request.

License

Released under the GNU GENERAL PUBLIC LICENSE v3 (GPL-3).

Disclaimer

Please note that the software contained in this repository is in its early stages of development. As such, it is considered to be an early release and may contain components that are not fully stable, potentially leading to breaking changes. Users should exercise caution when using this software.

We are committed to improving and extending the software’s capabilities over the coming months, and we welcome any feedback that can help us enhance its performance and functionality.

Acknowledgements

We are grateful for the support received by INNOVIRIS and the Brussels region in funding our Research & Development activities.

评论

暂无评论