You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
AWS
New commands:
ecs-tasks - List all ecs tasks. This returns a list of ecs tasks and associated cluster, task definition, container instance, launch type, and associated IAM principal. (thanks @DominicBreuker)
elastic-network-interfaces - List all eni information. This returns a list of eni ID, type, external IP, private IP, VPCID, attached instance and a description. (thanks @DominicBreuker)
eks - List all EKS clusters, see if they expose their endpoint publicly, and check the associated IAM roles attached to reach cluster or node group. Generates a loot file with the aws eks udpate-kubeconfig command needed to connect to each cluster.
pmapper - Looks for pmapper data stored on the local filesystem, in the locations defined here. If pmapper data has been found (you already ran pmapper graph create), then this command will use this data to build a graph in cloudfox memory let you know who can privesc to admin.
Updates:
Less errors: Cloudfox aws now avoids making queries to a region if a service is not supported there, and when regions are administratively disabled.
Role Insights: instances, lambda, eks, ecs-tasks, and role-trusts commands now look for pmapper data, and if it exists, these commands will use the pmapper data and tell you 1) if the role attached to the workload is an admin, and 2) if the role can privesc to admin. If there is no pmapper data, cloudfox will use the iam-simulator command to at least tell you if the role is an admin.
Role-trusts now shows federated role trusts (was missing earlier)
Azure
New Commands
whoami - The whoami command displays information on the current tenant, subscriptions and resource groups available to your current Azure CLI session. This is useful to provide situation awareness on what tenant and subscription IDs to use with the other sub commands.
storage - The storage command is still under development. Currently it only displays limited data about the storage accounts as shown in the examples below.
Updated Commands
instances - The instances command enumerates the Compute instances' userful information at subscription or tenant level
rbac - The rbac command maps the Azure RBAC role assignments at subscription or tenant level
Other updates
Update inputs, outputs and UI to match the AWS command standards
Commits
3e3a9e8: Refactored some Azure authentication code (carlosvendramini-bf) #23
61da828: Added RG code to build a RG selector in Azure (carlosvendramini-bf) #23
e919c3c: menu function for azure and test cases (carlosvendramini-bf) #23
5ec6101: refactored some azure client code (carlosvendramini-bf) #23
206542f: wrote an interactive menu for Azure (carlosvendramini-bf) #23
8f02f3b: Removed Wyatt's network ports command file from my branch so that it is fresh when the PR gets merged (sethsec-bf) #23
e509639: fixed compile bug in these azure modules after i upgraded go modules. carlos is rewriting them so this should just get overwritten on his next merge (sethsec-bf) #23
0ced510: added awsservicemap logic to inventory module (sethsec-bf) #23
09e59bb: fixed bug in env-vars ecs where it would have missed every region other than us-east-1. Also, updated the logic to pull one (the latest) active task definition for each family instead of every active veresion of the same definition. (sethsec-bf) #23
0f1e003: added awsservicemap logic to the rest of the applicable modules (sethsec-bf) #23
9cba6bd: Added isAdmin check to role-trusts module (sethsec-bf) #23
86dde7e: Added isAdmin check to ecs-tasks command (sethsec-bf) #23
56def9b: Switched a bunch of commands to accept API interfaces to facilitate future tests (sethsec-bf) #23
c567c4f: az instances code cleanup (carlosvendramini-bf) #23
97ec9f5: Merge remote-tracking branch 'origin/seth-dev' into carlos-dev (carlosvendramini-bf) #23
73207a7: switching out awsservicemap constructor for normal sturct instatiation (sethsec-bf) #23
d455f4c: fixed bug where the multi profile cli options were not using the new enabledregions check. (sethsec-bf) #23
846f28e: fixed bug where the multi profile cli options were not using the new enabledregions check. (sethsec-bf) #23
433f54d: changing inputs of az instances to accept only tenant id or sub id (carlosvendramini-bf) #23
d5de698: first draft of eks command (sethsec-bf) #23
8dc3304: refactored eks command a bit to seperate functions (sethsec-bf) #23
e56634d: updated awsservicemap mod to v1.0.0 (sethsec-bf) #23
5d8e9e9: az instances and rbac now only take tenant ID and sub ID for input (carlosvendramini-bf) #23
3d7bf08: changed output for az whoami command (carlosvendramini-bf) #23
1762753: first version of az storage done and code cleanup on all az commands (carlosvendramini-bf) #23
2f518c9: Merge remote-tracking branch 'origin/seth-dev' into carlos-dev (carlosvendramini-bf) #23
8ed67ea: small correction on az instances output (carlosvendramini-bf) #23
6bbc528: fixed a syntax error with utils.OutputSelector in the aws eks command (cvendramini2) #23
0ea1895: fixed a segmentation fault bug in the az instances module caused by nil public ip objects (cvendramini2) #23
4b424a3: refactored eks command to seperate functions (sethsec-bf) #23
56e265b: finished a good enough update of role-trusts to show federated roles and helpful context about the trusted subjects. (sethsec-bf) #23
b1dc875: added --skip-admin-checks flag for all modules that do admin role checks (sethsec-bf) #23
2007026: Merge remote-tracking branch 'origin/seth-dev' into carlos-dev (carlosvendramini-bf) #23
385bf52: second draft of pmapper command. Replaced isRoleAdmin check in instances and lambda commands to use pmapper if pmapper data is available, and to fall back to iam-simulator as needed (sethsec-bf) #23
d8488e1: Merge remote-tracking branch 'origin/seth-dev' into carlos-dev (carlosvendramini-bf) #23
2c17ad1: fixed missing prefixIdentifier for OutputSelector for aws principal and pmapper modules (carlosvendramini-bf) #23
ded97a0: az whoami command now has an --extended flag for more detailed output (carlosvendramini-bf) #23
a5c5ec9: Updated all workload commands to use shared functions rather than having to add the same methods to each command (sethsec-bf) #23
91976b8: Updated all workload commands to use shared functions rather than having to add the same methods to each command (sethsec-bf) #23
5a6e5c1: removed some commented lines (sethsec-bf) #23
362fa0c: added --wrap flag for table wrapping. Also added EKS and pmapper commands to all-checks (sethsec-bf) #23
1e275d3: added --wrap flag for table wrapping (sethsec-bf) #23
1c12c84: Merge branch 'main' of github.com:BishopFox/cloudfox into seth-dev (sethsec-bf) #23
afbe710: added --wrap flag for table wrapping (sethsec-bf) #23
1c334b5: refactored buckets and cloudformation commands to seperate out AWS SDK calls into their own functions (sethsec-bf) #23
529d632: Merge remote-tracking branch 'origin/seth-dev' into carlos-dev (carlosvendramini-bf) #23
fff3985: Merge branch 'carlos-dev' into seth-dev (sethsec-bf) #23
c9daf18: fixed bug in ecs-tasks that caused segfault because the interface was not correct (sethsec-bf) #23
097baa0: moved spinner and commandcounter to new internal directory, removing need for console directory (sethsec-bf) #23
d4eb166: added back aquatable setting to not wrap unless we use our own wrap function (sethsec-bf) #23
c52a22c: added acceptance test using t.Run to ecs-tasks_test.go (sethsec-bf) #23
b537c62: fixed bug in eks where it was only reproting on clusters that have node groups. (sethsec-bf) #23
840e3d3: removed --extended flag from az whoami command, now everything displays in one table (carlosvendramini-bf) #23
a9553c4: fixed a segmentation fault bug with az commands (carlosvendramini-bf) #23
1bb3bde: code cleanup for 1.9.0 release (carlosvendramini-bf) #23
3fe4ac6: added back in prefix to output selector. Reverted back to select channel for receiver in all aws commands because the new way was losing data (sethsec-bf) #23
d7634a8: Added link to WIKI for each AWS command (sethsec-bf) #23
44311b5: removed beta designation from Azure section (sethsec-bf) #23