Repository navigation
Keelson v0.14.0
- When the browser can't reach the Keelson server, the page now says so in a card like the sign-in page's, explains what to do, and tries again every 5 seconds, so a restarted server brings it back without a reload. Links across the app now use the design system's own link, the one-time password for a new user has its own copy control, and the expand buttons on Findings and Triaged match the rest.
- Sonar follows each hostname into AWS. The Attack surface page shows, for every hostname, the load balancer its DNS names (internal or internet-facing, with what its security groups admit and whether a WAF web ACL filters it), the listener rules a request for it can take, in the order the load balancer tries them, and the targets behind each rule, down to whether a target has its own public address and security groups that let anyone reach it. Hostnames are followed through CNAMEs to the entity's own names, so a proxied hostname whose origin name points at a load balancer shows it, and through a network load balancer to the application load balancer behind it, and validation and DKIM records are no longer listed as hostnames. A new Load balancers tab lists each one with the hostnames that reach it, its rules and its targets, and addresses show what their security groups let anyone reach next to what Shodan has seen. New findings: a load balancer's target that anyone can reach without the load balancer, skipping its WAF and TLS (critical when the rule signs visitors in first); a public hostname that points at an internal load balancer; and a load balancer that still routes a hostname no DNS record points at it. A database or remote-administration port Shodan saw is rated one step lower when the AWS account that holds the address no longer lets anyone reach it. AWS scans now read listener rules, target groups and their targets (
elasticloadbalancing:DescribeRules,DescribeTargetGroupsandDescribeTargetHealth, part of the SecurityAudit policy); a header condition's value is never kept. Scan the entity's AWS accounts, then Sonar, to see it. - DNS records that point at a network load balancer (
<name>.elb.<region>.amazonaws.com) are now recognised as AWS, like application and classic load balancers' names were, so checks for records that point at a deleted load balancer cover them too. - Sonar runs OWASP Amass when it is installed where Keelson runs (on the
PATH, or its path inKEELSON_AMASS), on the domains of every connected account in the entity. Amass runs passive and limited to those domains, for up to 10 minutes, and its engine listens on port 4000 while it runs; if the engine stops, the Accounts page says why. Hostnames it adds are marked "Amass". The Docker image doesn't include Amass yet; without it, the Accounts page lists it as a source that couldn't be read, and everything else works as before. - Sonar: external attack surface. Keelson can now look at an entity from the internet. Turn it on with Watch from the internet on the new Attack surface page or on an entity's card under Accounts. A Shodan API key is optional; add it then, or later from the Internet account's menu (Add a Shodan API key). Starting from the domains, DNS records and addresses of the entity's other accounts, Sonar finds more hostnames in certificate transparency logs (crt.sh) and Shodan, looks them up in public DNS, and asks Shodan what it has seen open on the entity's addresses. It is passive: nothing is sent to your hosts. New findings: databases and caches open to the internet, remote administration open to the internet, software with known vulnerabilities, the origin of a Cloudflare-proxied hostname that anyone can find on Shodan (high when the entity's AWS account says its security groups let anyone in), a recent certificate from an authority the domain's CAA records don't allow, and domains whose DNS no connected account serves. The new Attack surface page lists the entity's hostnames and what serves each, its addresses with open ports and known vulnerabilities, and its domains. Sonar sends the entity's domain names to crt.sh and Shodan and its public addresses to Shodan. It scans after the entity's other accounts, and turning it on rescans the ones last scanned before this version.
Install: docker pull ghcr.io/r4reetik/keelson:0.14.0. Upgrading? See docs/upgrading.md.