Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decision making #45

Merged
merged 7 commits into from
May 13, 2024
Merged

Decision making #45

merged 7 commits into from
May 13, 2024

Conversation

andreashappe
Copy link
Member

No description provided.

This should be the first step towards multi-level LLM decision
making, e.g., use-cases where we have an outer loop containing e.g.
high-level decision making, and an inner loop that e.g. contains
a concrete sub-usecase execution.

For example: we have an outer loop that can iterate over multiple
attack classes, and an inner loop that executes examples for the
respective (current) attack class
This is a rough prototype that:

- inititally downloads and executes an enumeration tool (lse)
- executes and caputure its output
- use gpt-4-turbo to generate up to 3 attack classes
- use gpt-3.5-turbo with up to 20 steps per attack class to generate commands
Now we have:

- usecases/base.py for basic wiring
- usecases/common_patterns.py for reusable control loops/pattersn
- usecases/privesc/windows.py for all windows-based use-cases
- usecases/privesc/linux.py for all linux-based use-cases (migth be splitup further)
- usecases/privesc/common.py for shared code within usecases/privesc
@andreashappe andreashappe merged commit f79b6af into main May 13, 2024
1 check passed
@andreashappe andreashappe deleted the decision_making branch May 13, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant