1.1 MENGENAL UNIX
Dibanding dengan sistem operasi yang lain, mungkin UNIX
bukan yang terbaik. Akan tetapi sebagian besar sistem
operasi non-UNIX itu hanya untuk komputer tertentu. Suatu
aplikasi yang dirancang pada sistem operasi tertentu tidak
dapat dengan mudah dioperasikan pada komputer dengan sistem
operasi yang berbeda.
Ketergantungan terhadap komputer tertentu dirasakan
kurang menguntungkan oleh pihak pemakai. Pada umumnya
pemakai menginginkan suatu sistem yang dapat mengoperasikan
perangkat lunak yang standar pada perangkat keras dari
berbagai vendor yang saling bersaing.
UNIX saat ini tengah memasuki proses penyempurnaan
untuk memenuhi kebutuhan standar itu. Dari pihak vendor baik
di Amerika, Eropa maupun Asia menyadari bahwa UNIX memberi
standar dunia yang memungkinkan pemakai menghindari
ketergantungan terhadap vendor tertentu. Dan standarisasi
sistem operasi berbasis UNIX yang ada saat ini berkembang
untuk mendukung terbentuknya lingkungan komputasi sistem
terbuka (open system computing).
1.2 STRUKTUR DAN KEMAMPUAN UNIX
UNIX adalah sistem operasi komputer. Yang dimaksud
dengan sistem operasi komputer adalah program yang berguna
untuk mengendalikan sistem komputer. Sistem operasi akan
mengalokasikan sumber daya komputer dan penjadualan proses.
Sumber daya dapat berupa :
- waktu CPU
- memory
- disk
- tape
- printer
- terminal
- modem
- piranti lain yang dihubungkan dengan komputer.
Sistem operasi juga merupakan penghubung antara pemakai
dengan perangkat keras dan memberikan cara bagaimana pemakai
melakukan akses pada sumber daya komputer tersebut. Hubungan
antara pemakai, sistem operasi dan perangkat keras
digambarkan pada gambar 1.1 sebagai berikut:
+-----------------------+
| pemakai |
+-----------------------+
| sistem operasi |
+-----------------------+
| perangkat keras |
+-----------------------+
Gambar 1.1 Sistem Operasi
Pada mulanya UNIX dikembangkan di komputer besar,
namun kini banyak pula terdapat pada komputer sedang bahkan
komputer mikro.
Struktur sistem UNIX terdiri dari beberapa bagian.
Untuk memudahkan dalam menerangkan struktur UNIX, maka
sistem UNIX akan diuraikan menjadi beberapa lapisan.
Lapisan-lapisan tersebut digambarkan sebagai berikut:
+---------------------------+
| s h e l l <----------- Bourne Shell
| ................... | C shell
awk --------------> Utilitas . | Korn Shell
grep | . +-------------+ . |
make | . | Kernel | . |
cp | . | +---------+ | . |
... | . | | h/w <-------------- Komputer
| . | | sistem | | . | Printer
| . | +---------+ | . | Disk
| . +-------------+ . | Tape
| ................... | ...
| |
+---------------------------+
Gambar 1.2 Sistem UNIX
a. Lapisan yang paling dalam adalah komputer dan
piranti pendukungnya, seperti disk, tape, printer
dan lain-lain. Ini semua disebut perangkat keras
sistem.
b. Di seputar perangkat keras tersebut terdapat
sejumlah program yang menangani secara detail
seperti sumber daya komputer, mengorganisir sistem
file, mengurus disk dan tape. Pengoperasian yang
dilakukannya sangat detil sehingga tidak perlu
diketahui oleh pemakai. Lapisan ini kita sebut
kernel. Kernel merupakan otak dari otak dari sistem
operasi.
c. Kernel menyediakan lapis dukungan, yaitu berupa
program utilitas. Utilitas berfungsi untuk melakukan
akses sistem bagi pemakai. Utilitas-utilitas yang
agak sederhana dapat dikombinasikan dengan memakai
fasilitas pemipaan.
d. Lapis terluar dari sistem UNIX adalah shell. Shell
merupakan penghubung antara pemakai dan sistem. Bila
pemakai mengetikkan sebuah perintah, shell
menerjemahkan perintah tersebut dan mengatakan
kepada kernel apa yang harus dilakukan.
Sesungguhnya shell merupakan bagian dari utilitas.
Namun karena kerumitannya dan fungsinya yang sedikit
unik, maka shell cenderung dianggap sebagai lapis
terpisah.
Kemampuan-kemampuan yang dimiliki oleh UNIX antara lain
sebagai berikut:
o Multiuser
Sistem dapat digunakan oleh lebih dari satu orang
pada satu saat. Tentunya untuk melakukan hal ini
harus digunakan lebih dari satu terminal yang
dihubungkan. Selanjutnya, kita dapat memakai file,
program bahkan piranti-piranti yang terhubung dengan
komputer secara bersama.
o Multitasking
Sistem dapat melakukan beberapa tugas atau proses
pada waktu yang bersamaan. Dengan demikian sesorang
dapat memiliki satu proses yang sedang berkomunikasi
langsung dengan terminal, tetapi juga memiliki proses
lain dengan prioritas yang lebih rendah.
o Sistem File
Organisasi file di UNIX memiliki struktur pohon
(tree) yang terdiri dari file dan direktori. Struktur
tersebut diawali oleh akar (root) sebagai awal dari
seluruh direktori yang ada. Karakteristik dari
sistem file UNIX antara lain:
- konsisten dalam memproses data dan peralatan
- pertumbuhan file dan direktori secara dinamis
- dilengkapi dengan proteksi
o Shell
Shell merupakan antar muka pemakai dengan sistem
UNIX. Shell memiliki kemampuan menterjemahkan
perintah-perintah untuk dilaksanakan oleh kernel
UNIX. Disamping itu, shell memiliki kemampuan sebagai
bahasa pemrograman.
o Utilitas-utilitas
UNIX memiliki lebih dari 200 utilitas yang dapat
digunakan untuk mengelola sistem. UNIX memiliki
sejumlah utilitas yang agak sederhana yang dapat
dikombinasikan dengan memakai pipa dan filter.
o Surat Elektronik
UNIX dilengkapi dengan fasilitas untuk pengiriman
surat antar pemakai di lingkungan sistem UNIX.
o Konsep Perangkat Keras
Perangkat keras yang terhubung pada sistem UNIX akan
dianggap sebagai file biasa. UNIX tidak membedakan
antara perangkat keras dan file biasa. UNIX mengenal
keyboard sebagai masukan standard dan layar terminal
sebagai keluaran standard.
o Komunikasi antar Proses
keluaran dari suatu proses dapat diproses langsung
oleh proses lainnya (lihat bab 4).
o Jaringan
Pemakai UNIX dapat berhubungan dengan pemakai lain
dalam satu komputer (hubungan antar terminal).
Disamping itu pemakai UNIX juga dapat berkomunikasi
dengan pemakai lain pada komputer lainnya dalam satu
jaringan lokal atau LAN. Bahkan pemakai UNIX dapat
berhubungan dengan pemakai lain pada jaringan lain
dalam lingkup jaringan luas atau WAN. Data ditransfer
dari PC ke UNIX, UNIX ke UNIX dan UNIX ke mesin atau
komputer lain melalui:
- kabel komunikasi langsung RS232 (serial comm)
- ethernet
- dial up modem, leased line, public switched data
network.
o Keamanan
UNIX menyediakan fasilitas keamanan untuk pemakai
biasa, pengembang sistem, dan administrator sistem
serta jaringan sistem. Proteksi dilakukan melalui
password (login), perijinan file dan direktori,
enkripsi data, usia password otomatis, shell terbatas
dan identifikasi jaringan.
1.3 SEJARAH UNIX
Sistem operasi UNIX mulai dibuat pada tahun 1969. Pada
waktu itu Ken Tompson dan kawan-kawan sekerjanya khususnya
Dennis Ritchie dan Joseph Ossanna dari Laboratorium Bell,
yang merupakan bagian dari AT&T (American Telephone and
Telegraph), sedang mengerjakan proyek MULTICS. MULTICS
adalah singkatan dari MULTIplexed Information and Computing
Systems, namun beberapa orang ada yang mengartikan sebagai
Many Unnecessarily Large Tables In Core Simultaneously.
Setelah MULTICS selesai, muncul beberapa kejanggalan dan
dinilai kurang ramah dengan lingkungan komputer yang ada.
Kemudian mereka memutuskan untuk membuat sistem operasi
baru. Namun Ken tidak ingin menulis keseluruhan dari awal,
mereka melanjutkan dan memodifikasi beberapa kemampuan yang
ada pada MULTICS.
Nama UNIX itu sendiri berasal dari kata UNICS yaitu
Uniplexed Information and Computing Systems, yang dicetuskan
oleh Brian Kernighan pada tahun 1970. Saat itu UNIX masih
ditulis dalam bahasa assembly untuk komputer DEC PDP 7.
Pada tahun yang sama, UNIX berhasil pula
diimplementasikan pada komputer DEC PDP-11/20. Waktu itu
yang pertama kali menggunakan UNIX adalah kantor
Laboratorium Bell, yaitu untuk sistem pengolahan teks.
Kantor ini tercatat sebagai pemakai UNIX yang pertama di
dunia.
UNIX terus berkembang dan beberapa fasilitas pendukung
pemakai mulai dilengkapi, seperti fasilitas pengeditan dan
pemformatan. Akhirnya pada tahun 1971 lahirlah UNIX versi
pertama.
Pada musim panas 1973 UNIX ditulis kembali dalam bahasa
C. Pada saat itu kernel UNIX, yaitu inti sistem operasi yang
mengatur keseluruhan proses termasuk masukan dan keluaran,
terdiri atas 10.000 baris program C dan sekitar 1000 baris
program assembly. Dengan menggunakan bahasa C, sistem
operasi ini menjadi lebih mudah dimengerti dan dikembangkan.
UNIX yang dikeluarkan pada tahun 1973 disebut UNIX versi 4.
Jumlah pemakai UNIX di Laboratorium Bell bertambah
banyak dan dukungan pengembangan semakin dibutuhkan. Untuk
itu dibentuk dua kelompok peneliti lain di Laboratorium
Bell. Pada perkembangan selanjutnya ternyata kedua kelompok
ini saling bersaing.
Kelompok pertama dikenal dengan nama PWB (Programmer's
Workbench). Kelompok ini dipimpin oleh Rudd Canaday. Mereka
pada dasarnya disamping memberi dukungan juga mengembangkan
UNIX khususnya untuk perangkat lunak-perangkat lunak besar.
Hasil kerjanya yang pertama diberi nama PWB/UNIX 1.0
Kelompok kedua diberi nama USG (UNIX Suport Group).
Mula-mula kelompok ini hanya menyediakan dukungan saja,
namun selanjutnya kelompok ini mencoba membuat beberapa
versi UNIX untuk kebutuhan sendiri. Mereka memperkenalkan
versi terbarunya yang diberi nama MERT (Multi Environtment
Real-Time). MERT ini sama dengan konsep mesin virtual.
Pada tahun 1974 UNIX versi 5 dikeluarkan. Versi ini
secara resmi dibuat untuk tujuan pendidikan. UNIX versi
inilah yang diajarkan di berbagai universitas. Konon
harganya sangat murah sekali.
UNIX semakin populer setelah Laboratorium Bell
mengeluarkan UNIX versi 6 pada bulan Mei 1975. Versi ini
merupakan versi pertama yang dapat diperoleh kalangan luar
Laboratorium Bell dengan membayar royalti. Hal ini
menyebabkan banyak institusi lain yang ikut mengembangkan
UNIX, antara lain Rand, BBN (Bolt Beranek and Newman),
Universitas Illinois, Harvard, Purdue dan Universitas
California di Berkeley. Pengembangan yang paling potensial
adalah yang dilakukan oleh Universitas California Barkeley.
Versi yang dikeluarkan diberi nama UNIX versi BSD (Berkeley
Software Distributions).
UNIX versi 7 dikeluarkan pada tahun 1979 dengan
dilengkapi kompiler C dan sebuah shell yang diberi nama
Bourne shell. Sifat portabilitas mulai didapat pada UNIX
versi ini. Versi ini merupakan basis bagi semua pengembangan
sistem UNIX yang bersifat komersial.
Pada awal tahun 80-an, SCO (The Santa Cruz Operation)
bekerja sama dengan Microsoft mengimplementasikan UNIX pada
Intel 8086 dan beberapa mikroprosesor lainnya. Versi UNIX
ini dikenal dengan nama SCO XENIX. Saat ini XENIX sudah
sangat populer di kalangan pemakai UNIX di komputer mikro.
Persaingan antara kelompok USG dan PWB berakhir pada
tahun 1982. Mereka bergabung menjadi USDL (Unix System
Development Laboratory) dan memperkenalkan UNIX system III.
UNIX system V baru muncul pada tahun 1983 oleh AT&T
Information System. Versi inilah yang paling banyak beredar
sampai saat ini disamping UNIX versi BSD. UNIX system V ini
mencakup beberapa kemampuan dari BSD, seperti editor vi dan
C shell.
Dengan demikian kronologis pengembangan UNIX yang telah
diuraikan di atas dapat dirinci sebagai berikut:
1969 UNIX lahir pada PDP-7
1971 UNIX Versi 1, pada DEC PDP-11/20
1973 UNIX Versi 4, dalam bahasa C
dibentuk kelompok PWB dan USG
1974 UNIX Versi 5, untuk pendidikan
1975 UNIX Versi 6, disebar ke litbang Universitas
timbul versi BSD
1979 UNIX Versi 7, portable dan dilengkapi dengan
kompiler C dan Bourne Shell
1982 UNIX System III, Gabungan PWB dan USG
1983 UNIX System V, ditambahkan versi BSD
seperti vi dan C shell
1.4 TENTANG BUKU INI
1.4.1 Tata Cara Penulisan Huruf
Dalam buku ini, kami menyajikan beberapa jenis huruf.
Secara umum tata cara penulisan huruf yang digunakan dalam
buku ini adalah sebagai berikut:
a. Teks biasa
Disamping digunakan untuk bacaan biasa, jenis huruf
ini digunakan untuk memperlihatkan keluaran atau
response dari sistem.
b. Huruf miring
Digunakan untuk nama file atau istilah asing. Jika
huruf miring tersebut di letakkan di dalam tanda
kurung maka diartikan sebagai komentar atau
penjelasan dari operasi yang tengah dilakukan (tidak
terlihat pada layar terminal sistem).
c. Huruf tebal
Digunakan untuk menandakan masukan yang diketikkan
oleh pemakai yang akan dikirim ke dalam sistem.
d. Karakter ^
Digunakan untuk perintah penekanan tombol kontrol
pada keyboard yang diikuti oleh huruf lain.
Misalnya:
^H penekanan kontrol H
^D penekanan kontrol D
^C penekanan kontrol C
Awas, ^H tidak sama dengan penekanan tombol ^ dan
tombol H !
e. Karakter $
Digunakan sebagai tanda prompt atau menyatakan
bahwa shell telah siap menerima perintah yang akan
dikirim ke dalam sistem.
f. Huruf tebal bergaris bawah
Digunakan untuk menandakan bahwa karakter-karakter
tersebut merupakan masukan yang diketikkan oleh
pemakai namun hasil ketikannya tidak ditampilkan ke
layar terminal.
Untuk lebih jelasnya, maka perhatikan contoh-contoh
berikut ini:
Login: denny
Password : yerianto (yerianto tak terlihat mata!)
$ ls
bin
data
program
rahasia
tmp
$
Kata Login dan Password merupakan keluaran sistem. Kata
denny merupakan masukan dari pemakai. Kata yerianto
merupakan masukan yang diketikkan oleh pemakai namun hasil
ketikkannya tidak ditampilkan pada layar terminal. Kalimat
(yerianto tak terlihat mata!) merupakan penjelasan terhadap
operasi yang tengah dilakukan. Karakter $ merupakan prompt
UNIX, yaitu UNIX yang menggunakan Bourne shell, yang berarti
bahwa UNIX siap menerima perintah yang akan dikirm ke dalam
sistem. Kemudian kata ls merupakan perintah yang diketikkan
melalui terminal oleh pemakai yang selanjutnya oleh shell
akan dikirim ke dalam sistem. Hasil operasi perintah yang
dimasukkan ditampilkan ke layar sebagai keluaran sistem,
seperti terlihat yaitu bin, data, program, rahasia dan tmp.
Selanjutnya shell siap menerima perintah berikutnya, hal ini
ditandai dengan karakter $.
1.4.2 Apa saja yang akan dipelajari
Akan memberikan tuntunan praktis untuk bekerja di
dalam UNIX. Tuntunan diberikan melalui uraian-uraian singkat
dengan dilengkapi contoh-contoh yang bervariasi dan disertai
beberapa contoh kasus.
Secara Umum materi yang tercakup di dalam ini
adalah sebagai berikut:
Bab 1 : Sekilas tentang kemampuan dan perkembangan
sistem operasi UNIX.
Bab 2 : Pengertian rekening pemakai, password dan
prosedur penggunaan UNIX.
Bab 3 : Konsep file dan direktori serta operasi
yang berhubungan dengan keduanya.
Bab 4 : Konsep proses dan hubungan antar proses,
seperti pemipaan, filter dan pengalihan
arah masukan dan keluaran.
Bab 5 : Utilitas-utilitas UNIX seperti grep, sort
cut, cmp, diff, find dan lain-lain.
Bab 6 : Penggunaan editor teks UNIX, seperti vi,
ex dan sed.
Bab 7 : Pengertian tentang shell dan teknik
pemrogramannya.
Bab 8 : Fasilitas untuk melakukan komunikasi antar
pemakai di dalam sistem.
Materi ini menyajikan materi tentang UNIX system V. Namun
demikian, tidak menutup kemungkinan dapat digunakan pada
UNIX versi BSD karena dasar-dasar UNIX-nya tidak jauh
berbeda. (Bersambung)
HAK CIPTA OLEH VLSM PEMULA 2000, www.pemula.com
BY : Denny Yerianto
Showing posts with label all. Show all posts
Showing posts with label all. Show all posts
Sunday, October 3, 2010
Thursday, July 1, 2010
Google Hacks
by
Debasis Mohanty (Orissa, India)
www.hackingspirits.com
Introduction
Google’s Advance Search Query Syntaxes
[ intitle: ]
[ inurl: ]
[ related: ]
Querying for vulnerable sites or servers using Google’s advance syntaxes
Looking for vulnerable sites or servers using “inurl:” or “allinurl:”
Other similar search using “inurl:” or “allinurl:” combined with other syntaxs
Looking for vulnerable sites or servers using “intitle:” or “allintitle:”
To search for sites vulnerable to Cross-Sites Scripting (XSS) attacks:
Conclusion
Debasis Mohanty (Orissa, India)
www.hackingspirits.com
Introduction
I have been thinking of publishing this paper since long but due to lack of time I was not able to complete it. I use to add and keep this paper updated when I get tired of my daily researchwork.Google is world’s most popular and powerful search engine which has the ability to accept pre-defined commands as inputs and produce unbelievable results. This enables malicious users like hackers, crackers, and script kiddies etc to use Google search engine extensively to gather confidential or sensitive information which are not visible through common searches.
In this paper I shall cover the below given points that an administrators or security professionals must take into account to prevent such information disclosures:
- Google’s Advance Search Query Syntaxes
- Querying for vulnerable sites or servers using Google’s
- Securing servers or sites from Google’s invasion
Google’s Advance Search Query Syntaxes
Below discussed are various Google’s special commands and I shall be explaining each command in brief and will show how it can be used for critical information digging.
[ intitle: ]
The “intitle:” syntax helps Google restrict the search results to pages containing that word in the title. For example, “intitle: login password” (without quotes) will return links to those pages that has the word "login" in their title, and the word "password" anywhere in the page.Similarly, if one has to query for more than one word in the page title then in that case “allintitle:” can be used instead of “intitle” to get the list of pages containing all those words in its title. For example using “intitle: login intitle: password” is same as querying “allintitle: login password”.
[ inurl: ]
The “inurl:” syntax restricts the search results to those URLs containing the search keyword. For example: “inurl: passwd” (without quotes) will return only links to those pages that have "passwd" in the URL.Similarly, if one has to query for more than one word in an URL then in that case “allinurl:” can be used instead of “inurl” to get the list of URLs containing all those search keywords in it. For example: “allinurl:etc/passwd“ will look for the URLs containing “etc” and “passwd”. The slash (“/”) between the words will be ignored by Google.
[ site: ]The “site:” syntax restricts Google to query for certain keywords in a particular site or domain. For example: “exploits site:hackingspirits.com” (without quotes) will look for the keyword “exploits” in those pages present in all the links of the domain “hackingspirits.com”. There should not be any space between “site:” and the “domain name”.
[ filetype: ]This “filetype:” syntax restricts Google search for files on internet with particular extensions (i.e. doc, pdf or ppt etc). For example: “filetype:doc site:gov confidential” (without quotes) will look for files with “.doc” extension in all government domains with “.gov” extension and containing the word “confidential” either in the pages or in the “.doc” file. i.e. the result will contain the links to all confidential word document files on the government sites.
[ link: ]“link:” syntax will list down webpages that have links to the specified webpage. For Example: “link:www.securityfocus.com” will list webpages that have links pointing to the SecurityFocus homepage.
Note there can be no space between the "link:" and the web page url.
Note there can be no space between the "link:" and the web page url.
[ related: ]
The “related:” will list web pages that are "similar" to a specified web page. For Example: “related:www.securityfocus.com” will list web pages that are similar to the Securityfocus homepage. Note
there can be no space between the "related:" and the web page url.
[ cache: ]there can be no space between the "related:" and the web page url.
The query “cache:” will show the version of the web page that Google has in its cache. For Example: “cache:www.hackingspirits.com” will show Google's cache of the Google homepage. Note there can be
no space between the "cache:" and the web page url. If you include other words in the query, Google will highlight those words within the cached document. For Example: “cache:www.hackingspirits.com guest” will show the cached content with the word "guest" highlighted.
[ intext: ]no space between the "cache:" and the web page url. If you include other words in the query, Google will highlight those words within the cached document. For Example: “cache:www.hackingspirits.com guest” will show the cached content with the word "guest" highlighted.
The “intext:” syntax searches for words in a particular website. It ignores links or URLs and page titles. For example: “intext:exploits” (without quotes) will return only links to those web pages that has the search keyword "exploits" in its webpage.
[ phonebook: ]“phonebook” searches for U.S. street address and phone number information. For Example: “phonebook:Lisa+CA” will list down all names of person having “Lisa” in their names and located in
“California (CA)”. This can be used as a great tool for hackers incase someone want to do dig personal information for social engineering.
“California (CA)”. This can be used as a great tool for hackers incase someone want to do dig personal information for social engineering.
Querying for vulnerable sites or servers using Google’s advance syntaxes
Well, the Google’s query syntaxes discussed above can really help people to precise their search and get what they are exactly looking for.Now Google being so intelligent search engine, malicious users don’t mind exploiting its ability to dig confidential and secret information from internet which has got restricted access. Now I shall discuss those techniques in details how malicious user dig information from internet using Google as a tool.Using “Index of ” syntax to find sites enabled with Index browsing A webserver with Index browsing enabled means anyone can browse the webserver directories like ordinary local directories. Here
I shall discuss how one can use “index of” syntax to get a list links to webserver which has got directory browsing enabled. This becomes an easy source for information gathering for a hacker. Imagine if the get hold of password files or others sensitive files which are not normally visible to the internet.Below given are few examples using which one can get access to many sensitive information much easily.
I shall discuss how one can use “index of” syntax to get a list links to webserver which has got directory browsing enabled. This becomes an easy source for information gathering for a hacker. Imagine if the get hold of password files or others sensitive files which are not normally visible to the internet.Below given are few examples using which one can get access to many sensitive information much easily.
- Index of /admin
- Index of /passwd
- Index of /password
- Index of /mail
- "Index of /" +passwd
- "Index of /" +password.txt
- "Index of /" +.htaccess
- "Index of /secret"
- "Index of /confidential"
- "Index of /root"
- "Index of /cgi-bin"
- "Index of /credit-card"
- "Index of /logs"
- "Index of /config"
Looking for vulnerable sites or servers using “inurl:” or “allinurl:”
- Using “allinurl:winnt/system32/” (without quotes) will list down all the links to the server which gives access torestricted directories like “system32” through web. If you are lucky enough then you might get access to the cmd.exe in the“system32” directory. Once you have the access to “cmd.exe”and are able to execute it then you can go ahead in furtherescalating your privileges over the server and compromise it.
- Using “allinurl:wwwboard/passwd.txt”(without quotes) in the Google search will list down all the links to the server which are vulnerable to “WWWBoard Password vulnerability”. To knowmore about this vulnerability you can have a look at thefollowing link:http://www.securiteam.com/exploits/2BUQ4S0SAW.html
- Using “inurl:.bash_history” (without quotes) will list down all the links to the server which gives access to“.bash_history” file through web. This is a command history file. This file includes the list of command executed by the administrator, and sometimes includes sensitive information such as password typed in by the administrator. If this file is compromised and if contains the encrypted unix (or *nix) password then it can be easily cracked using “John TheRipper”.
- Using “inurl:config.txt” (without quotes) will list down allthe links to the servers which gives access to “config.txt” file through web. This file contains sensitive information,including the hash value of the administrative password and database authentication credentials. For Example: Ingenium Learning Management System is a Web-based application forWindows based systems developed by Click2learn, Inc. Ingenium Learning Management System versions 5.1 and 6.1 stores sensitive information insecurely in the config.txt file. For more information refer the following links: http://www.securiteam.com/securitynews/6M00H2K5PG.html
Other similar search using “inurl:” or “allinurl:” combined with other syntaxs
- inurl:admin filetype:txt
- inurl:admin filetype:db
- inurl:admin filetype:cfg
- inurl:mysql filetype:cfg
- inurl:passwd filetype:txt
- inurl:iisadmin
- inurl:auth_user_file.txt
- inurl:orders.txt
- inurl:"wwwroot/*."
- inurl:adpassword.txt
- inurl:webeditor.php
- inurl:file_upload.php
- inurl:gov filetype:xls "restricted"
- index of ftp +.mdb allinurl:/cgi-bin/ +mailto
Looking for vulnerable sites or servers using “intitle:” or “allintitle:”
- Using [allintitle: "index of /root”] (without brackets) will list down the links to the web server which gives access torestricted directories like “root” through web. This directory sometimes contains sensitive information which can be easily retrieved through simple web requests.
- Using [allintitle: "index of /admin”] (without brackets) will list down the links to the websites which has got index browsing enabled for restricted directories like “admin” through web. Most of the web application sometimes uses names like “admin” to store admin credentials in it. This directory sometimes contains sensitive information which can be easily retrieved through simple web requests.
- Other similar search using “intitle:” or “allintitle:” combined with other syntaxs
- intitle:"Index of" .sh_history
- intitle:"Index of" .bash_history
- intitle:"index of" passwd
- intitle:"index of" people.lst
- intitle:"index of" pwd.db
- intitle:"index of" etc/shadow
- intitle:"index of" spwd
- intitle:"index of" master.passwd
- intitle:"index of" htpasswd
- intitle:"index of" members OR accounts
- intitle:"index of" user_carts OR user_cart
- allintitle: sensitive filetype:doc
- allintitle: restricted filetype :mail
- allintitle: restricted filetype:doc site:gov
To search for sites vulnerable to Cross-Sites Scripting (XSS) attacks:
- allinurl:/scripts/cart32.exe
- allinurl:/CuteNews/show_archives.php
- allinurl:/phpinfo.php
- allinurl:/privmsg.php
- allinurl:/privmsg.php
Securing servers or sites from Google’s invasion Below given are the security measures which system administrators and security professionals must take into account to secure critical information available online, falling into wrong hands:
- Install latest security patches available till date for the applications and as well as the operating system running on the servers.
- Don’t put critical and sensitive information on servers without any proper authentication system which can be directly accessible to anyone on internet.
- Disable directory browsing on the webserver. Directory browsing should be enabled for those web-folders for which you want to give access to anyone on internet.
- If you find any links to your restricted server or sites in Google search result then it should be removed. Visit the following link for more details: http://www.google.com/remove.html
- Disable anonymous access in the webserver through internet to restricted systems directory.
- Install filtering tools like URLScan for servers running IIS as webserver.
Conclusion
Sometimes increase in sophistication in the systems creates new problems. Google being so sophisticated can be used by any Tom, Dick & Harry on internet to dig sensitive information which is normally neither visible nor reachable to anyone.Well, one can’t stop anyone making something sophisticated then the only options left for the security professionals and systems administrators is to secure and harden their systems from such
un-authorized invasion.
un-authorized invasion.
Subscribe to:
Posts (Atom)
CAtegoRy
2010
(1)
2011
(1)
abbey national mortgage
(1)
addison wesley
(1)
AdvancedJava2PlatformHowToProgram
(1)
all
(2)
android tablet
(1)
approach strategy
(1)
Apress.Pro.NetBeans.IDE.5.5.Enterprise.Edition.Apr.2007
(1)
best mortgage lender
(1)
BIdashboard
(1)
BSD
(1)
cara mempercepat koneksi internet
(1)
case study
(1)
Cheap
(1)
college
(1)
contohdashboard
(1)
dagri
(1)
Dashboard
(2)
Data Bases - Java Persistence for Relational Databases
(1)
Debasis
(1)
Debasis Mohanty (Orissa
(1)
Deface
(1)
Developing Multi Agent Systems with JADE
(1)
disable
(1)
ebook
(3)
email
(1)
employee
(1)
entertainment-life-music
(8)
et al.
(1)
facebook
(1)
fasttrack
(1)
fb
(1)
fesbuk
(1)
firefox
(1)
game booster download free
(1)
Google
(1)
googlw hacks
(2)
hack
(1)
hackers
(1)
hacks
(2)
HMSI
(2)
HMSI DAGRI
(2)
HOYALITAS
(1)
IDM download frree
(1)
India)
(1)
Ipad tablet
(1)
ITS
(2)
Jeff Swisher
(1)
jumbo mortgage loans
(1)
kesehatan
(5)
KMSI
(2)
l
(1)
learning
(1)
lebaran
(1)
linux
(12)
live cd
(1)
mahasiswa
(1)
Michael Landy
(1)
Mohanty.hackingspirits
(1)
monitoring
(1)
Mortgage
(1)
mortgage life cover
(2)
mortgage providers
(1)
My First Retail BI-Dashboard
(1)
online mortgage broker
(1)
OS
(1)
Page Infd
(1)
party city
(1)
password
(1)
proker
(1)
recycler.system
(1)
Saleem Siddiqui
(1)
sarjana
(1)
savers ortgage
(1)
security
(2)
tablet pc
(1)
TCP
(2)
UDP
(1)
unix
(1)
virus
(1)
volume
(1)
windows
(13)
windows 8 tablet
(1)
Windows Cacat
(1)
windows update
(1)
Wirausaha
(1)