New Zealand

As some of you people already know, I’m heading off to New Zealand with my brother for a few weeks next summer. Technically, I should speak of next winter really. All the rough aspects have been taken care of. You know, tickets, insurance and ehm, some stuff I already forgot.

We won’t have much time on the islands, so here’s my first idea of the things we should do when (if?) we get there. I’ve had some great input from a number of people. Those who have helped can all recognize a part of their stories. Anyway, just look at the maps. They are kindly provided by Backpack New Zealand. You can also download the XCF files here and here.

North
South

How to Detect and Disable Linux Hidden Processes and Rootkits

There’s no such thing as a Linux virus. Sure there isn’t. As long as there are stupid Linux users (lusers if you wish) the bofh will have to remove junk binaries every once in a while. Wether or not the user gets booted in the process it up to the level of financial compensation awarded for doing nothing. Yes, you’ve read that right. For doing absolutely nothing.

Anyways, since most of you will use some kind of GNU/Linux system for your end users you’ll find yourselves stuck in these kind of situations. Some end user has somehow managed to install old software, in my situation some PHP web app, with more holes in it than a heretic after a visit to the iron maiden. It gets sploited and you’re stuck with some binary doing stuff you don’t want it to do. In general there are four levels of things you can encounter.

The first level is pure scriptkiddie work. Easily detectable using top or ps. It’s usually a Bash, C or Perl script running a while(1) loop. Most of the time with a non-disclosing name like “crash”, “cpu_hogger”, “a.out” or “eatflamingdeath”. Remove the script and send the remaining process a SIGTERM. In other terms, kill will do.

The second level is a bit more tricky, but still quite trivial when you know where to look. The script actually has a function like serving a terminal session or some IRC stuff. This is also the most common level of stuff you’ll encounter. The catch is these things remain at the user level so you can easily just check ps’s output for anything hinky. Just a tip, init, and all the nifty [k*] processes should run as root. For a blackhat it’s easy to fool you, because argv[0] can be changed to display whatever he (is there any she blackhat? if there is, please drop me your rootkit) wishes. A simple strcpy() does the job. When you’ve found your prey it’s time to track and kill it. Check the symlink /proc/[pid]/exe for the full path to the executable. If you’re lucky, it points directly to the binary of some C app. Delete it and send a SIGHUP, or kill -9 to the process. If it’s an interpreter like /usr/bin/perl or something you can’t just kill all perl scripts. Correct me if I’m wrong but there’s no way to get the original argv from a process when it’s been overwritten by the app itself. So you’ll have to hijack the interpreter using a Bash wrapper like this:

mv /usr/bin/perl /usr/bin/perl.real
cat > /usr/bin/perl <<EOF
#!/bin/bash
env >> /tmp/perllog
echo $@ >> /tmp/perllog
/usr/bin/perl.real $@
EOF
chmod +x /usr/bin/perl

Now you can send the process you want to kill a SIGHUP. Tail the /tmp/perllog file to check who’s running perl and more importantly, the perl parameters. This method has some other (leeter) alternatives, but this has worked for me on several occasions. Don’t forget to clean up the mess you’ve made afterwards. Now you’ve got the path to the script causing your problems. Remove it, after reading it of course, there might be a fallback system, and send the remaining process it’s well deserved SIGHUP.

The third level is where it gets really tricky. Important system binaries have been tainted. Several rootkits have been know to do this. Before this can happen though, you must have made a mistake in your security. For this to work the blackhat had to have root access to your system. Shame on you! Another bummer about level three infection is that it’s almost undetectable. Some rootkits have been known to survive for years before they are found. There’s no real fix for this, because in this state you can’t trust ANY binary anymore. Maybe if chroot isn’t tainted you can bring in your own binary big guns to check the system binaries, one at the time, from your own trusted environment. But when a system is this infected the best thing you can do is move all operations to another clean server and fix this machine in quarantine. There are some ways to prevent this from happening. I prefer using rkhunter. It’s a simple but effective approach to the problem. It manages a table of md5 hashes of your system binaries. When a binary changes it’ll send you an email. It also checks for hidden files and some other common rootkit files.

The fourth level is even worse. The upper three levels consider only user space vulnerabilities. This is kernel space we’re talking about. It’s just not detectable. But be assured, it’s really hard to get malicious code to run in kernel space. There are two major ways these things can happen. First, and I’ve seen this a lot, you’ve left /usr/src/linux world writable and you build a new kernel out of the same source tree. Bad idea. When it happens it’s your own fault and you should take the blame. Or not, if you’re smart enough to bluff your way around your utter stupidity. The second way this happens, sometimes, is through tainted device drivers. But in either way, you should check and double check your sources before building any kernel space binaries. Luckily your lusers can’t, and hopefully won’t, touch kernel space with a 10 foot pole.

These are only some common tips. There’s a lot more to discover. The most important lesson to learn from this is prevention. You don’t have to clean up the mess when there’s no mess to begin with. The best solution is not to have any lusers at all, like on your own machines. But sometimes you’ll have to give them some liberties. Give them just enough in order for them to do their work. Nothing more. Let me say this again. Nothing more. I’m serious.

Opeth: The best band ever

Just buy all their albums and listen to it, like I did.

This song was recorded at the end of their last tour, and brought to the public on an album called The Roundhouse Tapes.
OpethBleak (live at The Roundhouse)

NaturalSelector89 SturmGeist89 and Social Darwinism

I’m quite active on youtube for almost a year now. I don’t make any videos (anymore) but I do involve myself in discussions now and then. I’ve been a long time subscriber of TheAmazingAtheist and thus witnessed TJ’s assault on social darwinism. I couldn’t agree more with the guy, NS89 was a sub par human. TJ clearly pointed out this kid was sick and would be fully capable of creating a massacre, just like his peers of previous US high school shootings. I could have never guessed he was actually going to do it.

I’ve joined the flame war that followed, raging well through july. I was part of the assault on NS89’s channel, filling his comment section with rational questions and pointed out paradoxes in his statements. Here’s a reaction he posted on one of TAA’s videos.

You know what, I have an ability to civilized discussion… but when Im pushed over the edge with only facing stupid sarcasm and idiotic ignorance, I feel REALLY ANGRY AND PROPABLY HOMICIDAL TOO! I FEEL EXACTLY LIKE THE NIN SONG “BURN”. And all the comments saying ant to be sorry for me, well don’t… just live your own god damn lives if you have one, wake up from “the Matrix”.

He reacted like every other uneducated kid would, so I thought nothing of it. After a while the situation calmed down and I soon forgot about the whole thing.

Until Reuters reported Youtube related news about the Finland school shooting a few days back. I honestly don’t know if I should feel guilty or not. This guy was sick, but maybe we’ve, as a community, pushed him over the edge in the flamewar? I guess we were just hungry for weak narrow minded prey to bash. Of course, the flamewar wasn’t a smart move when you look back on the whole situation. But no one could have known this was going to happen. I guess the whole community has changed after this event. At least, I hope so. I’ve changed.

Nine dead. Damn.

People Who May Drop Dead

I don’t like certain types of people. The posers, the people who think they know it all. The world would be better off without them.

Religious fanatics. I fucking hate these people. You just can’t have a decent discussion with them without being confronted with their utter stupidity. When they don’t blow themselves up they start preaching about their version of the truth. I don’t want to know about your version, dude. Shut the fuck up. And get the hell out of my sight before I show you my version of the truth.

Nationalists. Also known as patriots. These people actually think their country means something. They are stupid enough to believe their country is superior to any other nation in every way possible. They seem to forgive every single crime their own country commits but when another country does something they don’t like, they’re the first people to tell them to stop, Fucking hypocrites. Don’t even try to argue with these people. Oh no, you’re not a real patriot! You don’t love this country! Get the hell off my lawn! Surprisingly all these so-called patriots don’t even know how the other country is called they speak so hatefully about.

Vegetarians. Fucking freaks. They are in the biggest denial phase I’ve ever seen. Mankind is a species of predators, we feed off of other life forms. Got that? We’re not herbivores, just look at your fucking teeth. We eat plants to supply us with the vitamines and other stuff meat can’t provide. Our brains have grown this big thanks to meat. Why would you deny your own evolution? Ungrateful pieces of shit. I’m not going to risk to slow down human evolution just because a couple of pussy vegetarians think pigs and cows are cute. They are lesser life forms, they deserve to die to feed those above them on the food chain. If you vegetarians want to lower yourselves to the level of a herbivore, I suggest getting eaten by a pack of rabid dogs.

A combination of the people above. Vegetarian national socialists. Nazis with carrots. Hitler fanboys with broccoli stuck up their asses. You get the point. I’ve created a list of 66 things I can do when I get my hands on one of these things I can hardly call people.

  • Make him drink nitroglycerin, kick him in the gut and say terrorists did it.
  • Smash his face with a sun dried piece of bullshit.
  • Fill all his bodily cavities with marihuana and send him to Jamaica with only a lighter and a dollar bill.
  • Nail him to a wooden cross and burn him in front of a whites-only Alabama trailer park.
  • Wrap a towel around his head in the middle of a Bush-loving God-fearing all-American crowd.
  • Let him drive a French car across the Sahara desert.
  • Duct tape him to a chair in front of a huge TV and make him watch the bold and the beautiful for 48 hours straight.
  • Secretly brainwash his children to kill their parents when they’re asleep.
  • Make him suck (what’s left of) Micheal Jackson’s cock.
  • Dress up as a clown and do the create-nifty-animals-using-balloons-thing with his bladder.
  • Tell a blind retarded chainsaw ice sculptor the guy’s actually made out of talking ice.
  • Hook up a hose from his rectum to his mouth after feeding him three kilos of chilli beans.
  • Let him meet a few crows after feeding them candy that looks exactly like human eyeballs for several years.
  • Make him do the chippendale act at the conference for morbidly obese over aged women.
  • Cut off his extremeties using only a spoon.
  • Run him over repeatedly with a mini morris.
  • Celine Dion.
  • Send him naked into a rape victim support session.
  • Fix his head into a horizontal position and make him swallow a bottle of epecac.
  • Poke his eyes out and tell him the doctor is on the other side of the runway.
  • At death row, give him the finger ten times before he can sign his release form.
  • Bash in his skull with a dead goose.
  • Alter his DNA to match that of a bird, get the flu and sneeze on him.
  • Cover him in female elephant urine during the mating season.
  • Drop him out of an airplane over area 51 with an antenna stuck up his ass.
  • Attach his skull to the tracks of a tank and drive around his living room.
  • Tattoo “donor” in the back of his neck and send him to one of those vampire goth parties.
  • Give the man a white pointy hat and make him appear on stage after a Snoop Dogg show.
  • Throw him into the arctic sea and revert the global warming process.
  • Make him play roulette using uranium dice.
  • Show him uranus up close.
  • Make him appear naked in front of the national cannibal congress with a big red apple in his mouth.
  • Teach him how to tap dance on a mine field.
  • Make him read the bible on acid.
  • Swap out his organs with car parts and try to start the engine.
  • Attach one end of a rope to the ceiling fan and the other end to his pinkie toe.
  • Attach scalpels to his fingers and throw him in a bath of itching powder.
  • Make Chuck Norris say “DIE” in his face.
  • Let a morbidly obese woman rape him on a bed of nails.
  • Feed his liver to his children while his wife does the dishes.
  • Make him shave with a chainsaw.
  • Rip his heart out through his left foot while he’s running a marathon.
  • Calculate the trajectory of falling space debris and let him catch the stuff.
  • Stuff his stomach full of pluche animals and let him wear a santa suit.
  • Replace a crash test dummy in a Chinese car with his helpless body.
  • Perform brain surgery using only a battle axe and a crew driver.
  • Make him learn to fly the hard, but the fast way.
  • Choke him to death using his own spinal cord.
  • Use him as a voodoo doll targeting himself.
  • Test his conductivity with lightning.
  • Throw him in a pit during a metal-for-the-morbidly-obese-fest.
  • Offer his left eye to Ted Jesus Christ God and watch him bleed to death in his honor.
  • Perform a little do-it-yourself anatomical pathology and make him live through the whole thing.
  • Crush his skull in between two planes both flying supersonic.
  • Kill him by not shooting a bullet to his head but pressing it slowly inwards. AKA the slow motion headshot.
  • Donate his skin to a cannibal tribe’s chief and make him the nude act at the cannibal’s party.
  • Let him swim in a refreshing bath of liquid nitrogen.
  • Break every bone in his body and use his body as a wrapper for a christmas present.
  • Plant bamboo in a gaping wound in his stomach and watch nature do what it does best.
  • Rewire his nerves to make him hit himself in the face and nuts at the same time every time he tries to breathe.
  • Make him an open minded person using a pizza cutter.
  • Place a dormant rat in his right lung and watch it eat it’s way out.
  • Put his head in a bucket full of concrete but leave a straw to breathe through. Attach a compressor to the straw.
  • Nail him to an inverted cross using his lower ribs as nails and his left foot as a hammer.
  • Force a wooden pole down his throat and check if it can actually come out the other end.
  • Make him read this list and eat his own pants afterwards.