Wednesday, September 01, 2021

Day to day Cyberfraud - A tip through my Experience!

I did not think that I would fall for one such attack! But I did and I salvaged the situation in time to come out unscathed! 

Sumit has a correction to be made to his PAN card and I have been helping him out. At one stage there is a need for a SMS OTP from Aadhar to verify his identity. We wait for the SMS OTP on his registered mobile number; but does not come in the stipulated 120 seconds. We presume that the Aadhar server is down and repeat this the next day and find that the OTP is elusive. A quick debug shows that his registered mobile number (serviced by MTNL) is out of service. And for some odd reason it stayed that way for the entire day, repeated call to the call center reach the IVR and machine but no human so the problem is not resolved. Curious I scan through Sumit's phone and find an SMS from an unknown number (+91 9883453468) which speaks of his MTNL number not being KYC compliant.  

All this seem to add up. The non-functional phone and the SMS!    And I jump at the opportunity to _educate_ Sumit that he should keep track of his SMS'es as well, instead of just being on Social Media platform (as a parent you take it upon yourself that you need to educate your adult son! the Indian parent style!).

Without thinking further (Mistake 1: Succumb to Social Engineering) I immediately call +91 9339434679/+91 9883453468 (Clue 1: MTNL might not provide customer service on a personal number) and on the third try the guy at the other end pickup and immediately I hear

This is Mr Somnath from the MTNL head office in New Delhi.

I am surprised and think, 

(Clue 2) "When did MTNL people start introducing themselves on a phone" 

and without using the Clue 2 I mention about the SMS and about the non-compliant KYC and ask him what is to be done (fall in the trap). 

He is patient and assure me 

This has happened with lots of old phone connections and there is nothing to worry. It is a simple exercise. Please go to Google Store and  download this application. 

This is when my dim brain wakes up and I turn smart (self patting!)

Me, "I can not download any application"

He, "Why?"

[Smart Thinking] Me, "I have a bar phone"

He, "What is a bar phone"

Me, "The Nokia one which is very old"

He, "Do you have any other phone?"

Me, "We have only this phone, we can not afford a smart phone"

He, "If that is the case we can not do anything"

Me, "What do I do now?"

He, "Just wait and things will become normal"

Me, "How?"

He hangs up. I try calling him several times  but he does not pick the phone. And rightfully before the end of the day Sumit's phone is functional. We go ahead and finish the task which required the registered mobile to receive an OTP via SMS.

I sleepily apologize to Sumit for "should see your SMS" comment. This time I was wrong.

Endnote 

Falling into socially engineered trap is real irrespective of how smart you think you are. 

Two possibilities

1. It is possible the whole thing was coincidental  (MTNL going out of action, the SMS coming in just before this happening) but it added up to the fact that we needed the OTP to come as a SMS.

2. May be MTNL has a scheduled break in services which some people know apriori and then lay the trap of sending out messages to coincide with these break in service and a few people like me (think smart but aren't) fall into this trap.



Sunday, May 02, 2021

A Journey

A Journey from Vaccine to fight COVID19 to COVID19

03 April - 28 April

Like several other people in India, had registered on the Aarogya Setu mobile App, blocked an afternoon slot on 14-April two weeks in advance so that I could take the jab when it was available to me in a nearby hospital.  
 
Lazing after a normal Saturday lunch on 03-April "Sunil, My friend called she had her jab in the morning session, there was not much crowd it seems, should I attempt to get my vaccine today? We can Walk In." was something that I could not ignore because Namita was going non-stop since March 2020 (when the pandemic in India started) to her office and an early vaccine I thought would be a if not anything a protective gear for her. So masked I drove Namita to the hospital, a nice shamiya (like they do in festivals in India) was put up by the hospital with Social distances chairs. Everything looked good that I sent out an email to the head of the hospital congratulating them for the  great arrangements.
The Shamiyana for the vaccine drive


I had decided that I would have my vaccine on the day I had already booked the slot, two reasons (a) why hurry up and (b) with the varying effect the vaccine was having on people, we required one of us to be not affected by vaccine to run the show in the house.

I waited for about 45 minutes. It took 10 minutes of wait for Namita's  turn to come and after the jab a mandatory 30 minutes wait for the doctor to see if the vaccine was having any adverse effect. Namita came out beaming. "Sunil, Why do not you have it today itself? There is no queue"  I was hesitant (what if we both of us were down with fever) but the greed of not having to make one more trip to the hospital pulled my brain to take the vaccine. 
 
I walk in. There is a registration counter. "Can you take off the mask? So that we can take your picture". I am hesitant but seeing no other option I do smile into the camera. Click. how your identity. Click. Go to Room #2. Two nurse's joking give me the jab. Say it it Covishield. I thank. All looks good. After the 30 minutes mandatory wait walk out at 1730. All seems well a little pain in the arm because of the injection. We drive back home.
 
[T] Vaccinated 03-April-2021, 1st dose at 1700 hrs!

Night of the vaccine I develop fever, pop a Crocin and sleep. I get shivers in the night. Vaccine effect. Namita nothing. I joke to Namita "Looks like the vaccine is acting on me, not you" on Sunday morning. Fever stays 100+. Pop in crocin more chills in the night. Monday  [T+2] Namita goes to work as usual, I find it hard to sit but with work (from home) to do I labour on and manage the day. Fever comes down. Relief. But the weakness continues. "After high fever you do become weak" Namita says and I agree. Wait for a day.

[T+4] "Why not consult a doctor online?" especially since it looks like I am getting a sore throat. I speak to a doctor narrating the fact that I have taken the vaccine. I am prescribed zinc + multi vitamins and vitamin c. Continue for three days.

[T+7] With no relief from weakness. Namita drives me to the dispensary for the sake of safety I set in the back seat. The doctor suggests RT-PCT test and fills in two sheets of document. We take that and go to the hospital after a 90  minutes wait, the swab is collected one from the throat and the other through the nasal. "When the results come we will contact you. Do not move out. Stay indoors".  Namita, "When will the reports come?". Usually it takes 2 days. We get back home, managing the weakness and working with lavish amount of in between meetings rest!
 
{The wait | The smell} 
Two days of wait is not as short as one thinks! At the back of your mind you are constantly thinking what if I test positive. How are we going to manage? The newspaper (both paper and digital), the social media is full of noise amplifying the increase in the number of cases and this does not do any good when a swab test is going to decide what would be the next course of action. In midst of this "Sunil, can you smell?" asks Namita. I never thought of this test! I immediately pick up Madivala balm (pungent smell) and lo can not smell anything. I could see anxiousness around in the house. We reasoned out that it might be because the person collecting the swap might have hurt the nose and that the smell should be gone for just a while. However, I had mentally made up that the virus was in and started behaving like I was isolating myself sticking to one half of a room with clear cut boundaries and restricting the use of bathroom only when required. After each use soaping the bathroom and disinfecting it with a spray. As safe as you can isolate in a Mumbai 2BHK flat. The smell test became a part of the medical kit along with SPO2, BP measurements. I passed the smell test, may be, a day later with the intensity of smell being less. Frankly in that dull moments, the ability to smell seems to make me a little more confident that after all the virus had stayed away. It was elating (like a child learning to take her first steps) when I was able to smell "a little". It was quite non-uniform, I could smell sometime and I could not smell at times. But I know for sure that there is a mental image of smell hidden somewhere in my brain. Now the wait for the RT-PCR results. 
 
More Waiting. 
 
Needing to rest because that is what the body says, I look at my Aarogya Setu application and lo! What do I see indeed I did cross an individual exactly the same time that I was getting my vaccination! Now I am more certain that I am carrying the  virus. I do not disclose this to anyone in the house!
 
Now the wait for the RT-PCR results.


 
[T+9 | 1600] Ring. Ring. "I am calling from the hospital. Your name is Sunil? Your reports have come, you are positive. Please come to the hospital and you will be given further instructions". The news was not unexpected thanks to the Aarogiya Setu app. But the inability to smell followed by ability to smell again did not seem to have a say. 
 
Namita drives me again. She instructs me, "If they say quarantine we ask for home quarantine". I do not say anything. Wondering how did I get the virus back with me? I would like to think that I tend to be "careful" with the mask, social distance, washing hands. It suddenly feels  a little dull. How are we going to manage? Father and son (study from home) at home. Namita and I had managed the work with no external help for the last 13 months. With one wicket down how will we manage. With these thought we are in the hospital. There is a long queue, token 97 and all have been tested positive that day. Wow. Second Wave is for real. I feel weak standing and find a place to sit. All the time wondering how we are going to manage.

After measuring the temperature, SPO2, BP.  "Please go inside and take your chest x-ray and come back here with the report". Another 10 minutes and a doctor says you need to take antibiotics for 3 days along with other medicines for 7 days. "Will you be able to isolate your self at home?" Before I can answer "Yes, Yes" says Namita. We get a printout with a list of medicines to take (mostly vitamins) and a note to "home isolation -- 17 days". Please come to the causality if you get temperature or if your SPO2 drops... are the other instructions. 

First thing first. I send out a message to the building secretary about home isolation followed by a message to others in the society. I am assured help by almost everyone. That feels good. Now the difficult task is to stay confined to house and yet manage the house.
Two days into home isolation. Indeed a long journey.

{The isolation journey starts T+12 to T+29} 
 
We quickly decide the boundaries and turn out a set of verbal rules - what to do and what not to do. Mostly decided by Namita. Sumit moves into one of the bedroom and for the next 17 days that was his study, sleep, exercise, entertainment space. It was important for him to be as far from me as possible to have minimal contact with me. With his classes in full swing this was a priority. I would be 24x 7 masked and no one ventures into the hall. I restrict myself to one bathroom. I will sleep, eat in a small area. Namita will be the only person who comes to within 1-2 meters of where I am put up; always with a mask. Sunil, "No working. Take leave. Read books, Watch TV, Sleep". Ground rules set. Now to make it work.
 
It is not easy.
 
The intent is to stall the spread of the virus within the house plus to get me back to energies to fight the virus. This is Namita's war cry and I should say she fought like a hero. Tirelessly. 
 
Almost all of these days a sort of fixed time line. Morning a cup of milk  with turmeric, pepper powder, Horlicks (for some reason we stock this in the house!); breakfast (idli or poha or sandwitch or  upma ... + coffee); lunch (rice + protein rich  curry); bowl of fruits (Sunil, You should eat); Coffee; Dinner (Roti + protein rich curry); interlaced with kadha (warm water with ginger, pepper). Measuring SPO2, BP four times a day; eating everything that is served; taking rest; wearing mask were my only tasks!

I announce my isolation to my team and a few colleagues including HR. Luckily there is a special leave during home isolation and a lot of messages wishing speedy recovery. The leave part comes as a surprise but that eases things, I can still work if my body permits. I have one more restriction that I have to impose. Minimize talking during meetings to avoid any virus movements in the house. Interestingly, these 17 days have been the time when I have spoken the least!

All rules set. Sound easy. But your mind plays tricks. 
 
{The What If rules the mind. Especially the first two days of isolation}

What if things get worse and I have to go to the hospital? What if I don't survive the isolation? How will the family manage. Do they know my bank account numbers? Do they know the amounts in the bank? More importantly do they know the passwords. Mind goes all over the place especially when you look at the newspapers and social media speaking of all the negatives with a weak body it is impossible to not think of these! I quickly make notes, bank account number and balances and share it with Namita and Sumit. Should I talk to them as to what they should do if the worst happens. I try to raise these points but am quickly asked to forget these "irrational" things. But statistics? 

Having no one to listen. I put my thoughts to rest. Eternal Sleeping seems to be my major work. Reading occupied most of my waking hours. The weakness is significant. Taking bath is an effort. There is anxiety when you read a particular sensational news article. The weakness seems to amplify the degree of sensationalism!

The next 2 weeks of isolation we relatively easy on me (actually no work at home -all served in a plate literally into your mouth) but very harsh on Namita, who was single handledly doing the task of 2 morning to night,day after day for the complete duration of the isolation. To say that she managed it well is an under statement. I knew she was getting tired but there was nothing much I could do. The best I could do was to not  spread the virus!

[T+25] Twenty five days since vaccination, nearing the isolation period, I book another RT-PCR test to check if the virus is still in there. Feeling less weak gave a positive hope. Just to make sure all of us get the test done. We book a home visit for sample collection. The sample is picked up. "When will the results come?". "Sir there is a huge rush, it typically take 48 hours" you will get your results in your email.

[T+26] I get an SMS and finally land up on the report. Uh. The report says negative (no presence of virus). It is indeed a relief.

Subsequently we get the results of the test as also being negative. There is a general sense of relief. With the second wave going on, we tell ourselves that we were lucky and need to be thankful and pray this trend is seen in everyone who is going through the second wave.
 
Sunil, "Can you make a pizza?"
Sunil, "Can you bake a cake? " 
 
I am welcome back into the kitchen.

Endnote
 
Several thoughts go through you. What if I had not take the vaccination on that day (later we figured out that several people tested  positive when taking vaccination the day I took) would I have been spared of the virus? Another thought is it was a wise decision to take the vaccine, probably it was the vaccine that took the steam out of the virus making it possible to manage things at home. One can never say both have an equal chance! I will go with the  second. The vaccine helped. Now I am ready for my second dose.

When eligible, please get yourself vaccinated.

Sunday, March 07, 2021

Humans behave better with Machines.

Some reasons why I believe we are more empathetic towards machines but not so with our fellow human beings. 

  • We nicely rinse our kitchen utensils before putting them into out dishwasher (machine) but we refuse to do that when we have a maid who washes our kitchen utensils.
  • We ask in an emphatic tone /Google please play me old Hindi songs/ to Google Home while it is /Sunil can you play the tape recorder/
  • We are furious and loose patience when we have had to stand in a queue at a bank (especially when one of the tellers has take a day off) but we are alright if we have to wait in the queue because the internet is down or the machine has gone down.
  • We agree to walk the required steps when your pedometer saying you are still short of your daily steps,but if your partner reminds you to walk more you ignore him.

Why is it hard to recognize Pathological Speech?

 “All happy families are alike; each unhappy family is unhappy in its own way.” 

-- Leo Tolstoy , Anna Karenina

Automatic Speech Recognition (ASR) or Speech Transcription (ST) is the process of converting human speech into text. Thanks to the availability of abundant speech data and the powerful processing power in the form of GPS and  significant strides made in Deep Machine Learning the process of speech transcription seems to have been solved. The cloud biggies have made it a commodity and have greatly packaged it making it a desirable toy (read smart speakers) to have. If you are wondering which toy? Well it is the Echo's, Home's. 

Productization has had a free learning curve, understanding what people want by throwing free "search what you want" interfaces. These people behaviour on the web comes in handy to build reliable ASR's under the hood of smart speakers. The ASR performance get's even more enhanced when they know more about you (personal information) so that they hardly make mistakes when you say "Call my Mom" on a Saturday 1500 hrs because this is what you do as part of your weekly routine. This is not to take away the advanced in speech signal processing, but these kind of human behaviour understanding does help in the over all enhanced performance of ASR and hence user experience making us all believe that the ASR is a solved problem. 

The fact that most of us a clueless as to what to do when we are faced with a screen-less interface (as human we expect to be given a hint as to what a machine interface is capable of doing for you) and the hint come in the form of /You can ask ...../. Eight out of 10 people seem to pick the  top 2 hints, making it even more easier the smart speaker to seem smarter than they are!

The ASR is one of the important components of a smart speaker and is generally build by a process of what is called "training". Basically you throw in a lot of speech data and the corresponding text and using some well know techniques (Machine Learning) learn the association between the speech and the text. When you throw hours and hours of data, these techniques are capable of associating patterns in speech with text (generally called learning).

Now here is the catch. The ability to associate is dependent on the data that you feed. While there could be variations in the speech of a man and and women (gender) of accent or dialect the variations is not too much for the pattern of association to be arrived at by the machine learning process. The more the variations, the less chances are the ability of the process to find an audio pattern to associate with the text. This leads to the ASR mis-recognition. 

Most of the cloud biggies have access to normal speech (that is most of us) and for this reason the smart speakers (or the ASR under the hood) seem to recognize us. On the other hand if someone who has an abnormal | pathological voice were to make use of these smart speakers it would fail to recognize them. Why? Because the kind of speech data was never used to train the ASR.

So what is the big deal? Add pathological speech data and train the system to make it inclusive. Two problems. Getting pathological speech data is an issue but more than that there is no similarity (as is seen in normal speech) between pathological speech from two different people. Something along the lines of 

 “All happy families are alike; each unhappy family is unhappy in its own way.” -- Leo Tolstoy 

where normal speech is like happy families more or less alike; however pathological speech is different in its own way making it difficult to find common patterns across pathological speech from different people and associate it with text. Making it damn hard to build systems that can be used by people with defective | abnormal | pathological speech.


Sunday, November 22, 2020

Digital Life Certificate at your Door Step -- How To

Background

Welcome to Jeevan Pramaan. Digital Life Certificate for Pensioners is the tag line on https://www.jeevanpraman.gov.in and it has been a great improvement from earlier when (central {Indian} government) pensioners were to physically visit a bank and submit a set of documents and show themselves in person every November to enable the government give their well deserved pension. It was laborious, it was time consuming and with age it was difficult, but with no other option it was something that all pensioners did. The bank sent those papers to a central processing unit and the retired person got his pension. It was nowhere digital!

Last couple of years it has gone digital thanks to the biometric that is part of Aadhar. While people still had to go the bank or a Jeevan Pramaan center and submit a form, their presence was verified by their thumb impression which verified that the pensioner was alive! In case a pensioner could not visit a bank - a bank person would visit the house (on request at their own convenient time - because they were to do their own work!) and verify the presence of the pensioner and then went back to their bank and digitally verified that he had seen the pensioner.

Thought Jeevan Pramaan did have an option where anyone could do it from their home but given that most pensioners were not digital savvy and the whole setup required a "specific" biometric device (aside of a windows computer or an Android phone) which had a yearly license cost etc. It was and is in theory possible to setup at home but it was just not practical.

This year (2020). The postal department started the DLC at your doorstep and this is a welcome change they use the Jeevan Pramaan application themselvesbut come home with a biometric device and do the needful.

How do you get a DLC at home? 

If you have 

  1. an Aadaar number (16 digits) and 
  2. a linked mobile phone (10 digits) 
  3. PPO number
  4. Bank account number where you receive your pension
  5. INR 70 to be paid to the postman (no receipt!)

 you are good.

Day x:

  1. Step 1: Download postinfo (an Adroid Application)

  2. Step 2: Click on the Service Request (Enter Name, Address, Pincode, email address, Mobile number, Select Service as IPPB - Jeevan Pramaan (DLC).
  3. Step 3. Request for OTP (enter the OTP received on the mobile number entered above)

You are done. Your service is registered. You will get an email (with a link where in you can check the status of your service request) and a SMS message.

Day x+2/x+3: 

Now the post office closest to the PIN code entered by you will call you up and fix an appointment (Yes, you heard right).

Day x+4:

Someone from the post office comes and during the process (should take no more than 10 minutes) the pensioners mobile number will get 2-3 OTP's (1-2 from postal department and 1 from aadhaar) which need to be given for the process to proceed + your finger print.

Lo the digital certificate is ready. Immediately.

Things to look out for.

  1. The postman carries a mobile which might not have internet connectivity (so you might have to lend him your hotspot or your wifi credentials)
  2. Since pensioner might have given their biometric long time earlier, there is a chance that the Aadhaar server refuses to authenticate. There is no hope here. You will then need to visit a bank!  
Useful Financial Express Article which you might want to read.

Monday, August 17, 2020

Quick Capsicum Paneer Dish

Inredients
[a] 200 gms Paneer (Amul)
[b] One big onion
[c] Two medium size capsicum
[d] Salt to taste
[e] 2 teaspoon of oil
[f] 1/2 teaspoon Onion Garlic Powder

Procedure (what I did!)

[A] Cut the onion and capsicum into  1/4 inch or smaller squares
[B] Cut the paneer into 1/2 inch triangles (contrast  with square pieces)
[C] Put the Non-stick Kadai on high flame with oil
[D] Put the onion and capsicum and stir fry it.
[E] Now put some salt and fry on lower flame
[F] Now put the paneer and stir it continuously
[G] when done, put the onion-garlic powder into the mix
[H] Fry it so that things mix well

Directly into the plate when hot and eat with roti 😉

 

More or less it should look like this!

 

Plain Palak Soup

Ingredients (O optional)

 X 10-15 large Palak leaves

 X 2 large tomatoes

 O 2 cloves, 4 pepper seeds

 O few strands of coriander leaves

O 1/2 inch Ginger

O Butter

X Salt to taste

X 1/2 lemon


Procedure (I follow)

- clean palak leaves (I keep the stem) and tomatoes

- cut the tomatoes into 1/4

- put the palak, tomatoes with salt (all the optional ingredients) into a cooker with little water.

- pressure cook (wait for the first whistle, sim and keep it for 5 minutes)

- wait until lid opens.

- transfer all the cooked material (without water) in a mixie and make a smooth paste.

- put the cooker with the water used for cooking on stove to boil

- transfer the paste from mixie to cooker

- bring to boil, and slow the flame

- add pepper powder and stir

- remove from flame

- squeeze 1/2 a lemon

- stir and serve with a hint of butter

Outcome!!

Soup in a Bowl!






Some intermediate Steps!     
Put all the ingredients in a cooker and bring to a boil
Minus the Water transfer all the cooked ingredients into a mixie
Make a fine Paste
Boil the remaining water

Transfer the contents of the mixie into the cooker. Bring it to a boil

Simmer. Add Pepper Powder. Soup Ready!


A Lesson Hidden in Two Simple Words

Sometimes profound ideas are hidden in the most ordinary places. Recently, while looking at two common English words, I stumbled upon an int...