Reset Password Windows
#1
Disini saya menggunakan backtrack 5. Buka chntpw dan masukan perintah berikut

Code:
chntpw -i /drive/C/Windows/System32/config/SAM

oh iya, harus ditambahkan "./" tanpa tanda " " jangan lupa di enter ya

dan untuk alamat drive tergantung dari di mana kita me-mount-nya.

Kemudian akan muncul pertanyaan:
Quote:"What to do? ->" isikian 1 dan enter

Select: ! - quit, . - list users, 0x<RID> - User with RID (hex)

or simply enter the username to change: [Administrator] n3f21t (nama user account yang akan diedit)

Lalu pada User Edit Menu: (nah disini kita akan mengedit user yang kita pilih tadi)

Select: > 2

New Password:___ (di-coloum ini kita diminta mengisikan password)

Jika sudah tinggal quit and save

Reboot dan boot di drive windows-nya dan login dengan password yang baru kita edit tadi.



Contohnya ini yang saya copy and paste dari terminal

Code:
root@bt:/pentest/passwords/chntpw# ./chntpw -i /media/C_sys/Windows/System32/config/SAM

Quote:chntpw version 0.99.6 100627 (vacation), © Petter N Hagen

Hive </media/C_sys/Windows/System32/config/SAM> name (from header):

<\SystemRoot\System32\Config\SAM>

ROOT KEY at offset: 0x001020 * Subkey indexing type is: 666c <lf>

Page at 0xf000 is not 'hbin', assuming file contains garbage at end

File size 262144 [40000] bytes, containing 6 pages (+ 1 headerpage)

Used for data: 247/52224 blocks/bytes, unused: 8/4928 blocks/bytes.

* SAM policy limits:
Failed logins before lockout is: 0
Minimum password length : 0
Password history count : 0


<>========<> chntpw Main Interactive Menu <>========<>

Loaded hives: </media/C_sys/Windows/System32/config/SAM>


1 - Edit user data and passwords

- - -

9 - Registry editor, now with full write support!

q - Quit (you will be asked if there is something to save)

What to do? [1] -> 1

Quote:===== chntpw Edit User Info & Passwords ====

| RID -|---------- Username ------------| Admin? |- Lock? --|

| 01f4 | Administrator | ADMIN | dis/lock |

| 01f5 | Guest | | dis/lock |

| 03e8 | n3f21t | ADMIN | |

Select: ! - quit, . - list users, 0x<RID> - User with RID (hex)

or simply enter the username to change: [Administrator] nf21t

Cannot find value <\SAM\Domains\Account\Users\Names\nf21t\@>

Select: ! - quit, . - list users, 0x<RID> - User with RID (hex)

or simply enter the username to change: [Administrator] n3f21t

RID : 1000 [03e8]

Username: n3f21t

fullname:

comment :

homedir :

User is member of 1 groups:

00000220 = Administrators (which has 2 members)

Account bits: 0x0214 =

[ ] Disabled | [ ] Homedir req. | [X] Passwd not req. |

[ ] Temp. duplicate | [X] Normal account | [ ] NMS account |

[ ] Domain trust ac | [ ] Wks trust act. | [ ] Srv trust act |

[X] Pwd don't expir | [ ] Auto lockout | [ ] (unknown 0x08) |

[ ] (unknown 0x10) | [ ] (unknown 0x20) | [ ] (unknown 0x40) |

Failed login count: 0, while max tries is: 0

Total login count: 65

Quote:- - - - User Edit Menu:

1 - Clear (blank) user password

2 - Edit (set new) user password (careful with this on XP or Vista)

3 - Promote user (make user an administrator)

(4 - Unlock and enable user account) [seems unlocked already]

q - Quit editing user, back to user select

Select: [q] > 2

New Password: ,.,

Password changed!

Select: ! - quit, . - list users, 0x<RID> - User with RID (hex)

or simply enter the username to change: [Administrator] n3f21t

RID : 1000 [03e8]

Username: n3f21t

fullname:

comment :

homedir :

User is member of 1 groups:

00000220 = Administrators (which has 2 members)

Account bits: 0x0214 =

[ ] Disabled | [ ] Homedir req. | [X] Passwd not req. |

[ ] Temp. duplicate | [X] Normal account | [ ] NMS account |

[ ] Domain trust ac | [ ] Wks trust act. | [ ] Srv trust act |

[X] Pwd don't expir | [ ] Auto lockout | [ ] (unknown 0x08) |

[ ] (unknown 0x10) | [ ] (unknown 0x20) | [ ] (unknown 0x40) |


Failed login count: 0, while max tries is: 0

Total login count: 65

Quote:- - - - User Edit Menu:

1 - Clear (blank) user password

2 - Edit (set new) user password (careful with this on XP or Vista)

3 - Promote user (make user an administrator)

(4 - Unlock and enable user account) [seems unlocked already]

q - Quit editing user, back to user select

Select: [q] > q


Select: ! - quit, . - list users, 0x<RID> - User with RID (hex)
or simply enter the username to change: [Administrator] q
Cannot find value <\SAM\Domains\Account\Users\Names\q\@>
Select: ! - quit, . - list users, 0x<RID> - User with RID (hex)
or simply enter the username to change: [Administrator] !


<>========<> chntpw Main Interactive Menu <>========<>


Loaded hives: </media/C_sys/Windows/System32/config/SAM>


1 - Edit user data and passwords

- - -

9 - Registry editor, now with full write support!

q - Quit (you will be asked if there is something to save)

What to do? [1] -> q

Hives that have changed:
# Name

0 </media/C_sys/Windows/System32/config/SAM>

Write hive files? (y/n) [n] : y

0 </media/C_sys/Windows/System32/config/SAM> - OK

Note:
Ane rapihin ya bro
Konspirasi


Messages In This Thread
Reset Password Windows - by L'k - 10-07-2011, 05:33 PM
RE: Reset Password Windows - by THJC - 10-07-2011, 06:19 PM
RE: Reset Password Windows - by Junior Riau - 10-07-2011, 08:00 PM
RE: Reset Password Windows - by iKONspirasi - 10-07-2011, 08:45 PM
RE: Reset Password Windows - by THJC - 10-07-2011, 08:22 PM
RE: Reset Password Windows - by NoseTrave - 10-07-2011, 08:43 PM
RE: Reset Password Windows - by THJC - 10-07-2011, 08:59 PM
RE: Reset Password Windows - by iKONspirasi - 10-07-2011, 09:43 PM
RE: Reset Password Windows - by THJC - 10-07-2011, 11:42 PM
RE: Reset Password Windows - by L'k - 10-08-2011, 07:36 AM
RE: Reset Password Windows - by rendy - 01-31-2012, 10:52 AM
RE: Reset Password Windows - by iKONspirasi - 01-31-2012, 12:34 PM
RE: Reset Password Windows - by arek_ndeso - 02-09-2012, 12:41 PM
RE: Reset Password Windows - by rendy - 06-26-2012, 06:17 PM
RE: Reset Password Windows - by jakkidz - 06-27-2012, 06:49 PM
RE: Reset Password Windows - by alkaaf - 06-27-2012, 07:35 PM
RE: Reset Password Windows - by devilnoe - 07-28-2012, 03:12 AM
RE: Reset Password Windows - by Al - Ayyubi - 08-10-2012, 03:33 PM
RE: Reset Password Windows - by Doel - 08-28-2013, 05:37 PM
RE: Reset Password Windows - by rahmadkur1 - 08-29-2013, 02:32 AM




Users browsing this thread: 1 Guest(s)