Skip to main content

amass


title: Amass category: scanner type: Network state: released appVersion: 3.10.4 usecase: Subdomain Enumeration Scanner custom_edit_url: >-

https://github.com/secureCodeBox/secureCodeBox#main/edit/main/scanners/amass/README.md.gotmpl

owasp logo

The OWASP Amass Project has developed a tool to help information security professionals perform network mapping of attack surfaces and perform external asset discovery using open source information gathering and active reconnaissance techniques. To learn more about the Amass scanner itself visit OWASP_Amass_Project or Amass GitHub.

Deployment

The AMASS scanType can be deployed via helm:

helm upgrade --install amass secureCodeBox/amass

Scanner Configuration

The following security scan configuration example are based on the Amass User Guide, please take a look at the original documentation for more configuration examples.

  • The most basic use of the tool for subdomain enumeration: amass enum -d example.com
  • Typical parameters for DNS enumeration: amass enum -v -src -ip -brute -min-for-recursive 2 -d example.com

Special command line options:

  • Disable generation of altered names amass enum -noalts -d example.com
  • Turn off recursive brute forcing amass enum -brute -norecursive -d example.com
  • Disable saving data into a local database amass enum -nolocaldb -d example.com
  • Domain names separated by commas (can be used multiple times) amass enum -d example.com

Chart Configuration

KeyTypeDefaultDescription
parser.image.repositorystring"docker.io/securecodebox/parser-amass"Parser image repository
parser.image.tagstringdefaults to the charts versionParser image tag
parser.ttlSecondsAfterFinishedstringnilseconds after which the kubernetes job for the parser will be deleted. Requires the Kubernetes TTLAfterFinished controller: https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/
scanner.backoffLimitint3There are situations where you want to fail a scan Job after some amount of retries due to a logical error in configuration etc. To do so, set backoffLimit to specify the number of retries before considering a scan Job as failed. (see: https://kubernetes.io/docs/concepts/workloads/controllers/job/#pod-backoff-failure-policy)
scanner.envlist[]Optional environment variables mapped into each scanJob (see: https://kubernetes.io/docs/tasks/inject-data-application/define-environment-variable-container/)
scanner.extraContainerslist[]Optional additional Containers started with each scanJob (see: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/)
scanner.extraVolumeMountslist[{"mountPath":"/amass/output/config.ini","name":"amass-config","subPath":"config.ini"}]Optional VolumeMounts mapped into each scanJob (see: https://kubernetes.io/docs/concepts/storage/volumes/)
scanner.extraVolumeslist[{"configMap":{"name":"amass-config"},"name":"amass-config"}]Optional Volumes mapped into each scanJob (see: https://kubernetes.io/docs/concepts/storage/volumes/)
scanner.image.repositorystring"caffix/amass"Container Image to run the scan
scanner.image.tagstringnildefaults to the charts appVersion
scanner.nameAppendstringnilappend a string to the default scantype name.
scanner.resourcesobject{}CPU/memory resource requests/limits (see: https://kubernetes.io/docs/tasks/configure-pod-container/assign-memory-resource/, https://kubernetes.io/docs/tasks/configure-pod-container/assign-cpu-resource/)
scanner.securityContextobject{}Optional securityContext set on scanner container (see: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
scanner.ttlSecondsAfterFinishedstringnilseconds after which the kubernetes job for the scanner will be deleted. Requires the Kubernetes TTLAfterFinished controller: https://kubernetes.io/docs/concepts/workloads/controllers/ttlafterfinished/

Examples

example.com

# SPDX-FileCopyrightText: 2020 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0

apiVersion: "execution.securecodebox.io/v1"
kind: Scan
metadata:
  name: "amass-example.com"
spec:
  scanType: "amass"
  parameters:
    - "-noalts"
    - "-norecursive"
    - "-nolocaldb"
    - "-d"
    - "example.com"

secureCodeBox.io

# SPDX-FileCopyrightText: 2020 iteratec GmbH
#
# SPDX-License-Identifier: Apache-2.0

apiVersion: "execution.securecodebox.io/v1"
kind: Scan
metadata:
  name: "amass-securecodebox.io"
  labels:
    organization: "secureCodeBox"
spec:
  scanType: "amass"
  parameters:
    - "-noalts"
    - "-norecursive"
    - "-d"
    - "securecodebox.io"