Saturday, October 27, 2007

HeX: Virtual Appliances Offering

In order to make sure HeX is in good shape, we have actually tested it on various applications that offering virtualization technology. Here are the lists, the screenies speak for themselves -

HeX on VMware Player

HeX on VMware Fusion

HeX on Parallels

HeX on Qemu

HeX on VirtualBox

We are proud to release HeX virtual appliance for different flavors of virtualization softwares. Most people prefer to try or test the stuffs before real deployment, and I think by offering different types of HeX virtual appliance(VMware, VirtualBox, Qemu, Parallels), people can easily load them to their preferred application. This virtual appliance is based on HeX 1.0.1 with the default installation set(sudo installer). We have tested it on all of them and it boots from zero to fluxbox fully loaded in less than a minute with 256MB of RAM. All of the virtual appliances can be found at -

- http://bsd.ipv6.la/hex-images

For direct download, just click here will do -

- HeX VMware Virtual Appliance
- MD5 Hash
- SHA256 Hash

- HeX VirtualBox Virtual Appliance
- MD5 Hash
- SHA256 Hash

- HeX Qemu Virtual Appliance
- MD5 Hash
- SHA256 Hash

- HeX Parallels Virtual Appliance
- MD5 Hash
- SHA256 Hash

Enjoy (;])

Friday, October 26, 2007

HeX 1.0.1 Release

Yes, we thought we could have stopped the development of HeX after 1.0R but we were wrong, we have encountered the boot issue with HeX on certain hardware and also on vmware when mounting the CD. Me and chfl4gs_ have tried to track down the problem and it seems that the problem is caused by the data that need to be copied from CD to memory in order to mount it using mfs( the /var which is about 32Mb). This IO process has caused the liveCD can't boot properly in certain machines and finally we find the workaround.

Another problem that we have encountered is the msfweb not loading properly, and after trying out the ntop and darkstat, we figure even if we enable java script in the firefox browser, it still didn't seem to show the graph in the browser and we tried to delete ~/.mozill/firefox and use the global configuration for firefox instead. With that we solved msfweb problem too(in fact it is caused by browser oddness).

With all the problems solved now, we are shamelessly releasing HeX 1.0.1 which is more shiny as the boot up performance is much improved and most of the hardcore issue which we can't fix is most properly gone now. Please try out the new release and as usual if you have problem, make use of the HeX trac, mailing list or even join the IRC freenode rawpacket channel will do. Anyway here's the download links -

- HeX 1.0.1 Release ISO

- HeX 1.0.1 Release MD5

- HeX 1.0.1 Release SHA256

Enjoy (;])

HeX: Trac & Wiki

Thanks to spoonfork and now we have the trac and wiki -

https://trac.security.org.my/hex/wiki


With that we can manage the HeX project efficiently and if you have any tips or tricks that want to share, just let me know and I will put it into the wiki. For the bugs management, use trac.

Users need to register in order to do bug report, sorry for the hassle but we are not spam lovers.

Peace ;]

Thursday, October 25, 2007

HeX: Using Darkstat & Ntop

If you are using HeX, you can track your network statistic easily with the use of both darkstat and ntop, and here I will show you the simple way of doing it. Both darkstat and ntop are accessible through the right click menu -> NSM-Toolkit -> Session -> Darkstat or Ntop.

It is pretty straighforward to get darkstat to run -

shell>sudo darkstat -i lnc0 -b 127.0.0.1 -p 5555

To run ntop -

Set the admin password so that you can access to the web interface -

shell>sudo ntop -u nobody --set-admin-password=whatever

shell>sudo chmod 777 /var/db/ntop

In order to make it start on boot, I add this part to the file - /etc/rc.conf

ntop_enable="YES"
ntop_flags="-i lnc0 -w 127.0.0.1:3000 -d --use-syslog=daemon"

Then I start it -

shell>/usr/local/etc/rc.d/ntop start

Now you can access the web gui by typing this in your browser -

Darkstat
http://127.0.0.1:5555

Ntop
http://127.0.0.1:3000

If you are opening this via localhost, you may figure firefox browser won't be displaying the graphs properly even you have java script enabled in the browser, here's simple trick to fix it, just do -

shell>rm -rf ~/.mozilla/firefox

Restart your firefox and you are done.

Some screenies below -








I will continue to write the tips and tricks for the HeX liveCD, if you find any network security monitoring tools that listed in the menu you want to use but don't know how, feel free to email me and I will post the write up. In fact I'm thinking of doing screencast tutorial, let me know what do you guys think about that?

Enjoy (;])

Thursday, October 18, 2007

HeX liveCD: 1.0 Release

After six months of heavy developments, HeX development team is proud to present you the first and foremost Network Security Monitoring & Network Based Forensics Centric liveCD - HeX version 1.0 Release.

- Big Shout to chfl4gs_, thanks for everything
- Shout to pauls, thanks for all the ports
- Shout to guti, our web master
- Shout to vickz, our graphic designer
- Shout to tenner, thanks for your Fluxbox styles
- Shout to enhancer, mirror mirror on the net
- Shout to hol, thanks for the writeup editing
- Shout to spoonfork, thanks for your input
- Shout to whoever uses it and the feedbacks/suggestions

Great works to all the members in the team and thanks for the feedbacks. Inline with the 1.0 Release, we have also printed total 50 copies of CD labels(15 peace monkey and 35 fierce monkey) to be distributed. Here are the samples -

We will stop the development of HeX after 1.0 release, and only release bug fix version if any major bug found. We need some rest now, the next development cycle will be started again after FreeBSD 7.0 Released. We are currently planning for next project which will be announced soon.

For more details, check out its own page here -

http://www.rawpacket.org/projects/hex-livecd/version-10-release


May the force be with you!

Enjoy (;])

Tuesday, October 16, 2007

PADS: Call For Testing

If you are using PADS, we would like to have you testing for 2 patches which are available at sourceforge, my friend David Bianco has been running PADS with his own patches which fixed the daemon mode bugs and added vlan support. You can find the patches under his InstantNSM project here -

http://instantnsm.cvs.sourceforge.net/instantnsm/instantnsm/instantnsm/patches/


On the other hand, David has also added vlan support for tcpflow. If any of you are interested, feel free to test it out and send the feed back to me.

Thanks.

Peace ;]

Sunday, October 14, 2007

Happy Festival & Holidays

To my muslim friends, Selamat Hari Raya Aidilfitri.

To my non-muslim friends, Selamat Bercuti.

Check out the wiki if you don't know what I mean.

Enjoy ;]

Thursday, October 11, 2007

PADS: About Signatures Writing

I have written short write-up at security.org.my about how to write PADS signatures from the scratch, it's nothing to do with the regex matching but more to obtaining the correct data you need in order to proceed.

Lets go ->

http://security.org.my/index.php?/archives/PADS-Efficient-Signature-Writing.html

Enjoy ;]

Wednesday, October 10, 2007

HeX liveCD: Packet Trace File Conversion

I have spent some times to analyze the packet trace files which are freely available in Wireshark wiki and packet-level.com using HeX liveCD. While I'm having great fun with the packet traces, I encounter this -

shell>tshark -nr tcpshake.cap
1 0.000000 130.57.20.10 -> 130.57.20.1 TCP 1026 > 524 [SYN] Seq=0 Len=0 MSS=1460
2 0.004942 130.57.20.1 -> 130.57.20.10 TCP 524 > 1026 [SYN, ACK] Seq=0 Ack=1 Win=32768 Len=0 MSS=1460
3 0.005894 130.57.20.10 -> 130.57.20.1 TCP 1026 > 524 [ACK] Seq=1 Ack=1 Win=8760 Len=0

I want to compare the output of tshark and tcpdump, then I run -

shell>tcpdump -ttttnnr tcpshake.cap
tcpdump: bad dump file format

Fine, lets check what it is -

shell>file tcpshake.cap
tcpshake.cap: NetXRay capture file - version 002.001 (Ethernet)

It seems Wireshark suite supports NetXRay file format,

shell>man wireshak
Output truncated .....
Wireshark can read / import the following file formats:
* Cinco Networks NetXRay captures
Output truncated .....

Maybe I can convert it using editcap? Right click to launch the HeX main menu -> Pcap-Editor -> Editcap, to convert it from NetXRay capture format to libpcap format, I run -

shell>editcap -F libpcap tcpshake.cap tcpshake.pcap

shell>tcpdump -ttttnnr tcpshake.pcap
reading from file tcpshake.pcap, link-type EN10MB (Ethernet)
1999-11-08 06:31:23.090125 IP 130.57.20.10.1026 > 130.57.20.1.524: S 12952:12952(0) win 8192
1999-11-08 06:31:23.095067 IP 130.57.20.1.524 > 130.57.20.10.1026: S 2744080:2744080(0) ack 12953 win 32768
1999-11-08 06:31:23.096019 IP 130.57.20.10.1026 > 130.57.20.1.524: . ack 1 win 8760

That's great.

I figured that if you prefer gui, you can use the freeware which support more different capture formats - ProConvert. With wine, I have successfully installed in on Ubuntu 7.04. And here's the screenshot -


I try to compare both files that converted from different tools with diff command and they seems to have no differences, including both have same file size as well.

shell>ls -la tcpshake_cap.dmp tcpshake.pcap
-rw-r--r-- 1 geek00l geek00l 252 2007-10-10 14:41 tcpshake_cap.dmp
-rw-r--r-- 1 geek00l geek00l 252 2007-10-10 15:00 tcpshake.pcap

I haven't tried wine on HeX(FreeBSD), maybe it's about time to do it too.

Enjoy (;])

Tuesday, October 09, 2007

Finally ..... Fluxbox 1.0 Stable Release

After marathon type of development, finally Fluxbox reaches the great milestone - 1.0 Stable Release. While I'm not involving in Fluxbox development, I'm quite a long time user of it and even our HeX liveCD uses it as our default Window Manager for its simplicity and clean style. You can find the latest changelog here.

If you are new to Fluxbox, no worry as Fluxbox community has setup very useful wiki for you.

Anyway, greeting to Fluxbox development team!!!!!

RealTime Log Visualization

Visualization is getting popular these days, I came across this site -

http://www.fudgie.org/

This is much easy to read/watch .....

Enjoy ;]

Monday, October 08, 2007

PADS: The Future

As PADS is now integrated to Sguil, I would assume the usage of it might be increasing. PADS is known to passively identify the network assets running on your network and further assisting in network assets profiling. However the main developer(Matt Shelton) of PADS is no longer actively maintaining it. Together with David Bianco, we have taken the initiative to maintain the PADS but this is more to NSM community efforts instead of doing it solely. If you are using PADS, feel free to do the following -

- bug report

- send us patches

- test our patches

- contribute PADS signatures

Matt Shelton has delegated us the admin access to PADS source tree, however we will take careful step to further testing all the patches and signatures before committing to it.

Cheers ;]

Sunday, October 07, 2007

Hub, Span or Tap

I must say I enjoy reading this because it is well explained, you should read this if you are currently involved in network security monitoring implementation and deployment stage -

http://www.lovemytool.com/blog/2007/08/span-ports-or-t.html

http://www.lovemytool.com/blog/2007/09/aggregation-tap.html

I enjoy reading other posts as well since I can learn about some commercial products that I haven't used before. Progressive learning is always good .....

Peace ;]

HeX liveCD: The Graphic Designer

We have assigned Vickson as our main graphic designer because we all like his sense of art and ability to craft. It's been quite sometimes he has setup his own blog that discussing about art and design which I think it's worth mentioning, check out the link -

http://vickz.com

Hereby I would like to thank for his contribution to the HeX liveCD. We all appreciate it!

Cheers ;]

The light & easy

Today is Sunday, and lets share something that is light and easy. Here's the list of softwares I use lately on my Ubuntu desktop -

- Pcmanfm

- Tracker

- Deluge

- Miro

Pcmanfm is another nifty file manager, tracker is great indexing and searching tool, deluge is better than any other bit torrent clients out there, miro is your wanted video player. No sneak peaks here because you can find them in their respected site.

Enjoy ;]

Saturday, October 06, 2007

Bro - Tips & Tricks

I figured simple way to find all the tips and tricks about Bro-Nids that written by me and spoonfork. Check them out here -

- My blog

- Malaysia Network Security Blog

Other than us, you would be able to find all the good things in the bro wiki.

Enjoy ;]

Digital Forensics Research Workshop

I'm always interested about digital forensics technology, while I'm not really into that field. I just learn about this site when googling around, and it's good to share with everyone -

http://www.dfrws.org/index.shtml

From the site -

DFRWS is dedicated to the sharing of knowledge and ideas about digital forensics research.

This is what we really need, the knowledge sharing!

Friday, October 05, 2007

HeXtra Changes

Along with the upcoming release of HeX liveCD, there will be couple of changes in HeXtra. Thanks to Paulh as most of the tools that packaged in HeXtra 1.0 Beta are already ported to FreeBSD port system. Therefore we will only distribute HeXtra 1.0R with the following -

- latest sguil client in cvs

- snort configuration files and signatures

- latest argus 3

I have received few requests about the adding of honeysnap to the HeX liveCD. If any of you would like to port it to FreeBSD for the sake of HeX, please feel free to contact me.

Wednesday, October 03, 2007

Sguil: Minor DB Issue

I remember I have this problem previously and it forces me to create the sguil sensor name without "-" instead to resolve it. And I haven't taken note of this but today when I read this information at Knoppix-NSM faq, they have clear answer so I think it's good to take note of it, from the link -

http://www.securixlive.com/knoppix-nsm/faq.php

Sensor is running but no data in sguil console?

If you have used the - (minus/dash) character in your sensor name than this could be the cause. When a new sensor is created new tables, based on the sensor name, are also created for storring data. MySQL does not allow you access to tables that has the - character in the name. Change the sensor name and this should fix the problem.

It's minor issue, seriously. But it can crack your head to figure it out sometimes.

Peace ;]

Tuesday, October 02, 2007

HeX liveCD: Pre 1.0R

Nothing much happens, but we are making progress bit by bit. We are currently testing the private version of HeX to make sure everything in HeX working properly.

As for today, we decide to release the last build of HeX before the major version 1.0 Release. Feel free to join our mailing list as the initial announcement is there.

Here's the announcement from chfl4gs -

geek00L and I are proud to present latest build of Hex for group peer review. My apology for not making this post possible earlier and circulation of versions of Hex for wouldn't be merely between two of us.

Here you can grab the iso for testing.

http://bsd.ipv6.la/hex-i386-1.0RC2-20071002.iso
http://bsd.ipv6.la/hex-i386-1.0RC2-20071002.iso.md5
http://bsd.ipv6.la/hex-i386-1.0RC2-20071002.iso.sha256

Some of the known issue i.e. msfweb shows "Application Error" without error : RubyOnRails related memory handling issue. msfweb runs fine if you allocate more memory. 256MB on qemu is not sufficient for msfweb.

This version is a major bug fix release and we planned to go for 1.0-R if everything else is stable and functional. As usual, feedback, both good and bad, are most welcome. Please post to this group if you have any questions/bug reports/fix to share.

Thank You.

Yes, most of the bugs that we have found and reported are fixed, and we even tested all the Network Security Monitoring based tools and it goes well.

One of the script I have added is NBF-Offline.sh where you can find under ~/rp-NSM directory, it is Network Based Forensics automation script to assist analyzt to perform network data carving. Most of the stuffs in HeXtra are already merged to it as well, except the argus 3 and NSM-Offline.sh, which we have thought of adding to the 1.0R.

In order to summarize the Objective of our liveCD, we are actually trying to develop the first and foremost Network Security Monitoring & Network Based Forensics Centric liveCD. Therefore we welcome all the practitioners to try it out!!!!!

Enjoy ;]

Sunday, September 30, 2007

HeX: Full Screen Terminal

For HeX liveCD, our virtual terminal of choice is mrxvt, we use version 0.5.3 which is the latest unstable branch and it works very well.

I know some of you prefer to have Full Screen CLI especially to those who allergy to GUI, here's the simple tip, you can either click on the fluxbox menu->System->Run or type in the terminal -

shell>mrxvt +sb -name FullScreen

Here's the screenshot -

It will launch the full screen terminal, and the font size also becomes bigger in this case. However if you prefer to have small font size while having full screen terminal, you can run -

shell>mrxvt +sb

Then follow by pressing Control+Shift+f keys will do. Here's the screenshot -


Nice little trick but it does what you want.

Peace ;]

Saturday, September 29, 2007

Network Protocols & Passive Analysis

It's weekend day and I should find way to relax but I have to admit I'm network protocol addict. Today I have read about the links below and would like to share -

- http://sd.wareonearth.com/~phil/net/overhead/

- http://www.hypothetic.org/docs/msn/index.php

- http://www.securityfocus.com/infocus/1894/1

No comment about the protocol overhead and msn protocol topic but I might say I learn something new and save my time of digging them myself. Well documented stuffs always cool. However for the third link which topic is Passive Network Analysis and the date is 2007-09-28, introducing ethereal is bad especially the writing itself is more to introductory and you have wide range of audience(securityfocus is high profile) unless if we flash back to April 24, 2006. In fact, the wireshark is NOW. Other than that, Stephen Barish has done a great job in explaining the basic and the use of Passive Network Analysis.

Passive Network Analysis is another form of intelligence gathering technique in forming defensive strategy which you should look up.

Cheers ;]

OpenPacket: Emphasizing Practical Knowledge

One of the objective that raWPacket group creating the HeX liveCD is to develop the platform for network security analyzt to analyze the network data(pcap), and it can be great learning tool too if you want to learn about networking or enhance your analysis skill.

In most of the time, I have heard from people that they don't have live network to learn about networking or network security especially students, therefore their practical knowledge usually come after they started working in the field.

Thanks to Richard who taking initiative to launch OpenPacket, it is still in alpha stage but we hope to see it goes live soon. To follow up the progress and development of OpenPacket, stay tune with its blog.

So what is this OpenPacket all about?

OpenPacket.org is a Web site whose mission is to provide a centralized repository of network traffic traces for researchers, analysts, and other members of the digital security community.

I would like to add on that the network traffic traces or sample can be equally useful for education community too, students can download the data and start to learn about them practically instead of reading the unintuitive networking book line by line without real understanding. And it can be very handy and productive if they are using HeX liveCD.

What should you do now? Join the OpenPacket mailing list, share your network traces and be part of community. Your participation are always welcomed.

Before some of you may remind me, another useful website to obtain network data is at -

http://wiki.wireshark.org/SampleCaptures

Enjoy ;]

Friday, September 28, 2007

Fl0p: Decoding the Evil Genius Mindset

People who come from Unix background always have the real guts, and I bet you know what is RTFM all about. In fact it is Read The Fun Manual when you don't know how to use the commands or understand the technical section, sounds polite isn't it ;P

Thanks to one of my great friend who has observed the Fun thing about fl0p which created by one of the man who I really respect - Michal Zalewski. In fact my friend also fixed the packet retransmission handling for fl0p in order to identify the traffic flows more accurately especially in busy networks. We also figure there's error in the command line option where the -q for packet timing threshold is in fact -T, the -q is used for quiet mode instead. We are not too sured to make the patch publically available yet but we hope to fix more things before we do so.

So what's this fun thing about, let's look at the fl0p command lines -

shell>./fl0p -h
Usage: ./fl0p [ -f file ] [ -i device ] [ -s file ] [ -o file ]
[ -u user ] [ -e ms ] [ -T ms ] [ -FUKrqvpdtl ] [ 'filter rule' ]
-f file - read fingerprints from file
-i device - listen on this device
-s file - read packets from tcpdump snapshot
-o file - write to this logfile (implies -t)
-u user - chroot and setuid to this user
-e ms - pcap capture timeout in milliseconds (1)
-T ms - packet timing threshold in milliseconds (400)
-F - disable fuzzy matching on all signatures
-U - display fingerprints for unidentified streams
-K - do not display known signatures (implies -U)
-r - resolve host names (not recommended)
-q - be quiet - no banner
-v - enable support for 802.1Q VLAN frames
-p - switch card to promiscuous mode
-d - daemon mode (fork into background)
-t - add timestamps to every entry
-l - output concise 1-line output

'Filter rule' is an optional pcap-style BPF expression (man tcpdump).

The command line looks innocent as it is. But what if I do -

shell>./fl0p -t -f /usr/local/etc/fl0p.fp -i eth0 -FUK -u geek00l

So this can be interpreted as F-U-tu.....-K u geek00l! Maybe we should implement another command line argument which is -C. Or Zalewski must have something in his mind to implement for -C to the completion of fl0p.

Peace (;])

Tuesday, September 25, 2007

HeX liveCD: Virtual Appliance

I started to have this idea after conducting the security training with Spoonfork in HITB Security Conference lately, we have created the VMware Image by installing HeX on top of it. However the image is only available to the people who have attended our training only as it also contains interesting pcaps that I have collected during my past network security operation.

I would like to create the platform which network security analyzt can perform network data analysis during network security operation. The HeX liveCD itself is great choice to do so but I believe some folks out there prefer it to be readily installed and can load the network data(pcap format) instantly. However if I have to create the HeX Virtual Appliance, the main issue would be the distribution because of its image size(Gigs). Hence I have thought of few ways to solve it -

- Distribute through p2p networks - bittorrent?

- Getting more download mirrors? Shout to enhancer!!!!!

- Getting support from http://www.vmware.com/appliances/

I'm not too sured creating HeX Virtual Appliance worth the efforts, and I would like to hear from you - the HeX users out there.

Cheers ;]

HeX liveCD: Mailing List

For all the HeX liveCD users out there, we have been developing this liveCD for quite sometimes and I have received some positive and negative comments and various inputs from the users, therefore instead of me receiving the email and redirect to other co-developers, I decide to create the mailing list for the HeX liveCD so that it will has life of its own ;P

There you go -

http://groups.google.com/group/HeX-liveCD?hl=en

Since this is public group and mainly used for mailing list management, I decided to use google group as it is convenience and easy. Therefore feel free to join us!!!!!

On the other hand, you can visit us at Freenode #rawpacket. Most of us are slacking there.

Enjoy ;]

Monday, September 24, 2007

When will spammers' creativity exhaust?

Seriously, I do wonder when will the spammers run out of creativity .....

Even then, they try hard to bypass the detection of "Internet Explorer" strings.

Let's copy it and paste but yet it doesn't work, poor lowpriceoem. com

Peace ;]

VMware-Tool Follow Up

I found this great tip to get VMware-Tool install, in fact the link mentioned that if we are running Xorg 7.2 or later, the driver for VMware is included natively and we just need to install VMware-Guestd. Here's the link -

http://web.irtnog.org/doc/faq/freebsd-vmware-tools

The tip works great if you have installed HeX in your VMware workstation. After VMware-Guestd is installed, what we need is just the editing the section below in /etc/X11/xorg.conf -

Section "Device"
Identifier "Card0"
Driver "vmware"
EndSection

By default it is vesa, just change it and restart X will do.

Enjoy ;]

HeX liveCD: VMware-Tool Inclusion & Status

The HeX liveCD project is inactive for a while and now it goes active again, the 1.0 Release is very very close as we are doing some improvement and housekeeping to make it clean and tidy.

As most people who uses HeX liveCD prefer to load it on VMware, it raises the question to us whether it's fine to distribute HeX with VMware-tools. I have discussed with chfl4gs and interestingly we found this link -

http://www.vmware.com/download/eula/tools_policy.html

Effective immediately, VMware has modified its current policy with regard to VMware Tools as follows:

Subject to your compliance with the VMWARE MASTER END USER LICENSE AGREEMENT, the restriction in Section 3.5 of the VMWARE MASTER END USER LICENSE AGREEMENT prohibiting distribution of the VMware Tools to third parties is hereby removed. You may distribute VMware Tools to third parties in object code format only and solely in conjunction with, and as part of, any Virtual Machine you create with the Software or with any update for any such Virtual Machine.

For now, it seems to be fine to distribute the FreeBSD VMware-tool6 package and we may do so . But changes will be made later if the vendor changes their mindset but from what I know, VMware Inc usually plays well with FOSS community.

From now onward, we are in the package/port freeze state and concentrating on bug fixes until the release of HeX v1.0R.

Cheers ;]

Sunday, September 23, 2007

Sigsssss or Sicksssss

Another post about Bro-Nids regarding the conversion of signatures from Pads to Bro format.

You can find it here -> click

Has been three weeks I adapted in research and development process and it seems to be pain in the ass .....

Peace ;]

Friday, September 21, 2007

Bro - Signature Testing

Unlike snort, Bro-Nids is not signature centric NIDS, however it does offer certain level of signature capability in order to be more comprehensive in event detection. Following is the example of Bro signature in detecting one of trojan -

signature thinstall_trojan
{
ip-proto == tcp
dst-port == http_ports
http /[pP][oO][sS][tT]\x20{1,}\/bi\/servlet\/ThinstallPre/
tcp-state established,originator
event "ThinstallPre Adware Trojan, personal and machine data theft, successful"
# reference:
}

It looks pretty straight forward comparing to snort sigs as I would admit snort offers more powerful and flexible capability for sig rule writing. Again we see regular expressions(regex) here. I can't recall how many times I have told about the important of regex to network security analyzt.

[pP][oO][sS][tT]\x20{1,}\/bi\/servlet\/ThinstallPre

What if I want to test the signature on the fly, here's what I do. Write the signature that based on the standard format above and save it as testing.sig, then -

Export bro environment variables -

shell>cd /usr/local/bro

shell>. etc/bro.cfg

Test it with the packet capture data(holycow.pcap) with -s option, and remember to load the other analyzer or policy scripts such as tcp, udp, icmp, http and signatures. All of them can be found under policy directory with .bro suffix. Then execute -

shell>bro -s testing.sig -r holycow.pcap \
tcp udp icmp http signatures


If there's traffic that matching the signature, it will be logged to signatures log file. I will write more tips and tricks about Bro-Nids in future when possible especially at security.org.my.

Cheers (;])

Thursday, September 20, 2007

Ubuntu: Afterglow

Afterglow version 1.5.9 is released lately, I would like to try it out on my laptop that running Ubuntu Linux, the steps are quite straight forward. Here's the less than 1 minute steps -

shell>sudo apt-get install libtext-csv-perl graphviz

After that, just download afterglow source tarball and untar it.

You are good to go now.

shell>perl afterglow.pl -h

Afterglow 1.5.9 ---------------------------------------------------------------

A program to visualize network activitiy data using graphs.
Uses the dot graph layout program fromt the Graphviz suite.
Input data is expected to be in this simple CSV-style format:

[subject], [predicate], [object]
10.10.10.10, ACCEPT, 216.239.37.99

Usage: perl afterglow.pl [-adhnstv] [-b lines] [-c conffile] [-e length] [-f threshold ] [-g threshold] [-l lines] [-o threshold] [-p mode] [-x color] [-m maxsize]

-a : turn off labelelling of the output graph with the configuration used
-b lines : number of lines to skip (e.g., 1 for header line)
-c conffile : color config file
-d : print node count
-e length : edge length
-f threshold : source fan out threshold
-g threshold : event fan out threshold (only in three node mode)
-h : this (help) message
-l lines : the maximum number of lines to read
-m : the maximum size for a node
-n : don't print node labels
-o threshold : omit threshold (minimum count for nodes to be displayed)
Non-connected nodes will be filtered too.
-p mode : split mode for predicate nodes where mode is
0 = only one unique predicate node (default)
1 = one predicate node per unique subject node.
2 = one predicate node per unique target node.
3 = one predicate node per unique source/target node.
-s : split subject and object nodes
-t : two node mode (skip over objects)
-u : export URL tags
-v : verbose output
-x : text label color

Example: cat somedata.csv | perl afterglow.pl -v | dot -Tgif -o somedata.gif

The dot exectutable from the Graphviz suite can be obtained
from the AT&T research website: http://www.graphviz.org

Cheers ;]

Bro-Nids + Afterglow

Yes, I'm in the Bro mood now, I have written about generating insightful flow graph from Bro connection log using afterglow where you can find at security.org.my here.

This is the simple idea demonstration but I found it useful, at least.


Enjoy (;])

P/S: Thanks to sudugarpu for security.org.my account access.

Wednesday, September 19, 2007

Malaysia Network Security Community

I have added security.org.my link to my site which initiated by spoonfork, we are currently digging into Bro-NIDS and you will find a lot of tips regarding Bro in the site. However that's not the only purpose of Malaysia Network Security Community Site, there are many things we would like to do such as honeynet, security commentary, getting Malaysia security professionals together and so forth but time is the limitation to both of us.

Anyway if you had noticed, we have

- honeynet project

- raWPacket project

Both will host all the projects we are working on such as HeX liveCD, honeynet and etc.

Maybe its time to recruit new bloods?

From my point of view, our country is still lacking of real security professionals. On the other hand, computer security certification itself destroys the security industry by training a lot of junks and talk cockers as long as you know how to pass the exam(not that you have the knowledge to pass the exam), the capability of the security professional can never be measured relying on how many related certifications you have as this field requires a lot of studies and steep learning curve as well as self-discipline.

I'm not anti-certification, but with people I have met thus far, the quality is always not up to the par with the title in the given certification and it creates the fake reality and self-ego to the person himself/herself.

Those big companies are the helpers too, they will always recruit people with more certifications than less, and do we think more is always better? In this century, the quantity seems to overtake the quality. With this kind of undesirable trend, I have heard from some of my friends where they have to obtain related certification in order to get employed or better pay or even promoted.

To whoever think I'm ranting now, I'm seriously not. Face it, this is the reality.

It's time to wake up .....

Peace ;]

Saturday, September 15, 2007

BPF - Birectional Filter

Imagine you have the server farm, and one of your web server is suspected to be under attack or in the state of uncertainty, and you would like to examine the traffics that flowing to your web server and the exchange session from the remote nodes to your web server(port 80 by default). How can you do it with BPF filter?

The network conversation is illustrated as below -

Host A - Web Client
Host B - Web Server

Host A (any port) -> Host B (port 80)
Host B (port 80) -> Host A (any port)
Host A (any port) -> Host B (port 80)
Blablablabla .....

Given the web server IP address is 192.168.0.55, here's the pretty quick tip for you to assess the network traffics that flowing in and out from your web server that initiated by the remote node. As the port 80 resides on the web server, therefore the filter below should work -

(src host 192.168.0.55 and src port 80) or (dst host 192.168.0.55 and dst port 80)

There you go, the bidirectional filter!!!!!

Happy packetysis (;])

Tuesday, September 11, 2007

BPF - Non RFC Compliant?

It's been a while I haven't written anything about network traffics analysis and it's fun to do it again. If you don't know what is BPF, you can check it out here -

- FreeBSD BPF Man Page

- Good Old BPF paper

Here's the description of the Berkeley Packet Filter, it provides a raw interface to data link layers in a protocol independent fashion. All packets on the network, even those destined for other hosts, are accessible through this mechanism.

I came across this when I was trying to filter multicast network traffics from the packet capture file. From my understanding and the RFC references, IPv4 multicast addressing is in the class D of which the first octet of IP address is in the range of 224-239. I tried to confirm what I have learned from the resources below -

- IANA Address Assignment

- RFC3171

- RFC2365

- RFC3330

- IETF Draft

Then I use this BPF filter(ip multicast) to accomplish my need -

shell>tcpdump -ttttnnr multicast-mix.pcap 'ip multicast'

As expected, the tcpdump output shows all the multicast traffics. But wait, it shows other unexpected traffics where I spotted there are some traffics with the destination IP of 255.255.255.255 which I don't think it belongs to multicast addressing. To understand the BPF filter , I dump the compiled packet-matching code in a human readable by running -

shell>tcpdump -d ip multicast
tcpdump: WARNING: eth0: no IPv4 address assigned
(000) ldh [12]
(001) jeq #0x800 jt 2 jf 5
(002) ldb [30]
(003) jge #0xe0 jt 4 jf 5
(004) ret #96
(005) ret #0

From the instruction 000 and 001, we know it is IPv4 traffic. 002 will look at the 30th byte offset in the Ethernet frame where it is actually the location for first octet of destination IP address and 003 performs jge #0xe0 which it will jump into that byte offset and check if it is equal or greater than 0xe0(in decimal it is 224).

If the condition is true(jt 4), it will jump to 4th instruction and returns 96 bytes which is the default snap length of what tcpdump has captured in single ethernet frame, else(jf 5) it will just return nothing.

To be clear, as long as the first octet of destination IP greater than 224, the BPF filter "ip multicast" will catch it.

ip multicast = 224.x.x.x - 255.x.x.x

This is not RFC compliant, isn't it? Therefore to do what I really want with BPF filter, I have to use this -

ip[16]>=224 and ip[16]<=239

I don't mean everything must be RFC Compliant as we know some evil vendors tend to break it. Anyway I just share my finding.

Enjoy (;])

Saturday, September 08, 2007

HITB SEC CONF 2007: The WriteUp

As usual me and mel have conducted the training for HITB this year, everything goes pretty well and organized as we are well prepared and attendees are given the VMware image with HeX and network data(pcap) loaded. Hopefully all the guys who attended our training have good time. The first and second days of the event are just the 7 tracks security trainings and HITB Cinema. I was glad to meet Jose Nazario again and have little conversation with him, SK was there too unfortunately I can't attend to the knowledge session sharing that invited by him due to heavy load of works. After the training is over, the Capture The Flags(CTF) Crews getting together and we started to launch our master plan - the gangbang.

Mel, rd, xwings, takizo, adli, y0muds and me got together and setup the CTF, and we only be able to set everything up in the midnight due to the whatever event in the Hilton hotel.

The third and fourth day of HITB event can be considered the meat of it. Unfortunately we have our CTF game delayed and started by the time of 1430, most of us were not able to attend any interesting talks in the conference though we would like to because we have to monitor the game. On the other hand, we have LockPicking Village and Zone-H Hacking Challenges ongoing. The lock picking stuffs were fun and I have learned how to open the police hand cuff by using the toolkits from TOOOL. Anyway I have sneaked into Rafael Marty's talk about the Insider Threats Visualization. Basically it is all about logs visualization but doing it effectively. If you are interested about graphing stuffs, check out the site maintained by him.

In the fourth day, I only be able to catch up with Luiz and Fx talks regarding Network Protocol Fuzzing and Hacking modern applications. For me Luiz talk is kinda brief but he did mention that Network Protocol Fuzzing has nothing to do with Vulnerability Assessment as the VA uses known vulnerabilities to probe but the Fuzzer usually discovers unknown or 0 days attack, I have checked out the MUsecurity box that brought by him which is pretty cool. Fx has talked about the vulnerabilities that can be found in the modern application with their stupid design flows. And I'm pretty amazed where he can actually design the new logo for ciscock. He also mentioned that attacking is cheap but detection is very expensive which I found it damn right.

Other than that, I have met our good friends from HC2C(Rodrigo and Domingo), US Army Strong guys and I hope they are having good time in Malaysia. After all, the event is over with the CTF and Zone-H prize given ceremony as well as the interesting auction. I bet we can threat Zone-H founder for something else with his unrevealed pictures we have taken ;P

Nothing to mention about the party, except that all the stupid CTF crews as well as the HITB founder been thrown into the swimming pool.

Kudos to all the HITB Members, VLNTs and Speakers who have made this Conference successful.

Cheers (;])

HITB Aftermath: Why you don't know you are having virus in your pocket?

This is something interesting happened during HITB Conference 2007, all of us brought our own USB thumb drive to ease the file transfer process. After the conference is over, Dhillon told us that his USB thumb drive contains virus and ask us to look into ours, interestingly here's what I have in my thumb drive -

shell>cat autorun.inf
[AutoRun]
open=.\MSOCache\90000804-6000-11D3-8CFE-0150048383C9\KB915865.exe
shellexecute=.\MSOCache\90000804-6000-11D3-8CFE-0150048383C9\KB915865.exe
shell\AutoOpen\command=.\MSOCache\90000804-6000-11D3-8CFE-0150048383C9\KB915865.exe
shell=AutoOpen

shell>file \ MSOCache/90000804-6000-11D3-8CFE-0150048383C9/kb915865.exe
MSOCache/90000804-6000-11D3-8CFE-0150048383C9/kb915865.exe: MS-DOS executable PE for MS Windows (GUI) Intel 80386 32-bit

Other crews may also have similar files in their USB thumb drive, therefore if any of you have borrowed USB thumb drive from us, good luck! As most of us are using either linux or osX, we don't even know the malicious files reside in our usb thumb drive.

Thanks to F-Secure sticker, I especially like the quote -

Real Men don't use antivirus.

Good luck to all Windows users in the conference.

Enjoy ;]

The root cause of this - thanks to the rented PC from whatever hardware provider ..... you should pay our monetary losssss

The Good Phisher

Yes, I'm talking about good phisher who kicks his/her own asssss -

For security reasons, you are advised to keep your winning information confidential till your claims are processed and your money remitted to you in whatever manner you deem it fit to claim your prize. This is part of our precautionary measure to avoid double claiming and unwarranted abuse of this program by some unscrupulous elements and most importantly for your own security Please be warned

Sometimes I just love spammers/phishers for no reason .....

Cheers ;]

Friday, August 31, 2007

Ubuntu: Huawei E220 for the sake of Celcom 3G

For certain purpose, I get to play with celcom 3G using Huawei E220 modem. Interestingly they are many people getting this device working under linux, but it seems people may have it working for them but not for the others, and here's mine.

shell>wget \
http://www.kanoistika.sk/bobovsky/archiv/umts/huaweiAktBbo-i386.out

shell>sudo chown root huaweiAktBbo-i386.out

shell>sudo chmod +s huaweiAktBbo-i386.out

shell>./huaweiAktBbo-i386.out

After you have done this, you can now configure wvdial, here's my humble configuration for impatient celcom 3G users, just edit your /etc/wvdial.conf.

[Dialer celcom]
Phone = *99***1#
Modem = /dev/ttyUSB0
Username = username
Password = password
ISDN = 0
New PPPD = yes
Baud = 460800
Init2 = ATZ
Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem

After you have configured it, just run this will do -

shell>wvdial celcom

Done. Thanks to all the helpful links in internet that give me idea of how to get this working on Ubuntu 7.04.

Cheers ;]

Tuesday, August 28, 2007

Ubuntu: Enlightenment 17

Due to the new job engagement, I haven't been posting much. I have just finished my first week working in the new company, the new job is totally different than my previous job since I need to do the requirements study for different network environments as well as some involvement of technical tasks. The job is quite challenging in certain perspective and hopefully I can take it.

I have been toying with enlightenment DR17, just like fluxbox there's no so called "stable release" and it is still in pre-alpha stage, if you know about enlightenment, DR17 is completely rewrite comparing to DR16 and the developers are now building all the applications using its own "e" libraries to facilitate and speed up the process. You can find more information about enlightenment here.

I have checked out E17 when trying the elive liveCD here, and it makes me always thinking that enlightenment is more to hobbyist window manager with slick graphic and animation supports. People who know me well should already know I always prefer something simple but highly usable and that's fluxbox.

Now I have Ubuntu linux installed on my new laptop(HP Compaq nx6320), I can get E17 installed using the package management system. I just need to add this three lines in my /etc/apt/sources.list -

deb http://edevelop.org/pkg-e/ubuntu feisty e17 deb-src http://edevelop.org/pkg-e/ubuntu feisty e17 deb http://e17.dunnewind.net/ubuntu feisty e17

Then I just update package repo -

shell>sudo apt-get update

shell>sudo apt-get install enlightenment enlightenment-dev \
e17-devel-extras entrance enlightenment-theme-night-bling

After this is done, I just need to logout from current session, and I can change the session from gnome to enlightenment in the login manager.

As there's no enlightenment user manual, I have to use "trial and error" method to configure it. You have to use left mouse click to launch the main menu and right mouse click to launch favourite menu where you can store quick launch application that you use daily.

Under the main menu, there's Configuration, click on it and it will expand horizontally and you can find the Configuration Panel where you will be able to configure most of the thing(everything?) for enlightenment.


I have a lot of keybindings when using fluxbox, therefore it is important feature for me. Enlightenment also provides the ease of use keybindings configuration. However the keybindings only support the control of the window and certain system commands, you can't do keybinding for application launching, maybe there's a way but I don't figure it out yet.


One of the important feature in Enlightenment is the modules, though it is not near perfect but with that you no longer requires gkrellm or conky, I just loaded few modules I find useful especially the virtual desktop, battery and so forth.


Wallpaper and theme configuration can be found under Configuration, and I just change to my preferred wallpaper(animated) and the theme too. Here are the two screenshots of my current desktop.



Here's the challenge, can you find the differences between two screenshots(wallpaper only) above? ;P

Yet I'm not finishing my post, there are two main functions which are built in that making me love about enlightenment, the window list and run command, with them you can just do application launching and switching in the blink of an eye. Just try out alt+tab and alt+esc and you will find that make your days.

As for now, though in pre-alpha version but I don't consider it in pre-alpha quality, and I have changed my mind that enlightenment is no longer hobbyist desktop shell but very fast and usable especially for people who don't rely much on mouse. Of course the graphics and animations without sacrifying the speed are the big plus too.

Kudos to Enlightenment developers!!!!!

Enjoy ;]

HP Compaq nx6320: Ubuntu Linux

Just start working in the company and I got this laptop in the first day, after few days of using ultimate OS that produced by M$, I can't resist anymore due to low productivities, therefore ..... good bye M$.

Finally Ubuntu kicks into my life in for production work because .....

1. I'm lazy to configure anything manually

2. I need something that can create high productivities

3. I have no time

4. It works almost out of the box except suspend to memory which not my serious concern anyway

5. Mel aka Spoonfork burnt me the Ubuntu installation CD

For Ubuntu users, the laptop model is HP Compaq nx6320 and its weight around 2.8kg +. If you don't mind the weight and love big laptop with clear screen, this is definitely your choice, especially the battery can last 3++ hours or I should say around 4 hours.

Maybe next time I should try FreeBSD, OpenBSD or Gentoo but currently I'm quited pleased with the outcome and I'm on the road.

Enjoy ;]

Thursday, August 23, 2007

Anti Anti-Spamming

Now you have detection to figure out the spam email, and now you have a way to avoid spammer to crawl your email, and now the spammer use your way to reach your mail box .....

From: "Harris Ramirez"

To: me

Seen my profile yet? Jennies friend. check me out @ triple w dot gotgameyes dot com xoxo Kira.

If you are interested, feel free to try the link, I'm sured you won't be dissapointed.

Don't get heart attack!!!!!

Cheers ;]

Sunday, August 19, 2007

Malaysia: National Cyber Security

There are two interesting posts from security.org.my regarding our National Cyber Security, I'm sured the guy who maintains the site has critical view about Malaysia Cyber Security but truly correct in his sense.

Lets start the fun by reading this -

- Part 1

- Part 2

Sometimes we have to learn to accept critique especially when we are wrong, consciousness is a need.

Peace ;]

Saturday, August 18, 2007

Media Files Meta Info Identification

Lately I have setup a home pc for my parents and I have to install windows for them even I myself advocate open source, that's the platform my brother knows how to work with and he can help my parents in case there's technical problem as I'm about to move to new place.

I have installed Firefox browser, OpenOffice and Vlc media player for them. Since my parents prefer to watch movies, I have found a Open Source application that can help them to identify the media files and download the correct codec. You can find the application here -

http://mediainfo.sourceforge.net/en

Mediainfo is small application but very neat although it can't support all codecs yet, you can just load the media file and it will try to identify what kind of containers and media formats are embedded in the file and extract the useful meta information for you. Here's the basic look of it when I load the Joker.avi file -


You can change to tree view to read more details information(I prefer this) -


Of course the most useful feature for end user should be the "mouse click" where you can fetch the correct codecs to solve the problem of playing media file.

I already told you I advocate Open Source Softwares!

Enjoy ;]

Friday, August 17, 2007

The Best Friend

If you are hired to design and deploy the whole security infrastructure, who you prefer to refer or consult?

The answer is pretty straightforward - System & Network Administrator

If you are living with your alter ego and ignore the role of them, you are definitely the wrong person for the job. In order to roll out the whole security infrastructure plan and execute them correctly, we must be humble and study the existing structure in all aspects from them, you may say some of companies(usually Multi National Company) have very well written documentation but that's all from the hard works of them as well.

Most of the people who work in information security field only concentrating on developing their tech skill set, however sometimes we really need to learn how to build effective relationship and communication with people we are working with.

Cheers ;]

Tuesday, August 14, 2007

Gmail Verification

Login to my google mail account today, and I read this(replace my email to my email @ gmail.com) -
Delivered-To: my email @ gmail.com
Received: by 10.143.3.9 with SMTP id f9cs301689wfi;
Sun, 12 Aug 2007 23:42:07 -0700 (PDT)
Received: by 10.140.201.1 with SMTP id y1mr2421909rvf.1186987296602;
Sun, 12 Aug 2007 23:41:36 -0700 (PDT)
Received: by 10.141.40.8 with HTTP; Sun, 12 Aug 2007 23:41:36 -0700 (PDT)
Message-ID:
Date: Mon, 13 Aug 2007 08:41:36 +0200
From: "Gmail Team"
Subject: Gmail Account Alert ( Verify Your Account Details)
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_Part_2617_8076328.1186987296570"

------=_Part_2617_8076328.1186987296570
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

G MAI L BETA


* VERIFY YOUR FREE G MAI L ACCOUNT NOW !!! *
*
Dear ****G ma il Account Owner,*
This message is from Gmail messaging center to all Gmail free account
owners and premium account owners. We are currently upgrading our data base
and e-mail account center. We are deleting all unused Gmail account to
create more space for new accounts.

*To prevent your account from closing you will have to update it below
so that we will know that it's a present used account.*

* CONFIRM YOUR IDENTITY BELOW

- Gma il! ID : ..........
- Password : ...........
- Date of Birth : ......
- Country or Territory : ...........

Enter the letter from the Security Image :
........ 859304
*
** **
** * * * ** Warning!!! Account owner that refuses to update his or her
account within Seven days of receiving this warning will lose his or her
account permanently. *
**
***Thank you for using Gmail* *! *
*Warning Code:VX2G99AAJ*
Thanks,
The Gmail Team
G MAI L BETA
Interesting isn't it? Look at the puzzling gmail word. I think I need to update this or else my email will be deactivated -
Warning!!!   Account owner that refuses to update his or her
account within Seven days of receiving this warning will lose his or her
account permanently.
Thanks to mail.service291@googlemail.com for sending this notification.

Cheers ;]

Monday, August 13, 2007

Defensive Security: Beyond NSM

I was with the Offensive Security Cloud in the VNSEC Conference, this is the first security conference ever in Vietnam and overall it is good with some of the familiar faces we have seen in HITB. I don't plan to write anything about the security conference as you can find the event write up here. Overall I enjoy the Vietnam trip and may pay for second visit.

I had spent a lot of times studying Defcon presentation slides, and I have feeling of this -

- You will never be the expert in certain subject, unless you don't see "Time" as a factor. Every single subject requires deep interest and continuous efforts to reach "expert" level.

- There are too many vectors that leads to successful attacks, we can't just count on bugs in the software itself, and even if you are, and assuming you are hiring pentester to hunt for the bugs in the software, he or she can find bug A, but he or she may miss bug B(different skill level or just miss it, code auditing is not easy task especially in complex software). Other problem such as human errors, this is not only happening for the social engineering and carelessness part that leads to information leaking, misconfiguration of network assets that leads to compromise should be counted because you are hiring wrong people to do the job.

- Attack and exploit based tools are geared towards automation now to speed up the process of hacking and vulnerabilities discovery. Cracking is possible now with better hardware(fast processors and chunks and chunks of memories), imagine the cyber crime activities that supported and backup by evil organizations.

- Application based exploitation becomes more and more popular. The exploitation techniques that discovered by attackers getting more and more unpredictable and advance. When I say application, it is no longer server side applications(eg. network services) but user side applications too such as browser, flash player and so forth.

- New technology is not always good, look at Voip, NAC, Web 2.0 and IPv6. Don't believe in "HYPE"! Learning from past experience is a need when building new technology but this is not the case.

For the moment it is pretty hard to form a well-defined defence because things are getting more complicated. But I would love to point out few open source applications which can be utilized to form my idea.

Application Level Protection & Monitoring - Why, because front end application is easy target and not well protected, and most of the hackers always go for the easiest route. Currently we hardly see much development on application level protection and monitoring yet, but that doesn't mean they doesn't exist -

- http://en.opensuse.org/Apparmor

- http://www.modsecurity.org/

Network Assets Profiling - Whatever connected to the network must be profiled and stored in the centralized location, of course this can be done almost passively with something like PADS, but I'm looking at something more advanced, such as -

- http://www.ocsinventory-ng.org/

Network Security Metrics - There's no complete standard for this yet as I don't think network security reaches mature stage yet. But really, we can't avoid this anymore if we are talking about Critical Network Security Infrastructure. Of course I don't see any complete tool for this but look at this -

- http://www.ossim.net/

Logs ..... - I'm not talking about tree but record. Record must be in Human Readable Form, realtime, understandable and provides advance mining functions. I think OSSEC has done a good job -

- http://www.ossec.net/

To counter fast pace emerging threats, I would love to see defensive systems to be built with the ideas below -

- Network intelligence collection, such as baselining of network assets and network traffics. This is the important lead to identify abnormal and malicious activities abruptly.

- Full automation is bullshit, human intelligence must present. The system must require certain level of automation and certain level of examination as well. Why automation, automation can increase time effectiveness and productivities on behalf of analyzt. Why we need to examine it? Because we won't be any good as the expert in the subject when dealing in certain type of the attacks(usually unknown or new to the analyzt especially when they have never encountered it before). Therefore we need other sources to learn about it. For example snort has the reference for its signature rules.

- Relation to the whole organization, and follow up actions, I don't know how to describe this in proper way yet but it is something I have in mind for my new employer which has to do with reporting, classification and priority.

- Supporting Audit Trails, Incident Response and Forensics Operation.

Of course I can't consider this as proactive methodology but I'm now looking at how it can be applied to critical network infrastructure. Richard has very interesting thought in this one.

We can never hopeless!

Peace ;]

Thursday, August 09, 2007

HeX liveCD: Mirror mirror on the Net

Dr. J has again setup the download mirror for HeX liveCD 1.0 Beta 2. I have forgotten to mention that we have included metasploit for this release as well. Here you can find two US mirrors download -

- Mirror 1
- Mirror 1 MD5

- Mirror 2
- Mirror 2 MD5

Thanks to Dr.J for his kindly offer! Please report if you have any problem with the mirrors.

Enjoy!

Monday, August 06, 2007

HeX liveCD 1.0 Beta 2

Chl4gs_ has integrated BSD installer to HeX liveCD so now we are making it to 1.0 Beta 2, we haven't added any other changes yet except the BSD installer so we encourage everyone to test it extensively. Here's the really simple how-to -

Boot up the LiveCD and "su" to root and type "installer" or "sudo installer" to start the installation. cpdup might take 10-30 minutes depending on you CDROM drive speed.

The only problem is BSD installer ncurses looks a bit weired under X. We still have no solution/workaround to that. However that shouldn't affect the installation process.

You can find the download link below, I will put it up at rawpacket site later.

- HeX liveCD 1.0 Beta 2 ISO Image

- MD5 Checksum

- SHA256 Checksum

Enjoy ;]

Wednesday, August 01, 2007

Books

Why do you read books? Some people read books because it is their hobby, some read entertaining books such as novel or science fiction, some prefer philosophy or politic related books, as there are way many too books out there, everyone just choose the topic of their interest.

Before I started my computing journey(pre age 23), I read a lot of books that related to economy and pyschology which is enlightening, I learned how to manage EQ, relationship and partnership management and the trend of macro economy.

But now, most of my times are spent on computing books, technical papers, mailing lists and RSS feeds to keep myself cutting edge about the evolution of technology. Working in InfoSec field requires continuous strength to improve myself. I think reading books may speed up the learning process of certain topics or subjects that I'm not familiar with as I'm learning from the experts in the field.

Anyway here are the books I will buy -

- Computer Networks: Internet Protocols in Action

- Snort Intrusion Detection and Prevention Toolkit

-
Security Metrics: Replacing Fear, Uncertainty, and Doubt

- Virtual Honeypots: From Botnet Tracking to Intrusion Detection

More books to come but all of these are what I need for the moment.
Enjoy ;]

Ourmon: Detecting P2P Activities In LAN

One of the beautiful thing about ourmon is it does generate network errors graphs, and usually we know p2p uses non-privilege dynamic ports(>1024) for both file uploads and downloads, and when one of the host running p2p client stop running, other p2p clients in external networks(internet) will still probe to it hardly and that will generate noticeable burst, hence if you see lots of triggers on port unreachable flow, that maybe some kind of ongoing p2p traffics.


However ourmon monitor placement is important, I suggest it should be deployed between Local Area Networks and the Firewall that protecting the network.

Cheers ;]