Friday, October 18, 2019

Pasword part 2

Recently I saw a tweet at twitter stating that “Kens password was hacked”. Apparently somebody had found in 2014 a unix passwordfile, from a very selected group of ITers (you can call them pioneers) and at that time already tried to hack the passwords (unix encrypts the passwords in such way that even admins or a superusers can't decipher them). There were some famous names like Ken Thompson, Dennis Ritchie , Brian Kernighan, Steve Bourne and Bill Joy. We talked about a team which defined in the years ’60 and ’70 the base of all our current ICT. If you would convert those names to topplayers that we would be talking about Steinitz, Tarrasch, Lasker, Reti and Nimzowitsch, no less.

That unix-file with passwords seemed very difficult to crack in 2014. The hardware wasn't as strong as nowadays. 20 words were revealed quite quickly but five resisted. The last man standing was… Ken Thompson, and his password was chess-oriented.

On this site (ken thompsons old unix password cracked) you can read the story. Encrypted unix makes his password “ZghOT0eRm4U9s” and it appeared eventually to be “p/q2-q4!”. In other words, his password was just “d2-d4!”.

Chess-oriented passwords are strong, and that is no surprise: Kens password contains letters, special characters in an apparently illogical sequence. Now that is a trick which I also use. The reason is simple because if you use as password “1.d4 f5 2.e4!”, then you only need to remember “Staunton”. I also remember that as a student in Oostende I logged on the PDP-11 with my name and “e4e5f4” as password.

There are several sites which allow you to test the strength of your password: 2 good sites are https://howsecureismypassword.net/ and https://password.kaspersky.com/. Other sites give you guidelines about which characters you can add, but these two give an indication how long it lasts to crack your password. This indication largely depends on the speed of the computer and as the first site is more conservative (they think that hackers are very well equipped), I prefer to use the first one.

That “e4e5f4” doesn't survive a second (54 milliseconds), but this changes when you use the full notation: “1.e4 e5 2.f4” which requires already 600 years. With a few extra signs “1.e4! e5! 2.f4?” you increase it to 4 billion years. That is not bad for a simple to remember password - you only need to remember "kingsgambit".

Of course the more moves, the better; the French MacCutcheon (1.e4 e6 2.d4 d5 3.Nc3 Nf6 4.Bg5 Lb4) lasts 10^48 years, without using exclamation-marks or question-marks. For people playing this line, it is simple but it is rather long so impractical to use. A rather short one is “Saveedra 6.c7-c8:T!” which  demands already 36 x 10^18 years of calculations, much easier to remember.

If you don't want to remember move-sequences, but rather prefer a chess-name as password, then I can recommend “Roman Dzindzichashvili” (42 x 10^21 years) or “Zurab Azmaiparashvili” (596 x 10^18 years). Have fun en keep it safe!

HK5000

Monday, October 7, 2019

Cats

Having a son or daughter playing chess, requires a lot of patience from the parent(s). Especially when you accompany them to tournaments then you better realize in advance there won't be much time left to do other tasks. Besides as a parent you are mostly ignored by the chess-organisation. Often you are lucky to have a chair on which you can sit as I experienced several times at youth-tournaments that no separate space was provided for the companions.

Also you better try to do something enjoyable while waiting many hours as just sitting (like in the first picture of my article the memory) can be relaxing but surely won't be pleasant. Most parents are therefore armed against the hours of waiting. Some bring their computer to watch a movie. Others are writing a report for the job. I also see some parents gathering together to play cards or other games. I mostly belong to the group of readers so I bring a book, newspaper or some other literature with me.

Although in most cases I don't manage to read much in the end. I like too much talking to other people which probably also explains for a large part the existence of this blog. I don't have much trouble to start making a conversion with an unknown person and that has its advantages. This way you sometimes meet some really interesting personalities.

One example is the mother of Ines Dellaert. I had an enjoyable chat with her during Open Maastricht of 2018 and learned that she was trying to become one of the very first professional drone-pilots in Belgium. In Open Maastricht 2019 I met the papa of Matthijs De Groof. He started a couple of years ago together with his brother a company for gas-pressure-regulators see gasflowsolutions. He travels around the world to explain and sell his products. In the latest onjk an ex-professional-footballer joined my table. We had quite some fun because he was telling many anecdotes from the time he was still playing in the Dutch first division. Finally I want to conclude with the very congenial Alfred Olree with whom I was waiting every day at the same table for our children.

Alfred has an incredible rich life. Beside a very busy job as HR-officer, he is also father of 3 sons, married with (indeed) a Russian lady, youth-leader + director-member of the chessclub de drie torens and finally also has a beautiful passion for cats. Briefly there was enough to talk about for hours and even my wife paused her shopping for awhile to listen to all the stories. If it is about Russia and especially cats then she is interested. Besides it aren't just cats which Alfred has but the extraordinary magnificent Maine Coons. He already won many prizes with them also in Belgium.
Source: https://www.instagram.com/krownest_oranje/
Cats and chess, it sounds a weird combination but it happens more often than you probably think. There is even an opening named after the largest cat in the world. I mean the lion of course.

This opening has a very special history. Contrary to most other openings the lion wasn't invented by a grandmaster but by an amateur with the appropriate name Leo. According to archives Leo created the opening about 50 years ago and meanwhile many players have followed his footsteps. Particularly at amateur-level the system remains very popular till even today.

The system has some great assets compared to other openings. First it is an universal system so it can be applied against a wide range of setups. It also delivers excellent counterchances for black which allows to play for a win even against higher rated players. Finally it is very easy to learn which is of course handy for an amateur often not having much time to study chess at all.

Nonetheless the fact that the lion never became a mature opening at master-level in the last 50 years, should warn you that something isn't fully correct. That was last demonstrated in a game of my son which he played in the last onjk. If you have a name as Robin Van Leeuwen then you are almost automatically a fan of the lion but that doesn't mean necessarily you will score more points.
[Event "NED-ch U12 op"] [Site "Borne"] [Date "2019.08.07"] [Round "6"] [White "Hugo"] [Black "Van Leeuwen, Robin"] [Result "1-0"] [Annotator ""] [WhiteElo "1435"] [BlackElo "1446"] [PlyCount "41"] [CurrentPosition "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"] 1. e4 d6 2. d4 Nf6 3. Nc3 Nbd7 4. Nf3 e5 5. Bc4 Be7 6. O-O h6 {(A hint that black wants to play the Lion.)} 7. h3 {(The game-preparation only lasted a couple of minutes which made Hugo to forget the right move-sequence. Fortunately we quickly transpose to familiar ground.)} 7... c6 8. a4 Qc7 9. Re1 Nf8 10. Be3 g5 {(Now we have a real lion on the board. I can't understand why a coach teaches such moves to a small boy. He should be expelled. First learn them to develop properly with castling please.)} 11. dxe5 dxe5 12. Nxe5 {(Robin was surprised completely. I had shown this piece-sacrifice to Hugo before the game. It takes advantage of the fact that black didn't castle yet. There are a dozen of games in the database where the same winning move was played. However there exist also a few games in which strong players missed the killer.)} 12... Qxe5 13. Bd4 Qc7 14. e5 Nd5 15. e6 f6 16. Qh5+ Kd8 17. Nxd5 cxd5 18. Bb5?? {(Of course white should open the position and take at d5. I was a bit disappointed after the game as this almost spoiled it for Hugo.)} 18... Nxe6 19. Rad1 Nf4?? {(The position is still very tricky. Fortunately for Hugo, Robin makes a mistake. After this Hugo finishes the game swiftly.)} 20. Qf7 Rf8 21. Qxf8+ 1-0
The lion was slaughtered without mercy in the game. Robin told us afterwards than he had never experienced such defeat before with his favorite opening. During the tournament there were beauty-prizes awarded and if I compare this one to the other winners then I am sure it would've made a good chance to win. However I didn't consider it honest to submit that game. I had shown to Hugo the whole idea in advance so including the sacrifice of the knight on e5. Very little creativity existed in the game.

At the master-level this sacrifice is well-known. Also I had met by coincidence the same opening in the most recent edition of Open Gent so I had just before onjk made some deep analysis of it.
[Event "Open Gent 1ste ronde"] [Site "?"] [Date "2019.??.??"] [Round "?"] [White "Brabo"] [Black "Jorritsma, S."] [Result "1-0"] [ECO "C41"] [WhiteElo "2306"] [BlackElo "1815"] [PlyCount "59"] [EventDate "2019.??.??"] [CurrentPosition "rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1"] 1. e4 d6 2. d4 Nf6 3. Nc3 Nbd7 4. Nf3 e5 5. Bc4 Be7 6. O-O c6 {(In 3 earlier standard-games I always encountered castling.)} 7. a4 Qc7 8. Re1 h6 {(Black postpones castling and threatens to play g5 with a quick attack. This is called the lion opening.)} 9. Ba2!? {(I never studied the lion properly so I was forced to think for myself. After some extensive analysis I consider today h3 as the most critical continuation.)} 9... Nf8 10. Be3!? {(More critical are Nh4 and h3 but it doesn't harm to repeat moves once of course.)} 10... Ng4 11. Bc1 a5 {(After the game black admitted that he should've repeated the moves as this move just makes it more easy for white to find a plan.)} 12. h3 Nf6 13. Be3?! {(More accurate is first Nh4 to discourage blacks next move of the game.)} 13... Ng6 14. Qd3 O-O 15. Rad1 Bd8?! {(This move doesn't look only ugly but it is also ugly. A simple developing move like Bd7 leads to about equality.)} 16. Nd2 Qe7 17. Ne2 Nh5 18. dxe5?! {(Probably slighlty more accurate is Qa3.)} (18. Qa3! exd4!? 19. Bxd4 Be6 20. Nf1! Bc7! 21. Nfg3 Nxg3 22. Nxg3 Rfe8 23. Nh5 f6 24. f4! Bxa2 25. Qxa2+ Qf7 26. Qxf7+ {[%eval 45,31]}) 18... dxe5 19. Qc3 Bc7?! {(Logical but black loses precious time after this move.)} (19... Qf6! 20. Bc5 Be7 21. Bxe7 Qxe7 22. Bb3!? Kh7! 23. Kh2) 20. Bc5 Bd6 21. Bxd6 Qxd6 22. Nc4 Qc5 23. Nd6 Qxc3 24. Nxc3 Nf6? {(Black has a difficult position. The stiffest resistance delivers Nhf4.)} (24... Nhf4! 25. Nxf7 Nh4! 26. Re3 Nhxg2 {(Or Nfxg2 and then Pf4.)} 27. Rg3 Nh4 28. Nxh6+ Kh7 29. Nf7 g6 30. Kh2) 25. Rd2?! {(The tactics already work but aren't simple to calculate.)} (25. Nxf7! Kh7 (25... Rxf7 26. Rd8+ Nf8 27. Red1 g6 28. R1d6 Nh5 29. g4 Nf4 30. Re8 Be6 31. Rdxe6 Nxe6 32. Rxa8 Kg7 33. Rxa5 +-) 26. Rd6 Bd7 27. Red1 Be8 28. Nd8 +-) 25... b6?! {(Be6 is no fun but necessary.)} 26. Red1?! {(Again I just improve my position instead of executing some complex tactics.)} (26. Nxf7! Rxf7 {(A bit stronger is Kh7.)} 27. Rd8+ Nf8 28. Red1 g5 29. R1d6 Kg7 30. Bxf7 Kxf7 31. Rxc6 Bb7 32. Rc7+ +- {[%eval 648,32]}) 26... Nf4?! {(This was the last opportunity to play Be6.)} 27. Nxf7 {(Now this sacrifice is easy as white wins back the material immediately after Kxf7 thanks to Rd8+.)} 27... Be6 28. Bxe6 Nxe6 29. Nxe5 Nc5 30. f3 1-0
I played this opening less accurately than my son without the knowledge of the analysis I made only later. The sacrifice on e5 is in my game less dangerous but black was aware about it so therefore didn't dare to play g5. However without g5 the lion becomes a little cat without claws.

Cats and chess doesn't sound like a good match to me. Still at home my cat often gets attracted by my chess-activities but does lose very quickly its interest. It is much more fun to have a nap on my warm belly instead of watching some boring pieces moving around.
Just try from this position to reach the computer without waking up the cat. I have to make the most funny movements to push a button and it is practically impossible to get the right position on the board.

Finally this isn't the most funny part of the story. Did you know that I am allergic for cats? Still for our cat I am his most favorite person in the house. I guess it is because I am the one daring the least to touch him. So why do I even have a cat at home? Well that is something you have to ask to the other inhabitants of our house.

Brabo