Error Reading Controlset _regopenkey
Contents |
tour help Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies
Bkhive Error Reading Controlset _regopenkey
of this site About Us Learn more about Stack Overflow the company Business samdump2 error reading from out Learn more about hiring developers or posting ads with us Information Security Questions Tags Users Badges Unanswered Ask Question
Bkhive Command Not Found
_ Information Security Stack Exchange is a question and answer site for information security professionals. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask samdump2 example a question Anybody can answer The best answers are voted up and rise to the top samdump2 Error reading ControlSet: _RegOpenKey up vote 0 down vote favorite I copied both SAM and SYSTEM files from my Windows7 OS, and then used this command to read the content of the SAM file samdump2 SAM SYSTEM > mdp_chiffres.txt, but i'm getting this error Error reading ControlSet: how to use samdump2 _RegOpenKey. PS : I have a dual boot of Ubuntu 15.10 (Linux) and Windows 7, and this operation i mentioned above is being operated from Ubuntu. linux password-cracking share|improve this question asked Feb 1 at 17:05 Sidahmed 10110 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote accepted well i got it to work by following theses steps : You have first to install a compatible version of samdupm2 and bkhive (because I have tested the ones on the repositories and it doesn't work well) using this commands : curl http://http.us.debian.org/debian/pool/main/s/samdump2/samdump2_1.1.1-1.1_i386.deb > samdump2_1.1.1-1.1_i386.deb dpkg -i samdump2_1.1.1-1.1_i386.deb curl http://http.us.debian.org/debian/pool/main/b/bkhive/bkhive_1.1.1-1_i386.deb > bkhive_1.1.1-1_i386.deb dpkg -i bkhive_1.1.1-1_i386.deb Ps : If you have problems with dependecies then execute this command sudo apt-get install -f Then you have to use bkhive on the SYSTEM file with this command bkhive SYSTEM keys.txt. And finally we use the samdump2 to get the hashed passwords using this command samdump2 SAM keys.txt > hashed_passwords.txt. I have just tested it and it works just fine. share|improve this answer answered Feb 1 at 18:00 Sidahmed 10110 add a comment| Your Answer draft saved dra
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki
Samdump2 Kali
Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation samdump2 download Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights
Kali Bkhive Command Not Found
Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Specialised Support Security [ubuntu] bkhive and samdump Having an Issue With Posting ? http://security.stackexchange.com/questions/112422/samdump2-error-reading-controlset-regopenkey Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Results 1 to 2 of 2 Thread: bkhive and samdump Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode May 28th, 2009 #1 vajeen View Profile View Forum Posts Private https://ubuntuforums.org/showthread.php?t=1171940 Message 5 Cups of Ubuntu Join Date Apr 2009 BeansHidden! bkhive and samdump pls give me a good tutorial on how to use bkhive and samdump in ubuntu.... Adv Reply May 28th, 2009 #2 vajeen View Profile View Forum Posts Private Message 5 Cups of Ubuntu Join Date Apr 2009 BeansHidden! Re: bkhive and samdump when i use bkhive it gives me Root Key : SECURITY Error reading ControlSet: _RegOpenKey Adv Reply Quick Navigation Security Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to Ubuntu General Help Asus Ubuntu Support (CLOSED) Dell Ubuntu Support (CLOSED) Ubuntu One (CLOSED) Installation & Upgrades Hardware Desktop Environments Networking & Wireless Multimedia Software Ubuntu Studio Mythbuntu Ubuntu Specialised Support Ubuntu Phone and Tablet Ubuntu Development Version Security Virtualisation Ubuntu Servers, Cloud and Juju Server Platforms Ubuntu Cloud and Juju Gaming & Leisure Emulators Wine Development & Programming Packaging and Compiling Programs Development CD/DVD Image Testing Ubuntu Application Development Ubuntu Dev Link Forum Programming Talk Repositories &
of this file. Functions intbkhive (char *system, unsigned char *pkey, char *error, int debug) samdump2.h Declaration file for samdump2 2.x intsamdump2 (char *sam, list_t *list, unsigned char *bootkey, char *error, int debug) Function Documentation int bkhive ( char * https://sourcecodebrowser.com/ophcrack/3.3.0/samdump2_8h.html system, unsigned char * pkey, char * error, int debug ) samdump2.h Declaration file for samdump2 2.x This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT error reading ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. This program is released under the GPL with the additional exemption that compiling, linking, error reading controlset and/or using OpenSSL is allowed. Copyright (C) 2008 Cedric Tissieres http://www.objectif-securite.ch Definition at line 35 of file bkhive.c. { /* hive */ struct hive h; nk_hdr *n = NULL; unsigned char *b; int i, j, buf_len, control; char *kn[] = { "JD", "Skew1", "GBG", "Data" }; char kv[9]; unsigned char *buf = NULL; char *keyname; char *root_key, *regselect, *reglsa; // System\ControlSet001\Control\Lsa\ on some nt4 box unsigned char key[0x10]; #if BYTE_ORDER == LITTLE_ENDIAN int p[] = { 0xb, 0x6, 0x7, 0x1, 0x8, 0xa, 0xe, 0x0, 0x3, 0x5, 0x2, 0xf, 0xd, 0x9, 0xc, 0x4 }; #elif BYTE_ORDER == BIG_ENDIAN int p[] = { 0x8, 0x5, 0x4, 0x2, 0xb, 0x9, 0xd, 0x3, 0x0, 0x6, 0x1, 0xc, 0xe, 0xa, 0xf, 0x7 }; #endif /* Initialize hive access */ _InitHive( &h ); /* Open the system hive file */ if( _RegOpenHive( system, &h ) ) { sprintf(error, "Error opening hive file %s\n", system ); return -1; } /* Get Root key name $$$PROTO.HIV for 2k/XP, CMI-CreateHive{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx} for Vista */ if( _RegGetRootKey( &h, &root_key)) { sprintf(error, "Error reading hive root key\n"); return -1; } if (debug) printf("Root Key : %s\n", root_key); regselect = (char *) malloc(strlen(root_key)+10); reglsa = (char *) malloc(strlen(root_key)+33); sprintf(regselect, "%s\\Select", root_key); /* Find the Default ControlSet */ n = (nk_hdr*) malloc(sizeof(nk_hdr)); if (!_RegOpenKey(&h, regselect, &n)) if (!_