Comments (9)
yes, DKMkey.bin should be HEX representation of actual ANSI bytes.
In screenshot I see a lot of zeros, remove everything after 72 CB
from adfspoof.
Ha!
Welcome to the club! (ppl who didn't read readme :) )
Steps to fix this:
- pip uninstall cryptography
- git clone https://github.com/dmb2168/cryptography.git
- cd cryptography
- pip install -e .
Have fun!
from adfspoof.
Hi! In my case I used 'cat DKMkey.txt | tr -d "-" | xxd -r -p > DKMkey.bin'. I think it works the same but I did not get the zeros :)
from adfspoof.
Thank you! It worked, though only on Linux. On Windows I am getting installation error when installing crypthography.
from adfspoof.
@pawp81
correct way to create DKM key:
a) take private key
b) take hex editor and paste in the bytes ( private key without dashes) and save as DKMkey.bin
from adfspoof.
Thank you. I see DKM key extracted from Active Directory already comes in HEX.
Do you mean that DKM key should be HEX representation of actual ANSI bytes?
Taking my DKM key as example and https://hexed.it/ as Hex editor example, this what I should?
from adfspoof.
Thank you I am getting closer
Now I am getting:
Calculated MAC did not match anticipated MAC
Calculated MAC: b'H\x03\xbauF\x02\xed\x87%\x7f+\xafZ\x95\xdc\xd3\x0b\x05\x15O\x12\xf69\xc5\x9a\xb6!;\x83\xea_\x03'
Expected MAC: b'\xc0\xae\x84\x8f\x0cm\x16g\x1c\x1axnV\x83\xed\x08I\x1dAv\xa5m^\x91]\xd8o\xf1\xb8\x14\x8b\x04'
What do you do with EncryptedPFX? Do you just base64 decode the output from ADFSDump?
cat Token_sign_blob_ADFS2019.txt | base64 -d >Token_sign_blob_ADFS2019.bin
from adfspoof.
Hey!
If the method does not work, This what worked for me :
- Create of virtual environments in python
- git clone https://github.com/dmb2168/cryptography.git
- cd cryptography
- pip3 install pyopenssl --upgrade -e .
from adfspoof.
Hey @0xMazen @duzvik
Please help me im also getting the same error
A tool to for AD FS security tokens
Created by @doughsec
Calculated MAC did not match anticipated MAC
Calculated MAC: b"e\xec|[\x17?.\xffC'v(u\xaaBiw\x90\xfb\x1c\xd4H\xf7LM\x13\x87+G\x99mX"
Expected MAC: b"{\xad\xa9}\x02\xfa]\xdb\xcb\x95\x15p \x1c\x9c\xed\xbcC/\xc1\xef\xc0f\xd1\x93D'\xeb\xb0\x8a\xc0\xe1"
i have tried to install this but its not being installed at
git clone https://github.com/dmb2168/cryptography.git
any other version of cryptography im able to install
from adfspoof.
Related Issues (7)
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 adfspoof.