Proxmark3 community

Research, development and trades concerning the powerful Proxmark3 device.

Remember; sharing is caring. Bring something back to the community.


"Learn the tools of the trade the hard way." +Fravia

You are not logged in.

Announcement

Time changes and with it the technology
Proxmark3 @ discord

Users of this forum, please be aware that information stored on this site is not private.

#1 2015-06-01 06:09:09

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Problems reading 125Khz T5557 card

Hi, I have problems reading a T5557 card I recently bought on the the proxmark3.
None of the commands work, however a lf search u does detect the card.


Would appreciate any help I can get. Below is a quote of the output. Thanks in advance!

proxmark3> lf search u
#db# Sampling config:
#db#   [q] divisor:           95
#db#   bps:               8
#db#   [d] decimation:        1
#db#   [a] averaging:         1
#db#   [t] trigger threshold: 0
#db# Done, saved 40000 out of 40000 seen samples at 8 bits/sample

#db# buffer samples: ff ff ff ff ff e5 9f 5d ...
Reading 20000 bytes from device memory

Data fetched
Samples @ 8 bits/smpl, decimation 1:1
NOTE: some demods output possible binary
  if it finds something that looks like a tag
False Positives ARE possible


Checking for known tags:


No Known Tags Found!


Checking for Unknown tags:

Possible Auto Correlation of 32 repeating samples

Unknown ASK Modulated and Manchester encoded Tag Found!

if it does not look right it could instead be ASK/Biphase - try 'data rawdemod a
b'
010101770101010771
010101770101010771
010101770101010771
01010177010101111
010101770101010771
010101770101010771
010101770101010771
010101770101010771
010101770101010771
010101770101010771
010101770101010771
010101770101010771
010101770101010770
110101770101010771
010101770101010771
010101770101010771
010101770101010771
010101770101010771
010101770101010771
010101770101010771
010101770101010771

Offline

#2 2015-06-01 08:40:45

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

If you have written corrupted block 0 data to a t5557 card, is it possible to recover the card?

i.e

lf t55xx write 0 11111111

It does not respond to any read/write commands now.

Offline

#3 2015-06-01 09:50:01

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

Did you do a  "lf t55xx detect" before  trying to read/dump/info?

Offline

#4 2015-06-01 09:57:49

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

Yes I did, but I could not find the modulation.

I realise this occurs after I run the

em410xwrite <UID> 1

command. This command seems to corrupts the card.
After running this command I can no long read or write to the card.

Offline

#5 2015-06-01 09:59:03

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

The thing is I cannot write to the card at all.

Running

lf tm55xx write 0 <8 hex characters>

seems to do nothing to the card. Is the card damaged?

Offline

#6 2015-06-01 10:00:18

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

bummer,  if it is a t55xx tag you can always write a new config block to the tag.  That usually make the tag alive again.

Offline

#7 2015-06-01 10:01:48

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

lf t55xx write 0 00008040
lf t55xx detect
lf t55xx info

Offline

#8 2015-06-01 10:02:05

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

Yea I suspected so. That's weird.

Are there any sample config blocks I can try? The operation of the write command is independent of the modulation right?

Offline

#9 2015-06-01 10:18:02

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

I tried that but it still does not work. I cannot write to block 0. If I write a corrupted block 0 value to the card, etc.

11110001

, will the card still accept write commands?

Offline

#10 2015-06-01 10:19:15

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

Also, does OTP affect the writing of block0?

Offline

#11 2015-06-01 10:31:16

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

t55xx is very nice,   it listens to the write command regardless what you wrote to the config block 0.
However, if its in password mode,  you kind of need to add a password
how does the graph look like after you try a  "lf read/data samples 2000"?
and after a  "lf t55xx read 0"?

Offline

#12 2015-06-02 11:15:44

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

1433240100_capture.jpg

This is the graph. Could you help me identify if its in password mode? Thanks in advance!

Offline

#13 2015-06-02 11:20:23

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

Also, what is the default data and config in blocks 0 - 7 in a new blank t5557 card?

Offline

#14 2015-06-02 12:02:40

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

A ask default config block 0,  would be as I wrote earlier:  "00008040"
the rest of the blocks is only interesting if you want the tag to emulate another tagtype.. (ie config yr t55x7 to be a em410x)

However,  there is two different reads I want you to show and you didn't say which one you are showing.

Offline

#15 2015-06-02 17:33:26

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

The tag does not allow me to write to block 0. I tried to write "00008040" to the tag, but nothing seems to happen to the tag.

Here are the data from the different reads! Thanks so much from your help!

lf t55xx read 0

1433262654_read0.jpg

lf read samples 2000

1433262708_datasamples.jpg

Offline

#16 2015-06-02 17:37:26

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Problems reading 125Khz T5557 card

hmmm that isn't possible.  it looks like you must not have sent the lf read  -  data samples 2000 correctly.  (the plot still has 11996 samples in it)...
(they are separate commands - lf read - then - data samples 2000)

Offline

#17 2015-06-02 18:02:44

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

Oh I see! Here is the updated data samples data. Thanks marshmellow for pointing out the error! I was wondering why both graphs look the same.

1433264560_datasamples.jpg

Offline

#18 2015-06-02 18:24:17

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Problems reading 125Khz T5557 card

it looks like the sequence terminator is turned on.   the t5xx commands do not yet work with this config.  (write commands should though.)

Offline

#19 2015-06-02 18:29:52

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

What is the sequence terminator?

The write commands don't work as well sad

Offline

#20 2015-06-02 18:37:11

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Problems reading 125Khz T5557 card

are you sending the write command correctly?  from the output above it looks like you likely have a valid t55xx tag (as it seems to respond to the read command if you notice the unmodulated starting point in your first plot image and the fact that the data shown isn't the same as the data in just a lf read.).  meaning there is no reason the write command shouldn't work. 

unless you have a t5555 or a Q5.  there is a bug in the write of that tag in recent code (or at least i hear)

Offline

#21 2015-06-02 18:45:04

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

I'm quite sure I am. Below is the screenshot of the commands.

1433267099_capture.png

Offline

#22 2015-06-02 19:32:04

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Problems reading 125Khz T5557 card

Try holding the tag a little off the antenna?

Offline

#23 2015-06-02 19:34:22

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

Tried that. It still does not work sad Are there any possible causes of such a scenario? Is there a one-time pad on T55xx cards?

Offline

#24 2015-06-02 19:49:52

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

the signal is strong,  should be able to get a "lf t55xx info" out of it.. but it can't detect a clock..
how about you do it manually.   use the "lf t55xx config"  to set the ask,   maybe a clock of 64 or 32...
and use the offset..  to skip until after the sequence marker...  that should give you a good read...

Offline

#25 2015-06-02 20:02:58

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Problems reading 125Khz T5557 card

it shouldn't affect the write command, as that always works. (as long as password isn't set, and yours isn't)
try the write command a few times in a row, sometimes the tag misses the start of command from the reader.

Offline

#26 2015-06-02 20:16:21

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

*edited*

or change the timings in lfops.c  ...  (and flash )

Last edited by iceman (2015-06-02 20:44:21)

Offline

#27 2015-06-02 20:22:22

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Problems reading 125Khz T5557 card

iso14443a.c ???  you mean lfops.c

Offline

#28 2015-06-02 20:43:41

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

yes, yes, yes.. that was excatly what I meant..  ..

Offline

#29 2015-06-03 02:22:15

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

Hmm, what offset value should I use in this case?

I asked the supplier of the card. He informed me that it is not preconfigured with a password. The default configuration of block0 is "00 08 80 E8".

Does "lf em4x em410xwrite" write a password to the card?

Offline

#30 2015-06-03 08:55:11

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

Please understand the difference when you are dealing with a t55x7 tag.

A t55x7 tag can be configured to emulate different LF tags via modulation, bitrates, etc
When you want to read / write / configure the t55x7 you need to use the specific t55xx commands.

when you want to test if your t55x7 tag has been programmed correct, ie to emulate for instance  a em410x tag,   you can use the  "LF SEARCH"  or in this case "LF EM4X" commands to see if it behavies correct.   It behaves correct when you can get a good read and value out of it.     

CONFUSION:   the "lf em4x write" command doesnt write to a em4x tag (since they are readonly) ,  it tries to configure a t55x7 tag to emulate a em4x tag.   However this command doesn't use a password.   SO if your t55x7 tag is in password mode,  you need to use the t55xx commands to re-configure it to not use password.   Then you can use the "lf em4x write" command..   

ok?

Offline

#31 2015-06-03 16:12:49

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

I see.

But is there a way to tell if the t55xx is in password mode (e.g. analyzing the graph) besides trying to tag write failure?
What is the best offset value to use and how to calculate it?

Thanks so much for your help iceman!

Last edited by DingYao (2015-06-03 16:13:08)

Offline

#32 2015-06-03 17:23:38

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

yes,  look at the config block wink   there is a nice "lf t55xx info" command too

Offline

#33 2015-06-03 17:25:25

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Problems reading 125Khz T5557 card

...  The config block is not readable when it is in password mode unless you use the password with the read command

Offline

#34 2015-06-03 17:30:47

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

To see if a tag is in password mode (without having the password),  on my t55x7 tags the data plot looks like  "static noise"


If you can't sniff the tag / reader  and figuring out the password,   you might have to test default pwds  like

0x00000000
0xFFFFFFFFF


There is these two known passwords.

Known cloner passwords:
	0x51243648
	0x000D8787

Last edited by iceman (2015-06-03 17:32:11)

Offline

#35 2015-06-03 19:12:43

DingYao
Contributor
Registered: 2015-05-23
Posts: 24

Re: Problems reading 125Khz T5557 card

I have experimented with the tag. From the looks of the data plot it isn't static noise, nor did I write it with a password hence it is unlikely to be password protected. However, the tag still does not respond to write commands.

I've tried setting the config to ASK modulation and played around with the bit rates but to no avail. I get erronous data from the tag (all 7 blocks are the same).

Is it possible that the tag has been permenantly locked? If not, perhaps this is a Q5 tag and not a t5557 tag..

Offline

#36 2015-06-03 19:37:22

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Problems reading 125Khz T5557 card

Make sure there is little around the pm3 and antenna/tag while sending the write.  I've noticed the t5xxx is very sensitive to electromagnetic interference.

Offline

#37 2015-06-03 19:39:57

marshmellow
Contributor
From: US
Registered: 2013-06-10
Posts: 2,302

Re: Problems reading 125Khz T5557 card

The t5557 is very old and wasn't tested with the new t55xx commands.  It is possible it suffers from the same issues the q5 is right now.   I am working to fix the q5 issue.

Offline

#38 2015-06-03 19:59:57

iceman
Administrator
Registered: 2013-04-25
Posts: 9,538
Website

Re: Problems reading 125Khz T5557 card

actually, I just call my tags for t55x7,   but I don't know exactly which model they are. hmm

I usually need some space between my tag and lf antenna.  1cm?

but when I have the right config settings for the tag,  it works perfect. (with my timings, )

Offline

Board footer

Powered by FluxBB