API PT

API PT

JWT Attack:
Capturing RSA Public key and create a new token:
attack method:
Step 1: capture the jwt token.
step 2: change the alogrithm to rs256 to hs256 change the desire parameter.
step 3: convert this back to the JWT format.
step 4: Adding signature to the JWT
       How to get the server certification:
            cmd:openssl s_client -connect <hostname>:443
       Getting public key from the certification:
            cmd:openssl x509 -pubkey -noout -in cert.pem > key.pem
       

Comments

Popular posts from this blog

System Malware Analysis

Malware Sample Analysis (29F228F3375C489A8A6E31203AB25787)

Static Analysis