Friday, December 02, 2005

Program Utility Reset NT Password

dari Azhar
Semalam di PT dia bilang..ada program bagus buat ngereset Password Administrator XP, kejadiannya waktu dia mau login di PC pak Ricky("udah resign :P ,dan dia lupa password adminnya..

Sebuah program utility yang bagus dan sudah dicoba sama gue.., and this program success to reset my administrator password ("gile-gile"), this program can be download at http://home.eunet.no/~pnordahl/ntpasswd/, dont worry about How to use this program, mostly in case u can default setting to chose and follow the instruction which appear in the screen..after that u can change user passwor in NT database and view some information..

Ya udah coba aja kalau ga percaya ikutin aja petunjuknya daripada loe harus nginstal ulang tuch M$ windows karena ga tahu password nya, tinggal masukin Disket aja lalu turnOn PC, jadi bootable juga tuch Flopy.., oh ya ada juga versi CD nya..

Nich dibawah loe baca lagi dech versi englishnya :D, biar tahu jeroan windows, dimana disimpan tuch database password dan bagaimana cara kerja Teknologi encryption nya, and efek samping program ini ("kaya obat :D ")

Note : Kata Azhar "Bagi-bagilah Ilmu itu Pren :) ". Makanya kalau ada nyang baca ini jgn pelit yach sharing Knowledge ke nyang ngebutuhin..

The Offline NT Password Editor

(c) 1997-2004 Petter Nordahl-Hagen

See COPYING for copyright & credits.
See INSTALL for compile/installation instructions.

Where to get more info:
-----------------------

http://home.eunet.no/~pnordahl/ntpasswd/

At that site there's a floppy and a bootable CD that use chntpw to
access the NT/2k/XP-system it is booted on to edit password etc.
The instructions below are for the standalone program itself, not the floppy.

What does it do?
----------------

This little program will enable you to view some information and
change user passwords in a Windows NT SAM userdatabase file.
You do not need to know the old passwords.
However, you need to get at the file some way or another yourself.
In addition it contains a simple registry editor with full write support,
and hex-editor which enables you to
fiddle around with bits&bytes in the file as you wish yourself.

Why?
----

I often forget passwords. Especially on test installations (that
I just _must_ have some stuff out of half a year later..)
On most unix-based boxes you just boot the thingy off some kind
of rescue bootmedia (cd/floppy etc), and simply edit the
password file.
On Windows NT however, as far as I know, there is no way except reinstalling
the userdatabase, losing all users except admin.
(ok, some companies let you pay lotsa $$$$$ for some rescue service..)

How?
----

Currently, this thing only runs under linux, but it may just happen
to compile on other platforms, too.
(there are dos-versions available, look for links on my webpage)
So, to set a new adminpassword on your NT installation you either:
1) Take the harddrive and mount it on a linux-box
2) Use a linux-bootdisk or CD
one is available at: http://home.eunet.no/~pnordahl/ntpasswd/
ie. you do it offline, with the NT system down.

Usage:
------
chntpw version 0.99.2 040105, (c) Petter N Hagen
chntpw: change password of a user in a NT SAM file, or invoke registry editor.
chntpw [OPTIONS] [systemfile] [securityfile] [otherreghive] [...]
-h This message
-u Username to change, Administrator is default
-l list all users in SAM file
-i Interactive. List users (as -l) then ask for username to change
-e Registry editor. Now with full write support!
-d Enter buffer debugger instead (hex editor),
-t Trace. Show hexdump of structs/segments. (deprecated debug function)
-v Be a little more verbose (for debuging)
-L Write names of changed files to /tmp/changed
-N No allocation mode. Only (old style) same length overwrites possible

Normal usage is:

> chntpw sam system security
- open registry hives 'sam' and 'system' and change administrator account.
Verions dated later from Feb 1999 and later also supports
and will find the admin account, even if the name has been changed,
or the name has been localized (different languageversion of NT
use different admin-names)

The -u option:
Specifies user to change:

> chntpw -u jabbathehutt mysam
- Prompt for password for 'jabbathehutt', if found (otherwise do nothing)

Or you may give RID number in hex:
> chntpw -u 0x1f4 mysam
- Will edit administrator.

Names does not support multibyte (unicode) characters like
some russian and asian locales. Give RID in hex to edit users
with such names. Must start with 0x. Ex: 0x2fa

The -l option:
Will list all users in the sam-file.

The -i option:
Go into the interactive menu system.

The -d option:
This will load the file, and then immediately enter the
buffer debugger.
This is a simple hex-editor with only a few commands,
enter ? at the . prompt to se a short command overview.
'q' exits without saving, 's' exit and saves.

The -e option:
Will enter the registry editor.
You can navigate the registry like a filesystem at the command-line prompt:
See regedit.txt file for more info.

The -t option:
This is a debug function (extended -l) to show how it traces the chain
of structs in the file. This also includes a raw interpretation
of the different registry structures + a hex dump.

The -L option:
Drops the filenames of the changed hives in /tmp/changed
Used by the floppy scripts.

The -N option:
Will fall back to old edit mode, disable the block allocations
and only support overwrite-same-size. Used to ensure safety
in testing period.

How does it work:
-----------------

A struct, called the V value of a key in the NT registry
was suddenly somewhat documented through the pwdump utility
included in the unix Samba distribution.
This struct contains some info on a user of the NT machine,
along with 2 crypted versions of the password associated
with the account.

One password is the NT console login password,
the other the LANMAN network share password
(which essentially is the first one in uppercase only,
and no unicode)

This is how NT encrypts the passwords:

The logon cleartext password a user enters is:
1) Converted to unicode
2) A MD4 hash is made out of the unicode string
3) Then the hash is crypted with DES, using the RID (lower
part of the SID, userid) as the crypt key.
This is the so called "obfuscation" step, so
it's not obvious on a hex dump of the file
that two or more users have the same password.
4) The result of stage 3 (16 bytes) is put into the V struct.

For the LANMAN password:
1) Uppercased (and illegal characters probably removed)
14 bytes max, if less the remaining bytes are zeroed.
2) A known (constant) string is DES-encrypted
using 7 first characters of the password as the key.
Another constant is encrypted using the last 7 chars
as the key.
The result of these two crypts are simply appended,
resulting in a 16 byte string.
3) The same obfuscation DES stage as 3 above.
4) 16 bytes result put into the V struct.

Since the number of possible combinations in the lanman
password is relatively low compared to the other one,
and it's easy to see if it's shorter than 8 chars or not
it's used first in brute-force-crackers.

This program, however, don't care at all what the old
one is, it just overwrites it with the new one.

Ok. So, how do we find and identify the V struct?
Yeah.. that was the hard part.. The files structure
is not documented (as far as I know..)

But, with help from an unnamed German, and a lot of testing
and guesswork from myself, it's now possible to follow
the actual registry tree. (see source code for struct-defines
and comments on the registry structure)

The usernames are listed in:
\SAM\Domains\Account\Users\Names
[2d18] \SAM\Domains\Account\Users\Names> l
ls of node at offset 0x2d1c
Node has 4 subkeys and 1 values
nk-offset name
0x003290 -
0x003630 -
0x001c88 -
0x003428 -

Each name is a subkey, with one namless value containing
the RID.

[2d18] \SAM\Domains\Account\Users\Names> cd pnh

[3428] \SAM\Domains\Account\Users\Names\pnh> l
ls of node at offset 0x342c
Node has 0 subkeys and 1 values
vk-offs size type name
0x003688 0 (unknown) <> INLINE: val (in type field?): 1000 (0x3e8)

To get the userinfo (V struct), access
\SAM\Domains\Account\Users\\V

[2c90] \SAM\Domains\Account\Users> l
ls of node at offset 0x2c94
Node has 5 subkeys and 1 values
nk-offset name
0x003320 - <000001f4>
0x0036b8 - <000001f5>
0x003550 - <000003e8>
0x001d00 - <000003e9>
0x002d18 -

[2c90] \SAM\Domains\Account\Users> cd 000003E8

[3550] \SAM\Domains\Account\Users\000003E8> l
ls of node at offset 0x3554
Node has 0 subkeys and 2 values
vk-offs size type name
0x0035a8 80 REG_BINARY
0x003228 508 REG_BINARY

For more techincal info, look it up in the source code.

Thursday, December 01, 2005

Solusi untuk windows protection error, Please restart computer

Jika pada saat booting terjadi "windows protection error", Please restart computer
ps: Jika ada kerusakan bukan tanggung jawab saya :P
>>=============================================
Start your computer in Safe mode. For information about how to start your computer in Safe mode, view one of the following sections, depending on your operating system.

Windows 98 and Windows 98 Second Edition
To start Windows 98 in Safe mode, restart your computer, press and hold down the CTRL key until the Windows 98 Startup menu appears, and then choose Safe Mode.

If you do not receive the error message when you start your computer in Safe mode or when you shut down your computer from Safe mode

If Windows 98 starts in Safe mode, step through the startup process to see if any devices do not load properly:
1. Click Start, click Run, type msconfig in the Open box, and then click OK.
2. Click Selective Startup.
3. Try different boot options. The following table lists several startup options. The options are labeled Boot A, Boot B, Boot C. To use a boot option, click the appropriate check boxes to select or clear them. Follow the instructions below the table to determine the cause of your problem.

Boot A Boot B Boot C
------------------------------------------------------------
Process Config.sys file Yes No Yes
Process Autoexec.bat file Yes No Yes
Process Winstart.bat (if available) Yes Yes No
Process System.ini file No Yes Yes
Process Win.ini file No Yes Yes
Load Startup Group items Yes Yes No



NOTE: The Msconfig tool cannot disable a file that has the read-only attribute, although it behaves as though it can. To determine if the Msconfig tool has replaced the file you are attempting to disable with a copy of the file, text similar to the following text should appear at the beginning of the file:

rem
rem *** DO NOT EDIT THIS FILE! ***
rem
rem This file was created by the System Configuration Utility as
rem a placeholder for your AUTOEXEC.BAT file. Your actual
rem AUTOEXEC.BAT file has been saved under the name AUTOEXEC.TSH.
rem



NOTE: If Windows 98 does not start normally under any of the following scenarios, see the "Troubleshooting Protected-Mode Driver Problems" section later in this article.

First, try the Boot A option. If Windows 98 does not start normally under these conditions, try the Boot B option. If Windows 98 does start normally using the Boot A option, there is a problem in the System.ini or Win.ini file. To find which line in the System.ini or Win.ini file is causing the problem:

a. Click Start, click Run, type msconfig in the Open box type, and then click OK.
b. Click the Win.ini tab.
c. Double-click the Windows folder.
d. Click to clear the load= and run= check boxes.
e. Click OK.
f. When you are prompted to restart your computer, click Yes.
If Windows 98 starts normally using the Boot B option, there is a problem with a driver or terminate-and-stay-resident (TSR) program being loaded from the Config.sys or Autoexec.bat file. See the "Troubleshooting TSR Problems" section later in this article.

If Windows 98 does not start normally with the Boot A or Boot B options, try the Boot C option. If Windows 98 starts normally using the Boot C option, there is a problem with a program that is run during startup. See the "Troubleshooting StartUp Folder Problems" section later in this article.

If you are still unable to start Windows 98 normally, use the System File Checker tool to check for damaged or replaced system files. To start System File Checker, click Start, point to Programs, point to Accessories, point to System Tools, click System Information, and then click System File Checker on the Tools menu.

If you are still unable to start Windows 98 normally, see the "Troubleshooting Protected-Mode Driver Problems"

Troubleshooting StartUp Folder Problems
The problem may be a result of a program that is run during startup. To determine which program is causing the problem:
1. Click Start, click Run, type msconfig in the Open box, and then click OK.
2. Click the Startup tab, and then click each check box to clear it.
3. Click OK, and then restart your computer when you are prompted to do so.
If the problem is resolved, follow these steps:
1. Click Start, click Run, type msconfig in the Open box, and then click OK.
2. On the Startup tab, click the first check box in the list to select it.
3. Click OK. and then restart your computer when you are prompted to do so.
If the problem is still resolved, repeat steps 1-3, but click the next check box in the list to select it. When the problem returns, the last check box you selected is loading a program that is preventing Windows 98 to start normally. Contact the program's manufacturer for further assistance.

There may also be a problem with a TSR being loaded in the Winstart.bat file (if the Winstart.bat file exists). If the Process Winstart.bat File check box is available on the General tab in System Configuration Utility, click the check box to clear it, click OK, and then restart your computer.

The Winstart.bat file is usually located in the Windows folder, and is used to load TSRs that are required only by Windows-based programs.
Troubleshooting TSR Problems
The problem may be a driver or TSR being loaded from the Config.sys or Autoexec.bat file. To determine if this is the case:
1. Click Start, click Run, type msconfig in the Open box, and then click OK.
2. Click Selective Startup, and then click the Process Autoexec.bat File check box to clear it.
3. Click OK, and then restart your computer when you are prompted to do so.
If the problem is resolved, the problem driver or TSR is being loaded from the Autoexec.bat file. If the problem is not resolved, the problem driver or TSR is being loaded from the Config.sys file. To determine which line in the Autoexec.bat or Config.sys file is loading the driver or TSR, follow these steps:
1. Click Start, click Run, type msconfig in the Open box, and then click OK.
2. Click the Autoexec.bat or Config.sys tab, and then click the check boxes for all non-essential drivers and programs to clear them.
3. Click OK, and then restart your computer when you are prompted to do so.
If the problem is resolved, follow these steps:
1. Click Start, click Run, type msconfig in the Open box, and then click OK.
2. On the Autoexec.bat or Config.sys tab, click the first check box in the list to select it.
3. Click OK, and then restart your computer when you are prompted to do so.
If the problem is still resolved, repeat steps 1-3, but click the next check box in the list to select it. When the problem returns, the last check box you selected is loading the driver or TSR that is causing the problem. Contact the manufacturer of the program for further assistance.

If the problem is not resolved, run the Windows Registry Checker as there may be a problem with the system registry. To start Windows Registry Checker, click Start, point to Programs, point to Accessories, point to System Tools, click System Information, and then click Registry Checker on the Tools menu.
Troubleshooting Protected-Mode Driver Problems
The problem may be a Windows 98 protected-mode driver. To determine if this is the case, follow these steps:
1. Click Start, click Run, type msconfig in the Open box, and then click OK.
2. On the General tab, click Advanced.
3. Under Settings, click a check box to select it.
4. Click OK, click OK again, and then restart your computer.

Good Point To Share, Buat Motivasi Kamu...

Good point to share…..


Suatu hari keledai milik seorang petani jatuh ke dalam sumur.Hewan itu
menangis dengan memilukan selama berjam-jam semetara si petani memikirkan
apa yang harus dilakukannya.

Akhirnya, Ia memutuskan bahwa hewan itu sudah tua dan sumur juga perlu
ditimbun (ditutup - karena berbahaya);jadi tidak berguna untuk menolong si
keledai. Dan ia mengajak tetangga-tetangganya untuk datang membantunya.
Mereka membawa sekop dan mulai menyekop tanah ke dalam sumur.

Pada mulanya, ketika si keledai menyadari apa yang sedang terjadi, ia
menangis penuh kengerian.Tetapi kemudian, semua orang takjub, karena si
keledai menjadi diam. Setelah beberapa sekop tanah lagi dituangkan ke dalam
sumur, si petani melihat ke dalam sumur dan tercengang karena apa yang
dilihatnya.

Walaupun punggungnya terus ditimpa oleh bersekop-sekop tan ah dan kotoran, si
keledai melakukan sesuatu yang menakjubkan. Ia mengguncang-guncangkan
badannya agar tanah yang menimpa punggungnya turun ke bawah, lalu menaiki
tanah itu.

Sementara tetangga-2 si petani terus menuangkan tanah kotor ke atas punggung
hewan itu, si keledai terus juga menguncangkan badannya dan melangkah naik.
Segera saja, semua orang terpesona ketika si keledai meloncati tepi sumur
dan melarikan diri !

Tuesday, November 29, 2005

PKS Watch: Tentang Blog Ini

Catatan : Gue belum baca semua Blog ini namun dari descrption tentang Blog Ini gue yakin blog ini ditulis oleh seseorang yang bertanggung jawab dan tidak mencari kepopuleran, wallahu wallam
setelah baca sebagian blogg ini..
Komentar gue..:
Wah Insya Allah ni Blog bakal jadi sumber inspirasi dan sebuah jejak yang menarik untuk di jadikan suatu referensi bagi simpatisan PKS yang menginginkan kemajuan PKS.
Sama seperti penulis Blog Ini gue juga dulu berharap dengan PKS maka ada perubahan bangsa ini akan lebih cepat dengan tujuan dan kualitas dari PKS walau sekarang gue Lihat cukup sulit juga PKS mengambil keputusan yang benar-benar sesuai dengan hasil memuaskan semua kader, semua butuh kompromi politik walau itu bukan sesuatu yang dilarang dan salah.
Gue ga bisa nulis cuma seneng dan merasa memiliki PKS, soalnya dulu ga percaya dengan namanya partai, tapi mulai 2004 gue pilih PKS.Insya Allah, PKS tetap dengan tujuan semula dan konsisten akan perjuangannya

Cuma mau tanya penulis tinggal di JKT, Depok ??
Salam Kenal