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 2016-02-03 20:12:14

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Stand-alone Clone LF not working.

I noticed that standalone clone is not working, And displaying funny output.

Prox/RFID mark3 RFID instrument         
bootrom: master/v2.2.0-142-g7ede3c7-dirty-suspect 2016-02-03 06:16:11
os: master/v2.2.0-142-g7ede3c7-dirty-suspect 2016-02-03 06:16:12
LF FPGA image built for 2s30vq100 on 2015/03/06 at 07:38:04
HF FPGA image built for 2s30vq100 on 2015/11/ 2 at  9: 8: 8

# LF antenna: 35.75 V @   125.00 kHz         
# LF antenna: 26.68 V @   134.00 kHz         
# LF optimal: 39.05 V @   127.66 kHz         
# HF antenna: 25.10 V @    13.56 MHz         
Displaying LF tuning graph. Divisor 89 is 134khz, 95 is 125khz.


.db# Starting recording                 
#db# TAG ID: 2005998136 (49307) - Format Len: 26bit - FC: 204 - Card: 49307                 
#db# Recorded 0 20 5998136                 
#db# Cloning 0 20 5998136                 
#db# Tags can only have 44 bits.                 
#db# Cloned 0 20 5998136
         
this is the output.

Clones dont work. no info even written to the tag at all.
Ill be trying the playback today but the numbers just dont look right even.

Any ideas?

Last edited by Apt-Get (2016-02-03 20:31:15)

Offline

#2 2016-02-04 22:06:16

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Re: Stand-alone Clone LF not working.

Ping..... anybody out there know how to fix this?

Offline

#3 2016-02-05 03:38:49

Turnkey
Member
Registered: 2016-02-03
Posts: 6

Re: Stand-alone Clone LF not working.

what's the command you were running?

Offline

#4 2016-02-05 03:54:35

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Re: Stand-alone Clone LF not working.

Turnkey wrote:

what's the command you were running?

standalone mode is just the press of the button. Im not sure what command it runs.
looks like Its reading and demodding it ok. but the output looks weird on the recorded line..
Its not cloning to t5577.

Playback works also.. but clone will not work to t5577.

looks like just an issue with the clone function..
Anyone have any input or can point me to the proper code? I dont know where to find it.

Last edited by Apt-Get (2016-02-07 22:29:45)

Offline

#5 2016-02-13 05:39:00

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

Re: Stand-alone Clone LF not working.

There is a patch currently in github pull request #160 that fixes the bug.

Last edited by marshmellow (2016-02-15 15:52:45)

Offline

#6 2016-02-13 08:40:54

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

Re: Stand-alone Clone LF not working.

Great @marshmellow!

Offline

#7 2016-02-14 03:29:16

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Re: Stand-alone Clone LF not working.

marshmellow wrote:

There is a patch currently in a github pull request that fixes the bug.

THANKS Marshmellow! the current master does not have this change yet i assume?
I found a bug however.
This only happens on a cloned t5577 card from standalone. Also happening in the current master.

proxmark3> lf t55 det
#db# DownloadFPGA(len: 42096)                 
/Users/macbook/Desktop/PM3.command: line 1:  3943 Bus error: 10           ./proxmark3/client/proxmark3 /dev/cu.usbmodem1451
logout

Last edited by Apt-Get (2016-02-14 05:10:47)

Offline

#8 2016-02-15 15:51:54

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

Re: Stand-alone Clone LF not working.

the pull request is pending review by those with authority to accept it.  ( and everyone is very busy these days... )  if you are in a rush you can use the "master" branch of my fork. (or icemans)

the other error you are seeing we will comment on in github, but i suspect either a hardware or OS issue.  (dropping the com port)

Offline

#9 2016-02-15 15:54:14

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

Re: Stand-alone Clone LF not working.

I've asked @Holiman to look into the merging of @marshmellow's PR's.  He usually is fast.

Offline

#10 2016-02-16 20:24:12

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

Re: Stand-alone Clone LF not working.

this should now be fixed, with the current GitHub repo code.

Offline

#11 2016-02-16 20:44:07

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Re: Stand-alone Clone LF not working.

marshmellow wrote:

this should now be fixed, with the current GitHub repo code.

Confirmed working. Thanks to Marshmellow for all the great patches lately!

Newbies.
You will need to edit the armsrc makefile if you want to use LF standalone..

in line 13 remove "-DWITH_ISO14443a_StandAlone "

Last edited by Apt-Get (2016-03-11 02:53:47)

Offline

#12 2016-03-11 01:01:31

sgiles
Contributor
Registered: 2016-03-10
Posts: 13

Re: Stand-alone Clone LF not working.

I can't seem to see your image .png Apt-get.

What highlighted text do I need to remove from armsrc makefile?

I am pretty new at this and am trying to figure it out as I go. Help is appreciated.

Thanks,

Offline

#13 2016-03-11 02:54:33

Apt-Get
Contributor
Registered: 2015-12-23
Posts: 111

Re: Stand-alone Clone LF not working.

sgiles wrote:

I can't seem to see your image .png Apt-get.

What highlighted text do I need to remove from armsrc makefile?

I am pretty new at this and am trying to figure it out as I go. Help is appreciated.

Thanks,

if you want to use standalone for LF tags...

in line 13 remove "-DWITH_ISO14443a_StandAlone "

Last edited by Apt-Get (2016-03-11 02:55:07)

Offline

#14 2016-03-11 16:43:40

sgiles
Contributor
Registered: 2016-03-10
Posts: 13

Re: Stand-alone Clone LF not working.

Thank you!

Offline

#15 2016-03-11 17:16:21

sgiles
Contributor
Registered: 2016-03-10
Posts: 13

Re: Stand-alone Clone LF not working.

After editing that do I have to recompile? This is where I am lost. I am really sorry. Half the information I can find is based on the old versions and interfaces.

Offline

#16 2016-03-11 17:17:37

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

Re: Stand-alone Clone LF not working.

yes,  re-compile and flash...

Offline

#17 2016-03-11 18:27:10

sgiles
Contributor
Registered: 2016-03-10
Posts: 13

Re: Stand-alone Clone LF not working.

I am sorry to be a bother, but I cannot for the life of me compile it all. I have run the "runme.bat" and installed QT, Msys, devkitARM, etc but I am not able to get it to compile.

Is there anyway you could make that change (deleting -DWITH_ISO14443a_StandAlone from line 13 of armsrc make file) and send me a compiled version?

I know how to flash, but I cant seem to figure out how to compile properly.

Thanks,

Offline

#18 2016-03-11 19:18:29

sgiles
Contributor
Registered: 2016-03-10
Posts: 13

Re: Stand-alone Clone LF not working.

I know that is a lot to ask, but I just have to get this up and running and I will be out of your hair.

thanks,

Offline

#19 2016-03-11 23:31:41

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

Re: Stand-alone Clone LF not working.

checkout the github wiki.  https://github.com/Proxmark/proxmark3/wiki

Offline

#20 2016-03-12 00:14:06

ntk
Contributor
Registered: 2015-05-24
Posts: 701

Re: Stand-alone Clone LF not working.

@ Sgiles

I understand that you want it quick. and the infos source on wiki/forum is immense, one would drown easily. But sometimes when you try the quick way and it does not work, that is where you are, just take few steps back, start at the very basic, then it will work out.

You used your PM3 as you bought it? never changed the bootrom to the newer serial CDC?

If true in this case you have in the PM3 the old serial driver. You can use the pre-compiled windows client http://www.proxmark.org/forum/viewtopic.php?id=1562 by Asper,  to upgrade.

Follow instruction there to upgrade serial driver. try to load the latest pre-compiled build first. If that step is not done you can not ever load anything standalone build.

Next once I have had sudden problem re-setting the build environment when I changed laptop, here is a very helpful guide by Roel:
"What I did is install the MinGW installer (in C:\MinGW):
http://sourceforge.net/projects/mingw/files/Installer/mingw-get-setup.exe/download
[Install this package and open the installation manager]
In the installer I checked the following packages:
Basic Setup ->
* mingw-developer-toolkit
* mingw32-gcc-g++
* msys-base
After installing this I added the zlib additional package:
http://stackoverflow.com/questions/25542055/mingw-c-compiler-zlib1-dll-missing-error
You just select in [in the installer]
All Packages -> MinGW -> MinGW Libraries -> MinGW Standard Libraries ->
* mingw32-libz (dev)
* mingw32-libz (dll)
Then I copied all the files from "C:\MinGW\msys\1.0" into "C:\MinGW" and
press yes on all questions (overlapping folder names). This will avoid
any issues with path settings/includes etc.
Then you simply start "C:\MinGW\msys.bat" and open a shell. Which will
put you in the home dir "C:\MinGW\home\your-username". Make sure you
extracted all the files from:
http://proxmark.org/files/Various%20Software/iClass/iclassified.tar.gz
in the folder ""C:\MinGW\home\your-username\iclassified". Then change to
this folder in the shell and build the source:
$ cd iclassified
$ make
This will give some warnings (about defines), but it would build flawlessly."

or when you rebuild proxmark3_master then at msys prompt do specific
cd c:\proxmark3_master\
make clean && make all flash-all

It will work out. You lose 5days,  7days max but after that you can build anytime / try any version you want.

Go back few steps. Be patient with yourself. it will work out. It is doable.

Offline

#21 2016-09-20 17:15:59

Exploitagency
Contributor
Registered: 2015-11-10
Posts: 24
Website

Re: Stand-alone Clone LF not working.

sgiles wrote:

I am sorry to be a bother, but I cannot for the life of me compile it all. I have run the "runme.bat" and installed QT, Msys, devkitARM, etc but I am not able to get it to compile.
Is there anyway you could make that change (deleting -DWITH_ISO14443a_StandAlone from line 13 of armsrc make file) and send me a compiled version?
I know how to flash, but I cant seem to figure out how to compile properly.
Thanks,

I know that is a lot to ask, but I just have to get this up and running and I will be out of your hair.

thanks,

I decided to host the latest firmware but compiled with LF mode to make it easier for people
http://exploit.agency/sploit/proxmark3_ … standalone
or
https://github.com/exploitagency/github-proxmark3-standalone-lf-emulator

I might do a HF demo eventually, but most stuff I see around here is the older HID cards

Hope this wasn't too late in the game

Last edited by Exploitagency (2016-09-21 04:05:42)

Offline

#22 2018-05-01 05:38:31

Tom5ive
Contributor
Registered: 2017-09-18
Posts: 53

Re: Stand-alone Clone LF not working.

Hi Guys,

Sorry to revive such an old thread but I am currently having an issue compiling the latest firmware to run LF standalone features on an RDV3. After removing DWITH_ISO14443a_StandAlone from line 13 of the makefile I get the following compilation errors:

appmain.c: In function 'UsbPacketReceived':
appmain.c:1120:4: error: implicit declaration of function 'SnoopIso14443a' [-Werror=implicit-function-declaration]
    SnoopIso14443a(c->arg[0]);
    ^
appmain.c:1123:4: error: implicit declaration of function 'ReaderIso14443a' [-Werror=implicit-function-declaration]
    ReaderIso14443a(c);
    ^
appmain.c:1126:4: error: implicit declaration of function 'SimulateIso14443aTag' [-Werror=implicit-function-declaration]
    SimulateIso14443aTag(c->arg[0], c->arg[1], c->arg[2], c->d.asBytes);  // ## Simulate iso14443a tag - pass tag type & UID
    ^
appmain.c:1137:4: error: implicit declaration of function 'ReaderMifare' [-Werror=implicit-function-declaration]
    ReaderMifare(c->arg[0]);


Any help is greatly appreciated.
TH.

Offline

#23 2018-05-01 10:35:03

Tom5ive
Contributor
Registered: 2017-09-18
Posts: 53

Re: Stand-alone Clone LF not working.

Please ignore. Commented out the lines in appmain.c resolved the issue.

Offline

#24 2018-05-01 12:29:25

Tom5ive
Contributor
Registered: 2017-09-18
Posts: 53

Re: Stand-alone Clone LF not working.

Wait so that completely broke HF functionality. hf search would not even work

Offline

Board footer

Powered by FluxBB