Proxmark3 developers 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.

#1 2017-06-03 09:19:36

akileos
Contributor
Registered: 2017-05-17
Posts: 23

Lua way to do AES CBC ?

Hey guys,

We use the unysis uLogon system at work. Domain credentials are stored in a legic segment.
Given the fact that I'm admin of my computer and that I have access to the compiled binaries, I narrowed down to the actual encryption scheme thanks to the DLL being .Net.
The creds are actually using a rijndaelmanaged decryptor in .Net. Got the IV and key, tested sucessfully here.

Question is :
Would a piece of c# that could be compiled by mono fine enough or should I really try to find a working lua implementation of that ?

Best,

Offline

#2 2017-06-03 09:34:00

iceman
Administrator
Registered: 2013-04-25
Posts: 6,645
Website

Re: Lua way to do AES CBC ?

well, you are in luck,  iceman fork have aes hooked up into lua part.

as seen here;
https://github.com/iceman1001/proxmark3 … ing.c#L242

Calling it from lua with: 
core.aes128_decrypt()

see overview of what is imp.
https://github.com/iceman1001/proxmark3 … ing.c#L576


If you feel the love,  https://www.patreon.com/iceman1001

modhex(hkhehghthbhudcfcdchkigiehgduiehg)

Offline

Board footer

Powered by FluxBB