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-10-29 16:31:16

lasersword
Contributor
Registered: 2016-06-08
Posts: 24

out of memory error when run hardnested

when I run the hardnested with iceman's latest code, I encounter 'out of memory error', did anyone what;s that?

Offline

#2 2016-10-29 16:33:35

lasersword
Contributor
Registered: 2016-06-08
Posts: 24

Re: out of memory error when run hardnested

Hi Iceman

I using your latest code to run 'hardnested ' however, it run into 'out of memory error' ,can you take a look what's the problem here?

sony@MichaelFu MINGW32 ~/iceman1001/client
$ ./proxmark3.exe com3
Prox/RFID mark3 RFID instrument
bootrom: iceman/master/v1.1.0-1678-g9c6000a-suspect 2016-10-29 23:04:07
os: iceman/master/v1.1.0-1678-g9c6000a-suspect 2016-10-29 23:04:26
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

uC: AT91SAM7S256 Rev D
Embedded Processor: ARM7TDMI
Nonvolatile Program Memory Size: 256K bytes. Used: 216554 bytes (83). Free: 45590 bytes (17).
Second Nonvolatile Program Memory Size: None
Internal SRAM Size: 64K bytes
Architecture Identifier: AT91SAM7Sxx Series
Nonvolatile Program Memory Type: Embedded Flash Memory
pm3 --> hf mf mif help
hf mf mif help
Usage:  hf mf mifare

<block number> <A|B>
options:
      h               this help
      <block number>  (Optional) target other block
      <A|B>           (optional) target key type
samples:
           hf mf mifare
           hf mf mifare 16
           hf mf mifare 16 B
pm3 --> hf mf mifare 63 A
hf mf mifare 63 A
-------------------------------------------------------------------------
Executing darkside attack. Expected execution time: 25sec on average :-)
Press button on the proxmark3 device to abort both proxmark3 and client.
-------------------------------------------------------------------------
...........................
Button pressed. Aborted.
pm3 --> hf mf hardnested 0 A FFFFFFFFFFFF 63 A
hf mf hardnested 0 A FFFFFFFFFFFF 63 A
--target block no: 63, target key type:A, known target key: 0x000000000000 (not set), file action: none, Slow: No, Tests: 0
Allocating memory for partial statelists...
Generating partial statelists...
Generating bitflip statelist...
Acquiring nonces...
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
Checking for Filter Flip Properties...
Acquired  1904 nonces ( 1622 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 20
Acquired  2016 nonces ( 1629 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 20
Acquired  2576 nonces ( 2067 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 7
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
#db# AcquireNonces: Can't select card (UID)
Acquired  3024 nonces ( 2248 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 4
Acquired  3584 nonces ( 2637 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 2
Acquired  4032 nonces ( 2809 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 1
Acquired  4592 nonces ( 3042 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 1
Acquired  5040 nonces ( 3214 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 1
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
#db# AcquireNonces: Can't select card (UID)
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
Acquired  5600 nonces ( 3410 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 0
Acquired  6048 nonces ( 3635 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 0
Acquired  6608 nonces ( 3909 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 0
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
#db# AcquireNonces: Can't select card (UID)
Acquired  7056 nonces ( 3991 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 0

Offline

#3 2016-10-29 16:34:54

lasersword
Contributor
Registered: 2016-06-08
Posts: 24

Re: out of memory error when run hardnested

Generating crypto1 state candidates...
Number of possible keys with Sum(a0) = 128: 117726714265600 (2^46.7)
Number of remaining possible keys: 3110444172640 (2^41.5)
Time for generating key candidates list: 6 seconds
Acquired  7504 nonces ( 4062 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 0
Acquired  8064 nonces ( 4404 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 1
Acquired  8512 nonces ( 4489 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 1
Acquired  9072 nonces ( 4620 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 1
Acquired  9520 nonces ( 4748 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 1
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
Acquired 10080 nonces ( 4891 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 1
Generating crypto1 state candidates...
Number of possible keys with Sum(a0) = 128: 117726714265600 (2^46.7)
Number of remaining possible keys: 608209898420 (2^39.1)
Time for generating key candidates list: 8 seconds
Acquired 10528 nonces ( 5040 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 2
Acquired 11088 nonces ( 5195 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 2
Acquired 11536 nonces ( 5240 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 2
Acquired 12096 nonces ( 5418 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 7
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
#db# AcquireNonces: Can't select card (UID)
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
#db# AcquireNonces: Can't select card (UID)
Acquired 12544 nonces ( 5445 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 7
Acquired 13104 nonces ( 5473 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 7
Acquired 13552 nonces ( 5512 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 7
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
#db# AcquireNonces: Can't select card (UID)
Acquired 14112 nonces ( 5603 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 9
Acquired 14560 nonces ( 5717 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 9
Acquired 15008 nonces ( 5762 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 9
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
#db# AcquireNonces: Can't select card (UID)
Acquired 15568 nonces ( 5911 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 11
Acquired 16016 nonces ( 5935 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 11
Acquired 16576 nonces ( 6006 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 12
Generating crypto1 state candidates...
Number of possible keys with Sum(a0) = 128: 117726714265600 (2^46.7)
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
Number of remaining possible keys: 7736753012 (2^32.8)
Time for generating key candidates list: 4 seconds
Brute force phase starting.
Using 256-bit bitslices
Bitslicing best_first_byte^uid[3] (rollback byte): 02 ...
Bitslicing nonces...
Starting 4 cracking threads to search 68 buckets containing a total of 7736753012 states...
....................................................................Fail! Tested 3441785716 states, in 23 seconds
Generating crypto1 state candidates...
Number of possible keys with Sum(a0) = 128: 117726714265600 (2^46.7)
Number of remaining possible keys: 7732334004 (2^32.8)
Time for generating key candidates list: 5 seconds
Brute force phase starting.
Using 256-bit bitslices
Bitslicing best_first_byte^uid[3] (rollback byte): 02 ...
Bitslicing nonces...
Starting 4 cracking threads to search 68 buckets containing a total of 7732334004 states...
....................................................................Fail! Tested 3437366708 states, in 26 seconds

Offline

#4 2016-10-29 16:36:01

lasersword
Contributor
Registered: 2016-06-08
Posts: 24

Re: out of memory error when run hardnested

Acquired 17024 nonces ( 6132 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 14
Generating crypto1 state candidates...
Number of possible keys with Sum(a0) = 128: 117726714265600 (2^46.7)
Number of remaining possible keys: 7732334004 (2^32.8)
Time for generating key candidates list: 4 seconds
Brute force phase starting.
Using 256-bit bitslices
Bitslicing best_first_byte^uid[3] (rollback byte): 02 ...
Bitslicing nonces...
Starting 4 cracking threads to search 68 buckets containing a total of 7732334004 states...
....................................................................Fail! Tested 3437366708 states, in 25 seconds
Generating crypto1 state candidates...
Number of possible keys with Sum(a0) = 128: 117726714265600 (2^46.7)
Number of remaining possible keys: 7732334004 (2^32.8)
Time for generating key candidates list: 4 seconds
Brute force phase starting.
Using 256-bit bitslices
Bitslicing best_first_byte^uid[3] (rollback byte): 02 ...
Bitslicing nonces...
Starting 4 cracking threads to search 68 buckets containing a total of 7732334004 states...
....................................................................Fail! Tested 3437366708 states, in 25 seconds
Acquired 17584 nonces ( 6170 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 14
Generating crypto1 state candidates...
Number of possible keys with Sum(a0) = 128: 117726714265600 (2^46.7)
Number of remaining possible keys: 7732334004 (2^32.8)
Time for generating key candidates list: 4 seconds
Brute force phase starting.
Using 256-bit bitslices
Bitslicing best_first_byte^uid[3] (rollback byte): 02 ...
Bitslicing nonces...
Starting 4 cracking threads to search 68 buckets containing a total of 7732334004 states...
....................................................................Fail! Tested 3437366708 states, in 24 seconds
Generating crypto1 state candidates...
Number of possible keys with Sum(a0) = 128: 117726714265600 (2^46.7)
#db# Authentication failed. Error card response.
#db# AcquireNonces: Auth1 error
Number of remaining possible keys: 7572800468 (2^32.8)
Time for generating key candidates list: 5 seconds
Brute force phase starting.
Using 256-bit bitslices
Bitslicing best_first_byte^uid[3] (rollback byte): 02 ...
Bitslicing nonces...
Starting 4 cracking threads to search 68 buckets containing a total of 7572800468 states...
....................................................................Fail! Tested 3277833172 states, in 26 seconds
Acquired 18032 nonces ( 6215 with distinct bytes 0 and 1). Number of bytes with probability for correctly guessed Sum(a8) > 95.0%: 16
Generating crypto1 state candidates...
Number of possible keys with Sum(a0) = 128: 117726714265600 (2^46.7)
Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Out of memory error.

Offline

#5 2016-10-29 17:54:29

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

Re: out of memory error when run hardnested

ok,  @matrix did push some mods  I also got some of these out-of-mem issues,   https://github.com/iceman1001/proxmark3/issues/48   this is the github issue for it.

Do please use it for communication.
Do please use pastebin.com to share these kinds of outputs.

Offline

Board footer

Powered by FluxBB