<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-25044129</id><updated>2011-12-13T19:56:49.241-08:00</updated><title type='text'>Novan's Personal Blog</title><subtitle type='html'>Welcome to my personal Blog This Blog I used to write about my reasearch or about my life . To create this blog, I just sat down and thought to myself: what do I like to read? The content comes from a variety of sources: some I've written myself, some has been written by friends, and some has been contributed by other Internet users just like you. I hope you enjoy this blog.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mnovan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mnovan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Muh. Novansarosa</name><uri>http://www.blogger.com/profile/18294485921865928223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://photos.friendster.com/photos/52/12/9872125/11483761857913s.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-25044129.post-114578234572504929</id><published>2006-04-23T01:23:00.000-07:00</published><updated>2006-05-01T00:22:39.416-07:00</updated><title type='text'>Issue #7, April 23, 2006</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp;Alhamdullilah, thx god, I'm finaly completed my study on Dayeuhkolot&lt;br /&gt;even it's too late ... 7 Years studying ...?? &lt;br /&gt;But now I must finishing my revision that given to me to fix my final assesment books and after that I must go home, find a job and get merried (Amin).&lt;br /&gt;but still I must countinue my research about bayesian, because I had make it as a project on sourceforge , just click &lt;a href="https://sourceforge.net/projects/bmht" target="_blank"&gt;This Link&lt;/a&gt; and give me some advise about it&lt;br /&gt;&lt;br&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25044129-114578234572504929?l=mnovan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mnovan.blogspot.com/feeds/114578234572504929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25044129&amp;postID=114578234572504929' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114578234572504929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114578234572504929'/><link rel='alternate' type='text/html' href='http://mnovan.blogspot.com/2006/04/issue-7-april-23-2006.html' title='Issue #7, April 23, 2006'/><author><name>Muh. Novansarosa</name><uri>http://www.blogger.com/profile/18294485921865928223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://photos.friendster.com/photos/52/12/9872125/11483761857913s.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25044129.post-114454907408002489</id><published>2006-04-08T18:26:00.000-07:00</published><updated>2006-05-01T00:28:07.296-07:00</updated><title type='text'>Issue #6, April 08, 2006</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp;Last day I had lost about 14 GB data, and guest what ... that's because &lt;a href="http://www.gentoo.org" target="_blank"&gt;Gentoo&lt;/a&gt; had a new installer system. Arhhh I dunno what the fu*k that Gentoo developer had in their mind.That new installer didn't stable yet, one mistake and kabommmm the installation will failed, and if you unlucky like me last day, all your data will be wipe out from your drive.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Btw do you have scripts that contain sensitive information like passwords and you pretty much depend on file permissions to keep it secure? If so, then that type of security is good provided you keep your system secure and some user doesn't have a "ps -ef" loop running in an attempt to capture that sensitive info (though some applications mask passwords in "ps" output). There is a program called &lt;a href="http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.3.tgz" target="_blank"&gt;shc&lt;/a&gt; that can be used to add an extra layer of security to those shell scripts. SHC will encrypt shell scripts using RC4 and make an executable binary out of the shell script and run it as a normal shell script. This utility is great for programs that require a password to either encrypt, decrypt, or require a password that can be passed to a command line argument.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;To used it you must &lt;a href="http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.3.tgz" target="_blank"&gt;download shc&lt;/a&gt; first, and than you can do like this&lt;br /&gt;&lt;br /&gt;toor@l33t#tar -xzvf shc-3.8.3.tgz&lt;br /&gt;toor@l33t#cd shc-3.8.3.tgz&lt;br /&gt;toor@l33t#make&lt;br /&gt;toor@l33t#make install &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;If all above process are success, then you just type "shc --help" ,&lt;br /&gt;now try to make a script called hello.sh, and add the following word&lt;br /&gt;&lt;br /&gt;#!/bin/bash &lt;br /&gt;echo "I love Novan's personal blog and will send him a donation via PayPal."&lt;br /&gt;&lt;br /&gt;and then save the file , Now run command :&lt;br /&gt;toor@l33t#shc -f hello.sh &lt;br /&gt;&lt;br /&gt;The argument -f specifies the source script to encrypt. The above command will create two files: hello.sh.x.c and hello.sh.x&lt;br /&gt;The program "shc" creates C source code out of your shell script then encrypts it (hello.sh.x.c). The encrypted shell script is: hello.sh.x. Run that binary and see the output: &lt;br /&gt;&lt;br /&gt;toor@l33t#./hello.sh.x&lt;br /&gt;I love Novan's personal blog and will send him a donation via PayPal.&lt;br /&gt;&lt;br /&gt;If that output is seen in your console now you can copy the original "hello.sh" file to a floppy disk or some other system for backup or in case you need to edit it in the future. Then, delete it from the server and delete the "hello.sh.x.c" file it creates.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;You can find other feature that shc had, with "shc --help" or just read the shc.README file.&lt;br /&gt;&lt;br&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25044129-114454907408002489?l=mnovan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mnovan.blogspot.com/feeds/114454907408002489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25044129&amp;postID=114454907408002489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114454907408002489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114454907408002489'/><link rel='alternate' type='text/html' href='http://mnovan.blogspot.com/2006/04/issue-6-april-08-2006.html' title='Issue #6, April 08, 2006'/><author><name>Muh. Novansarosa</name><uri>http://www.blogger.com/profile/18294485921865928223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://photos.friendster.com/photos/52/12/9872125/11483761857913s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25044129.post-114408523882015716</id><published>2006-04-02T20:32:00.000-07:00</published><updated>2006-05-01T00:17:09.733-07:00</updated><title type='text'>Issue #5, April 03, 2006</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp;This past two weeks, is my wilding time (Wireless Lan Driving ), in my area i found some interest ssid, and guest what, some of them use WEP key and MAC filtering to access their network.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Then as usual, i ask &lt;a href="http://www.google.de/search?q=Wardriving+and+wep+crack" target="_blank"&gt;mr google about wilding and wep&lt;/a&gt; and ta daaaaa... I found some interesting software that can help me to break into wlan .&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;And then I think "Ok, I cracked the WEP key and I can login to the network, but what about these encrypted packet captures?". Well I looked into it and managed to decrypt packet dumps and sniff a network with WEP without associating (Assuming I have the WEP key). &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Let me try to write down the process on it&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;WEP Decryption&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Three tested methods exist to decrypt WEP encrypted packet dumps.&lt;br /&gt;1) decrypt tool that is included with airsnort &lt;br /&gt;2) Ethereal &lt;br /&gt;3) Kismet &lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;span style="font-weight:bold;"&gt;Decrypt tool&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;This program will decrypt saved packet dumps and remove the beacons within for an easier to read packet dump. You can provide the known WEP key or provide a file with WEP keys to attempt to find the correct key.&lt;br /&gt;&lt;br /&gt;toor@l33t#decrypt -p 1E:A5:A5:6D:**:**:**:**:**:**:**:**:** -b -m **:**:**:FE:80:1C -e encrypted.pcap -d decrypted.pcap&lt;br /&gt;&lt;br /&gt;Syntax: decrypt -p (WEP-KEY) -b -m (BSSID) -e (infile) -d (outfile)&lt;br /&gt;&lt;br /&gt;When entering the WEP key make sure you seperate it with colons like the example above. The -b option removes beacons out of the packet dump. The BSSID of the network to decrypt is specified and the encrypted packet dump is specified and the desired output name added.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;span style="font-weight:bold;"&gt;Ethereal&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Using Ethereal you can do :&lt;br /&gt;(a)decrypt packet dumps and &lt;br /&gt;(b) decrypt packets on the fly without associating to the wireless network. &lt;br /&gt;This is the most convenient solution out of all the three.&lt;br /&gt;&lt;br /&gt;Open Ethereal then select EDIT -&gt; PREFERENCES -&gt; PROTOCOLS -&gt; IEEE 802.11 &lt;br /&gt;&lt;br /&gt;Enter your WEP key into 'WEP key #1' box. Select 1 in the 'WEP key count' and check the 'Assume packets have FCS:' and click 'OK'. Any packets captured now will be decrypted and previously captured packets. You can add more WEP keys for Ethereal to use and if you do add more increase the 'WEP key count' value.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&lt;span style="font-weight:bold;"&gt;Kismet&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Kismet also provided on the fly decryption of WEP encrypted traffic like Ethereal. Open the /usr/local/etc/kismet.conf file with an editor and add the wepkey directive as so:&lt;br /&gt;&lt;br /&gt;wepkey=**:**:**:FE:80:1C,1EA5A56D28F520B66023E24211&lt;br /&gt;&lt;br /&gt;Syntax: wepkey=(BSSID),(WEP KEY)&lt;br /&gt;&lt;br /&gt;Multiple wepkey entries can be used to decode multiple networks. &lt;br /&gt;&lt;br /&gt;But remember, your wlan card must be in prism or orinoco type or that software will not work correctly&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Arhh now I must sleep, 'cause I must go to my campus&lt;br /&gt;&lt;br /&gt;Just remember guys &lt;span style="font-style:italic;"&gt;Sleep well, Coding well&lt;/span&gt;&lt;br /&gt;ps :: to admin, just read my last blog to prevent this&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25044129-114408523882015716?l=mnovan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mnovan.blogspot.com/feeds/114408523882015716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25044129&amp;postID=114408523882015716' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114408523882015716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114408523882015716'/><link rel='alternate' type='text/html' href='http://mnovan.blogspot.com/2006/04/issue-5-april-03-2006.html' title='Issue #5, April 03, 2006'/><author><name>Muh. Novansarosa</name><uri>http://www.blogger.com/profile/18294485921865928223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://photos.friendster.com/photos/52/12/9872125/11483761857913s.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25044129.post-114401047618968659</id><published>2006-04-02T13:16:00.000-07:00</published><updated>2006-05-01T00:14:56.510-07:00</updated><title type='text'>Issue #4, April 02, 2006</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp;Pyuhhh ... What a day, I must installed and configured my pc because my own stupid mistake ... lol, bad day huh!!!&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I hope my windoze and wlan connection willn't have any trouble anymore. or I just got April Mop ?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25044129-114401047618968659?l=mnovan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mnovan.blogspot.com/feeds/114401047618968659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25044129&amp;postID=114401047618968659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114401047618968659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114401047618968659'/><link rel='alternate' type='text/html' href='http://mnovan.blogspot.com/2006/04/issue-4-april-02-2006.html' title='Issue #4, April 02, 2006'/><author><name>Muh. Novansarosa</name><uri>http://www.blogger.com/profile/18294485921865928223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://photos.friendster.com/photos/52/12/9872125/11483761857913s.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25044129.post-114381689157070972</id><published>2006-03-31T06:29:00.000-08:00</published><updated>2006-05-01T00:14:15.210-07:00</updated><title type='text'>Issue #3, March 31, 2006</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp;This week I learn a lot about &lt;a href="http://en.wikipedia.org/wiki/WarDriving" target="_blank"&gt;Wardriving &lt;/a&gt;, yeah for a students like me, I can't afford the monthly payment or event go to internet cafe, eventualy there's some interesting tools, an operating system and a bit of thinking to solve a not-entirely-artificial problem of getting wireless internet access where measureas are in place to stop it. Both the technical side as well as some of the reasoning behind the actions are explained.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;But If there's a sickness there's always a medicine right ?&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Many WLAN administrators are familiar with NetStumbler, a free discovery tool that sniffs out nearby 802.11 Access Points (APs). Unauthorized "rogue" APs get a lot of press, but are not the only threat.&lt;br /&gt;Now we try to find how to see a sign of WLAN intrusion&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1: Capture traffic&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;You'll need to capture wireless traffic being sent in the 2.4 and 5 GHz bands at your location. Start by getting yourself a wireless traffic analyzer and/or intrusion detection system (IDS).&lt;br /&gt;Like Ethernet analyzers, WLAN analyzers capture and decode frames. They run on laptops and PDAs equipped with Wi-Fi NICs, passively scanning channels or watching one channel. They parse 802.11, 802.1X, and higher-layer protocols and display traffic capture results for visual inspection. They also analyze results to derive traffic statistics and generate alerts that help you get a better handle on WLAN security and performance. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 2: Analyze results&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Once you've captured traffic, then what? Sure, you can watch the frames roll by, or stop and expand header and data fields. But what should you be looking for?&lt;br /&gt;Watch for security policy violations, like stations or APs operating in Open System mode if you require Shared Key authentication. Or devices operating without WEP if you require link encryption. Look for APs using default SSIDs, as these are often unconfigured (aka easily-attacked.) Keep an eye out for peer-to-peer "ad hoc" stations if not permitted in your WLAN. Tools can flag policy violations for you by generating alerts for these and other events like unauthorized stations/APs, stations associating with the wrong AP, or APs operating on unexpected channels. &lt;br /&gt;You can't detect a completely passive sniffer. But you can watch for signs of active war driving. Look for excessive Probe Requests from stations that never associate, or stations that probe for vendor-default or "ANY" SSIDs. Watch for stations racking up 802.11/802.1X authentication or DHCP failures. Look for stations using IPs that lie within your subnet but not been assigned by your DHCP server, and for stations that use a valid MAC address but have a different name than usual. Intruders use these techniques to get past your access control lists. If you see SNMP traffic on your WLAN, particularly aimed at your AP, suspect active NetStumbling.&lt;br /&gt;SNMP, Telnet, or HTTP traffic generated by wireless stations, aimed at your APs or WLAN gateway, often signal an attempted attacks. So do excessive frame counts -- for example, a spike in CRC errors may indicate jamming, while a spike in 802.11 Disassociate or Deauthenticate frames may indicate DoS attack. Larger-than-usual WEP ICV errors or TCP resends may indicate packet injection or replay attacks. Here, you must baseline your WLAN to understand what's normal and what isn't; expert tools can help you do that.&lt;br /&gt;&lt;br /&gt;Intruders may also try to attack servers on the adjacent wired network; look for routing protocols like OSPF or IGRP, ICMP port unreachables, and large numbers of TCP SYNs aimed at your Intranet servers. If you're using robust authentication (802.1X or VPN) and good gateway access control, these requests really should not make it into the wired network. Even so, their presence can alert you before the attacker finds your weak spot and exploits it.&lt;br /&gt;&lt;br /&gt;Like NetStumbler, these tools also help you spot Rogue APs. Watch for Beacons from previously-unknown APs and APs using the same SSID and MAC address on more than one channel. Unauthorized APs may inadvertently expose the "soft underbelly" of your network if placed inside your firewall. Malicious rogue APs are worse -- they try to masquerade as a legitimate AP, tricking stations into associating with them. They listen to and record all traffic, without the legitimate station or AP realizing it. Analyzers and IDSs generate alerts that warn about suspicious APs, but don't assume all new APs are malicious. Chances are good that you will spot APs that simply belong to a neighbor. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3: Take action&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Once you've spotted a suspicious device, take action to find and correct the problem. WLAN analyzers -- particularly portable analyzers -- are handy for locating devices. When using an IDS, start from the sensor with the strongest signal. The idea is to find the device by monitoring signal strength. However, by the time you notice the possible intrusion, the source may be long gone. You may also find that the "intruder" is just a visitor or employee with an unauthorized Wi-Fi interface; you may choose to authorize or ignore the visiting device. This is where configuring policies into your analyzer or IDS comes in handy, so that you don't waste time on "false positives" and devote your efforts to addressing real threats. Analyzers and IDS tools help you "hear" what's happening in your WLAN, but ultimately it's up to you to interpret suspicious events and decide whether remedial action is required.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25044129-114381689157070972?l=mnovan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mnovan.blogspot.com/feeds/114381689157070972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25044129&amp;postID=114381689157070972' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114381689157070972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114381689157070972'/><link rel='alternate' type='text/html' href='http://mnovan.blogspot.com/2006/03/issue-3-march-31-2006.html' title='Issue #3, March 31, 2006'/><author><name>Muh. Novansarosa</name><uri>http://www.blogger.com/profile/18294485921865928223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://photos.friendster.com/photos/52/12/9872125/11483761857913s.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-25044129.post-114371137595739169</id><published>2006-03-30T21:02:00.000-08:00</published><updated>2006-05-01T00:13:03.146-07:00</updated><title type='text'>Issue #2, March 30, 2006</title><content type='html'>&amp;nbsp;&amp;nbsp;&amp;nbsp;Arghhh another boring day, but perhaps I'll post about my final assesment on dayeuhkolot&lt;br /&gt;I work on it about 2 years, and still not perfect yet&lt;br /&gt;&lt;br /&gt;Just like I wrote on &lt;a href="http://www.novan.net/id1.html" target="_blank"&gt;my website&lt;/a&gt;, this time I only write about the history&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;In 1761, Reverend Thomas Bayes brought us a concept for govern the logical inference, determining the degree of confidence we may have, in various possible conclusions, based on the body of evidence available. Therefore, to arrive at a logically defensible prediction one must use Bayes’ theorem.&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;The Bayesian Detection Rate was first used to measure IDS effectiveness in Mr. Stefan Axelson paper "The Base-Rate Fallacy and its Implications for the Difficulty of Intrusion Detection" presented on RAID 99 which gives a realistic perspective on how "False Alarm" rate can limit the performance of an IDS.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;As said, the paper aims to increase the detection rate reducing false alarms on the IDS model, therefore we must know the principles of Bayesian Detection Rate (BDR):&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;P(D|H)P(H)&lt;br /&gt;P(H|D) =     ------------------------------------&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;P(D|H)P(H) + P(D|H')P(H')&lt;br /&gt;&lt;br /&gt;Let's use a simple example to ilustrate how Bayes Theorem Works:&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Suppose that 2% of people your age and heredity have cancer. Suppose that a blood test has been developed that correctly gives a positive test result in 90% of people with cancer, and gives a false positive in 10% of the cases of people without cancer. Suppose you take the test, and it is positive. What is the probability that you actually have cancer, given the positive test result?&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;First, you must identify the Hypothesis, H, the Datum, D, and the probabilities of the Hypothesis prior to the test, and the hit rate and false alarm rates of the test.&lt;br /&gt;&lt;br /&gt;H = the hypothesis; in this case H is the hypothesis that you have cancer,  and H' is the hypothesis that you do not.&lt;br /&gt;&lt;br /&gt;D = the datum; in this case D is the positive test result.&lt;br /&gt;&lt;br /&gt;P(H) is the prior probability that you have cancer, which was given in the problem as 0.02.&lt;br /&gt;&lt;br /&gt;P(D|H) is the probability of a positive test result GIVEN that you have cancer.&lt;br /&gt;This is also called the HIT RATE, and was given in the problem as 0.90.&lt;br /&gt;&lt;br /&gt;P(D|H') is the probability of a positive test result GIVEN that you do not have cancer. This is also called the FALSE ALARM rate, and was given as 0.10.&lt;br /&gt;&lt;br /&gt;P(H|D) is the probability that you have cancer, given that the test was positive. This is also called the posterior probability or Bayesian Detection Rate.&lt;br /&gt;&lt;br /&gt;In this case it was 0.155(16% aprox., i'd not bet the rest of my days on this test).&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;On my final assesment, I'm implementing bayesian on Gentoo Linux that used&lt;br /&gt;· Snort 2.1.3&lt;br /&gt;· Iptables v 1.2.8&lt;br /&gt;· Libpcap as network library&lt;br /&gt;· Mysql as database&lt;br /&gt;· Shc-3.8.3 to convert my script&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I just got idea about this when I read Phrack Volume 0x0b, Issue 0x39, Phile #0x0c of 0x12,in the early time, I'm still confused about how to implemented it on Gentoo Linux, but now I believe, I must face my next future that I'm sure very different from today&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Wish me luck on April to face my final assesment jugde from my lecturer on dayeuhkolot .&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/25044129-114371137595739169?l=mnovan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mnovan.blogspot.com/feeds/114371137595739169/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=25044129&amp;postID=114371137595739169' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114371137595739169'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25044129/posts/default/114371137595739169'/><link rel='alternate' type='text/html' href='http://mnovan.blogspot.com/2006/03/issue-2-march-30-2006.html' title='Issue #2, March 30, 2006'/><author><name>Muh. Novansarosa</name><uri>http://www.blogger.com/profile/18294485921865928223</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='28' src='http://photos.friendster.com/photos/52/12/9872125/11483761857913s.jpg'/></author><thr:total>0</thr:total></entry></feed>
