Thursday, 20 December 2012

Whatsapp – iOS password generation


A few days ago the Android developer published an article explaining how the log-in process works on WhatsApp for Android. In his article, Granger says that the password corresponds to MD5 hash of reversed IMEI number. Citing its notation
md5(strrev(‘your-imei-goes-here’))
Granger also asserts that the same method is not applicable in the case of iOS devices, and the algorithm is not yet known.
Thus, I decided to examine whatsapp for iPhone and how it generates the password. Well, the principle is the same, but this time the MD5 hash is calculated using the mac address of WiFi interface (en0) taken twice because Apple does not allow third-party applications to access IMEI number.
Using the notation of Granger
md5(AA:BB:CC:DD:EE:FFAA:BB:CC:DD:EE:FF)
Below I reported a portion of the ARM code that handles the password generation
Disasm
The method is verifiable by simulating the log-in process from any browser. You have to compose the following request
hxxps://r.whatsapp.net/v1/exist.php?cc=COUNTRY_CODE&in=TELEPHONE_NUMBER&udid=MD5(MACMAC)
If everything is ok you should get something like this
Login
However the GET request just helps to inform the app that we are accessing from a device previously registered.
The authentication process starts after the GET request just viewed, using the X-WAWA protocol.
Paradoxically, because of the restrictions that Apple imposed(about retrieving of IMEI number), the authentication method for iOS devices is less secure than on Android devices. The MAC address can be easily achieved on a wifi network

"This tutorial is Education Purpose only don’t misuse it Trick2do will Not Hold any responsibility"

Whats App Hacking :)

Desktop IMs have long been our favorite mode of communication. But with time, their significance has definitely come down.
Smartphones taking large part of our daily life, IM services like Whatsapp, iMessage, BBM, etc have emerged to be exchanging more messages every second. WhatsApp delivers more than 1 billion messages per day, but yet, its the most insecure way of communication.

As per a recent security analysis, WhatsApp is totally insecure way of communicating with friends.



WhatsApp Encryption

You will be surprised to know that until August 2012, messages sent through the WhatsApp service were not encrypted in any way, everything was sent in plaintext. That means if you were using Whatsapp on a public wifi, everything can be captured by anyone else sniffing ont he wireless network. The latest WhatsApp uses encryption but its this new encryption is broken. But still, phone number is sent out in plaintext.
WhatsApp API & Reverse Engineering

If you know XMPP, the same protocol used by facebook, GTalk, and several others, you can try your hands-on WhatsAPI, an API for WhatsApp messenger.
WhatsApp uses customized XMPP server with proprietary extensions, named internally as FunXMPP.
1. WhatsApp Authentication / Login Mechanism
Just like any other XMPP, WhatsApp uses jabber id and password to login. The password is hashed, stored in servers upon account creation and used transparently everytime the client connects the server.

Its an incredibly horrible implementation. As researcher found out, the username is the user’s phone number – an attacker would probably already knows the victim’s number.
On Android, the password is a md5 hash of the reversed IMEI number:
$imei = "112222223333334"; // example IMEI
$androidWhatsAppPassword = md5(strrev($imei)); // reverse IMEI and calculate md5 hash

On iOS, the password is generated from the devices WLAN MAC address:
$wlanMAC = "AA:BB:CCD:EE:FF"; // example WLAN MAC address
$iphoneWhatsAppPassword = md5($wlanMAC.$wlanMAC); // calculate md5 hash using the MAC address twice

Both IMEI and MAC address are easily retrievable from devices if you have physical access to it. MAC address is much easier to capture as you can sniff on the wireless network to which iOS device is connected.
The JID is a concatenation between your country’s code and mobile number.
Initial login uses Digest Access Authentication. You can try this for yourself:
https://r.whatsapp.net/v1/exist.php?cc=$countrycode&in=$phonenumber&udid=$password $countrycode = the country calling code $phonenumber = the users phone number (without the country calling code) $password = see above, for iPhone use md5($wlanMAC.$wlanMAC), for Android use md5(strrev($imei))
The response you would receive would be in XML, containing messages designated for your phone.
2. Text Message communication
Messages are basically sent as TCP packets, following WhatsApp’s own format (unlike what’s defined in XMPP RFCs).
Photos, Videos and Audio files shared with WhatsApp contacts are HTTP-uploaded to a server before being sent to the recipient(s) along with Base64 thumbnail of media file (if applicable) along with the generated HTTP link as the message body.


"This tutorial is Education Purpose only don’t misuse it Trick2do will Not Hold any responsibility"

Tuesday, 4 December 2012

Facebook User Security Hole & How to Secure :)


Facebook User Security Hole


Every Webpage or Application that is designed on the "WEB" has a vulnerability. Whether it is a Yahoo Account or it is the website of "FBI", it might be exploitable! We Can't even tell whether FBI.gov is secured or not. When we talk about the internet, the term "Facebook" also clicks in our head. But Facebook also has a user security hole. Using this vulnerability, an attacker can easily penetrate his victims account. No other social networking website has ever shown this type of anomaly.


How is it done ?

An attacker creates three or four Fake facebook accounts and sends requests
to his victim from all of these. He is already aware of the victims Parent Email Address (The one he used to signup for Facebook). After the victim confirm all his accounts, the attacker logs out and puts his victims email in the "Email" Section. Facebook shows a "Reset my password" option after typing in absurd passwords again and again.






The recovery option then asks the user whether to send his password reset code to his parent email
address or his cell phone number. Along with this, there's an option saying "No longer have access to these?".



Clicking on this option asks the attacker to enter a new Email Address.


In This section, the attacker types his own Email Address and hits the Submit button.Facebook's automated systems first confirm whether this is his own Email Address or not, so they ask him to choose three Close friends who will get the Confirmation code in their Inbox.


These three accounts are actually his fake accounts.





Facebook now shows three boxes asking for the confirmation codes that were sent to his fake accounts.


The attacker now logs in into each account and fetches the codes, pastes it into the boxes and gets access to his victims account.

How can one secure himself from this security hole ?

After reading this Article, you might be thinking "Now what?  
Any one can penetrate my account easily. So what should be done now?". Here are some suggestions to secure yourself :

1) Don't accept anonymous Requests.
2) Set a security question for your account. If someone tries to choose "No longer have access to these?", then Facebook will ask him to answer the security question first.
"This tutorial is Education Purpose only don’t misuse it Trick2do will Not Hold any responsibility"

How To Post Your Message To All Facebook Groups In a Single Click


Today i will show You a Trick By Which You can Able To Post Your message In All Or Selected Facebook Groups Of Your List In a Single Click.This Is a Small But Powerful Trick You Can Use This To promote Your Blog To All Facebook Groups.But Please Don't Misuse this Trick To Spam Alot.

So Lets Start The Trick...

STEP 1: Go To http://www.hexcolor.in/tools/multipost/

STEP 2: Login To Your Facebook Account By using Fconnect Button.After That You will See Something Like This.


 STEP 3:  Put Your Message In "Your Message Field."...

 You Can Also Able To Put Link To Any Site Which You Want To Post With Your Message By Pasting Its URL in "Post Link (URL)" Field.

If You Want To add Any Image With Your Message And Link Then You Can Do this By Pasting The URL of Image "Post Image Link (URL)" Or Alternatively You Can Upload A Picture From Your Computer.


STEP 4: After That Select The Groups Which You Want To Publish Your Post. If You Want To Publish Your Post To All Groups Then Click Mark On "Select All".

STEP 5: Finally Click On To "Fpost" Button At The Bottom of the Page To Post Your Message In All Groups..

Enjoy.. :) 

Way To Select All Friends In Facebook While Inviting To A Event Or Page

Yes many old javascripts of selecting all friends has been blockedby facebook 

So I am giving you  a new javascript to select all friends

Go to Facebook.com

Select a Page/Event to like

Click on invite friends

Wait till the Invite Window Loads


Copy the bellow Javascrip t to ur Address Bar of browser




javascript:function check_all_in_ document(doc){var c=new Array() ;c=doc.getElementsByTagName('input');for (var i=0;i<c.length;i++){if(c[i] .type=='checkbox'){c[i].click();}}}check_all_in_ document(window.document);for(var j=0;j<window.frames.length;j++){check_all_ in_document(window.frames[j].document);}
Hit Enter Key

Wait sometime if u have lot’s of friends

Now all ur friends will be Selected

Click Submit And U Are Done!!

Note: Your Browser Must Support Javascript

How to open BLOCK WEBSITES Without Any Software


Frns aaj main app logon k liay ek new trick layaa hoon is say app koi bhi BAN WEBSITE easily khol sakengay,,, ur ye koi heavy software b nhi hai,,, aur naa hi ye ap ke P.C ki speed slow karegaa,,,, its just a Add ons.

      Add ons ke baray main nahin pata :o ?...? khair wo to mujhe b ni pata :P :) :D Neechay wali pic dekehn,,, ho sakta hai apko kuch sumajh aajaye,,,


Frnds kuch sumajh aayaa ?...? :)

khair agar naa b aaya to koi prblm ni hai coz isay use karnaa bht easy hai apko bus ye apny browser me add karnaa hai just simple click kar ke,,, baaqi kaam ye khud kar legaa :) :p :D

1st step ap ye karen k Neechay likhay huay Add to Firefox par click karen...

Add to Firefox

 

phr allow par click karen ur 3 seconds wait karnay ke baad install par click kar dain,,, uske bad browser restart kar lain,,,

   Bx hogya............... ab ap jitni chahynBLOCK WEBSITES kholen,,,, aur enjoyy karen,,,,

Tricks Of VLC


VLC media player is one of the well known media players amongst all and it is very easy to use too. But apart from playing songs and other stuffs, vlc got some hidden tricks which you might don't know. Below are some listed hidden tricks of vlc, let's see how many tricks you already know and how many you don't.

 Play Jigsaw Puzzle Game :

1) Play any video.

2) Goto Tools -- Effects & Filters -- Video Effects -- Geometry -- Enable Puzzle Game -- Select number of columns and rows on screen.

3) Now see the effect.

☼ Record Videos :

1) Click on View -- Advanced Control.

2) Now you can see Record button just above play and pause buttons.

☼ Play RAR Files :

VLC can play videos zipped  inside RAR files. They play like normal video and you can use the seek bar also. If the rar file is split into several files then no problem, just load the first part (part 01.rar) and it will automatically take the rest of the parts and you can play whole video.

☼ Listen Online Radio :

1) Goto Media -- Services -- Discovery -- Shoutcast radio listings.

2) Now open the playlist and browse the stations.

☼ Play in ASCII Mode :

1) Open VLC and click on Tools -- Preferences.

2) Option the tab 'VIDEO' and under 'OUTPUT' select 'COLOR ASCII ART VIDEO OUTPUT' from the drop down menu.

3) Save it & play and see the changes.

☼ Convert Formats Of Audios & Videos :

1) Goto Media -- Convert/Save.

2) Load the file you want to convert using ADD button and click Convert.

3) Now choose the output format and location.