JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html
https://ftsafe.en.alibaba.com/index.html
Search found 33 matches
- Fri Aug 31, 2018 2:44 am
- Forum: Questions & Answers
- Topic: Research Findings about viciousness CAP file
- Replies: 5
- Views: 14715
Re: Research Findings about viciousness CAP file
Watch & Learn 1. Download and install applet 2. Send APDU command when attacking =>RESET =>00A40400 00 =>AUTH =>80 e6 02 00 12 05 11 22 33 44 55 08 a0 00 00 00 03 00 00 00 00 00 00 =>80 e8 00 00 ef c4 82 02 68 01 00 15 de ca ff ed 02 02 04 00 01 05 11 22 33 44 55 05 56 69 72 75 73 02 00 21 00 15 00...
- Thu Aug 30, 2018 11:24 pm
- Forum: Questions & Answers
- Topic: Research Findings about viciousness CAP file
- Replies: 5
- Views: 14715
Re: Research Findings about viciousness CAP file
CAP code package Virus; import javacard.framework.APDU; import javacard.framework.ISO7816; import javacard.framework.Applet; import javacard.framework.ISOException; import javacard.framework.Util; import javacard.framework.OwnerPIN; public class VirusApplet extends Applet { private final static byt...
- Thu Aug 30, 2018 2:12 am
- Forum: Questions & Answers
- Topic: Research Findings about viciousness CAP file
- Replies: 5
- Views: 14715
Re: Research Findings about viciousness CAP file
1. Principle Create a byte array char[] byteArray = new byte[8]; //The longer of the array you set, the more secret you can pry in the future. Create a short array. short[] shortArray = new byte[1]; //You can set this array with any length you want. Type confusion (that is, assign an object of type...
- Thu Aug 30, 2018 1:50 am
- Forum: Questions & Answers
- Topic: Research Findings about viciousness CAP file
- Replies: 5
- Views: 14715
Research Findings about viciousness CAP file
Just share some research findings.Any comments, please feel free to address here. This article describes an applet that can attack java cards. It introduces the key technology of this attack method in detail, and the specific operating steps and the purpose of each step as well. Although this demo ...
- Mon Oct 02, 2017 6:29 am
- Forum: Questions & Answers
- Topic: javax.smartcardio error: Could not obtain response
- Replies: 2
- Views: 8236
Re: javax.smartcardio error: Could not obtain response
I think that you are sending an APDU command case 1 (P3=0), just like:
If your applet invoke the method
, it will expect data from the APDU buffer, and if you don't send data, this exception will be throwed by smartcardio API.
Code: Select all
CLA INS P1 P2 Le
If your applet invoke the method
Code: Select all
setIncomingAndReceive()
, it will expect data from the APDU buffer, and if you don't send data, this exception will be throwed by smartcardio API.
- Mon Aug 21, 2017 6:33 am
- Forum: Questions & Answers
- Topic: Issue about generating 2048 bytes keys with RSA
- Replies: 2
- Views: 8663
Re: Issue about generating 2048 bytes keys with RSA
The problem may be caused by the following several lines of code. Donot use apduBuffer.length for the outgoing length. And If the card does not support extended APDUs, you can't return more than 256 bytes in the response. apduBuffer[0] = (byte)((RSAPublicKey)publicKey).getModulus(apduBuffer, (short)...
- Fri Aug 11, 2017 3:48 am
- Forum: Algorithm School
- Topic: Problem about AES algorithm
- Replies: 2
- Views: 31569
Re: Problem about AES algorithm
You just forgot to switch to outgoing mode before setting the outgoingLength.
Code: Select all
apdu.setOutgoing();
apdu.setOutgoingLength((byte) 0x10);
- Wed Jul 05, 2017 11:57 pm
- Forum: Questions & Answers
- Topic: How to add test scripts in TCK
- Replies: 2
- Views: 8918
How to add test scripts in TCK
Does any friends use TCK to test java cards? Can we add some test scripts when testing JavaCards using TCK. I would be highly appreciated if you can tell me the methods. Thanks in advance.
- Wed Mar 22, 2017 11:46 pm
- Forum: Questions & Answers
- Topic: Load File Data Block Hash
- Replies: 1
- Views: 6731
Re: Load File Data Block Hash
The following part is quoted from GlobalPlatform Card Specification Version 2.1.1 You may need to use SHA-1 algorithm. 6.7.6.1 Load File Data Block Hash The Load File Data Block Hash is a redundancy check across the whole Load File Data Block to be transferred to the card and is present as a field i...
- Tue Mar 07, 2017 11:06 pm
- Forum: Card Products
- Topic: Changing J2A080 ATR
- Replies: 3
- Views: 11959
Re: Changing J2A080 ATR
I don't think here is the best place to find the script for changing card ATR. You should ask your card provider for help.