Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| amzn [2020/02/12 13:26] – [Amzn] mmuze | amzn [2020/02/13 13:01] (current) – [Programmatic UI manipulation] mmuze | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| This page provides some additional details for the things I talked about. This includes notes, diagrams, source code and videos. | This page provides some additional details for the things I talked about. This includes notes, diagrams, source code and videos. | ||
| - | ======sorcery====== | + | - Michael Gupton |
| - | * The //sorcery// solution is a CLI tool that provides supplemental functionality that is not built into a product to provide ways of automating what would otherwise be onerous manual, and error prone, tasks carried out by an administrator. | + | |
| - | * [[https:// | + | |
| - | ======Ingress controller/ | + | ======sorcery, |
| - | * This diagram illustrates a problematic scenario that resulted in many false positive security incidents being generated by the very product that is producing | + | * The //sorcery// solution is a CLI tool that provides supplemental functionality that is not built into a product to provide ways of automating what would otherwise be onerous manual and error prone tasks carried out by an administrator. |
| + | * automates assigning agents to sensors | ||
| + | * automates tagging agents to help with identifying and managing them | ||
| + | * automates purging defunct agent configuration from the backend when VMs or hosts are terminated | ||
| + | * **source code:** [[https:// | ||
| + | |||
| + | ======Ingress controller/ | ||
| + | * The diagram | ||
| * Because there was a ingress controller on the node with the application pod the vuln. scanner was scanning the application pod twice, once directly and once through the ingress controller. | * Because there was a ingress controller on the node with the application pod the vuln. scanner was scanning the application pod twice, once directly and once through the ingress controller. | ||
| - | * And the source IP of the scans going through the ingress controller | + | * And the source IP of the scans going through the ingress controller |
| - | * Normally the x-forwarded-for (XFF) would prevent this issue, but for some reason the XFF was not always added to request | + | * Normally the x-forwarded-for (XFF) header in HTTP traffic |
| - | * The solution I implemented is to use and undocumented API to whitelist the ingress controllers from vuln. scans. **source code:** {{ : | + | * The solution I implemented is to use an undocumented API to whitelist the ingress controllers from vuln. scans. **source code:** {{ : |
| * Since this is in a k8s environment that tends to be dynamic the script can be ran periodically to continually update the whitelist with the IPs of the ingress controllers that are found in the environment. | * Since this is in a k8s environment that tends to be dynamic the script can be ran periodically to continually update the whitelist with the IPs of the ingress controllers that are found in the environment. | ||
| * The core functionality of the IDS/scan solution records metadata about the k8s environment, | * The core functionality of the IDS/scan solution records metadata about the k8s environment, | ||
| Line 20: | Line 25: | ||
| * This solution provides a way to programmatically manipulate a web UI to supplement the lack of an API for acquiring vulnerability data. | * This solution provides a way to programmatically manipulate a web UI to supplement the lack of an API for acquiring vulnerability data. | ||
| * This solution was used to ingest vulnerability findings into an ITSM (e.g. ServiceNow) that was used for a partners workflow with their end customers. | * This solution was used to ingest vulnerability findings into an ITSM (e.g. ServiceNow) that was used for a partners workflow with their end customers. | ||
| - | * {{ : | + | |
| + | * **source code:** {{ : | ||
| * {{ : | * {{ : | ||
| - | * [[https:// | + | * [[https:// |