Showing posts with label Russia. Show all posts
Showing posts with label Russia. Show all posts

19 July 2015

The Spy Who Bagged Me


by Leigh Lundin

Zoya Voskresenskaya
Anna Chapman
Anyone who’s watched a James Bond or a tacky Derek Flint film knows the Russians have licentious taste in spies… well, perhaps not Rosa Klebb, more like famed Zoya Voskresenskaya (Zoya Rybkina, Зоя Рыбкина, née Воскресенская). Deported Anna Chapman wasn’t a very good spy, but her incompetence and stunning looks inspired the New York Post to ask “But can we keep her?”

Such a wistful propensity may have prompted other New York-based spies to opt for Hooters as a clandestine meeting spot. Hooters?

Code name Green Kryptonite

Meet Naveed Jamali. His parents owned a specialty store, Books & Research, in Dobbs Ferry, Westchester, New York. In the latter 1980s, a known Russian agent strolled into the bookshop and asked for arcane but legally obtainable reports available from a proprietary government database run by the Defense Technical Information Center. The FBI asked the family to fulfill those requests and notify the FBI as to Russian interests.

This continued for twenty years until young Naveed took over the store. Motivated by a desire to join Naval Intelligence, he leveraged his relationship with the FBI into becoming an amateur– but authentic– spy, complete with an audio recording watch Q himself might have designed.

Double-O-Nought

The FBI targeted the latest of a series of Russian agents, a trade mission attaché and seasoned operative, Oleg Kulikov. Diplomatic immunity meant the FBI couldn’t arrest Kulikov, but they could bring his career to a close. Considering occasional spy swaps, it was a smart move by the Feds.

The plan called for Jamali’s arrest at Pizzeria Uno in the presence of Kulikov, but at the last moment, the Russian opted to return to Hooters, putting the operation at risk. Nonetheless, federal agents swooped in and handcuffed Jamali in a fake apprehension, thus ending Kulikov’s espionage and usefulness as a clandestine operative.

Look for Naveed Jamali's book about his experience, How to Catch a Russian Spy. Fox Entertainment has negotiated film rights for the story.

Spies Through the Pages


Last year saw the release of a wonderful film about Alan Turing, The Imitation Game. For another great read and a chance to meet Turing’s competition in wartime British Intelligence, read Leo Marks’ autobiographical Between Silk and Cyanide.

08 March 2015

The Kaspersky Code


Three weeks ago, Kaspersky Lab, the Russian security software maker exposed a cyber-espionage operation that many believe originated within the NSA. The devilishly clever bit of code hides in the firmware of disc drives and has the ability to continuously infect a machine. If you use a Windows computer, there’s a good chance it’s not only infected but was built that way likely without the manufacturers' knowledge.
Kaspersky researcher Costin Raiu says the NSA couldn’t have done it without the source code.

What?!!

The contention that the NSA definitely had access to the source code is not only patent nonsense, it ignores that fact that Kaspersky themselves supposedly didn’t have the code. Having the source code is the easy way, perhaps the preferred way, but it’s hardly the only way.

A Reuters article speculates how the NSA might have obtained the source code and indeed, one of those is a likely scenario. But it’s also feasible to do the job without the source and I’ll show you what I mean, a technique I used to unravel computer fraud programs. Fasten your seat belt because this is going to get technical.

World’s Greatest Puzzle

Those around in my Criminal Brief days know that I love puzzles. For me, the ultimate puzzle has been systems software programming, making the machine do what I want. But sometimes I’ve come up against puzzles, some benign, some not, where I didn’t have the source code.

Let’s try an example. What if we found mysterious code in our computer that looked something like this:

confused pseudo code snippet
Mysterious Snippet of Computer Code

If you can’t make sense out of this, you’re not alone. 98% of computer programmers wouldn’t know what to make of it either. But if you look closely, the data populating the upper block looks different from that in the lower block. This is a clue.

Unlike commercial and scientific programs, systems software deals with the operation of the computer itself– utilities, communications, and especially the operating system. The realm of a computer’s internals are abstract, far more so than the Tron movies. Key aspects seldom relate to real-world equivalents. Sure, we say that RAM is a little like notes spread out on your work table and that disc storage is kinda sorta like a file cabinet… but not really. Even the term RAM– random access memory– is misleading; there’s nothing random about it.

Back in the real world, let’s say you want to write a simple program that adds the number of apples and oranges. In most programming languages, this code would look like this:
total = apples + oranges
Internally, a program loads apples and oranges into registers (kind of like keying them into a calculator), adds them, and stores them in a variable called total. If we were to write this in the argot of the computer, we’d use assembly language mnemonics, an abstraction of the computer’s machine language. Deep, deep down in a program, we’d see nothing but numbers where we count…
0, 1, 2, 3, 5, 6, 7, 8, 9, A, B, C, D, E, F
Yes, A-F are digits in this context. Within the computer, our little program above might resemble…

simple pseudo-code program: total=apples+oranges
total = apples + oranges

What isn’t obvious to many programmers is that computer instructions are data. Indeed, some black-hat crackers (the bad guys) have used this property to sneak malware onto unsuspecting computers.

If you look again at the original sneak peek of data, you’ll start to see patterns and may even pick out the machine instructions from our code example above.

clarified pseudo code snippet
Less Mysterious Code Snippet

This puzzle solving is called reverse engineering. It’s possible to write a program called a disassembler (I have) or a de-compiler (I haven’t) to decode the machine language into something more intelligible. The program has to be smart enough to not only separate actual data from instructions, but distinguish the type of data.

As you see, compiling source into binary executable code isn’t a one-way street. With dedication and know-how, reversing the process is well within reach.

How safe do you feel now?

27 January 2013

Chekhov Wrote Crime Stories?


by Louis Willis

From the preface of A Night in the Cemetery and Other Stories of Crime & Suspense:  “In the villages where he practiced, Chekhov accompanied local police on criminal investigations and performed autopsies.”

I never thought of Chekhov, one of my favorite short story writers, as a writer of crime or mystery stories. Of course, if writers use their experiences as material for stories, then it shouldn’t be a surprise that Chekhov tried his hand at writing crime stories. I decided to buy the book after reading the review by Otto Penzler in the New York paper The Sun back in 2008.

The name of the editor who selected the stories for the book is not shown. The name of the translator, Peter Sekirin, is, so I assume he was also the person who selected the stories. Why he included the essay “What You Usually Find In Novels” in which Chekhov lists the elements that go into a novel– character, setting, conflict– is a mystery. Why he chose some of the stories is also a mystery since they are not, properly speaking, crime stories. 

Anyway, for this article, I analyzed what I think are two crime stories and two mystery stories.

“Evildoer” captures the mind of the Russian peasant and Russian officials. Since the crime has already been committed, the story is more a court room drama told in short form. A fisherman is on trial for the crime of unscrewing the nuts that hold down the railroad tracks. He explains to the judge that he uses the nuts as weights for his fishing lines. His explanation baffles the judge who can't believe it and tries to explain to him that unscrewing the nuts causes train wrecks. The fisherman doesn't believe the judge’s explanation and doesn't understand why he is being sent to prison. I like this story because it shows a good story doesn’t always need a surprise ending, only a satisfactory one.

”Misfortune,” one of the best stories in the book, shows Chekhov’s storytelling genius. In a few words, he captures a disastrous moment in a man’s life due to his lack of understanding that signing reports makes him legally responsible for their accuracy. A merchant is a member of the town bank's auditing committee. After the director, accountant, his assistant, and two members of the board are sent to prison for embezzlement, a later investigation reveals the merchant signed the reports. He admits he didn't understand them. He also doesn't understand that signing the reports made him complicit in the embezzlement. Again, no surprise ending but a great story.

“The Swedish Match” is a true locked room mystery with a surprise ending. A retired police officer is missing from his room and believed to have been murdered, but the body cannot be found. It appears the killer entered the room through a window and that the dead man was taken from the room through the same window. Suspects are his sister, his mistress, his butler, and his manager who reported the murder. The surprise ending is not exactly starling but it works.  

The detective story “The Drama At The Hunt: From Notes of A Police Detective” is an abridged version of what seems to be a novella that has a good surprise ending. It has all the ingredients of a good murder mystery: a promiscuous woman, three men who are involved with her, and jealousy: a 19-year-old woman is hit on the head and stabbed several times. Her husband is tried and convicted for the murder.

In the last chapter, which is somewhat confusing, the narrator changes from the investigating detective to a book editor to whom he has submitted the manuscript of a novel based on what he claims is a true story. The abridgment of the novella makes it choppy and at time confusing. Nevertheless, it is the best story in the book, if only it hadn’t been abridged.

I liked some of the stories, but I was disappointed overall in the selection of tales. I’m no linguist and certainly can’t read Russian, but at times I felt the translation wasn’t quite right. Still, I enjoyed those few good stories.