Skip to main content

GreyNoise

Knocknoc uses GreyNoise to stop people connecting from addresses known to be malicious. When someone signs in, Knocknoc asks GreyNoise about the address they are connecting from. If GreyNoise classifies it as malicious, Knocknoc can refuse access, ask the user to verify, or record it for you to review, before any firewall rule is opened.

What you need

  • A Knocknoc paid plan. On a free plan the GreyNoise card shows a Paid plan badge and nothing is looked up.
  • A GreyNoise API key with access to IP lookups. Get a GreyNoise API key.

Some Knocknoc licenses include a GreyNoise key. If yours does, the GreyNoise card already reads Working and there is nothing to set up. Skip to Use it in a policy.

Connect your key

  1. Go to Admin > Trust Engine > Threat intelligence.
  2. Under Known malicious sources, paste your key into the GreyNoise card and save.

The GreyNoise card under Known malicious sources on the Threat intelligence page

The GreyNoise key dialog with a field to paste a new key

Knocknoc checks the key with GreyNoise as part of the save. A key GreyNoise rejects is refused with the reason. If GreyNoise cannot be reached, the key saves anyway and the card reads Not verified yet until its first lookup. See Threat intelligence for what each card status means.

Use it in a policy

GreyNoise answers the Malicious addresses restriction in a trust policy. Set its response:

The access restrictions of the Standard policy, with Malicious addresses set to Block

ResponseWhat happens to a malicious address
OffNothing. GreyNoise is not asked for this policy.
ObserveAccess is granted and the match is recorded in the activity feed.
ChallengeThe user is asked to verify before access is granted.
BlockAccess is refused.

The Standard and Strict policies that come with Knocknoc already block malicious addresses, so connecting a key is enough for any Knoc using one of them.

Only GreyNoise's malicious classification counts. Addresses classified as benign or suspicious, and addresses GreyNoise has never seen, are not treated as malicious, and the rest of the policy decides.

Your own blocked address lists answer the same restriction. An address on a list or reported by GreyNoise is malicious.

Knocs on Legacy

A Knoc with no policy, on Legacy, uses its own Block grant if GreyNoise identifies the IP as malicious checkbox instead. It works the same way: a malicious address is refused.

What the user sees

A user refused by this restriction is told their address is flagged as malicious and to contact their administrator. The refusal appears in the Trust Engine activity feed and is sent to your SIEM as a SIEM event.

Lookups and your GreyNoise quota

  • GreyNoise is only asked while at least one policy attached to a Knoc reads Malicious addresses, or a Legacy Knoc has the GreyNoise checkbox ticked. A key with nothing reading it makes no calls.
  • An answer is reused for 1 hour, so repeat sign-ins from the same address cost one lookup.
  • Sign-in never waits on GreyNoise. Knocs that cannot be affected by the answer are granted straight away, and a Knoc that could be blocked shows Checking your connection for a few seconds at most.
  • If GreyNoise cannot be reached, the policy's If a data source cannot answer setting decides. The default allows access. See How trust decisions are made.