If you require any more information or have any questions about our site's disclaimer, please feel free to contact us by email at https://www.facebook.com/dickydraknes.
Disclaimers for http://infokomdns.blogspot.co.id:
All the information on this website is published in good faith and for general information purpose only. http://infokomdns.blogspot.co.id does not make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this website (http://infokomdns.blogspot.co.id), is strictly at your own risk. http://infokomdns.blogspot.co.id will not be liable for any losses and/or damages in connection with the use of our website.
From our website, you can visit other websites by following hyperlinks to such external sites. While we strive to provide only quality links to useful and ethical websites, we have no control over the content and nature of these sites. These links to other websites do not imply a recommendation for all the content found on these sites. Site owners and content may change without notice and may occur before we have the opportunity to remove a link which may have gone 'bad'.
Please be also aware that when you leave our website, other sites may have different privacy policies and terms which are beyond our control. Please be sure to check the Privacy Policies of these sites as well as their "Terms of Service" before engaging in any business or uploading any information.
Consent
By using our website, you hereby consent to our disclaimer and agree to its terms.
Update
This site disclaimer was last updated on: Saturday, January 2nd, 2016 · Should we update, amend or make any changes to this document, those changes will be prominently posted here.
Terms of Service for
If you require any more information or have any questions about our Terms of Service, please feel free to contact us by email at .
Introduction
These terms and conditions govern your use of this website; by using this website, you accept these terms and conditions in full and without reservation. If you disagree with these terms and conditions or any part of these terms and conditions, you must not use this website.
You must be at least 18 [eighteen] years of age to use this website. By using this website and by agreeing to these terms and conditions, you warrant and represent that you are at least 18 years of age.
License to use website
Unless otherwise stated, and/or its licensors own the intellectual property rights published on this website and materials used on . Subject to the license below, all these intellectual property rights are reserved.
You may view, download for caching purposes only, and print pages, files or other content from the website for your own personal use, subject to the restrictions set out below and elsewhere in these terms and conditions.
You must not:
republish material from this website in neither print nor digital media or documents (including republication on another website);
sell, rent or sub-license material from the website;
show any material from the website in public;
reproduce, duplicate, copy or otherwise exploit material on this website for a commercial purpose;
edit or otherwise modify any material on the website;
redistribute material from this website - except for content specifically and expressly made available for redistribution; or
republish or reproduce any part of this website through the use of iframes or screenscrapers.
Where content is specifically made available for redistribution, it may only be redistributed within your organisation.
Acceptable use
You must not use this website in any way that causes, or may cause, damage to the website or impairment of the availability or accessibility of or in any way which is unlawful, illegal, fraudulent or harmful, or in connection with any unlawful, illegal, fraudulent or harmful purpose or activity.
You must not use this website to copy, store, host, transmit, send, use, publish or distribute any material which consists of (or is linked to) any spyware, computer virus, Trojan horse, worm, keystroke logger, rootkit or other malicious computer software.
You must not conduct any systematic or automated data collection activities on or in relation to this website without 's express written consent.
This includes:
scraping
data mining
data extraction
data harvesting
'framing' (iframes)
Article 'Spinning'
You must not use this website or any part of it to transmit or send unsolicited commercial communications.
You must not use this website for any purposes related to marketing without the express written consent of .
Restricted access
Access to certain areas of this website is restricted. reserves the right to restrict access to certain areas of this website, or at our discretion, this entire website. may change or modify this policy without notice.
If provides you with a user ID and password to enable you to access restricted areas of this website or other content or services, you must ensure that the user ID and password are kept confidential. You alone are responsible for your password and user ID security..
may disable your user ID and password at 's sole discretion without notice or explanation.
User content
In these terms and conditions, “your user content” means material (including without limitation text, images, audio material, video material and audio-visual material) that you submit to this website, for whatever purpose.
You grant to a worldwide, irrevocable, non-exclusive, royalty-free license to use, reproduce, adapt, publish, translate and distribute your user content in any existing or future media. You also grant to the right to sub-license these rights, and the right to bring an action for infringement of these rights.
Your user content must not be illegal or unlawful, must not infringe any third party's legal rights, and must not be capable of giving rise to legal action whether against you or or a third party (in each case under any applicable law).
You must not submit any user content to the website that is or has ever been the subject of any threatened or actual legal proceedings or other similar complaint.
reserves the right to edit or remove any material submitted to this website, or stored on the servers of , or hosted or published upon this website.
's rights under these terms and conditions in relation to user content, does not undertake to monitor the submission of such content to, or the publication of such content on, this website.
No warranties
This website is provided “as is” without any representations or warranties, express or implied. makes no representations or warranties in relation to this website or the information and materials provided on this website.
Without prejudice to the generality of the foregoing paragraph, does not warrant that:
this website will be constantly available, or available at all; or
the information on this website is complete, true, accurate or non-misleading.
Nothing on this website constitutes, or is meant to constitute, advice of any kind. If you require advice in relation to any legal, financial or medical matter you should consult an appropriate professional.
Limitations of liability
will not be liable to you (whether under the law of contact, the law of torts or otherwise) in relation to the contents of, or use of, or otherwise in connection with, this website:
to the extent that the website is provided free-of-charge, for any direct loss;
for any indirect, special or consequential loss; or
for any business losses, loss of revenue, income, profits or anticipated savings, loss of contracts or business relationships, loss of reputation or goodwill, or loss or corruption of information or data.
These limitations of liability apply even if has been expressly advised of the potential loss.
Exceptions
Nothing in this website disclaimer will exclude or limit any warranty implied by law that it would be unlawful to exclude or limit; and nothing in this website disclaimer will exclude or limit the liability of in respect of any:
death or personal injury caused by the negligence of or its agents, employees or shareholders/owners;
fraud or fraudulent misrepresentation on the part of ; or
matter which it would be illegal or unlawful for to exclude or limit, or to attempt or purport to exclude or limit, its liability.
Reasonableness
By using this website, you agree that the exclusions and limitations of liability set out in this website disclaimer are reasonable.
If you do not think they are reasonable, you must not use this website.
Other parties
You accept that, as a limited liability entity, has an interest in limiting the personal liability of its officers and employees. You agree that you will not bring any claim personally against 's officers or employees in respect of any losses you suffer in connection with the website.
Without prejudice to the foregoing paragraph, you agree that the limitations of warranties and liability set out in this website disclaimer will protect 's officers, employees, agents, subsidiaries, successors, assigns and sub-contractors as well as .
Unenforceable provisions
If any provision of this website disclaimer is, or is found to be, unenforceable under applicable law, that will not affect the enforceability of the other provisions of this website disclaimer.
Indemnity
You hereby indemnify and undertake to keep indemnified against any losses, damages, costs, liabilities and expenses (including without limitation legal expenses and any amounts paid by to a third party in settlement of a claim or dispute on the advice of 's legal advisers) incurred or suffered by arising out of any breach by you of any provision of these terms and conditions, or arising out of any claim that you have breached any provision of these terms and conditions.
Breaches of these terms and conditions
Without prejudice to 's other rights under these terms and conditions, if you breach these terms and conditions in any way, may take such action as deems appropriate to deal with the breach, including suspending your access to the website, prohibiting you from accessing the website, blocking computers using your IP address from accessing the website, contacting your internet service provider to request that they block your access to the website and/or bringing court proceedings against you.
Variation
may revise these terms and conditions from time-to-time. Revised terms and conditions will apply to the use of this website from the date of the publication of the revised terms and conditions on this website. Please check this page regularly to ensure you are familiar with the current version.
Assignment
may transfer, sub-contract or otherwise deal with 's rights and/or obligations under these terms and conditions without notifying you or obtaining your consent.
You may not transfer, sub-contract or otherwise deal with your rights and/or obligations under these terms and conditions.
Severability
If a provision of these terms and conditions is determined by any court or other competent authority to be unlawful and/or unenforceable, the other provisions will continue in effect. If any unlawful and/or unenforceable provision would be lawful or enforceable if part of it were deleted, that part will be deemed to be deleted, and the rest of the provision will continue in effect.
Entire agreement
These terms and conditions, together with 's Privacy Policy constitute the entire agreement between you and in relation to your use of this website, and supersede all previous agreements in respect of your use of this website.
Law and jurisdiction
These terms and conditions will be governed by and construed in accordance with the laws of , and any disputes relating to these terms and conditions will be subject to the exclusive jurisdiction of the courts of .
Teamviewer adalah aplikasi yang digunakan untuk melakukan remote jarak jauh, dimana selama PC/Laptop/Smartphone yang digunakan terhubung ke internet, maka perangkat tersebut bisa diremote.
Semenjak tahun 2015, kini teamviewer sudah mengeluarkan versi mobilenya, dimana kita bisa melakukan remote ke smartphone android dari PC Laptop (Canggih) :D .
Mungkin kita pernah mengalami dikondisi keadaan dimana ingin melakukan remote PC yang berada dibawah jaringan Hotspot atau terproteksi oleh Firewall Router.
Jika PC tersebut berada dibawah jaringan Hotspot Mikrotik, maka kita cukup melakukan Allow Port pada "Wallgarden IP List"
Protocol = TCP & UDP
Port = 5938
Action = Allow
Port tersebut digunakan untuk authentikasi ke server Teamviewer agar kita mendapatkan username dan password.
Jika Anda menggunakan firewall filter, buatlah 1 rules firewall untuk diletakkan diatas rules firewall filter/nat.
Semua server yang terkoneksi ke jaringan mempunyai potensi untuk diserang pihak tertentu, apalagi server yang anda punyai adalah server penting dan dikenal banyak orang, salah satu metode dalam melakukan cracking yang terkenal adalah dengan menggunakan DoS(denial of services) atau dengan menggunakan variannya yaitu DDoS(Dos yang dilakukan secara terdistribusi menggunakan lebih dari satu attacker host) DoS/DDoS dijalankan dengan tujuan membuat down server atau meunggunakan seluruh bandwidth di suatu link.
Ada cara untuk mencegah bentuk serangan ini, bisa menggunakan firewall bawaan si server ataupun menggunakan software tambahan. Dalam tutorial ini akan dijelaskan bagaimana cara untuk melakukan pencegahan terhadap serangan DoS sekaligus akan kita coba simulasikan DoS, dalam hal ini adalah DoS terhadap server http.
Tools yang akan kita gunakan disini adalah: DDoS-Deflate, tools ini bekerja dengan cara memonitor ip address yang mengirimkan paket dan melakukan establishing connection TCP(http, smtp) ataupun ICMP ping. Ketika script ini melihat jumlah koneksi yang terlalu banyak yang melampaui treshold yang ditentukan maka script akan memerintahkan firewall iptables untuk melakukan blocking terhadap ip address yang bersangkutan dan anda bisa melakukan unblokcing jika diperlukan.
Berikut adalah langkah-langkah untuk menjalankan aplikasi ini:
a. Download Script ]# wget http://www.inetbase.com/scripts/ddos/install.sh –2012-01-25 16:06:24– http://www.inetbase.com/scripts/ddos/install.sh Resolving www.inetbase.com… 205.234.99.83 Connecting to www.inetbase.com|205.234.99.83|:80… connected. HTTP request sent, awaiting response… 200 OK Length: 1067 (1.0K) [application/x-sh] Saving to: `install.sh’
100%[======================================>] 1,067 –.-K/s in 0s
2012-01-25 16:06:26 (13.2 MB/s) – `install.sh’ saved [1067/1067] b. Ubah permission agar file yang kita download bisa di eksekusi # chmod u+x install.sh c. Install aplikasi # ./install.sh
Installing DOS-Deflate 0.6
Downloading source files………done
Creating cron to run script every minute…..(Default setting)…..done
Installation has completed. Config file is at /usr/local/ddos/ddos.conf Please send in your comments and/or suggestions to zaf@vsnl.com d. Configure DDoS-Deflate #vi /usr/local/ddos/ddos.conf Anda ubah variabel-variabel yang anda perlukan, berita bagusnya adalah file konfigurasi yang ada sangat intuitif ditambah lagi dengan keterangan yang cukup jelas untuk setiap variabel konfigurasi yang ada
#Path ke script dan program lain PROGDIR=”/usr/local/ddos” PROG=”/usr/local/ddos/ddos.sh” IGNORE_IP_LIST=”/usr/local/ddos/ignore.ip.list” CRON=”/etc/cron.d/ddos.cron” APF=”/etc/apf/apf” IPT=”/sbin/iptables” #Frequensi untuk merunning cript ini (dalam menit): FREQ=1 #Jumlah koneksi yang mengindikasikan DoS NO_OF_CONNECTIONS=50 #Gunakan iptables dibandingkan APF APF_BAN=0 #Block ip address yang melakukan DoS KILL=1 #Pemberitahuan ban dilakukan ke email: EMAIL_TO=”root” #Jumlah waktu ban BAN_PERIOD=600 e. Kita lihat konfigurasi dalam cron untuk menjalankan aplikasi ini: #vi /etc/cron.d/ddos.cron SHELL=/bin/sh 0-59/1 * * * * root /usr/local/ddos/ddos.sh >/dev/null 2>&1
Selanjutnya kita akan mencoba untuk melakukan percobaan DoS terhadap server http yang saya miliki, sebenarnya aplikasi ini biasanya digunakan untuk melakukan test terhadap kestabilan suatu server web, aplikasi ini bernama siege. Berikut akan dijelasnkan cara-cara untuk menjalankan aplikasi ini: a. Install siege #yum install siege b. Buat konfigurasi siege #siege.config Konfigurasi ini akan terinstall didalam home directory user sebagai .siegerc Anda bisa melihat konfigurasinya dengan cara melakukan perintah ini #siege -C c. Jalankan siege dengan opsi sebagai berikut: i. -b: benchmark mode, untuk melakukan testing terhadap trouhgput bukan hanya connection ii. -c: concurent connection: untuk mendefinisikan jumlah concurent connection ke suatu server yang kita test iii. -t: periode untuk menjalankan testing: d. Kita coba untuk menjalankan siege ke server dengan jumlah concurent connection 40 dan dalam waktu 1 menit Server1#siege -b -c 40 -t 1M http://192.168.1.5 i. Lalu kita lihat bagaimana statistik yang timbul didalam server # netstat -nal | grep EST | wc -l 51 Ii. Cpu(s): 41.4%us, 3.7%sy, 0.0%ni, 50.0%id, 0.0%wa, 1.8%hi, 3.2%si, 0.0%st
Ada 51 conncurent connection, satu dari SSH dan sisanya dari hasil testing, dan kita juga bisa melihat peningkatan cpu usage yang cukup signifikan, kita bisa lihat efek dari sebuah serangan DoS e. Terakhir kita coba jalankan siege agar kita bisa mengetes kemampuan dari DDoS-deflate: #siege -b -c 60 -t 2M http://192.168.1.5 Kita jalankan dalam dua menit agar memberi kesempatan DDoS-deflate bekerja
Ketika pertama kali dijalankan akan ada output seperti ini
socket: connection timed out socket: connection timed out socket: connection timed out socket: connection timed out socket: connection timed out socket: connection timed out socket: connection timed out socket: connection timed out socket: connection timed out socket: connection timed out
Yang mengindikasikan adanya blocking otomatis f. Kita lihat rule dari iptables yang terbentuk: DROP all — 192.168.1.3 anywhere
Server web (httpd) menyediakan informasi (statis dan dinamis). Halaman statis diperoleh dengan perintah GET Halaman dinamis diperoleh dengan CGI (Common Gateway Interface), Server Side Include (SSI), Active Server Page (ASP, PHP), Servlet (seperti Java Servlet, ASP)
Dalam operasi sehari-harinya web server seringkali menjadi target gangguan dan serangan oleh para peretas di dunia maya. Beberapa contoh eksploitasi pada web server yang sering terjadi adalah antara lain :
Melakukan perubahan tampilan (Deface) Metode ini umum dilakukan dengan cara menjalankan skrip eksploit, memanfaatkan celah priveledge yang terbuka, atau memanfaatkan kelemahan operating system yang digunakan sebagai web server.
Terdapat situs yang mengumpulkan data-data deface seperti : http://www.alldas.org, http://www.zone-h.org
Perubahan data pada server Cara paling mudah untuk mengubah data pada server adalah dengan melakukan akses fisik ke server yang ada. Untuk itu keamanan dan akses ruang server haruslah sangat terjaga. Cara perubahan data yang sering dilakukan juga adalah dengan melalui CGI, dan eksploit data di database (SQL injection, XSS, dll)
Penyadapan Informasi Penyadapan informasi dilakukan untuk memperoleh data-data penting yang keluar masuk kedalam server web seperti data login (user, password), maupun data sensitif lainnya. Metode untuk penyadapan informasi biasanya dilakukan dengan cara Urlwatch, sniffing, dll
DoS (Denial of Service) attack adalah jenis serangan terhadap web server dengan cara menghabiskan resource (RAM, Processor, kemampuan ethernet) yang dimiliki oleh web server sampai tidak dapat menjalankan fungsinya dengan benar sehingga secara tidak langsung mencegah pengguna memperoleh service web. Dalam sebuah serangan Denial of Service, si penyerang akan mencoba untuk mencegah akses seorang pengguna terhadap sistem atau jaringan dengan menggunakan beberapa cara, yakni sebagai berikut:
Membanjiri lalu lintas jaringan dengan banyak data sehingga lalu lintas jaringan yang datang dari pengguna yang terdaftar menjadi tidak dapat masuk ke dalam sistem jaringan. Teknik ini disebut sebagai traffic flooding.
Membanjiri jaringan dengan banyak request terhadap sebuah layanan jaringan yang disedakan oleh sebuah host sehingga request yang datang dari pengguna terdaftar tidak dapat dilayani oleh layanan tersebut. Teknik ini disebut sebagai request flooding.
Mengganggu komunikasi antara sebuah host dan kliennya yang terdaftar dengan menggunakan banyak cara, termasuk dengan mengubah informasi konfigurasi sistem atau bahkan perusakan fisik terhadap komponen dan server.
Oke cukup dulu dengan serang-menyerangnya :). Berikut adalah beberapa metode pengamanan untuk akses web server :
Access Control Kita dapat memberlakukan kontrol akses untuk web server dengan cara :
Melakukan pengaturan pada web server agar membatasi akses menuju web server dengan identifikasi alamat ip (/etc/httpd.conf)
Menggunakan htaccess Membuat file“.htaccess” pada root directory web server, contohnya sbb :AuthUserFile /home/duyz/.pass AuthGroupFile /dev/null AuthName “Akses terbatas untuk user khusus” AuthType Basic <Limit GET> require user khusus </Limit>
Skrip ini akan membatasi akses web server hanya dapat digunakan oleh user “khusus” dan password Menggunakan perintah “htpasswd“ untuk membuat password yang disimpan di file “.pass”
Menggunakan Secure Connection (ssl, openssl) SSL (Secure Socket Layer) adalah sebuah metode untuk pengamanan web server dengan penggunaan enkripsi pada transmisi data menuju web server. Metode ini lazim digunakan oleh Korporasi, Bank, maupun badan intelejen untuk menghindari sniffing, maupun percobaan intersepsi data lainnya.Mungkin itu dulu yang dapat dishare untuk dasar-dasar keamanan web server. Semoga bermanfaat
Penetration test, atau seringkali disebut dengan pentest, adalah sebuah bentuk simulasi serangan pada sebuah sistem komputer dengan tujuan untuk menemukan celah keamanan, yang dapat berdampak lebih serius pada data maupun sistem yang telah berjalan.
Konsep untuk melakukan kegiatan penetration testing dapat dilakukan dengan beberapa langkah-langkah berikut :
Step 1 – Reconnaissance (pengumpulan informasi)
Reconnaissance adalah langkah pertama dari Penetration Testing yang dimulai dengan menentukan target pengujian berdasarkan scope pengerjaan. Setelah target ditentukan, research dilakukan untuk mengumpulkan informasi pada target seperti : ports apa yang digunakan untuk komunikasi,dimana lokasinya, tipe services yang diberikan kepada clientnnya (web,database, dll). Data-data ini dibutuhkan untuk langkah selanjutnya yang akan dilakukan untuk penetration testing. Deliverable dari langkah reconnaissance harus mencakup list dari semua asset yang dimiliki target,aplikasi yang terkait dengan asset, services yang digunakan, dan pemilik aset.
Step 2 – Target evaluation (evaluasi informasi)
Tujuan dari langkah Target Evaluation adalah melakukan evaluasi data yang telah didapatkan dan mengklasifikasikannya menjadi beberapa bagian, yaitu:
• Kemungkinan-kemungkinan kelemahan target
• Identifikasi dan penentuan prioritas kerentanan pada sistem target
• Pemetaan kelemahan sistem terhadap pemilik aset
• Menemukan dokumen-dokumen
Step 3 – Exploitation (ekploitasi)
Pada langkah ini eksploitasi mulai dilakukan pada target dengan cara mencoba berbagai serangan yang sudah disesuaikan dengan data-data yang sebelumnya diperoleh.
Tujuan dari kegiatan eksploitasi adalah sebagai berikut :
• Melakukan eksploitasi terhadap vulnerabilities (kerentanan)
• Memperoleh foothold (pijakan) pada sistem target
• Pengambilan data (service atau user) pada sistem
• Social engineering
• Serangan pada sistem atau aplikasi lain yang ada pada target
• Menemukan dokumen-dokumen
Step 4 – Privilege Escalation (pengambilan akses)
Privilege Escalation mencakup kegiatan identifikasi dan password cracking terhadap akun user, dan ruang pada sistem yang lainnya. Sebuah contoh adalah mendapatkan akses user, identifikasi shadow file yang berisi user login administrator, memperoleh password administrator melalui password cracking, dan memasuki sistem aplikasi internal dengan hak akses administrator.
Tujuan dari kegiatan privelege escalation adalah sebagai berikut :
• Memperoleh level akses yang tinggi ke sistem dan network target
• Memperoleh informasi akun user lain pada sistem
• Memperoleh akses sistem lain dengan hak yang tinggi
Step 5 – maintaining a foothold (pengamanan akses)
Pada langkah ini hal penting yang dilakukan adalah menghapus semua jejak kegiatan penetration test yang telah dilakukan. Penghapusan bukti mencakup beberapa hal seperti menghapus user logs, menggunakan saluran yang telah dimasking, dan menghapus pesan error yang mungkin di sebabkan oleh kegiatan penetration testing.
Tujuan dari kegiatan maintaining foothold adalah sebagai berikut:
• Menetapkan beberapa metode akses terhadap target
• menghilangkan bukti adanya akses yang tidak diizinkan
ASA1(config)# show route
----cut----
Gateway of last resort is 209.165.100.225 to network 0.0.0.0
C 192.168.1.0 255.255.255.0 is directly connected, inside
C 209.165.100.224 255.255.255.248 is directly connected, outside
S* 0.0.0.0 0.0.0.0 [1/0] via 209.165.100.225, outside
ASA1# show run object
object network INTRA
subnet 192.168.1.0 255.255.255.0
ASA1# show run nat
!
object network INTRA
nat (inside,outside) dynamic interface
ASA1# show nat
Auto NAT Policies (Section 2)
1 (inside) to (outside) source dynamic INTRA interface
translate_hits = 3, untranslate_hits = 96
ASA1# show xlate
0 in use, 2 most used
Testing ping dilakukan dari Klien A (SLAX-1) menuju network lua, dan berikut adalah hasil capture packet dari link antara ASA1 dan router ISP.
Terlihat, NAT sudah beroperasi dengan baik, Tapi..
Ping dari sisi klien (SLAX-1) terlihat tidak berjalan
Karena alasan tertentu, trafik ping bisa keluar dari ASA menuju network luar tapi trafik tersebut tidak diijinkan masuk kembali (ke ASA).
Configure Policy
Buat class-map dan policy-map untuk meng-inspect trafik ICMP.
ASA1(config)# show run class-map
!
class-map inspection_default
match default-inspection-traffic
!
ASA1(config)# show run policy-map
!
policy-map global_policy
class inspection_default
inspect icmp
!
ASA1(config)# show running-config service-policy
service-policy global_policy global
ASA1(config)# show run
------cut----------
!
class-map inspection_default
match default-inspection-traffic
!
!
policy-map global_policy
class inspection_default
inspect icmp
!
service-policy global_policy global
------cut----------
ASA1# conf t ASA1(config)# int g2 ASA1(config-if)# ip addr 192.168.2.1 255.255.255.0 ASA1(config-if)# nameif dmz INFO: Security level for "dmz" set to 0 by default. ASA1(config-if)# security-level 50 ASA1(config-if)# no shutdown
Configure Static NAT
Statik NAT dari IP publik (209.165.100.227) ke IP server SSH di DMZ (192.168.2.3) :
ASA1(config)# show run object
object network INTRA
subnet 192.168.1.0 255.255.255.0
object network dmz-server
host 192.168.2.3
ASA1(config)# show run nat
!
object network INTRA
nat (inside,outside) dynamic interface
object network dmz-server
nat (dmz,outside) static 209.165.100.227
Test ping IP publik dari network outside (SLAX-3)
FAILED, karena defaultnya ASA mem-blok trafik yang datang dari network dengan security-level lebih kecil menuju network dengan security-level lebih besar.
Configure ACL
ASA1(config)# access-list OUTSIDE-TO-DMZ permit ip any host 192.168.2.3 ASA1(config)# access-group OUTSIDE-TO-DMZ in interface outside
Tes ping IP publik dari network outside (SLAX-3)
Tes SSH ke server (SLAX-2) dalam DMZ dari network outside (SLAX-3)
Model OSI adalah sebuah protocol-stack dimana layer bawah khusus menangani segala sesuatu yang berhubungan dengan hardware, sedangkan layer atas berkaitan dengan software. 7 layer model OSI di desain sedemikian rupa sehingga kendali dapat dialihkan dari satu layer ke layer yang lain.
Berikut adalah susunan model OSI dari layer paling atas (layer 7) sampai layer paling bawah (layer 1) beserta fungsi yang dijalankan :
Application
Menyediakan dukungan untuk aplikasi seperti FTP, Telnet, dan HTTP
Presentation
Enkripsi, SMB, ASCII, format data
Session
Flow control data, inisiasi dan terminasi koneksi
Transport
Komunikasi end-to-end (aplikasi ke aplikasi), layanan TCP dan UDP.
Network
Routing (OSPF, dan lain-lain). IP addressing
Data Link
Lan card, MAC address, pembentukan frame
Physical
Media transmisi seperti kabel UTP, wireless, maupun Fiber Optik
Model OSI bekerja seperti berikut ini :
Informasi dikirim dengan cara dikirim mulai dari layer application turun sampai layer physical.
Kemudian dikirimkan melewati media (kabel, wireless) sampai ke tujuan.
Setelah sampai, informasi di proses naik dari layer physicalsampai ke layer application.
Layer Application
Layer 7 (application) bukanlah aplikasi/program/software itu sendiri, tapi merupakan interface yang digunakan oleh aplikasi/program/software untuk berkomunikasi .
Berikut adalah beberapa layanan dan protokol-protokol yang bisa dibilang “tidak aman” :
FTP, layanan TCP yang beroperasi pada port 20 dan 21. Port 20 digunakan untuk transfer data klien dan server, sedangkan port 21 digunakan untuk control dan pengiriman command antara klien dan FTP server. Serangan pada layanan ini bisa berupa eksploitasi kesalahan konfigurasidirectory permission dan atau sniffing password yang berbentuk cleartext.
Telnet, layanan shell pada TCP yang beroperasi pada port 23. Telnet mengirimkan informasi yang kita ketikkan di klien kepada komputer lain. Telnet bisa diatur untuk koneksi secaraanonymous dan bisa juga diatur agar menggunakan username dan password. Kelemahan telnet adalah semua data termasuk username dan password dikirim dalam bentuk cleartext.
SMTP, layanan TCP yang beroperasi pada port 25 dan berfungsi untuk menjalankan proses pertukaran email antar sistem network. Pesan yang dikirim melalui SMTP memiliki 2 bagian,address header dan pesan text. Semua jenis komputer dapat bertukar pesan email dengan SMTP. Dua jenis serangan SMTP yang cukup beresiko adalah spoofing dan spamming.
DNS, layanan ini berjalan pada port 53 dan berfungsi untuk melakukan address mapping. DNS mengkonversi Fully Qualified Domain Names (FQDNs) seperti www.google.com ke bentuk IP address dan sebaliknya. DNS menggunakan UDP untuk DNS query dan TCP untuk zone transfers. DNS rawan oleh serangan poisoning dan jika salah konfigurasi dapat disalahgunakan untuk melakukan zone full transfer.
TFTP, beroperasi pada port 69, merupakan versi FTP yang menggunakan UDP untuk mengurangi overhead dan reliability dengan menghilangkan proses session management dan autentikasi, hal ini menimbulkan resiko keamanan yang cukup tinggi. TFTP biasa digunakan untuk mengirim file-file konfigurasi router dan untuk mengkonfigurasi kabel modem. Orang yang melakukan hacking pada kabel modem biasa dikenal sebagai uncapper.
HTTP, layanan TCP yang beroperasi pada port 80 ini membuat web menjadi layanan paling populer saat ini. HTTP menggunakan protokol request response, dimana klien mengirimkan request kemudian server memberikan response. Serangan pada HTTP bisa ditujukan ke server, browser, atau script-script yang berjalan pada browser.
SNMP, layanan UDP yang beroperasi pada port 161 dan 162, SNMP didesain sebagai cara yang efisien dan murah untuk memonitor network. Protokol SNMP memungkinkan perangkat-perangkat jaringan yang berfungsi sebagai agent untuk mengumpulkan berbagai macam informasi dan mengirimkannya ke server management. Hal yang membuat SNMP kurang aman adalah proses pengiriman community string yang masih dalam bentuk clear-text. SNMP versi 3 merupakan versi terbaru dan menawarkan fitur enkripsi agar lebih aman.
Layer Transport
Layer transport penuh dengan lubang keamanan karena merupakan tempat bagi UDP dan TCP. Karena UDP bersifat connectionless, mudah bagi hacker untuk melakukan serangan DoS (Denial of Service). Selain itu juga mudah untuk melakukan spoofing. Sedangkan TCP dapat dieksploitasi oleh hacker untuk mengidentifikasi berbagai macam layanan yang berjalan dan sistem operasi yang digunakan oleh target. Hal ini penting bagi hacker sebelum melakukan serangan.
Layer Network
Pada layer ini terdapat IP dan ICMP. IPv4 tidak memiliki built-in fitur security, karenanya IPSec yang merupakan komponen built-in dikembangkan. Tanpa IPSec, IP dapat dengan mudah menjadi target bagi berbagai macam serangan. Sedangkan ICMP dapat menjadi target bagi serangan Smurf DoS.
Layer Data Link
Konversi pengalamatan logik (IP) ke physical (MAC) harus dilakukan antara layer network dan layer data link. Protokol ARP digunakan untuk hal ini. Namun, ARP sering dimanfaatkan oleh hacker untuk melakukan ARP poisoning, sehingga hacker dapat mem-bypass switch dan monitor traffic. Selain itu,passive sniffing dapat menjadi metode bagus bagi hacker jika ia berada pada posisi yang strategis didalam network.
Layer Physical
Layer physical ini adalah layer yang paling mudah untuk “dibobol“. Logika sederhananya adalah jika seseorang mendapatkan akses secara fisik ke sebuah perangkat jaringan, tentunya dia juga bisa mendapatkan kendali penuh terhadap perangkat tersebut. Beberapa vendor perangkat jaringan juga menyediakan metode melakukan reset password untuk mendapatkan akses ke perangkat tersebut.
Layer Manusia
Layer ini tidak termasuk dalam susunan Model OSI. Namun layer ini bisa kita tambahkan sebagai layer terpenting dalam desain dan implementasi jaringan. Begitu pula dalam hal keamanan, layer ini memiliki ancaman terbesar yang dikenal sebagai social engineering, karena targetnya adalah manusia (admin, dan lain-lain). Pada umumnya organisasi membelanjakan anggaran yang cukup besar dalam bidang kontrol dan teknis, namun sangat sedikit anggaran yang dikeluarkan untuk pendidikan/pelatihan proses dan prosedur keamanan bagi karyawannya. Hacker dapat menggunakan berbagai macam teknik untuk melakukan tipu muslihat pada karyawan.
Ancaman lain pada layer ini adalah dumpster diving. Banyak perusahaan yang “membuang” berbagai macam hal yang terlihat tidak berguna tapi dapat dimanfaatkan oleh hacker sebagai alat untuk mengorek informasi tentang network internal. Misalnya, printout nama dan password, source code, memo, dan lain-lain.