ElectricMotorcycleForum.com

  • November 26, 2024, 11:34:33 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Electric Motorcycle Forum is live!

Pages: [1]

Author Topic: How to recover password on Zero SR/F NextGen App  (Read 900 times)

NoRid

  • Newbie
  • *
  • Posts: 13
    • View Profile
How to recover password on Zero SR/F NextGen App
« on: April 14, 2020, 12:02:07 PM »

For some reason I lost my super-secure password on the Zero NextGen app. I am still logged in, so I have access to the bike. Different than on any other login I know, there is no "reset password" or "I forgot..." option in that app.

I searched the forum and found that some of you noticed this before, but I did not find a solution for that.
What are my options? In the app I can log out (which I am currently afraid of) or I can click on "Deactivate".
I was thinking if the "Deactivate" option would allow me to re-register my bike with a different password (that I then hopefully remember). But will this work? And can I use the same E-Mail address then again as a user name or do I need to use a different one?

Thx for your help!
-NoRid
Logged

Hans2183

  • Sr. Member
  • ****
  • Posts: 468
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #1 on: April 14, 2020, 03:34:36 PM »

If you can configure a proxy or another way of sniffing your own network you can check if the official app also has to submit the password as plain text to the API. You can check the nextgen API topic on here for more information on the URLS to look for.

Should look like this
Code: [Select]
https://mongol.brono.com/mongol/api.php?commandname=get_units&format=json&user=yourusername&pass=yourpass
Logged
2021 Energica SS9+ 21.5kWh
--- Belgium ---

NoRid

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #2 on: April 14, 2020, 04:49:48 PM »

Thanks for the hint Hans2183.
Unfortunately this does not work because this is a https connection (also used by the app). The secure channel is established between the server and the app, so with the sniffer I only see the encrypted traffic and cannot read user name and password. I verified this with a capture. Normally a good thing, but not in this case  :(.

Best
- NoRid
Logged

Hans2183

  • Sr. Member
  • ****
  • Posts: 468
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #3 on: April 14, 2020, 08:16:25 PM »

Oh then they have a better way to connect to the api then we have.
Logged
2021 Energica SS9+ 21.5kWh
--- Belgium ---

didierm

  • Jr. Member
  • **
  • Posts: 67
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #4 on: April 15, 2020, 12:38:21 AM »

Is your phone rooted ?
An strace or tcpdump may provide some info.
Logged

NoRid

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #5 on: April 15, 2020, 02:15:36 AM »

Oh then they have a better way to connect to the api then we have.

I was checking with your zeroNG app. Also here I don't see that a user name and password is sent in clear text. This is all end-to-end encryption when you send https commands. In a browser plugin you could capture the traffic before it is encrypted, but as soon as it goes out of the device it is encrypted. Or am I missing something?

Is your phone rooted ?
An strace or tcpdump may provide some info.

I am using an iPhone, so no option to root. I was running tcpdump on my router.

Logged

Hans2183

  • Sr. Member
  • ****
  • Posts: 468
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #6 on: April 15, 2020, 02:20:49 PM »

In the zero ng app the password is in the URL query parameters so that is visible on the requests. You might even see it in logs of routers and so.

In the official app it's possible that they have another way to create a session with actually encrypted requests. Didn't check that in detail.

Do you have the password in the zerong app? Then you can for sure find it. I can even make you an update with a "reveal password" option added. PM me if you want that.
« Last Edit: April 15, 2020, 02:24:32 PM by Hans2183 »
Logged
2021 Energica SS9+ 21.5kWh
--- Belgium ---

NoRid

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #7 on: April 15, 2020, 04:47:33 PM »

Thanks for the offer, Hans, but I do not have the right password in the ZeroNG app. I tested the TCP log with a dummy password.
I still think that your app is more secure than you think. Even when you put the password in the URL query, the URL is a https connection and the secure channel is established before the http request is sent to the server. So the password leaves the device only in the secure channel and not unencrypted.
Logged

NoRid

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #8 on: April 15, 2020, 10:43:59 PM »

Heureka, I was able to resolve my issue!

While being connected to the bike via bluetooth, I hit the Deregister button in the account menu. I got a message that I am NOW deregistered and then I registered again. This worked with the same E-Mail address I used before and I was able to set a new password. Now I can connect again, also with the zeroNG app!
It seems that deregister and register again is the way to change a password.

(edit: fixed typo:  not -> NOW)

« Last Edit: April 19, 2020, 12:10:03 AM by NoRid »
Logged

Hans2183

  • Sr. Member
  • ****
  • Posts: 468
    • View Profile
Logged
2021 Energica SS9+ 21.5kWh
--- Belgium ---

enaef

  • Full Member
  • ***
  • Posts: 232
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #10 on: April 18, 2020, 11:18:17 PM »

I got a message that I am not deregistered and then I registered again.

... that I am not deregistered ...

Was it really that way, or was it rather 'that I am not registered' or 'that I am deregistered'?

Thanks for clarification.
Logged
2019 Zero SR/F Premium & Rapid Charger

NoRid

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #11 on: April 19, 2020, 12:08:18 AM »

this should read ...that I am NOW registered.... For some reason I keep making this typo.
Sorry for the confusion. I will fix this in the post.
Logged

Shadow

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1085
  • 130,000mi electric since 2016
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #12 on: April 19, 2020, 01:02:05 AM »

Please feel free to edit previous posts for technical accuracy. Nice information!
Logged

flattetyre

  • Full Member
  • ***
  • Posts: 200
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #13 on: April 19, 2020, 03:06:00 AM »

Glad that you figured it out, but seriously, someone who's sniffing traffic but can't mitm himself with a proxy and his own cert on the phone? What?
Logged

Crissa

  • Hero Member
  • *****
  • Posts: 3144
  • Centauress
    • View Profile
Re: How to recover password on Zero SR/F NextGen App
« Reply #14 on: April 19, 2020, 06:05:05 AM »

Sniffing traffic is easier and more automated ^-^

-Crissa
Logged
2014 Zero S ZF8.5
Pages: [1]