Skip to content

c3r34lk1ll3r/decrypt-oclean-traffic

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

decrypt-oclean-traffic

Oclean Mobile Application decryptor

Oclean Mobile Application 2.1.2 communicates with an external website using HTTP so it is possible to eavesdrop the network traffic. The content of HTTP payload is encrypted using XOR with a hardcoded key, which allows for the possibility to decode the traffic.

Decompiling the application you can find this code:

public static byte[] XOR(byte[] bArr) {
        char[] charArray = "#O+1C9L8E3A1%N0O=2N7E".toCharArray();
        int length = charArray.length;
        for (int i = 0; i < bArr.length; i++) {
            bArr[i] = (byte) (bArr[i] ^ charArray[i % length]);
        }
        return bArr;
    }

Following the cross-reference it is possibile to see that is used for TX/RX datas to OcleanAPI.

Timeline:

  • 2020/09/01 Vulnerability found
  • 2020/09/07 Contact with Oclean
  • 2020/09/09 OClean ack the vulnerability
  • 2020/09/09 Contact Mitre for CVE
  • 2021/02/11 CVE-2020-25493 Reserved

About

Oclean Mobile Application decryptor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages