Posts

Cyber hackers new target is your mobile

India has rapidly adopted modern technology, be it cellular telephony, computers, smartphones, social networks and now tablets. No wonder, the country comes second after the US in incidences of cyber attacks and malicious activity .

Shantanu Ghosh, vice president, India Product Operations, Symantec, one of the world’s largest data security company, says that smartphones, instant messaging and social networks are becoming the new playground for virus and malware attacks in India. “We have found that attackers are now embedding malware into apps that are available for download on app stores of smartphone makers.

On the face of it, these apps look legitimate , doing the same function the user downloaded them for. However, in the background, they function in a way they should not. Indians have the highest confidence levels in the Asia-Pacific-Japan region regarding the use of third-party software on their mobile phones. As India Inc takes to mobile computing and social networking in a big way, it needs to be watchful about the vulnerabilities and threats on these platforms,” he says.

The vulnerabilities on mobile platforms rose by 42% in 2010. The company also noticed a massive threat volume – of over 286 million new threats – with web-based attacks increasing by 92% last year. He reckons that the incidence of malicious activity is not only growing in India, but the country is also among the top originators of malicious activity.

“Our data shows that India was the third highest originator of spam globally, accounting for 35% of the spam zombies and 11% of phishing hosts in the Asia-Pacific-Japan region. Almost half of the malcodes in India are worm and 33% are viruses. An unnerving feature is that six of the 10 worms in India disable security processes. The bot mania continues, with Mumbai and Bangalore accounting for half of the 37,000 odd bot-infected computers.” Ghosh describes 2010 as the year of targeted attacks.

He says these attacks were designed for specific targets and were planned with precision. There was steep rise in the frequency and sophistication of targeted attacks on business infrastructure, the notable incidences being of Stuxnet and Hydraq. “The most visible cyber-events of 2010, Stuxnet and Hydraq, have turned the focus on protecting businesses and critical infrastructure.

India had the third highest Stuxnet infections, after Iran and Indonesia . A large number of infections were through computer users relying on removable drives to copy data.” Stuxnet, first reported in June, targeted computers managing industrial control systems . India had 10% of total infections .

Such attacks also have the ability to leap the ‘air gap’ : they can reach computers that are not connected to the internet, through USB drives. Indian companies that have critical infrastructure, all of which is managed these days by computers, need to be vigilant too, he says.

Courtesy :- Times Of India
(http://timesofindia.indiatimes.com/tech/enterprise-it/security/Cyber-hackers-new-target-is-your-mobile/articleshow/8141952.cms)

 

How to configure your Android phone or Tablet to display Unicode ?

1.Install Opera Mini Web Browser in your Phone /Tablet which is freely available
2.Type Config:  at the Address bar (no www/http or any other marks only the word config and the colon mark )
3.Press Enter in your Tablet key board or click Go on the phone
4.The configuration page will appear now,where go to the option “Use bitmap fonts for complex scripts” and Choose “yes” (by default it is no ,so change it to yes)
5.Click Save in the bottom of this configuration page and exit from the browser
6.Now restart the browser and try to view your desired Unicode web sites.

Please note ,this options are not available on the standard settings tab of the opera browser ,you have to use above steps to get into the Configuration Area of the Opera Mini browser .

check another link

http://suhreed.posterous.com/how-to-install-bangla-font-on-samsung-galaxy

DO’s and DONT’s IN MOBILE PHONE

Dont’s

•Please do not click photographs with your mobile phones without permission from the people or authorities concerned. You may be invading the privacy and possibly indulging in an illegal act.
•Do not send obscene / pornographic text / images using SMS.
•Do not send obscene / pornographic text / images using MMS (Multimedia Messaging Service)
•Do not receive from or reply to SMS / MMS of strangers.
•Do not transmit obscene/ pornographic material, as it is an offence under Information Technology Act –2000 which carries a punishment of 5 years of imprisonment and 1 lakh rupees fine.
•Do not make calls to the unknown phone / mobile numbers you get while chatting or which are exhibited on various profiles on the Internet. If you do, you may be causing harassment to the other person.
•Do not keep your Blue Tooth open at all times-you may receive obscene / pornographic text, images and viruses.
•Do not give your mobile numbers while chatting on INTERNET to avoid “STALKING”.
•DO not handover your mobile phone to unauthorised service centres, to avoid CLONING.
•It has been reported in the press that some unscrupulous elements may contact your mobile saying that they are from government agencies or Service Providers and request you to press #90 or #09. It is reported that doing so would transfer control of your SIM to the caller. SO DO NOT PRESS #90 or #09 when asked by unidentified persons.

DO’s

•Note down your IMEI number.
•Security pin code should be used to avoid misuse of your mobile phones.
•MMSs / SMSs received should be checked for their source before opening.
•Delete all obscene / pornographic text, images, SMS /MMS from your mobile phones which you might have received or stored. Otherwise this may land you in trouble and unwanted embarrassment.
•Anti-virus software should be loaded in the mobile phone.
•Mobile phone keypad should be locked after every use.
•Use your mobile phone only when necessary .

Coutsey: BSNL http://www.chennai.bsnl.co.in/News/MobileDosNDonts.htm

Bulk Mobile SMS APIs – Application Programming Interface for Automated Messaging

Bulk SMS APIs – Application Programming Interface for Automated Messaging

An Application Programming Interface (SMS APIs) is one way to connect to Resellers Core Messaging Platform. SMS API provides an easy, efficient and flexible option to integrate with your website / application, facilitating auto-generated SMS Text messages to be delivered to the intended recipients mobile phones. This method does not require Resellers Software Platform at your Enterprise/Data Center site. Accessing gateway through HTTP API is one of the best and the quickest ways to deliver SMS messages. The HTTP API can be used to send various types of SMS messages including normal text messages and Unicode messages only by providing few parametersUser-username,password,mobilenumber,message,senderid,mtype=N for normal message and mtype=L for language sms.

Sending a Single MessageTo send a single message of any type (normal text messages, Unicode messages), the gateway requires parameters like User and Passwd for authentication purpose in below URL formathttp://domainname/WebServiceSMS.aspx?User=xxxxxx&passwd=xxxxxxxxxxxx&mobilenumber=xxxxxxxxxx&message=xxxxxxxxx&sid =xxxxxxxx&mtype=N

For sending Bulk SMS messages, the following URL, along with the required parameters, needs to be accessed –http://domainname/WebServiceSMS.aspx?User=xxxxxx&passwd=xxxxxxxxx&mobilenumber=xxxxxxx,xxxxxxx,xxxxxxxxx&message=xx xxxxxxx&sid=xxxxxxxx&mtype=N

For sending Remainder SMS messages, the following URL, along with the required parameters, needs to be accessed – http://domainname/WebService_RemainderSMS.aspx?User=xxxx&Passwd=xxxx&message=xxxxxxx&mobilenumber=xxxxxxxxxx,xxxxxxxxxx&sendername=xxxx&remname=xxxx&remddate=mm/dd/yyyy Hr:Min:Sec AM/PM&predate=mm/dd/yyyy Hr:Min:Sec AM/PM&mtype=N

Sample URL for Delivery Reports-http://domainname/SMSCWebService_SMS_GetDR.aspx?user=xxxx&pwd=xxxx&fromdate=xxxx&todate=xxxx&jobno=xxxx

Sample URL for Getting Balance Credits– http://domainname/Webservicesms_get_userbalance.aspx?user=xxxx&passwd=xxxx

 

For sample codes click here

 

                            VB.NET CODE

 

Imports System.Data

Imports System.IO

Imports System.Configuration

Imports System

Imports System.Net

Imports System.Text

 

 Public Function SendSMS(ByVal User As String, ByVal password As String, ByVal Mobile_Number As String, ByVal Message As String, Optional ByVal MType As String = “N”) As String

        Dim stringpost As String = “User=” & User & “&passwd=” & password & “&mobilenumber=” & Mobile_Number & “&message=” & Message & “&MTYPE=” & MType

        ‘Response.Write(stringpost)

        Dim functionReturnValue As String = Nothing

        functionReturnValue = “”

 

        Dim objWebRequest As HttpWebRequest = Nothing

        Dim objWebResponse As HttpWebResponse = Nothing

        Dim objStreamWriter As StreamWriter = Nothing

        Dim objStreamReader As StreamReader = Nothing

 

        Try

            Dim stringResult As String = Nothing

 

        objWebRequest = DirectCast(WebRequest.Create(“http://Domain name/WebserviceSMS.aspx”), HttpWebRequest)

 //domain name: Domain name Replace With Your Domain 

            objWebRequest.Method = “POST”

 

            ‘ Response.Write(objWebRequest)

 

            ‘ Use below code if you want to SETUP PROXY.

            ‘Parameters to pass: 1. ProxyAddress 2. Port

            ‘You can find both the parameters in Connection settings of your internet explorer.

 

            ‘ If you are in the proxy then Uncomment below lines and enter IP and Port.

           ‘ Dim myProxy As New Net.WebProxy(“192.168.1.108”, 6666)

            ‘myProxy.BypassProxyOnLocal = True

            ‘objWebRequest.Proxy = myProxy

 

            objWebRequest.ContentType = “application/x-www-form-urlencoded”

 

            objStreamWriter = New StreamWriter(objWebRequest.GetRequestStream())

            objStreamWriter.Write(stringpost)

            objStreamWriter.Flush()

            objStreamWriter.Close()

 

            objWebResponse = DirectCast(objWebRequest.GetResponse(), HttpWebResponse)

 

 

            objWebResponse = DirectCast(objWebRequest.GetResponse(), HttpWebResponse)

 

            objStreamReader = New StreamReader(objWebResponse.GetResponseStream())

            stringResult = objStreamReader.ReadToEnd()

            objStreamReader.Close()

            Return (stringResult)

        Catch ex As Exception

            Return (ex.ToString)

        Finally

 

            If (objStreamWriter IsNot Nothing) Then

                objStreamWriter.Close()

            End If

            If (objStreamReader IsNot Nothing) Then

                objStreamReader.Close()

            End If

            objWebRequest = Nothing

            objWebResponse = Nothing

 

        End Try

    End Function

 

    Protected Sub btnsubmit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnsubmit.Click

        Dim str As String

        str = SendSMS(Trim(User1.Value), Passwd.Value, mobilenumber.Value, message.Value)

        Response.Write(str)

    End Sub

 

                                CSHARP CODE

  

using Microsoft.VisualBasic;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Diagnostics;
using System.IO;
using System.Configuration;
using System.Net;
using System.Text;
using System.Net;

 

 public string SendSMS(string User, string password, string Mobile_Number, string Message, [System.Runtime.InteropServices.OptionalAttribute, System.Runtime.InteropServices.DefaultParameterValueAttribute("N")]  // ERROR: Optional parameters aren't supported in C#
string MType)
            {
        string stringpost = "User=" + User + "&passwd=" + password + "&mobilenumber=" + Mobile_Number + "&message=" + Message + "&MTYPE=" + MType;
        //Response.Write(stringpost)
                string functionReturnValue = null;
                functionReturnValue = "";
        
                HttpWebRequest objWebRequest = null;
                HttpWebResponse objWebResponse = null;
                StreamWriter objStreamWriter = null;
                StreamReader objStreamReader = null;
        
                try {
                    string stringResult = null;
        
                 objWebRequest = (HttpWebRequest)WebRequest.Create("(http://Domain name/WebserviceSMS.aspx");
                        //domain name: Domain name Replace With Your Domain  
                    objWebRequest.Method = "POST";
        
                    // Response.Write(objWebRequest)
        
                    // Use below code if you want to SETUP PROXY.
                    //Parameters to pass: 1. ProxyAddress 2. Port
                    //You can find both the parameters in Connection settings of your internet explorer.
                    
                    
                    // If You are In the proxy Then You Uncomment the below lines and Enter IP And Port Number
        
             
                    //System.Net.WebProxy myProxy = new System.Net.WebProxy("192.168.1.108", 6666);
                    //myProxy.BypassProxyOnLocal = true;
                    //objWebRequest.Proxy = myProxy;
        
                    objWebRequest.ContentType = "application/x-www-form-urlencoded";
        
                    objStreamWriter = new StreamWriter(objWebRequest.GetRequestStream());
                    objStreamWriter.Write(stringpost);
                    objStreamWriter.Flush();
                    objStreamWriter.Close();
        
                    objWebResponse = (HttpWebResponse)objWebRequest.GetResponse();
        
         
                    objWebResponse = (HttpWebResponse)objWebRequest.GetResponse();
        
                    objStreamReader = new StreamReader(objWebResponse.GetResponseStream());
                    stringResult = objStreamReader.ReadToEnd();
                    objStreamReader.Close();
                    return (stringResult);
                } catch (Exception ex) {
                    return (ex.ToString());
        
                } finally {
                    if ((objStreamWriter != null)) {
                        objStreamWriter.Close();
                    }
                    if ((objStreamReader != null)) {
                        objStreamReader.Close();
                    }
                    objWebRequest = null;
                    objWebResponse = null;
        
                }
            }
        
            protected void btnsubmit_Click(object sender, System.EventArgs e)
            {
                string str = null;
                str = SendSMS(User.Value, Passwd.Value, mobilenumber.Value, message.Value,"N");
                Response.Write(str);
            }

 

                            PHP CODE

 

<?php
//Please Enter Your Details
 $user="XXXXXX"; //your username
 $password="XXXXXX"; //your password
 $mobilenumbers="919XXXXXXXXX"; //enter Mobile numbers comma seperated
 $message = "test messgae"; //enter Your Message
 $senderid="DEMO"; //Your senderid
 $messagetype="N"; //Type Of Your Message
$url="http://Domain name)/WebserviceSMS.aspx";
 //domain name: Domain name Replace With Your Domain  
 $message = urlencode($message);
 $ch = curl_init();
 if (!$ch){die("Couldn't initialize a cURL handle");}
 $ret = curl_setopt($ch, CURLOPT_URL,$url);
 curl_setopt ($ch, CURLOPT_POST, 1);
 curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);          
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);
 curl_setopt ($ch, CURLOPT_POSTFIELDS,
"User=$user&passwd=$password&mobilenumber=$mobilenumbers&message=$message&sid=$senderid&mtype=$messagetype");
 $ret = curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

  

//If you are behind proxy then please uncomment below line and provide your proxy ip with port.
// $ret = curl_setopt($ch, CURLOPT_PROXY, "PROXY IP ADDRESS:PORT");

   

 $curlresponse = curl_exec($ch); // execute
if(curl_errno($ch))
        echo 'curl error : '. curl_error($ch);

 

 if (empty($ret)) {
    // some kind of an error happened
    die(curl_error($ch));
    curl_close($ch); // close cURL handler
 } else {
    $info = curl_getinfo($ch);
    curl_close($ch); // close cURL handler
    //echo "<br>";
        echo $curlresponse;    //echo "Message Sent Succesfully" ;
   
 }
?>

 

XML API

XML SUBMIT URL (SENDING SINGLE MESSAGE To MULTIPLE MOBILENUMBERS)

To send SMS using XML the user has to create an interface (form) having a form element with name as ‘XML_DATA’.

e.g. <input name=”XML_DATA” type=”text”>

Post/Submit your case-sensitive XML through that form as HTTP post to the following URL: http://domainname/WebServicexmlapi.aspx

ILLUSTRATIVE EXAMPLE
<reseller>
<sendMsg>
<user>xxxxx</user>
<passwd>xxxxx</passwd>
<to>91988xxxxx,919848xxxxxxxx</to>
<sid>demo</sid>
<text>Hi! Hru?</text>
<DR>Y</DR>
<MTYPE>N</MTYPE>
</sendMsg>
</reseller>
Description of the XML format: –

S. NO

PARAMETER NAME

PARAMETER VALUE

PARAMETER DESCRIPTION

1.

User

xxxxx

User name of the account

2.

Passwd

xxxxx

Password of the account

3.

To

9198xxxx

Destination Mobile Number

4.

Sid

demo

Name of the Sender / Sender-Id

5.

Text

Hi!H r u?

Message to be send

6.

DR

Y

Delivery Report Required

7.

MTYPE

N

Type of message
(U for Unicode, N for normal text, P for picture messages)

 

 

ASP

' This is  ASP sample code

 

<%@ ENABLESESSIONSTATE = False %>
<% option explicit %>

 

<%

 

 Dim objXMLHTTP, sRemoteURL,posturl

 

'Create & initialize the XMLHTTP object
Set objXMLHTTP = Server.CreateObject("Msxml2.ServerXMLHTTP.6.0")
sRemoteURL = "http://Domain name/WebserviceSMS.aspx"

 

'Open the connection to the remote server
objXMLHTTP.Open "POST", sRemoteURL
objXMLHTTP.setProxy 2, "192.168.1.108:6666"'If you are behind proxy please mention the proxy ip with port. Or just comment this particular line...
objXMLHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"

 

posturl = "User=xxxx&passwd=xxxx&mobilenumber=919xxxxxxxxx&message=xxxx&sid=xxxx&mtype=N&DR=Y"
objXMLHTTP.setRequestHeader "Content-Length",LEN(posturl)
'Send the request to the eProcessingNetwork Transparent Database Engine
objXMLHTTP.Send  posturl

 

'store the response
response.Write (objXMLHTTp.responseText)

  

%>

 

 

JAVA

 

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.net.HttpURLConnection;
import java.net.URL;
import java.net.URLEncoder;
import java.util.Properties;

 

public class CallSmscApi {

 

        public CallSmscApi() {

 

        }       
        /*      
    1   Create a URL.
        2       Retrieve the URLConnection object.
        3       Set output capability on the URLConnection.
        4       Open a connection to the resource.
        5       Get an output stream from the connection.
        6       Write to the output stream.
        7       Close the output stream.
        */
        public static void main( String[] args) throws Exception{
               String postData="";
               String retval = "";

 

               //give all Parameters In String
               String User ="User_Name";
               String passwd = "Password";
               String mobilenumber = "Mno1,Mno2,,,,Mnon";
               String message = "SMS MEssage";
               String sid = "Sender_Id";
               String mtype = "N";
               String DR = "Y";               

 

               
               
               postData += "User=" + URLEncoder.encode(User,"UTF-8") + "&passwd=" + passwd + "&mobilenumber=" + mobilenumber + "&message=" + URLEncoder.encode(message,"UTF-8") + "&sid=" + sid + "&mtype=" + mtype + "&DR=" + DR;
               URL url = new URL("http://Domain Name/WebserviceSMS.aspX");
               HttpURLConnection urlconnection = (HttpURLConnection) url.openConnection();

 

               // If You Are Behind The Proxy Server Set IP And PORT else Comment Below 4 Lines
               //Properties sysProps = System.getProperties();
               //sysProps.put("proxySet", "true");
               //sysProps.put("proxyHost", "Proxy Ip");
               //sysProps.put("proxyPort", "PORT");

 

               urlconnection.setRequestMethod("POST");
               urlconnection.setRequestProperty("Content-Type","application/x-www-form-urlencoded");
               urlconnection.setDoOutput(true);
               OutputStreamWriter out = new OutputStreamWriter(urlconnection.getOutputStream());
               out.write(postData);
               out.close();
               BufferedReader in = new BufferedReader(       new InputStreamReader(urlconnection.getInputStream()));
               String decodedString;
               while ((decodedString = in.readLine()) != null) {
                       retval += decodedString;
               }
               in.close();

 

               System.out.println(retval);
        }
}

 

 

Courtesy 160by2.com & SMS Country