Relay

Product documentation menu

Carry a live transaction between a reader at the door and the genuine credential somewhere else, with two handsets and two ATLAS Chameleon Ultras, to find out whether anything at that reader stops it.

A site that has moved to DESFire EV3 or Seos has a credential that cannot be copied, and a report that stops there tells the client nothing about the door. The open question is whether the reader will accept the real card answering from somewhere else: a badge on a desk, in a jacket on a chair, in a pocket in the lobby queue. A relay puts one handset beside the card and one at the reader and carries the conversation between them, and whether the door opens is the finding.

What it costs is people and kit. It takes two handsets, two ATLAS Chameleon Ultras, a network both handsets can reach, and the genuine credential on one unit while the other unit is at the door.

1 RELAY
ATLAS Cards on the ULTRA tab with the RELAY chip lit, ROLE set to CREDENTIAL beside READER, CREDENTIAL TYPE HID Seos, RELAY SLOT SLOT 8, NETWORKS with THIS DEVICE on WI-FI, PEER with DEVICES reading SEARCHING, AUTO BIND switched on, STATUS with CHAMELEON reading CHAMELEON ULTRA (USB-C) in green, PHASE OFF and SENT / RECEIVED 0 / 0, above CONNECT
2 CREDENTIAL TYPE
The CREDENTIAL TYPE menu open on the RELAY chip, listing UniFi DESFire EV2 / EV3, Mobile Identity (iOS), HID Seos ticked, and HID DESFire EV3
The RELAY chip on the handset at the card: ROLE and CREDENTIAL TYPE set, then CONNECT.
  1. ROLE, CREDENTIAL or READER.
  2. CREDENTIAL TYPE, HID Seos here.
  3. RELAY SLOT, SLOT 8.
  4. CONNECT starts both handsets.
  5. UniFi DESFire EV2 / EV3.
  6. Mobile Identity (iOS).
  7. HID Seos.
  8. HID DESFire EV3.

A relay carries the conversation, it does not copy the card

Cloning is an answer to a question most sites have stopped asking. A prox card or a legacy iCLASS credential can be captured at a distance with a long range reader, or collected by a decoy reader left where staff will present to it, and written to a card afterward. That finding is real and it still lands, because plenty of sites are still on that stock. But it is a finding about a credential generation the market is leaving.

What replaces it is built so that the copy cannot be made. DESFire EV3 and Seos are not weak ciphers wrapped in marketing. The keys are diversified per card, the authentication is mutual, and the session is encrypted. Hand a consultant one of those and the honest report says the credential cannot be cloned. Correct, and close to useless to the client, because it says nothing about whether the deployment is sound.

A relay does not copy the card. The genuine credential answers the genuine reader, in real time, from wherever it actually is. Nothing is forged and nothing is broken. The cryptography is not defeated, it is satisfied, by the only thing that could satisfy it, which is the real card. Every protection that makes the credential impossible to clone is still working perfectly while the door opens.

It is not only plastic either. A mobile access credential in an iPhone is in scope the same way, depending on what the manufacturer implemented.

Why it is the test that matters on a credential that cannot be cloned

The only thing that stops a relay is a bound on distance: a proximity check, a timing constraint on the exchange, a reader that refuses an answer that took too long to come back. Whether any of that is present, switched on and correctly configured is a property of the vendor’s implementation and the installer’s configuration, not of the credential standard. It is not on the datasheet, and the integrator will tell you it is handled.

So it has to be measured, and running the relay is the measurement. The questions it answers are the ones a client is actually buying.

The questionWhat the relay settles
Is a proximity or timing check present at allWhether the reader refuses a delayed exchange, or opens regardless
Is it switched on in this deploymentA vendor can ship the control and an installer can leave it off
Is it tuned usefullyA bound generous enough to tolerate a relay is a bound that is not doing anything
Does it hold across every reader on siteA lobby configured correctly and a side door that was never touched
Does the credential behave as the vendor claimsSome answer from a pocket, locked, with no interaction at all

Relay testing has been a lab exercise, done by people with the hardware, the firmware and the time to build a rig. Here it is two handsets, two ATLAS Chameleon Ultras and a start button, which is the difference between a capability a specialist has and a test a consultant can sell and run on site.

What you need

You needWhy
Two handsets running ATLAS, on the same buildOne handset takes each side, and the two pass the messages across the network
Two ATLAS Chameleon Ultras on ATLAS firmwareThe two units carry out the card conversation between themselves
Each unit on its handset’s USB cableThe relay runs on the cable only
An address on the same network for both handsetsThe handsets find each other and pass messages over it
Each handset’s own NFC switched offA handset that is polling picks its unit up and interferes with the session
The genuine credential, at the handset set to CREDENTIALIt is the only thing that can answer the reader

One handset takes each side, chosen under ROLE.

ROLEThat handset and its unit areThe unit’s lights show
CREDENTIALWith the genuine cardLight 1, red, while a relay is running
READERAt the doorLight 8, green, while a relay is running

Each unit has to be on its handset's USB cable

CONNECT is gray with no ATLAS Chameleon Ultra connected. When ATLAS is connected to the unit over Bluetooth and no cable is plugged in, it refuses with The relay runs on the USB cable only. Connect the Chameleon on the cable and start again.

Every credential type that can be relayed

CREDENTIAL TYPE names the kind of credential. Set it on the handset you press CONNECT on, and the other handset takes the same one.

CREDENTIAL TYPE
UniFi DESFire EV2 / EV3
Mobile Identity (iOS)
HID Seos
HID DESFire EV3

A mobile credential in an Android wallet is not on the list.

If you do not yet know what the reader takes, find out first. FINGERPRINT READER on the SNIFF chip names the technologies a reader accepts before any card is presented. See SNIFF on the ATLAS Chameleon Ultra page.

Running a relay

  1. Put each ATLAS Chameleon Ultra on its handset’s USB cable, and switch each handset’s own NFC off.
  2. On each handset open Cards, the ULTRA tab, then the RELAY chip.
  3. On one handset, set ROLE and CREDENTIAL TYPE. The other handset does not need setting. It takes the opposite role and the same type when the first one starts.
  4. Read NETWORKS on both. The two handsets have to hold an address on the same network.
  5. Put the genuine card on the CREDENTIAL unit.
  6. Tap CONNECT on either handset. One press starts both. The button reads CONNECTING, then STOP.
  7. Watch PHASE under STATUS.
  8. Tap STOP on either handset. It stops both.

CONNECT waits up to 10 seconds for the other handset to answer.

What it saysWhich handsetWhat happened
The other phone has not answered, still listeningCREDENTIALNothing answered in the 10 seconds. This handset goes on listening, so the other one can still start the relay from its side
The other phone has not answeredREADERNothing answered in the 10 seconds, and nothing was started
The other handset is on an older build and cannot say which relay it started. Update it, or start both by hand on the same one.EitherThe other handset runs an older ATLAS than this one
The other handset asked for a relay this build does not have. Update both handsets.EitherThis copy of ATLAS does not have the relay the other handset asked for

Every reading on the RELAY chip

The RELAY chip before a relay starts, with NETWORKS showing THIS DEVICE on WI-FI with its address, PEER showing DEVICES reading SEARCHING, AUTO BIND switched on, and STATUS showing CHAMELEON reading CHAMELEON ULTRA (USB-C) in green, PHASE reading OFF and SENT / RECEIVED reading 0 / 0, above CONNECT
The readings before a relay starts: one address on this handset, no peer found yet, and PHASE at OFF.
  1. THIS DEVICE, the kind of network and the address this handset holds.
  2. DEVICES, SEARCHING, until the other handset answers.
  3. AUTO BIND, on.
  4. PHASE, OFF, between CHAMELEON and SENT / RECEIVED.

NETWORKS, both handsets side by side

NETWORKS lists every address this handset holds, one THIS DEVICE row each, as the kind of network and the address. Once the other handset is found its addresses follow as PEER rows, and the one the relay is using is picked out in the accent color.

RowReads
THIS DEVICEOne row for each address, or NO INTERFACE with no network at all
PEEROne row for each address the other handset holds
LINKWhile a relay runs, one value: the delay to the other handset in milliseconds, as ms avg. Green up to 77 ms, the warning color above it

Two handsets on one network name can still sit on different subnets, and this is where it shows: no THIS DEVICE address shares a network with any PEER address.

PEER and AUTO BIND

AUTO BIND decides who picks the other handset.

AUTO BINDThe PEER card showsWhen to use it
OnDEVICES, SEARCHING until a handset answers, then PEER with that handset’s nameTwo handsets and nobody else running ATLAS on the network
OffA dropdown reading SELECT A HANDSET, listing every handset answering by name with its role, CARD or DOOR, and its credential type, then PEER ADDRESS and BIND ADDRESSSeveral handsets on one network, or a handset that is not being found

AUTO BIND only ever chooses. It never starts a relay, and CONNECT stays a deliberate press.

PEER ADDRESS takes the other handset’s address as four numbers, and BIND ADDRESS commits it, answering Bound to and the address. Anything else is refused with Not an IPv4 address. Both controls are hidden while a relay runs.

STATUS, and what each PHASE means

RowReads
CHAMELEONThe connected unit by name, in green. With no unit connected, the connection state in gray: DISCONNECTED, SCANNING, CONNECTING or ERROR
PHASEWhere the relay is, in the table below
SENT / RECEIVEDMessages passed to the other handset and taken from it
RADIOENERGIZING, shown only while the unit is energizing its field
PHASESeen onWhat it means
OFFEitherNo relay is running
WAITING FOR PEERCREDENTIALThis handset is up and the other has not linked yet
SEEKING CREDENTIALCREDENTIALThe unit is looking for the card. A number in brackets counts its tries
AWAITING CREDENTIALREADERLinked, and holding off until the other side has the card
ARMINGREADERThe card is found and the unit is not on the air yet. This takes seconds
RELAYINGEitherBoth units are up and messages are passing
NO CREDENTIALEitherThe CREDENTIAL unit never found the card. On the CREDENTIAL handset a number in brackets counts its tries

RELAY SLOT

RELAY SLOT is a reading, not a setting, and it reads SLOT 8. A relay session always runs in that slot, which is why the credential you intend to present at a door from the unit itself is better kept in SLOT 1 to SLOT 7.

The phone’s own NFC gets in the way

On the RELAY chip only, the tab’s banner can read PHONE NFC IS ON - TAP TO TURN IT OFF. The handset and its unit sit a few centimeters apart, and a handset whose own NFC radio is on picks the unit up and interferes with the session. ATLAS cannot switch that radio itself. Tapping the banner opens Android’s NFC settings, and the banner clears within about two seconds of the radio going off.

1 Banner
The RELAY chip with the banner PHONE NFC IS ON - TAP TO TURN IT OFF above the six mode chips, and ROLE, CREDENTIAL TYPE, RELAY SLOT, NETWORKS, PEER, AUTO BIND and STATUS under them
2 NFC settings
Android's NFC settings page, opened from the banner, with Use NFC switched on above Contactless payments
3 Cleared
The RELAY chip with no banner, the six mode chips at the top of the tab with RELAY lit, above ROLE set to CREDENTIAL
The phone's own NFC on, switched off from the banner, and the RELAY chip with the banner gone.
  1. PHONE NFC IS ON - TAP TO TURN IT OFF.
  2. RELAY, the only chip that shows it.
  3. NFC, the Android settings page the banner opens.
  4. Use NFC, to switch off before going back.
  5. No banner, so the chips move up.
  6. RELAY.

With no ATLAS Chameleon Ultra connected, the banner reads NO CHAMELEON ULTRA DEVICE CONNECTED instead, as it does on every chip.

What the lights on each unit show

You seeIt means
Light 1 redA relay is running and this unit is at the card
Light 8 greenA relay is running and this unit is at the door
Three red flashes after a button pressRefused. A slot cannot be changed from the buttons during a relay
No role light during a relayRelay lights is switched off on this unit

Light 1 is nearest the USB port and light 8 is farthest from it. The role lights can be switched off for a unit that must stay dark, with Relay lights under Settings, Connection Settings, the ULTRA chip, DEVICE SETTINGS. With it off there is no role light during a relay, and the field light stays dark during it too. A unit does not sleep while a relay is running.

What stops a relay

At the reader, one thing: a bound on distance that is present, switched on and tight enough to refuse an answer that came the long way around. That is the finding either way. A door that opens says the reader accepted the genuine credential answering from somewhere else. A reader that refuses the delayed exchange is holding that bound, and the next reader on the site still has to be asked.

Before the reader, a session stops for reasons that have nothing to do with the door. Clear these first, so a refusal is the reader’s and not yours.

What you seeCauseDo this
CONNECT is grayNo ATLAS Chameleon Ultra is connectedPut the unit on the handset’s USB cable
The relay runs on the USB cable only. Connect the Chameleon on the cable and start again.ATLAS is connected to the unit over Bluetooth, with no cable plugged inPlug the cable in and start again
PHONE NFC IS ON - TAP TO TURN IT OFFThe handset’s own NFC is polling next to its unitTap the banner and switch Use NFC off
THIS DEVICE reads NO INTERFACEThe handset holds no network addressJoin the network the other handset is on
No THIS DEVICE address shares a network with any PEER addressThe two handsets are on different subnetsPut both on the same network
DEVICES stays on SEARCHINGThe other handset is not being foundSwitch AUTO BIND off, then pick it under SELECT A HANDSET or type its address into PEER ADDRESS and tap BIND ADDRESS
The other phone has not answeredNothing answered CONNECT in 10 secondsOn the CREDENTIAL handset the session goes on listening, so the relay can still be started from the other handset
A message that the other handset is on an older build, or asked for a relay this build does not haveThe two handsets run different builds of ATLASUpdate both handsets
PHASE stays on WAITING FOR PEERThis handset is up and the other has not linkedRead NETWORKS and PEER on both
PHASE ends on NO CREDENTIALThe CREDENTIAL unit never found the cardPut the genuine card on the CREDENTIAL unit and start again

Where to go next

You wantPage
The device a relay runs on, its firmware, lights and settingsATLAS Chameleon Ultra
The app, and how to get it onto both handsetsDoppelgänger ATLAS
A credential that can be cloned, written to a card125kHz T5577 Rewritable Card Pack and HID 2K iCLASS Card
The RELAY chip control by control, and the two handsets of the relay rig in 3DRelay in the ATLAS documentation

Intended use

PPE products are professional tools for security practitioners working under contract or in the course of their employment, with the authorization of the site's owner. They are used to perform security audits, to help integrators confirm that an installation is secure, and to audit the work integrators and installers have done, so that flaws are found and remediated before someone with bad intentions finds them. They are not research devices, they are not sold as research devices, and they are not for any illegal or unauthorized purpose.

The manufacturers whose readers and credentials these products are used with make very secure products when those products are implemented properly. An audit shows where an installation falls short of that, so it can be corrected.