7 DLL injection techniques in Microsoft Windows

In this article, I am going to list half a dozen DLL injection techniques that can be used by a user mode process running on MS Windows. There could be more techniques but I am sharing with you the techniques that I had first hand experience with.

1. AppInit_DLLs

People used to rely on the AppInit_DLLs registry key. The OS loader queries this value and loads the DLLs specified there when a process is created. I have not used this technique in a long while (last time I used it was on Windows XP) and I heard it is now restricted or discontinued because it was widely used by malware.

2. SetWindowsHookEx API

The SetWindowsHookEx API installs an application-defined hook procedure into a given hook chain. There are various supported hook chains (CBT, Journal, Window messages, keyboard, mouse, etc).

When using the SetWindowsHookEx API, you are instructing the operating system to inject your custom hook DLL into other process where it is relevant. The Windows hooks work when the other processes import / use functionality from USER32.dll.

Continue reading

Metta Prayer and other quotes of wisdom – In the memory of Mr. S.N. Goenka

I learned about Mr. S. N. Goenka when I wanted to learn the Vipassana Meditation technique. His teaching method and the meditation technique was the best I learned in my life.

About S. N. Goenka

Some background about Mr. S. N. Goenka, from the Dhamma website:

s.n goenkaAlthough Indian by descent, Mr. Goenka was born and raised in Myanmar (Burma). While living there, he had the good fortune to come into contact with Sayagyi U Ba Khin and to learn the technique of Vipassana from him. After receiving training from his teacher for 14 years, Mr. Goenka settled in India and began teaching Vipassana in 1969. In a country still sharply divided by differences of caste and religion, the courses offered by Mr. Goenka soon attracted thousands of people from every part of society. In addition, many people from countries around the world came to join courses in Vipassana meditation.

Over a period of almost 45 years, Mr. Goenka and the teachers appointed by him taught hundreds of thousands of people in courses in India and other countries, East and West. Today, meditation centers established under his guidance are operating in Asia, Europe, the Americas, Africa and Australasia.

The technique taught by S.N. Goenka goes back two and a half millennia to the Buddha. The Buddha never taught a sectarian religion; he taught Dhamma – the way to liberation – which is universal. In the same tradition, Mr. Goenka’s approach is totally non-sectarian. For this reason, his teaching has had a profound appeal to people of all backgrounds, of every religion and no religion, and from every part of the world.

Mr Goenka, died on 29 September 2013 (aged 89) in Mumbai, India. Continue reading

Meeting Amma, Mata Amritanandamayi Devi (2013)

Introduction

On 05/24/2013, Amma (also known as Mata Amritanandamayi Devi) was visiting Bellevue, Washington as part of her north America tour.

It was the first time for me to go and see her. Many of my acquaintances talk about her, be it acquaintances from France, Belgium or those from where I currently live (in the Seattle area).

They say she has lots of energy and that she can help me in my spiritual path. A quote attributed to her is worthwhile mentioning:

Amma’s hugs and kisses should not be considered ordinary. When Amma embraces or kisses someone, it is a process of purification and inner healing. Amma is transmitting a part of Her pure, vital energy into Her children. It also allows them to experience true, unconditional Love. When Amma holds someone it can help to awaken the dormant spiritual energy within them, which will eventually take them to the ultimate goal of Self-realization. — Amma

She hugs people for free, however during her visit, a 3-days retreat (that costs $290) is offered.

During the retreat, spiritual lectures are given, a proprietary meditation technique called “IAM – Integrated Amrita Meditation Technique®” is offered for free among the other things that are part of the retreat.

I mainly went to the retreat in order to learn the IAM meditation technique and also to get to experience this infamous hug and see how it bestows unconditional love.

The rest of the article will describe my experience from my point of view. Please know that I am not bashing or defaming Amma in any way. This blog post is to share my observations and thoughts with others. Continue reading