Search This Blog

Monday, October 31, 2005

Gentoo - The Hardest Linux to install?


Just when you though Debian or Ubuntu is hard enough to be installed... There is Gentoo. Debian, especially installation from a floppy disk, is already one of the hardest way to install linux. Yet, how is Gentoo even harder? Why would someone want to torture himself compiling the kernel for Gentoo?

Gentoo, in short does not use RPM, DEB or any form of packager by default. Gentoo promotes the compiling of the application and drivers AND the Kernel as well. Therefore you always get the latest by compiling and you never have to wait for the next Distro release. Its very Cool indeed for Power Users.

I had long since compiled a Linux Kernel.. Must had been about 5 years back. The nightmare always catches up to you. You can never hide... So here I am facing the laptop and the Cute Gentoo (by the way, is believed to be a type of penguin) Logo. Here goes... Compiling...
What a way to spend my holiday...

Sunday, October 30, 2005

Stucked in the MRT


This are actual photo sof a bag stuck in the train door while the MRT is moving...

We all thought it couldn't happen, but obviously the sensor is not there to prevent this...

Imagine if this is a little children hand or something...

Thursday, October 27, 2005

Recovering the Linksys WRT54G

From router to brick... after a failure to flash the firmware.
Here is your last chance to make a comeback from brick to router again.

Full article at :
http://www.cerberus-network.com/Home/tabid/63/ctl/Details/mid/397/ItemID/5/Default.aspx

Bobi's Birthday

Finally have the time to take out the camcorder and extract the short clip captured for Bobi's Birthday. Its horrible. Well, cos its dark and shaky and well, I don't care. It's Bobi's Birthday that counts.

Bobi's Birthday

Wednesday, October 26, 2005

Bobi and Greenie

Bobi just had his first birthday on 15th Oct. I was really too busy tied up with everything... From the audit to my company stuff. Well, but Iat least I attended the birthday party. There were lots of dogs there. Mostly Shih Tzu though. I will post up the picture later on. But meanwhile, here is a nice video I made to celebrate Bobi's 1st year. Its sure brign back lots of memory when he was small and playful... and still nto able to break the hard greenie with one bite. :)

Bobi and Greenie

Thursday, October 20, 2005

Trapt aka Kagero 2 Dark Illusion

Just released the original link for the japanese version is really hard to find now on the gameaq site.

Anyway, if anyone still needs the FAQ, its here:
http://www.gamefaqs.com/console/ps2/game/924502.html

Cerberus Antivirus Lite CD V2.00

I had been very busy with some Wifi auditing projects so I might not be able to catch up on the win32 version yet if anyone is still using it...
It came to me as a point I wonder whether its worth going on or not since the batch file now primary works and mine seems like a duplicated work.

However, I had continued on with the Lite version which I now I had renamed Cerberus Antivirus Lite (I hope you guys dun mind). The new ISO (14MB ZIP) based ius ready and contains both Mcafee and f-prot as the DOS scanning software.

I had also modded some of the core system files and boot image in order to make changes to the selection to choose which scanner to use. Because of the difficulty in using hte previous updater (believe me I know) I am going to revamped it into a single EXE files which automatically unpacks the necessary files and do all the work with just 1 request to the ISO file. The Updater will be ready soon.

Meanwhile here is the ISO for Cerberus AV Lite 2.0

Bit Torrent
cavlite.torrent

Emule
ed2k://filecavlite.zip14854757F971F36D55A63038451054900D9327AE/

Https
cavlite.zip

Well that all I have so far until I can find more bandwidth.

Wednesday, October 19, 2005

Writing Report for Audit

As you know Cerberus Network has its first project and the report is really kinda killing me. Escpecially since I broke my leg nowand I probably has nowhere to go but to sit right here and write the report. Hopefully it will be over soon... Show me the money man! :)

童话

Here is the song I had promised to sing. Firstly, for Angel and also for J as well since she is the person who had introduced me to this nice song. Hope you love it.

Tong Hua V3

Friday, October 07, 2005

IE and Netscape can read your clipboard

Ever had to enter a password that is like 16 characters or your credit card number or even something like a serial number? The most common way is to copy it into your clipboard and paste it on the webpage. Well, you are in for a shock.

Copy this into a file and save it.

<script language="JavaScript">
var content = clipboardData.getData("Text");
if (content!=null) {document.write(content);}
else {document.write('Clipboard is empty');}
</script>

Copy some text into your clipboard. Execute it. You might get a toobar block, but there are ways to work around it just that I only meant to demostrate this. Just allow it.

See what I mean? You still feel safe about your clipboard?

Ubuntu Grub Recovery

Another mini disaster stuck. I had to reinstall WinXP on my dual boot machine and the problem was I forgot to backup the boot sectors. Result was that the boot sector was overwritten during WinXP installation and I cannot go back to my Ubuntu now...

But fear not there must be plenty of help on the internet... Ok, let see.. Redhat, Debian, SuSE... Well, there are help for everything else except Ubuntu. And obviously this method don't quite work the same way, especially linux rescue doesn't work in Ubuntu bootup disc.

OK, so here I am going to post the solution. Bootup as per normal. Break the install procedure and get to the menu. You may shortcut to here but using expert as well. Anyway, you will need to go to the partition part and edit your mount point / in. BUT DO NOT FORMAT THE PARTITION!!! Ubuntu will doube check I think and warn about formating a previous installation, which IMHO is cool. OK, now you can skip the rest of the steps and go to the Install-GRUB option. btw, you may want to try and run install-grub from a shell in ubuntu... You will be shock to only find the *.deb there with nothing you can do. OK, back to the menu. It will try to install. If it did, good for you. For me, the instruction is not quite right. My first HDD turns out to be hd0 install of hda or whatever. Its pays off to check it while your ubuntu was working.

In any case, after sucessfully install grub, you can skip the rest of the step and reboot. TADA. IT works. And guess what the boot menu for me has changed. It even detected that I had upgrade from WinXP Home to WinXP Pro. Cool.

Wednesday, October 05, 2005

童话 ~光良~童话

I came across this MTV and I must say it touches me in a very unique way. Its not just the song, but the story. If you know my story with Angel, you will know what this means to me. I know its not such a new song and I know someone who also sang it. I wanted to sing this again. Someday.

童话~光良

忘了有多久
再没听到你
对我说你最爱的故事
我想了很久
我开始慌了
是不是我又做错了什么
你哭着对我说
童话里都是骗人的
我不可能是你的王子
也许你不会懂
从你说爱我以后
我的天空星星都亮了

我愿变成童话里
你爱的那个天使
张开双手变成翅膀守护你
你要相信
相信我们会像童话故事里
幸福和快乐是结局

你哭着对我说
童话里都是骗人的
我不可能是你的王子
也许你不会懂
从你说爱我以后
我的天空星星都亮了

我愿变成童话里
你爱的那个天使
张开双手变成翅膀守护你
你要相信
相信我们会像童话故事里
幸福和快乐是结局

我要变成童话里
你爱的那个天使
张开双手变成翅膀守护你
你要相信
相信我们会像童话故事里
幸福和快乐是结局

我会变成童话里
你爱的那个天使
张开双手变成翅膀守护你
你要相信
相信我们会像童话故事里
幸福和快乐是结局

一起写我们的结局

Kismet + HostAP + AirCrack on Ubuntu Part 2

Ok, now we that we got hostap up, make sure you can on it in monitor mode. What you dun have a card that card do that? Em.. Then I dun know why you should be using hostap in the first place :P Anyway, to test run iwconfig wlan mode monitor. Or whatever your interface is. No error? Good. We are in business.

You will need to install Kismet now. Yes, I know. No package as well. There is kismet for Debian though under unstable branch. But I guess its a pretty good idea to recompile since you probably want the latest stable version of kismet. Get it here http://www.kismetwireless.net/download.shtml.

It may require some additional package, so grab them as you come along. I believe using default all of them should be installed. So, its make andmake install. At least try running kismet now. With erro, but make sure its there. Next you need to find the kismet.conf which is in /etc/kismet/kismet.conf if I am not mistaken. Edit the user to the user you wish to run as (not root). And edit the source=hostap,wlan0,kismet. Change whatever as needed. Then go to the user (you entered) directory and run kismet. Kismet need to write the log. You can change that in the conf as well, but I will leave that out for now. Dos it run? Hope so, Mine didn't.A weird FATAL: channelget ioctl failed 22:Invalid argument came up. Search the whole internet and could find the problem. But luckily I found out in the end how to fix it. Just run ifconfig wlan0 up. Well yes, people makes very stupid mistake and program also return very gabble errors.

Now you probably want a few other good stuff out there. That will be aircrack, airodump, aireply, airsnort etc.. Basically you can use apt-get for most of them. The package I suggest are :
driftnet dsnif aircrack airsnort.

For now that will be it. I will cover soon another tutorial how to use al lthese in your warring session.

Kismet + HostAP + AirCrack on Ubuntu Part 1



Ok, this one may end up as a long long one...
Firstly, if anyone ask. For now, there is NO working HostAP for Ubuntu for apt packaging.

Ok, lets start with HostAP. Assuming you have Ubuntu installed now, you will need to get the source file from http://packages.debian.org/testing/net/hostap-source. This seems to be the newer place I can find so far and yes I know you want to ask me why Debian. Ubuntu is deried from Debian and the *deb is also part of the legacy. You can go quick and unpack it and try to compile it. I can tel lyou a lot of fatal errors. So be patience. There is one more step.

You need to download Module Assistant from http://packages.debian.org/stable/devel/module-assistant. This by right can help you build the module, but anyway we do not need to do that. We just need ot run it through 1 pass and even if it did not build any module, it has prepare and download the kernel source headers etc for module building. Now you can make, make install on your hostap. It will build. Trust me.

Now that you have that. Ensure you have iwconfig too. If not then apt-get install wireless-tools. Run a check and see if you have the wlan0 usually for the hostap. If not, try /etc/init.d/pcmcia restart. Still cannot? Just reboot the system. You can also check by lsmod grep hostap. If not you simply do a depmod, insmod hostap. Anyway, I would think you can get it running by now.
I will leave the other stuff in the next post.

Saturday, October 01, 2005

Kismet on Fedora Core 4



I was very very busy afte the conference trying to setup my laptop for the Wifi Pen Test and Wardrive. Its back to the Linux OS again. And of cos, I realized I had forgotten quite some bits of it and learn some more new stuff along the way. One of the important things encountered and I felt is better to document was the installation of Kismet on FC4. So here is it.

1. Before you start, you will need to get Fedora Core 4 installed, preferable with as much Programming and Administration tools installed as possible. I am running low on space and as such had no choice but to partial install.

2. Next, is to get Kismet. I had download it from the source and compiled it. But actually I later found out there is a RPM release for FC4. You can find it at :
http://dag.wieers.com/packages/kismet/
But I don't know how it is with other people, I could not install it because the Kernel version did not really match. I had to download the kernerl-source package using yum as well as doing all my Fedora updates before I got the version to match.

3. Now, you need to get your PCMCIA card working. The card I was working on was the D-Link DWL-G650 so my choice of driver will be madwifi. I got it working in Linux with some driver. And I happy ran my Kismet. Got a ioctl error. Was stuck there for a few days since before the conference with no idea what when wrong. Anyway, I had changed to a Linksys WPC11 v3 card and still the same problem. Then I found out something. You CANT use the linux NORMAL driver to get Kismet working. You need a special driver for that. There are several out there including Project Evil, NDISWrapper etc. But for real rfmon action, I would suggest you go for HostAP. This you will need to get from Atrpms:
http://atrpms.net/dist/fc4/hostap-driver/
And since you are there, you can also grab hostap-utils :
http://atrpms.net/dist/fc4/hostap-utils/
And hostapd :
http://atrpms.net/dist/fc4/hostapd/
A note I want to say was that there are a few mode in hostap. You will only need to worry about hostap_cs.

4. Along the way, I found out that I needed some more of the modules one way or another. Among them were Perl-Net library, Pcap library and some libray, but yum handled it nicely. And if not either ATrpms or DAG has. Thanks to these 2 great site. Anyway, after installing all these. You should be able to do a ifconfig and see some weird stuff with you card now. You will get a NORMAL interface with a 6 pair hardware MAC and another one with insane among of pairs ID. That btw is the rfmon mode. You got the driver working now.

5. Kick in Kismet and I know so much about murphy law. The driver I installed from the RPM did not work. Invalid Module Format. Damn. So back to the hostap source. I rebuilded it and yes, I mean you NEED to know how to build from source. Basically, make, make install (under root). Weird that the path of the install is not the same as the RPM, hell, I just copied all the hostap*.ko into that directory. My installation is probably very dirty now. But I only needed to get it working.

6. One last shot. Another error. I can't believe it, the conf file it was looking for was somewhere inside .../updates/net/wireless... or watever. I didn't know what happened, but just copy kismet.conf there. Oh, I forgot to say something about editing the kismet.conf I guess... Even though many places will tell you WPC11 v3 is a Prism2 card, and some places will tell you to use orinoco mode in kismet. But you now got the driver working, so it will be hostap_cs instead. :)

7. Break for lunch at 3pm because I had forgotten to eat totally. And when I came back. I kick in Kismet. TA-DA. Working and capturing all my neighbours packets now. It did not capture my packets from my router. Why? I am not going to tell you. Think about it why.
Hint : WPC v3
IF you think you know, post the answer in the comments. :)

Amazon Gift Cards!

Thanks for viewing!

Copyright © 2008 nemesisv.blogspot.com, All rights reserved.