IOT Connect
Hello everyone , In this blog post , I will try to explain my solution steps for IOT Connect challenge from Mobile Hacking Lab Platform . i hope it will be useful for you
Last updated
Hello everyone , In this blog post , I will try to explain my solution steps for IOT Connect challenge from Mobile Hacking Lab Platform . i hope it will be useful for you
Last updated
After we install The APK then we open it and register then login with our account
After the login we found that we can’t control all devices !!!
Our Approach to Enable the Master switch let’s try to Use It
we don’t have any pin code
Let’s Examine the AndroidManifest.xml Specific this activity com.mobilehackinglab.iotconnect.MasterSwitchActivity
this code have some things :
First User cannot Control the Master Switch
Valid users must enter a PIN before enabling the switch.
THEN the app send intent to enable The Master Switch
Let’s examine the BroadcastReceiver initialize
Class then we found that :
It Will work when the Pin is correct
After Search in the code i found Checker
Class
Here we have the Pin OSnaALIWUkpOziVAMycaZQ==
and use AES Encryption hard Coded in our application , let’s create a script to decrypt it
Then we will call the broadcast receiver MasterReceiver
with MASTER_ON
action of the broadcast intent , 345
as key : adb shell am broadcast -a MASTER_ON --ei key 345
and here we done by Macking all Devices Turned on