SMS Secure AES-256

Search This thread

optimumpro

Senior Member
Jan 18, 2013
7,812
15,160
OnePlus 8
As many know, the developer of Textsecure has abandoned secure sms messaging in favor of over the internet messaging. In addition, his insistense on including Google proprietory blobs in his app and the requirement of having the spying Google services framework, totally negates security. Here is a fork of Textsecure, which is a pure sms application. No Google binaries are included. No GAPPS are needed. This app fully replaces stock messaging.

In addition, I have made the following changes: 256 bit symmetric AES encryption instead of 128 bit and 192 bit elliptic curve encryption instead of 160 (160 is weak). I have also increased the iteration when generating random numbers.

Credit: Original creator Moxie Marlinspike; Initial fork by Bastien Le Querrec and Carey Metcalfe

Application is attached. If you want to build it yourself, see below.

Source: http://d-h.st/OsQ7

To build, unzip the source code, make sure android sdk is in your path and execute ./gradlew build.

Edit: In source, open local.properties and put there your android sdk path

P.S. This app won't work with older versions of Textsecure, because you have different length keys and will fall back to unencrypted transmission. Same will apply if the other person has stock SMS. In other words, both users must have this app to communicate securely.
 

Attachments

  • SMSSecure256bit.apk
    8 MB · Views: 1,302
Last edited:

setmov

Senior Member
Dec 5, 2012
178
100
As many know, the developer of Textsecure has abandoned secure sms messaging in favor of over the internet messaging. In addition, his insistense on including Google proprietory blobs in his app and the requirement of having the spying Google services framework, totally negates security. Here is a fork of Textsecure, which is a pure sms application. No Google binaries are included. No GAPPS are needed. This app fully replaces stock messaging.

In addition, I have made the following changes: 256 bit symmetric AES encryption instead of 128 bit and 192 bit elliptic curve encryption instead of 160 (160 is weak). I have also increased the iteration when generating random numbers.

Credit: Original creator Moxie Marlinspike; Initial fork by Bastien Le Querrec and Carey Metcalfe

Application is attached. If you want to build it yourself, see below.

Source: http://d-h.st/JsjA

To build, unzip the source code, make sure android sdk is in your path and execute ./gradlew build.

P.S. This app won't work with older versions of Textsecure, because you have different length keys and will fall back to unencrypted transmission. Same will apply if the other person has stock SMS. In other words, both users must have this app to communicate securely.

Bravo :)
 

CHEF-KOCH

Senior Member
Jan 2, 2012
451
237
Thanks sounds promising after TextSecure drops his SMS encryption. I'm currently using Tinfoil-SMS.
The question is if you gonna release this for the mass or just only here on xda (maybe F-Droid build or another place)?!

And a compare between the binary (for future possible releases) and the source would be nice, something like this:

unzip -p suspectsmsecure.apk META-INF/CERT.RSA | keytool -printcert
unzip -p suspectsmsecure.apk META-INF/CERT.RSA | keytool -printcert | grep SHA-3
unzip -p knowngoodsmssecure.apk META-INF/CERT.RSA | keytool -printcert | grep SHA-3
jarsigner -verbose -verify suspectsmsecure.apk

To see all necessary stuff about the certs to compare the downloaded one.
 

optimumpro

Senior Member
Jan 18, 2013
7,812
15,160
OnePlus 8
Thanks sounds promising after TextSecure drops his SMS encryption. I'm currently using Tinfoil-SMS.
The question is if you gonna release this for the mass or just only here on xda (maybe F-Droid build or another place)?!

And a compare between the binary (for future possible releases) and the source would be nice, something like this:

unzip -p suspectsmsecure.apk META-INF/CERT.RSA | keytool -printcert
unzip -p suspectsmsecure.apk META-INF/CERT.RSA | keytool -printcert | grep SHA-3
unzip -p knowngoodsmssecure.apk META-INF/CERT.RSA | keytool -printcert | grep SHA-3
jarsigner -verbose -verify suspectsmsecure.apk

To see all necessary stuff about the certs to compare the downloaded one.

The source have been there from day one, see the OP. I don't think I am going to release it on Googleplay. Maybe F-Droid... .
 
  • Like
Reactions: wis3m0nkey

rdsqc22

Member
Apr 4, 2014
27
3
Thanks for this! Think you could start a github repo for the fork or some such? Downloading the source code in a zip file from a forum is a bit less convenient, and means I can't use git to pull updates.
 
T

thomson.aa

Guest
@optimumpro:

Thanks for pointing that out. Are you affiliated with SMSsecure? We will see how this project is holding up.

How did you make these AES and elliptic curve changes?

Regards
 

optimumpro

Senior Member
Jan 18, 2013
7,812
15,160
OnePlus 8
@optimumpro:

Thanks for pointing that out. Are you affiliated with SMSsecure? We will see how this project is holding up.

How did you make these AES and elliptic curve changes?

Regards

I am not affiliated with smssecure. I initially contacted them with a few changes, but they were not receiptive, which is their right. With regard to changes, there are a few java files where you change numbers from 16, which equals 128 bit to 32 and from 20 (160) to 24.

I have modified the app to my taste and shared it...
 

Wakamatsu

Senior Member
Jan 3, 2011
1,435
713
F droid has SMSSecure 0.5.1, I wanted to confirm if it's a the same app?

Serious? Right above your post...

I am not affiliated with smssecure. I initially contacted them with a few changes, but they were not receiptive, which is their right. With regard to changes, there are a few java files where you change numbers from 16, which equals 128 bit to 32 and from 20 (160) to 24.

I have modified the app to my taste and shared it...
 
  • Like
Reactions: wis3m0nkey

optimumpro

Senior Member
Jan 18, 2013
7,812
15,160
OnePlus 8
Oops thanks. I read the post but was comparing text secure and SMS secure (this app, while reading post I didn't know about existence of separate app on f droid)
Thanks for pointing it out.

I posted this app on XDA before SMSSecure guys published theirs on F-Droid. Both apps are rock solid stable thanks to Moxie Marlinspike, the original author. My version is a bit tougher on encryption.

I have noticed that SMSsecure guys keep implementing some minor changes (icons et al) which don't involve encryption/sms transmission/user interface. I am not going to change graphics for the sake of version bumping.

So, I am stopping here unless there is a major change in encryption protocol...
 

[email protected]

Senior Member
Dec 23, 2010
260
17
Libramont
Hello,

SMSSecure work very good on my HUAWEI Ascend Mate 7 but not on the HUAWEI P7 from my wife.
The list of contacts flash always ... what's happening with this ?
GO Sms is disable and SMSSecure is set as the default SMS application.
I don't understand why doesn't work !
 

wis3m0nkey

Senior Member
Sep 2, 2010
761
145
Hello,

SMSSecure work very good on my HUAWEI Ascend Mate 7 but not on the HUAWEI P7 from my wife.
The list of contacts flash always ... what's happening with this ?
GO Sms is disable and SMSSecure is set as the default SMS application.
I don't understand why doesn't work !
Flash as in contacts blink or does it mean all contacts get deleted?


Sent from my Xperia Z1 using Tapatalk
 

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    As many know, the developer of Textsecure has abandoned secure sms messaging in favor of over the internet messaging. In addition, his insistense on including Google proprietory blobs in his app and the requirement of having the spying Google services framework, totally negates security. Here is a fork of Textsecure, which is a pure sms application. No Google binaries are included. No GAPPS are needed. This app fully replaces stock messaging.

    In addition, I have made the following changes: 256 bit symmetric AES encryption instead of 128 bit and 192 bit elliptic curve encryption instead of 160 (160 is weak). I have also increased the iteration when generating random numbers.

    Credit: Original creator Moxie Marlinspike; Initial fork by Bastien Le Querrec and Carey Metcalfe

    Application is attached. If you want to build it yourself, see below.

    Source: http://d-h.st/OsQ7

    To build, unzip the source code, make sure android sdk is in your path and execute ./gradlew build.

    Edit: In source, open local.properties and put there your android sdk path

    P.S. This app won't work with older versions of Textsecure, because you have different length keys and will fall back to unencrypted transmission. Same will apply if the other person has stock SMS. In other words, both users must have this app to communicate securely.
    3
    Oops thanks. I read the post but was comparing text secure and SMS secure (this app, while reading post I didn't know about existence of separate app on f droid)
    Thanks for pointing it out.

    I posted this app on XDA before SMSSecure guys published theirs on F-Droid. Both apps are rock solid stable thanks to Moxie Marlinspike, the original author. My version is a bit tougher on encryption.

    I have noticed that SMSsecure guys keep implementing some minor changes (icons et al) which don't involve encryption/sms transmission/user interface. I am not going to change graphics for the sake of version bumping.

    So, I am stopping here unless there is a major change in encryption protocol...
    1
    Thanks sounds promising after TextSecure drops his SMS encryption. I'm currently using Tinfoil-SMS.
    The question is if you gonna release this for the mass or just only here on xda (maybe F-Droid build or another place)?!

    And a compare between the binary (for future possible releases) and the source would be nice, something like this:

    unzip -p suspectsmsecure.apk META-INF/CERT.RSA | keytool -printcert
    unzip -p suspectsmsecure.apk META-INF/CERT.RSA | keytool -printcert | grep SHA-3
    unzip -p knowngoodsmssecure.apk META-INF/CERT.RSA | keytool -printcert | grep SHA-3
    jarsigner -verbose -verify suspectsmsecure.apk

    To see all necessary stuff about the certs to compare the downloaded one.

    The source have been there from day one, see the OP. I don't think I am going to release it on Googleplay. Maybe F-Droid... .
    1
    F droid has SMSSecure 0.5.1, I wanted to confirm if it's a the same app?
    1
    F droid has SMSSecure 0.5.1, I wanted to confirm if it's a the same app?

    Serious? Right above your post...

    I am not affiliated with smssecure. I initially contacted them with a few changes, but they were not receiptive, which is their right. With regard to changes, there are a few java files where you change numbers from 16, which equals 128 bit to 32 and from 20 (160) to 24.

    I have modified the app to my taste and shared it...