Dangerous ideas

The developing countries state that the developed countries have to cut back on carbon dioxide emissions, saying that the industrialized world is responsible for the current situation. In my opinion they’re right.

However, the foundation of this statement is that every human being should have the same right to use the natural resources and that the industrialized countries are already over their quota. If, however, every human has the same right to use natural resources, this has certain implications for the justification of national states and so on. Obviously resources are not limited to our atmosphere or the oceans, but also include the raw materials in the Earth’s shell. Now, if every human being has the same right to these resources, this automatically questions the established nations, because some have scarce resources while they exist in abundance in other countries. One doesn’t have to be a genius to understand that any objection implies ultimately very dangerous ideas regarding the status quo.

Capitalism is based on growth – and on exploitation of natural resources to achieve this growth. Since the natural resources are limited, so is the growth. Nevertheless Western politicians preach “growth” as the way out of “the crisis”. No need to be Einstein to understand that infinite growth is impossible, so a breakdown of the system is inherent to the capitalistic system. No need to be Marx or Lenin, communist, fascist, capitalist or libertarian, or in other words particular to any ideology, to simply comprehend this fact.

If natural resources are limited, this should mean that they are precious in some way. But they aren’t, are they? Natural resources don’t have a price tag – at least most don’t. Crude oil, metals and minerals – sure – but air and fresh water? However, if there is a price tag attached, it is the price of the work it took to pump up, dig out or refine the raw material plus some margin as profit.

Let’s take a gold mining company, for example. The company has to pay a more or less arbitrary amount to the country in which it is located in order to be granted the right to mine the gold. So you would think that the company has paid all the involved costs, right? Wrong! No one has put a price tag on the water the company is going to pollute during Gold cyanidation, so the company doesn’t pay for it. So who pays for it? Well you and me, or more specifically the people living nearby the river that got polluted and so on. Either they pay for the means to purify the water and undo the damage (if at all possible), which means that the purification costs are being socialized, or they pay with their health. In either case the company owner who may be located in another country isn’t directly affected, yet he gains disproportionately more from the “deal” than the inhabitants of the affected area. As we can see, not only is the use of resources disproportionate but also the gain from them.

Adding price tags – the emission certificates are a feeble attempt to implement something like that – makes sense and provides a different angle when people tell you: “well, solar energy costs a lot more despite the subsidies”. Oh really? But has the calculation for the nuclear power-plant considered the costs that will arise from having to safeguard the depleted fuel elements for the next hundred thousand years? If you dig deeper you will see that it hasn’t. The same holds for the fossil energy creation. The loan is always on the following generations.

It’s time to calculate the costs more consequently. But most of all it is time to put a cost on the pollution of air, the pollution of water and pollution and/or exploitation of all natural resources. Capitalists like to calculate their figures in amounts of money … let them!

In my opinion just like Communism has to fail unless implemented globally 1. No surprises there, I guess. But Capitalism has to fail as well, because there can’t be infinite growth nor can it be sustainable if its principles aren’t applied to every facet of life. Put a price tag on everything and you still can’t grow infinitely. The closest we could get would be to become war-mongering species that conquers other planets in order to exploit their resources … in Hollywood movies those are usually the bad guys, though 😉

// Oliver

  1. Please don’t let yourself be fooled by some people stating that it has already failed. No one on Earth has even tried Communism the way it was thought by Marx and Engels. The closest (and cruelest) implementation yet was Lenin’s “War Communism” in the 1920s.[]
Posted in EN, Thoughts | Tagged , | Leave a comment

De-registered сніжок.net

As already pointed out last year, the treatment of IDNs in Internet Explorer and Firefox is flawed, so that I decided to cancel the domain сніжок.net. However, apparently a few other domains have a privileged stance with respect to the anti-spoofing measures implemented in Firefox. I recently discovered that a name with the German umlaut “ö” (or “o with diaresis”) is not put to the same harsh treatment of showing the IDN in its encoded form and therefore spoiling the whole (aesthetic) point of registering an IDN in the first place. Interestingly “ö” is considered different enough from “o” to allow the users not to be fooled into thinking it’s an “o”. Well then, dear Firefox developers, please explain to me with what the cyrillic characters “н” and, more obviously, “ж” can be confused to allow a spoofing attack? Maybe “н” with “H”? Well, perhaps you should try to type an uppercase domain name into your browser’s address bar and observe …? But while the confusion of “н” for “H” may have a certain foundation, there is no latin letter like “ж” … no, “x” looks nothing alike!!!

So what the heck are they thinking? Is it because English native speakers or “Westerners” in general don’t feel the need to give other people with other letters (and character sets) the aesthetic pleasure of using their own words without transliteration into some latinized form? This treatment is certainly killing a great idea … but it’s great at that, at least.

// Oliver

Posted in EN, IT Security, Programming, Thoughts | Leave a comment

DDKWizard 1.3.0a released

This is a maintenance release that just adds one change to the driver template (thanks Jan!) and several changes in the documentation. Nothing in the code has changed, it will identify as version 1.3.0.

You can download it as usual from here:

Direct download
Project website

Enjoy the new version,

// Oliver

PS: Let me know if you run into any problems.

Posted in /dev/null | Leave a comment

Wie wird man Volksvertreter

Wer nix wird, wird Wirt.
Wer gar nix wird, wird Betriebswirt.
Und wem dieses nicht gelungen, handelt mit Versicherungen.
Ist die Bude trotzdem kalt, wirst du eben Rechtsanwalt.
Kommst du damit keinen Meter, werde einfach Volkszertreter
(Quelle: Benutzer “cassiel”, hier.)

Posted in /dev/null, DE | Leave a comment

DDKWizard 1.3.0 released

Hereby I announce the release of version 1.3.0 of DDKWizard which introduces support for the Windows 7/2008 Server R2 WDKs and drops support for the Windows 2000 DDKs. You can download it as usual from here:

Direct download
Project website

I strongly recommend that you update your configuration (INI) file in order to remove the old settings for the Windows 2000 DDKs and add the new settings for the Windows 7/2008 Server R2 WDKs. Both of these changes are optional, but I recommend you make these changes or alternatively back up the old INI file and then have the setup overwrite it and later merge them yourself.

Enjoy the new version,

// Oliver

PS: Let me know if you run into any problems.

Posted in DDKWizard/DDKBUILD, EN, Programming, Software | Leave a comment

No reliable method, it seems

With DDKBUILD I do have to tackle NT scripting issues every now and then. Now, most people don’t even recognize that NT scripting is not the same as Batch scripting. But the functionality of NT scripting is very limiting as well at times, although it goes well beyond the good old Batch scripting.

The reason I had to scrap revision 58 last night was that the detection of whether execution of a binary succeeded or failed is hard to do, if at all possible. Bad luck.

There should be several methods that all depend on the exit code of the executed program. They are all variations of each other. So let’s say you want to execute a program (not a builtin of the interpreter) named program (sorry, couldn’t come up with anything better – it’s late here ;)). Now we assume that program will be happy to answer how to use it, so that:

program /?

returns an exit code of 0 and thus ERRORLEVEL is being set to 0 after the call.

program /? > NUL 2>&1

would do the same but suppress the help output as well as any errors. So far so good. One easy way to check the ERRORLEVEL value on the same line is well known from Unix shells. But don’t let this similarity fool you – NT scripting is much more limited than any of the Unix shells I’ve worked with.

program some parameters > NUL 2>&1 && echo Success
program some parameters > NUL 2>&1 || echo Failure

The only problem is that if program does not exist (e.g. because it isn’t in the PATH) the ERRORLEVEL still won’t be set to any non-zero value. So there doesn’t seem to be any primitive to allow this check, which is done in many Unix shells like this:

[ -x program ] && echo "Success"
# Bash also allows:
[ -x program ] && {echo "Success";} || {echo "Failure";}

reliably and easy to remember …

Well, it just means that the DDKBUILD users will have to live with the fact that some errors are beyond what the script can possibly catch. I’m always trying to give the best error output possible, because an error means a nuisance already, but having to dig down to the cause is highly annoying. But here’s a limit I haven’t found any solution to just yet. Let me know if you happen to know one …

// Oliver

Posted in DDKWizard/DDKBUILD, EN, Programming, Software | 7 Comments

DDKBUILD.CMD 7.4/r60 released

Update #2: the flaw did indeed exist. I fixed it, the new revision is 60! I updated the links, this file, the RSS feed.

All the tests were successful, thus DDKBUILD.CMD version 7.4/r60 is now released. It improves the error handling for certain conditions and as such introduces the error code 254 (see the top part of the script for details of the error codes).

The message about each of the hook scripts being executed is now not displayed by default. You may turn it back on by using the switch /notquiet right after the script name (i.e. before the target parameter, e.g.: ddkbuild /notquiet -WNETXP fre . -cZ). If you want to suppress the output of the version and so on, use the /nologo switch as known from various other development tools. This switch also has to come right after the script name or after /nologo. DDKBUILD.CMD should handle both ways to order these two undocumented switches. Undocumented?`Well, yes. They are not mentioned in the help output and not in the top (“documentation”) section either – and I will leave it at that for now.

Last but not least it is now possible for any of the hook scripts to set OSR_ERRCODE to some value other than zero and thus cause DDKBUILD.CMD to abort. This also means that those builds will expose the error code to the caller (e.g. Visual Studio).

Enjoy the release. Download the latest version of DDKBUILD.CMD as always from the DDKWizard website.

If you prefer SVN, either update your working copy or export the (tagged) file:

svn export https://vcs.assarbad.net/svn/ddkbuild/tags/\
7_4-release-2009-11-28/ddkbuild.cmd

// Oliver

Posted in /dev/null | Leave a comment

Not a solution

A “solution” for the missing classic start menu in Windows 7 has been proposed to me by a friend. The license does not prohibit to look into it (only changing it is forbidden), so I loaded it quickly into IDA.

It turns out this is a simple program in Delphi or BCB that comes with a DLL to set a global window hook of type WH_GETMESSAGE. Nothing fancy. Except, the author has put a lot of work into mimicking the old start menu. The program (not the DLL) seems to actually create its own version of the classic start menu and then show it. Interesting indeed. But not a solution to my taste …

But perhaps someone else will like it 😉

// Oliver

Posted in EN, Programming, Reversing, Software | Tagged , | Leave a comment

DDKBUILD.CMD 7.4/r43 released

All the tests were successful, thus DDKBUILD.CMD version 7.4/r43 is now released. It adds support for the Windows 7 WDKs, with the variables W7BASE or WIN7BASE (for compatibility purposes with Hollistech’s DDKBUILD.BAT, like XPBASE). To list all the newly introduced targets, use the ordinary help output. Here the short version:

  • -W7, -WIN7
  • -W7I64, -WIN764
  • -W7X64, -WIN7A64
  • -W7LH, -WIN7WLH
  • -W7LHI64, -WIN7WLH64
  • -W7LHX64, -WIN7WLHA64
  • -W7NET, -WIN7NET
  • -W7NETI64, -WIN7NET64
  • -W7NETX64, -WIN7NETA64
  • -W7XP, -WIN7XP

Auto-detection was not updated. Why? Well, Microsoft has decided to drop the information that used to be placed into the registry. It would complicate things more than it would do good. And I will likely drop support for it altogether in future (or branch …). In addition to the above, the switch -cuv was added to invoke PREfast with the Call Usage Verifier – it implies -prefast and thus giving -prefast -cuv would already be redundant (but won’t hurt either).

Thanks to Mariusz for his contribution!

Enjoy the release. Download the latest version of DDKBUILD.CMD as always from the DDKWizard website or OSR Online.

If you prefer SVN, either update your working copy or export the (tagged) file:

svn export https://vcs.assarbad.net/svn/ddkbuild/tags/\
7_4-release-2009-11-19/ddkbuild.cmd

// Oliver

PS: the script hasn’t changed since revision 43 (from 2009-11-12), so you may already have the final version on your machine.

Posted in DDKWizard/DDKBUILD, EN, Programming, Software | Leave a comment

Werbung

Zwei Freunde von mir haben einen mittlerweile fast zweijährigen Sohn, Onni Máni, der schon seine eigene Webseite hat und überhaupt ein sehr fröhlicher Bursche ist (siehe Webseite). Die Mutter des Kleinen hat nun das Hobby, Sachen für ihren Kleinen zu schneidern, zu einem Geschäft gemacht. Und genau dieses Geschäft möchte ich hier einmal empfehlen.

Von Piia kreierte Kleidung
(Das Bild ist mit Erlaubnis verlinkt, alle Rechte liegen bei psrecycled.com)

Alle Kleidungsstücke sind Unikate und werden üblicherweise nach Wunsch angefertigt. Piia – so heißt die begabte Schneiderin – bietet aber auch bereits vorgefertigte Stücke in ihrem Webshop an. Ich selbst habe für den im Juli geborenen Sohn eines meiner besten Freunde auch zwei Jäckchen bestellt und geliefert bekommen. Die Preise sind meines Erachtens nach sehr angemessen. Erstens sind es alles Unikate und in Handarbeit gefertigt und zweitens tut man dem eigenen Kind (oder dem Kind von Freunden und Verwandten) etwas Gutes. Und schick sehen sie doch aus, oder? Also: jeder Klick ein Kleidungsstück. Nun aber dalli bestellen gehen, es ist bald Nikolaustag und bald danach Weihnachten! :mrgreen:

Übrigens: wer den Kleinen lieber noch ein knuddeliges Stofftier schenken möchte, wird hier auch fündig.

// Oliver

PS: Bisher steht die Seite nur auf Englisch zur Verfügung, was aber die meisten jungen Eltern aufgrund in dieser Altersklasse verbreiteten Englischkenntnisse kaum tangieren dürfte … ansonsten einfach mich kontaktieren 😉
PPS: Piia hat auf Facebook auch eine Fanseite für ihre Kreationen. Als Facebook-Abstinenzler habe ich davon nicht viel Ahnung, aber ich vermute mal alle die dort unterwegs sind wissen wie das funktioniert 😎

Posted in DE | Tagged , , | Leave a comment

Still on it

There was no release of DDKBUILD yet, but whoever is daring enough can try the one from trunk already.

Posted in DDKWizard/DDKBUILD, EN, Programming | Leave a comment

Guess not

Today I tried the Visual Studio 2010 Professional Beta 2. As already reported for the Beta 1 it prompted for a restart twice. Once after the Microsoft .NET Framework 4 Beta 2 component and once after the Microsoft Windows Installer 4.5 (x64) – Vista component. Finally it requests another restart at the end of the installation.

Am I the only one who finds this annoying?

// Oliver

Posted in /dev/null | Leave a comment

Grotesque, but who: EFF or a former criminal?

The EFF blog contains a recent article about one German who is trying to sue the Wikipedia Foundation (in the US) in order to enforce that his last name be taken down from – or rather be abbreviated in – the article “Walter Sedlmayr” in which his full name is given in connection with the murder of the Bavarian actor in 1990.

Obviously the convicted murderer who is now looking for reintegration into society is underestimating the well-described Streisand effect. However, I find it rather grotesque that the EFF that stands for a fight for anonymity and privacy should ignore those same ideals when they are to be applied to a former criminal looking for his reintegration into society.

Alright, before I discuss the issues at hand further I should also point out that federal law in Germany forbids the death penalty [1]. Additionally, if a murderer is being released he has the same right as any other former criminal to reintegrate into society. The use of full names in the press after such a release is banned and the person in question has successfully sued parts of the German press for a violation of the respective rules. For example it is without problem to write “John D. and his half-brother Jack B.”, but it is not okay to write “John Doe and his half-brother Jack Bean”. Things are different if the person in question has died already.

Now back to the topic at hand. The EFF claims that it is censorship and that the First Amendment of the US constitution has to be upheld on the Wikipedia servers. In general I agree and free speech is a valuable Human Right. However, the question is what informational value gets added by writing “John Doe” instead of the shortened – and partially anonymized – “John D.”. Apparently the rights for anonymity and privacy of the former criminal – also constitutional rights in Germany (if you consider the Grundgesetz an actual constitution) – are traded off for the right to free speech for a questionable or no added value in this case.

Now one can argue that the English Wikipedia is not the primary information source for most Germans and one can surely argue that the First Amendment is fully valid inside the US. However, the internet is a peculiar agglomerate of technology and has its very own rules. Unlike a newspaper that only gets published somewhere and is only rarely found “outside its native realm” (one exception would be airplanes), the internet can transport all content everywhere, directly onto the screens of the computer users. The EFF argues that similar censorship takes place by China for “Falun Gong” or for criticism of the Thai king under Thai legislation. Wow, now that’s a comparison. “Apples and oranges” it was in English? Only a marginal difference, in German it’s the proverbial “apples and pears”. The head of state of a country and a religion or cult being compared to a single convicted individual and now former criminal. It seems that it all boils down to relevance a very hot topic in the German Wikipedia at the moment.

The EFF states:

At stake is the integrity of history itself. If all publications have to abide by the censorship laws of any and every jurisdiction just because they are accessible over the global internet, then we will not be able to believe what we read, whether about Falun Gong (censored by China), the Thai king (censored under lèse majesté) or German murders. Wikipedia appears ready to fight for write once, read anywhere history, and EFF will be watching this fight closely.
(Source is the EFF article linked above.)

The obvious argument here is that murdering an actor or otherwise “well-known” person is a waiver of privacy and anonymity as otherwise defended by the EFF, even though the society in which the murderer was convicted upholds the idea of reintegration even of murderers if they are deemed fit for society again after their imprisonment (… or punishment). But perhaps the EFF is right. And since the First Amendment of the US constitution is so eagerly defended against the convict in his struggle for reintegration, why not apply another great piece of US legislation to his case. I suggest that the US army invade Germany – oh wait, they are still there – get the murderer, deport him to any US state with death penalty and execute him “according to the rites”. It would be only fair that way, wouldn’t it? … it would also solve the problem from the German point of view, because “a deceased” doesn’t have personal rights or Human Rights anymore.

Reintegration cannot work if the former criminal is not allowed a minimum of anonymity and privacy necessary for this process. And I certainly hope – although I’m sure it will never come to this – that the German justice system is going to defend the principle of reintegration of former criminals into society against those who deem the abbreviation of a name, the mere omission of a few letters, as censorship. Whatever point it is the EFF is trying to make, I certainly can relate more to any society that tries to be humane and reintegrate former criminals than to a society in which even minors and innocent have been executed, plus of course plenty of actual criminals. Unlike incarceration any execution is irreversible.

Just my two cents from the stormy, cold and volcanic island in the North Atlantic,

// Oliver (German, according to his passport)

[1] … interestingly the death penalty has been abolished by the majority of countries. Out of those currently or formerly considered “rogue states” by the USA we get:

  • Iran (retains death penalty)
  • Sudan (retains death penalty)
  • Cuba (retains death penalty)
  • Iraq (retains death penalty)
  • North Korea (retains death penalty)
  • Islamic Emirate of Afghanistan, now Afghanistan (retains death penalty)
  • Libya (retains death penalty)
  • Syria (retains death penalty)
  • FR Yugoslavia, now several independent countries (all abolished death penalty)

Ouch, that puts the USA – “home of the free” – into a relation that is not very flattering indeed, however cosmopolitan the EFF deems itself or the US constitution …

Posted in EN, Thoughts | Tagged , , , , , , , | Leave a comment

Ze läzy German in me

Hi, and upfront: I’m very sorry for the delays in DDKBUILD and DDKWizard development. If you are following the developments in the Windows kernel driver developer’s world, you will have noticed that neither of the tools have been updated to Microsoft’s latest and greatest release of the Windows Driver Kit (informally known as WDK 7600.16385.0 or WDK 7.0.0).

Now for the good news: I’m working on it. I plan on having something ready by the end of this week, if all of the tests (yep, I do intend to create formal tests, for DDKBUILD first) run without issues.

If you want to have a sneak peek, please fetch the copy from trunk. Of course if you are already using a working copy of https://vcs.assarbad.net/svn/ddkbuild/trunk/, a simple svn up will do as well.

I want to thank Mariusz, who sent in a patch for the initial Windows 7 WDK support (based on rev. 34).

By the way: the guy running this highly interesting website was one of those reminding me of my duty, being the DDKBUILD.CMD maintainer and all 😉 … check out his website. Being a reverse engineer myself, I really liked what I saw.

// Oliver

Posted in DDKWizard/DDKBUILD, EN, Programming | Tagged , , | Leave a comment

New find, worth a look

Just found this website: code.jellycan.com.

Pretty nice code examples there and the licensing of the code is very reuse-friendly. Thanks!

Posted in EN, Programming, Software | Leave a comment

There’s truth in …

… this diagram.

Posted in /dev/null, EN | Leave a comment

Scary

Columbia’s right-wing officials allow the US to have their army bases in the country by which surrounding countries (Venezuela, Brazil, Bolivia) feel threatened. And now that. Unlike Iran, several South-American countries do have the know-how for decades. For those who trust Fox News more: look here.

So much for a Safer World™ after the Evil Empire™ fell? …

// Oliver

Posted in EN, Thoughts | Leave a comment

Wieder in Island

Ich bin seit heute wieder in Island. Ach ja und die Schweinegrippe ist schon hier (behaupten jedenfalls einige), aber
“Kein Schwein steckt mich an” (übrigens ein wundervolles Video).

Posted in /dev/null | 1 Comment

Vertrauen ist manchmal nicht gut genug

Kaltschnäuzig serviert “unsere” Kanzlerin in diesem kurzen Ausschnitt einen niederländischen Journalisten ab, der sich erkundigt wie sie einem Menschen das Finanzressort anvertrauen kann, der mal eben 100000 DM vergißt (zur Erinnerung: auch Schäuble ist eine Altlast aus Zeiten der CDU-Parteispendenaffäre).

Danke Frau Merkel! Sie haben damit bewiesen, daß Sie die Kanzlerin aller Deutschen – die Sie gewählt haben und in der Minderheit sind (48,4% von 70,78%) – sein können.

Posted in DE, Gedanken | Tagged | Leave a comment

Endlich bestätigt

Das endgültige Ergebnis der Bundestagswahl lautet 48,4% der Zweitstimmen für die Schwarzgelbe Koalition. Danke, daß nach nur zwanzig Jahren der überwunden geglaubten Diktatur eine solche – und das mit Billigung der Bevölkerung und der Medien – wiederauferstanden ist. Das dürfte den Unionsparteien sicherlich am meisten gefallen, da sie ja ohnehin an Wiederauferstehung glauben.

Keine Angst, ich denke nicht, daß Linke oder SPD etwas geändert hätten, wie auch immer die an einer möglichen Koalition beteiligt gewesen wären. Aber die Tatsache, daß trotz eindeutigem Verfehlen der absoluten Mehrheit kein Aufschrei durch die Medien geht – ja daß dieses Ergebnis nur durch die Schnarchsäcke unseres höchstblasierten Gerichts ermöglicht wurde, weil diese den Parteien eine Änderung des Wahlgesetzes in so kurzer Frist nicht ins Hausaufgabenheft schreiben konnten – traurig. Einfach nur traurig.

Auch ging es den höchstblasierten Richtern ja nicht darum, daß die Direktmandate genauso undemokratisch sind wie eine 5%-Hürde, sondern darum daß ein Wähler – ohne dies zu wollen – dank der aktuellen Regelung in der Lage ist durch seine Stimmabgabe für seine favorisierte Partei dieser zu schaden, weil sich die Regelung eben unter Umständen gegen die Partei auswirkt.

// Oliver

Posted in DE, Gedanken, Ich, der Zyniker | Tagged , , | Leave a comment