Comments (5)
Here is my patch for basic v4 tokens decode support
#51
from stoken.
Hi,
I have the same problem, my token starts with com.rsa.securid://ctf?ctfData=BAEBz1...
I also got a password to install it.
When I try to import it in stoken I get
error: --token string is garbled: General failure
I don't know how much work it would take but it would be nice to be able to import these token into stoken.
from stoken.
In order to figure out the v3 token format I had to look at how RSA's TokenConverter handled them. I wasn't able to find a public specification. You could start off with an XML file from stoken export --random --sdtid
and ask TokenConverter to convert it into different CTF formats.
Not sure if the latest TokenConverter supports the v4 format, however. It doesn't look like it's been updated in a while.
from stoken.
any progress on this?
@birou007 @kayrus any chance that you are able to provide an old/expired token that could be used to reverse engineer?
from stoken.
@esskar I have an expired v4 token and can share it
com.rsa.securid://ctf?ctfData=BAABaKfqKwgEkWDGEgaxp2ZGloQ7dDw2A8PglNlhP8qCBhtop%2BorCASRYMYSBrGnZkaWhDt0PDYDw%2BCU2WE%2FyoIGGznAfd6pVLcjsDtpKoG5APTUrXL51Bdnf%2FCDvZanmNEGhzDCbsDsFTFyLgKzdht0X1tKt23tFwP%2FDYg9xDS1HvS8Jy3QfT04PFNm%2BdCUUZyMIoTzdFT01msNHtrRxePWU7cB32CE48U%2BKlbW4hPyhphJhkg5qxUA38cD05J1s44hI3FTjaq%2FAhAKAQWsDy7TZE6qtU5f6cYIzdr5PKILhTyCeXRxiYuLinAkXEHWm%2F%2FrFKyroQpn%2FVYAA3NLS59HWBQwWyS2kzhtlzJh%2BI25IMhdhLvVdXdjuNzRxkwjc74z
No password locked, but device locked, Device ID d82c467c56fb2058edf8add6
It seems that v4 format is very close to v3 one, especially it has same token size of 291 bytes. First of all I supposed that it has same fields in storage structure, adjusted sources and used v3 code to decrypt v4 seed. It passed checks in v3_compute_hash(NULL, devid, t->v3->nonce, hash);
and v3_compute_hash(pass, devid, t->v3->nonce, hash);
(comparing nonce_devid_hash
and nonce_devid_pass_hash
, but stucked at v3_compute_hmac(t->v3, pass, devid, hash)
. It calculates hmac and compares it with token's mac and finds inequality.
from stoken.
Related Issues (20)
- Ability to copy both current and next tokencode HOT 5
- Can a SID700 hardware token behavior be emulated? HOT 2
- Port to NodeJS HOT 5
- SetPin nor pin in stoken.rc allow alphanumeric pin.
- How can I create a new batch certificate ? HOT 1
- Documentation Update - Next Tokencode CLI HOT 1
- Respect XDG base directories
- iPhone token - Device ID mismatch HOT 3
- RFE: port to openssl crypto
- Arduino Due support HOT 3
- UI issue on MacOS Monterrey
- Add configurable timeout for re-entry of PIN
- Keyboard shortcuts don't close application
- Is this project still in development? HOT 2
- 'mlockall' error HOT 1
- error: --token string is garbled: General failure HOT 1
- How do you remove a stored token? HOT 1
- RFE: please start making github releases HOT 2
- Why do you need stoken-gui-small.desktop
- stoken 0.93 tarball HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stoken.