Skip to content
KitploitKITPLOIT
उपकरणब्लॉग
जमा करें
उपकरणब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

··फ़ीड·संपर्क·गोपनीयता·© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
CacheData_decrypt — Windows EntraId CacheData को BF और डिक्रिप्ट करने के लिए एक सरल टूलकिट | Kitploit
उपकरण/GitHubGitHub/synacktiv/cachedata_decrypt
पासवर्ड क्रैकिंगएन्क्रिप्शन/डिक्रिप्शन उपकरणपासवर्ड हमलेपोस्ट-शोषणडिजिटल फोरेंसिकक्रिप्टोग्राफीप्रमाणीकरण
GitHubsynacktiv/cachedata_decrypt

CacheData_decrypt

Windows EntraId CacheData को BF और डिक्रिप्ट करने के लिए एक सरल टूलकिट

रिपॉजिटरी देखें
20132 साल पहलेKitploit द्वारा समीक्षित

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें

CacheData_decrypt

Windows EntraId CacheData को BF और डिक्रिप्ट करने के लिए एक सरल टूलकिट।

root@kitploit:~
usage: decrypt_cachedata.py [-h] {pin,password} ...

CacheData bruteforcer. On a live windows host, to copy the folders with all
subfolders and files: xcopy <folder> <destination> /H /E /G /C as SYSTEM. The
script will automatically iterates on each Entra ID user who has logged in on
the device. If you want to bruteforce the PIN for only one user, use the --sid
parameter.

positional arguments:
  {pin,password}  Available subparser (pin or password)
    pin           BF pin.
    password      BF password.
    dump          Dump CacheData header.

options:
  -h, --help      show this help message and exit

स्थापना

Python3 वर्चुअल env बनाएँ और requirements इंस्टॉल करें:

root@kitploit:~
python3 -m venv ./my_venv
source ./my_venv/bin/activate
pip3 install -r requirements.txt

उदाहरण

PIN

एक PIN को ब्रूटफोर्स करने और PRT + DPAPI CredKey को डिक्रिप्ट करने का उदाहरण।

सुनिश्चित करें कि आपके पास सभी आवश्यक फ़ाइलें और निर्देशिकाएँ हैं:

root@kitploit:~
ls -ld CacheData secrets/Ngc/ PIN.txt secrets/system secrets/security secrets/Crypto/Keys/ secrets/masterkey/
-rw-r--r-- 1 user user    14036 Feb 15 11:12 CacheData
-rw-r--r-- 1 user user       21 Apr 22 10:56 PIN.txt
drwx------ 2 user user     4096 Feb 15 09:59 secrets/Crypto/Keys/
drwxr-xr-x 2 user user     4096 Apr  8 21:57 secrets/masterkey/
drwx------ 3 user user     4096 Feb 15 09:58 secrets/Ngc/
-rwxr-xr-x 1 user user    40960 Apr  8 21:56 secrets/security
-rwxr-xr-x 1 user user 12734464 Apr  8 21:56 secrets/system

स्क्रिप्ट को pin तर्क और सभी आवश्यक फ़ाइलों एवं निर्देशिकाओं के साथ प्रारंभ करें:

root@kitploit:~
python3 decrypt_cachedata.py pin -C CacheData -N secrets/Ngc/ -P PIN.txt \
  --system secrets/system --security secrets/security --keys secrets/Crypto/Keys/ \
  --masterkey secrets/masterkey/

[+] Found PIN: 123456
[+] Parsing CacheData file CacheData
[+] CacheData file version is 0x2
[+] CacheData expected sha256: e56c1ec9d053dfd0618aaed1f5bd0ebbaecf9ed11917a526d5714b7c86101423
[+] CacheData computed sha256: e56c1ec9d053dfd0618aaed1f5bd0ebbaecf9ed11917a526d5714b7c86101423
[+] Parsing Cache node headers
[+]     Found CacheNode of type 0x1, CryptoBlobSize = 0x30, EncryptedPRTSize = 0x18d0
[+]     Found CacheNode of type 0x5, CryptoBlobSize = 0x3d7, EncryptedPRTSize = 0x1970
[+] Parsing raw blob
[+]     Found blob of size 0x30 (offset = 0x80/0x36d4)
[+]     Found blob of size 0x18d0 (offset = 0xb4/0x36d4)
[+]     Found blob of size 0x3d7 (offset = 0x1988/0x36d4)
[+]     Found blob of size 0x1970 (offset = 0x1d64/0x36d4)
[+] CacheData node of type PIN (0x5) has been found
[+] RSA decrypt encrypted AES key 1
[+] AES decrypt encrypted AES key 2
[+] AES decrypt encrypted blob of size 0x1970 (DPAPI CredKey + PRT)
[+] Dumping raw DPAPI Cred key, with GUID c0c17f7a-2b1e-43ff-a739-f698b29469b5 (0x40 bytes):
00000000: D9 00 C8 20 3A 6E FB 10  EC AD AD 3A 02 28 31 7C  ... :n.....:.(1|
00000010: E4 31 4E 09 A0 CC BE 96  1D 31 FA C5 42 AF CC 56  .1N......1..B..V
00000020: 70 32 6B 1F A3 94 F8 15  B8 63 5A B2 69 A8 ED 07  p2k......cZ.i...
00000030: D4 71 1C 96 8F 49 18 64  23 0F 30 16 6C 6D 1B CE  .q...I.d#.0.lm..
[+] Dumping decrypted PRT file:
{
    "Version": 3,
    "UserInfo": {
        "Version": 2,
        "UniqueId": "57d07212-f77d-402f-90b1-f590b8890bb4",
        "PrimarySid": "S-1-12-1-1473278482-1076885373-2432020880-3020655032",
        ....
    }
    ...
}

पासवर्ड

एक पासवर्ड को ब्रूटफोर्स करने और PRT + DPAPI CredKey को डिक्रिप्ट करने का उदाहरण।

स्क्रिप्ट को password तर्क के साथ प्रारंभ करें और CacheData फ़ाइल तथा पासवर्ड सूची प्रदान करें:

root@kitploit:~
python3 decrypt_cachedata.py password -C CacheData -P password.txt

[+] Parsing CacheData file CacheData
[+] CacheData file version is 0x2
[+] CacheData expected sha256: e56c1ec9d053dfd0618aaed1f5bd0ebbaecf9ed11917a526d5714b7c86101423
[+] CacheData computed sha256: e56c1ec9d053dfd0618aaed1f5bd0ebbaecf9ed11917a526d5714b7c86101423
[+] Parsing Cache node headers
[+]     Found CacheNode of type 0x1, CryptoBlobSize = 0x30, EncryptedPRTSize = 0x18d0
[+]     Found CacheNode of type 0x5, CryptoBlobSize = 0x3d7, EncryptedPRTSize = 0x1970
[+] Parsing raw blob
[+]     Found blob of size 0x30 (offset = 0x80/0x36d4)
[+]     Found blob of size 0x18d0 (offset = 0xb4/0x36d4)
[+]     Found blob of size 0x3d7 (offset = 0x1988/0x36d4)
[+]     Found blob of size 0x1970 (offset = 0x1d64/0x36d4)
[+] CacheData node of type password (0x1) has been found
[+] Password: 'P@ssw0rd!'
[+] Dumping raw DPAPI Cred key, with GUID c0c17f7a-2b1e-43ff-a739-f698b29469b5 (0x40 bytes):
00000000: D9 00 C8 20 3A 6E FB 10  EC AD AD 3A 02 28 31 7C  ... :n.....:.(1|
00000010: E4 31 4E 09 A0 CC BE 96  1D 31 FA C5 42 AF CC 56  .1N......1..B..V
00000020: 70 32 6B 1F A3 94 F8 15  B8 63 5A B2 69 A8 ED 07  p2k......cZ.i...
00000030: D4 71 1C 96 8F 49 18 64  23 0F 30 16 6C 6D 1B CE  .q...I.d#.0.lm..
[+] Dumping decrypted PRT file:
{
    "Version": 3,
    "UserInfo": {
        "Version": 2,
        "UniqueId": "57d07212-f77d-402f-90b1-f590b8890bb4",
        "PrimarySid": "S-1-12-1-1473278482-1076885373-2432020880-3020655032",
        ....
    }
    ...
}

क्रेडिट्स

पासवर्ड (अर्थात PIN नहीं) पर आधारित PRT डिक्रिप्शन पहले से ही PRT_Utils.ps1 स्क्रिप्ट में लागू किया गया था, जो AADInternals रिपॉजिटरी से है।

इसके अलावा, हमारी स्क्रिप्ट dpapilab-ng रिपॉजिटरी से सीधे निकाले गए कई कोड स्निपेट का उपयोग करती है।

टूल डाउनलोड करें