-
-
[转帖]Reverse engineering Blind's API and client side encryption
-
发表于: 2020-2-19 10:48 3286
-
Original link: https://blog.jonlu.ca/posts/decrypting-blind
Blind is an app that provides an anonymous forum and community for verified employees to discuss issues, interact with people of similar professions and lifestyles, and discuss normally taboo topics like compensation, company policies, or political issues du jour. Users on Blind are grouped by topics, company and their broader industry.
Around a year ago they introduced their webapp - before this, they were just a mobile app.
Blinds current web homepage (teamblind.com)
I decided to poke around and see how they decided to implement their routing and webpage.
Loading into their homepage I was happy to see infinite scrolling and inline comments - this usually means they aren’t server side rendering everything, and have pure API routes setup just to fetch these things. It’s trivial to find and reverse these client side requests - no HTML scraping is needed.
As a side note, this is probably one of the main redeeming factors for people that still use PHP to generate their HTML. It’s significantly more work to scrape HTML than to use client side routes that (usually) return JSON.
Looking into the requests we see POST
requests to https://www.teamblind.com/api/article/list.
POST requests to retrieve additional posts on the homepage
The response, however, wasn’t what I was hoping for.
{ "payload": "A3gsuMXojEEYlVQHu2ld18xcBQjIrtI5Cm7Ly054pm7xyRXEpltmAQbbfSeNqY7Ii3xqKwZf2/JU4gcQIJcBG2yx6T6LZtXwB5Xgr8rgBciCrIxv4tPAglYvv/V32zm3it02VIaP+YhLN/4oJAsCIIdu/EScOfXYkyvtwHg73wg4b4oCgUPD8wQuFMsPoNvuETrgKVbLAuKZqKqYPBqIj0TaAqxi1I6zP9Oy5EbT73DgbWbrLq8DaUyGZdMqE1k/RsnKOemC3yuW5AKk9K1UeeWOtTfNpHBTNUa2R72kVmfRqm+QizQb/yqMIkgzCvz+bbQPQtIQ2QxcuoZvKp7mfditpXBvTHzrDd80WdTAhJ/B6Gh4LouB5UAsKjMngdDhQPLY4neOjlHL97GZm4eXeCtcOMK182cmBLMWgwtNNRDoiQV3bP8t1s9ziRW4v+InvXOyXy03KMmvphKhc+iqlEgiGSeNMSgq+n8MLAWGSLkgkxbl/SD4WYNsEEBgVDhv71kAaZwAVwFGEw7WEhy1XVklD1SklbF/a0NQY5rdp36HshtEiOCsU/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9nTVg4OUWADeq07D6SXWmTWedReA+95cLvjPxqXtCZGVD0kK293meuOM7Jiynw1edhExSxwQseUd0qUzSZM/iB2yQd+mgJGv7Ajy06Ag6+Y/DsnDTc8I3A2g2/yL3v8ELiV6++nMg6jkxYhdZVlsXPUYi5HoJRr1hSjdLuvFRty1vl7/KNN1HZz64+yR5u/6VJz+JksBRkFa97ZoyvQlgCEJrykXHYo3UfDTHLbBKWk+Vi9HTZntLScxDDP98SBoXkxaeZg1L1WsfGYzpedf3zJzFk/jDZejdDcUr7nt3gwhmZRYP5swks8KOiaVGAvELk1pVd5KiHgGAUtRATwUeHQ9AwOPTc0luoNGS7CyjcER0vCwxyGoQPGfIDiGm1kOA6gF+Tq4DsU0wcGosOu+aU4Xi5KjptD/nnzFQYKcXGvZjuTeeg9l2hcLS6mlpEn3tN3L67BQaT85GiF0SvLHzN4lCJMePNEg4ZTUT9Ud1s/2E2029gwBC/o0ZB7VdyRoJ+G9M6jIN4ZDXjHVw3A2QZSX7nI/qOYaruAdaAKG5Q45i3zEJ1oEFu+Qfr17wM/h2u4eqK/GMDqmJZ7k0b+5MSejrgiL/vmGGAFwhdzGS4pDp+0q4WdiJWx24WxUpukHHgksh+9ccsgz/oE5Fi65mnXpFj8CKPCbYMCd2kPoXQXebgNafmEt4uY3U7FOipiC49WzAbWZ+L6vR2m9ENLeDjhYRWTsoRC8iDMebXeK01HNJu02Rkxgo1Zq5QNNaLJTNlOno7W2dUlUalNlhtWhpt4hShy0ui4uBhbWlOlF/caCcono85vPZWwRvhXGrzhBnXAgrTmO+QGcHpRO++hSWzDI7HYuWmXRxXtsfp07qP/5hJpBuwJCVQtF/CNolGib9rJgfvmdRwbkLgaHdvGiSo7AYmsKW6itI7A6l3PiU5aG1g8/3i2V/KYKV9KS2ppGlLfpGchTll19j3qoqtJOdsnXeEmKaYLHWGAKB7O+U8Q==" }
The request was also formatted this way, but we’ll get to it later.
Blinds API request format
It was a JSON object with a single key - payload. It had the telltale signs of base64, though (any string ending with =
should set off your base64 detector).
{ "payload": "A3gsuMXojEEY...<omitted for brevity>...HWGAKB7O+U8Q==" }
I was hoping this was a custom text format encoded in base64, but unfortunately decrypting it lead to garbage.
Decoding the base64 lead to garbled text
It was clearly decrypting this into legible content, though, so I wanted to figure out how it was formatted and how easy it would be reverse.
Decryption
The javascript that was making the request was minified through webpack, and chunked.
Stepping through the minified javascript
Stepping through wasn’t particularly useful, though, as it seemed like a custom HTTP library that was just a thin wrapper around fetch
and XMLHttpRequest
.
I assumed that they were probably using an open source library for their encryption - they are still a startup, afterall, and I doubt they’d roll their own encryption library.
I started looking for strings in the code that would be helpful - a lot of minification can’t know what a string contains, and as such won’t strip things like library version numbers and names, URLs, and other things that would give a hint of how it’s being done.
References to GitHub in the minified codebase
There were quite a few references to GitHub
(Always a good keyword to search for - package authors will often link to the open source code for issues in strings that are included in the minified library).
The open source library they were using for their encryption
Bingo.
throw new Error(["sorry, createCredentials is not implemented yet", "we accept pull requests", "https://github.com/crypto-browserify/crypto-browserify"].join("\n"))
This library had a function called createCredentials
that hadn’t been implemented yet, and had the helpful comment saying “We accept pull requests!”
This section of the code was clearly the minified version of the open source library.
var p = n(342); t.pbkdf2 = p.pbkdf2, t.pbkdf2Sync = p.pbkdf2Sync; var d = n(519); t.Cipher = d.Cipher, t.createCipher = d.createCipher, t.Cipheriv = d.Cipheriv, t.createCipheriv = d.createCipheriv, t.Decipher = d.Decipher, t.createDecipher = d.createDecipher, t.Decipheriv = d.Decipheriv, t.createDecipheriv = d.createDecipheriv, t.getCiphers = d.getCiphers, t.listCiphers = d.listCiphers; var f = n(534); t.DiffieHellmanGroup = f.DiffieHellmanGroup, t.createDiffieHellmanGroup = f.createDiffieHellmanGroup, t.getDiffieHellman = f.getDiffieHellman, t.createDiffieHellman = f.createDiffieHellman, t.DiffieHellman = f.DiffieHellman; var l = n(539); t.createSign = l.createSign, t.Sign = l.Sign, t.createVerify = l.createVerify, t.Verify = l.Verify, t.createECDH = n(573); var h = n(574); t.publicEncrypt = h.publicEncrypt, t.privateEncrypt = h.privateEncrypt, t.publicDecrypt = h.publicDecrypt, t.privateDecrypt = h.privateDecrypt; var M = n(577); t.randomFill = M.randomFill, t.randomFillSync = M.randomFillSync, ...
The description of the library is “The goal of this module is to reimplement node’s crypto module, in pure javascript so that it can run in the browser.”
It looks like they’re using Node on their backend with the crypto
module, and want to use the same features on their front end in exactly the same way.
Nice way to reuse code, but it also means that they have to pass their shared secret key to the client.
I assumed that they wouldn’t include the secret key in the client - they’d create one adhoc per session, and renew it every X minutes, through a websocket perhaps.
I assumed wrong.
Blinds shared AES secret key
They kept the static shared key as a string in the minified JS. They also helpfully named these functions dataDec
and dataEnc
.
At this point it looked like we have everything we need to decrypt their data.
We don’t even need to download the library they used, since it’s just a reimplementation of the crypto
module.
30 seconds in an editor later and we have the following:
const text = `<blob from above>`; const crypto = require('crypto'); const t = crypto.createDecipher("aes-256-cbc", "5d860d3eb8e4a271309c0e4c001fafcc7cc80277e5238d9796a810a93ffa27d3") let e = t.update(text, "base64", "utf8"); e += t.final("utf8") console.log(JSON.parse(e))
I just copy and pasted their minified implementation and swapped out the crypto module.
The API decrypted API response
This worked out of the box - no additional required. The most interesting part of the response was the article_list
. These were formatted as follows:
{ "alias": "b6WJEDTp", "member_nickname": "faRw33", "created_at": "4d", "is_auth": "Y", "board_id": 114961, "member_company_id": 109330, "images": [], "group_name": null, "channel_name": "Misc.", "board_name": "Misc.", "title": "Is an extreme work ethic required to reach the absolute top of your potential?", "content": "I was never a huge basketball fan, but after Kobe's death I spent more time into his background. He was an absolute machine in how hard/how long he worked and the results showed. It's seems like its like that with so many great people who are just so passionate about one thing they will work their b", "content_length": 300, "like_cnt": 2, "comment_cnt": 22, "view_cnt": 1337, "is_liked": false, "is_bookmarked": false, "is_multi_poll": false, "is_multi": false, "is_poll": true, "is_mine": false, "last_comment_cnt": null, "has_comment_update": false, "is_hot": false, "is_now": false, "is_company_tagged": false, "is_wormhole": false, "job_title": null, "is_read": false, "report_msg": null, "is_top_contributor": false, "is_show_holic": false, "mention": null, "was_companies": null, "bio": null, "tags": [], "article_tags": null, "is_hidden_company": false, "is_show_company": true, "member_company_name": "Greenhouse Software", "is_best_company": false, "poll": { "id": 47176, "article_id": 553156, "is_multi": false, "cnt": 108, "polled": 0 }, "link": null, "label": null }
We get the users alias as well as their nickname, which isn’t shown on the actual posts, as well as some other information about the post.
We can now successfully decrypt every response from Blind. But how about making these requests adhoc in the first place?
Encryption
Back to making the requests that we alluded to earlier - it looks like the request also follows the same format, with a payload
.
Blinds API request
The natural assumption would be that they follow the exact same format as above - use that same AES key to encrypt the request payload.
First we need to figure out what the non-encrypted request looks like.
Looking back above at the decryption process, there was another function called dataEnc
. This is probably how they encrypt their requests. Putting a breakpoint there before the function is executed shows us the format.
Blinds API request format
The encryption is different this time, though - it’s using an asymmetrical public key instead of the AES key from earlier. I’m not entirely sure why they do this - if someone is sniffing traffic, and they’re able to see the encrypted request object, they would’ve been able to see the minified JS and do the same thing I’m doing right now. It does prevent an attacker from decrypting the request, since they don’t have the private key, but it doesn’t prevent them from just recreating the request in the first place.
Regardless, their implementation looks like this:
return new Jt("-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhRvQEkqodGnJ9ap47FiF\nNwMTpdqUbfWyzecgJBxjWwWYwMYxpnde0WNjpzpdz9PMKLdFAg0UH1u32Y2xK/Bq\n/L8F2f+djLwGxszjTZwGGPiQxNWyDRI/In8T3S3dVqfr0QPirKsoy2OxgnbC7+BE\nH0ZN6Y4Sax588Uq+9M1Wz7ct60EZjLO9RLS/qH+t1ZBpQ/p3Ddkm/yCDvixyctvd\nGTbWUVFxtsqdTQjy8OcnQo2y1v6NUeZRqoKsk7LVmkYk3HjggDkBOZk8h1xRuCch\nkY1ix5jjArG645y863N6R+EQ9ShHZnwbVpsy47Vo8zigfk2RKl8ksxvstLrtABfW\nDQIDAQAB\n-----END PUBLIC KEY-----").encrypt(t, "base64")
Looking at the function signature (.encrypt(t, "base64")
) and code it wasn’t immediately obvious what library they were using (they weren’t using the same library as earlier).
Actually stepping into the code this time helped.
Stepping into the minified third party library for public key encryption
Googling around for the this.$options
had a nearly perfect match on the node-rsa
module.
Google results for the JSON options object of the library
Minification will often not rewrite variable names for certain classes due to potential issues with string based references (options['mystring']
needs to work, so you can’t rewrite certain variables. Thanks compilers class!). Because of this you can pretty easily find 3rd party libraries even without a source map or any understanding of what the code is doing (which is fairly frequent when dealing with minified JS).
I do the same as we did above and create a simple wrapper for this library:
const NodeRSA = require('node-rsa'); const key = new NodeRSA(`-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAhRvQEkqodGnJ9ap47FiF NwMTpdqUbfWyzecgJBxjWwWYwMYxpnde0WNjpzpdz9PMKLdFAg0UH1u32Y2xK/Bq /L8F2f+djLwGxszjTZwGGPiQxNWyDRI/In8T3S3dVqfr0QPirKsoy2OxgnbC7+BE H0ZN6Y4Sax588Uq+9M1Wz7ct60EZjLO9RLS/qH+t1ZBpQ/p3Ddkm/yCDvixyctvd GTbWUVFxtsqdTQjy8OcnQo2y1v6NUeZRqoKsk7LVmkYk3HjggDkBOZk8h1xRuCch kY1ix5jjArG645y863N6R+EQ9ShHZnwbVpsy47Vo8zigfk2RKl8ksxvstLrtABfW DQIDAQAB -----END PUBLIC KEY-----`); const toenc = { "channelId": "Careers", "childchannelIds": [ 120565 ], "offset": 0, "limit": 50, "orderBy": "pop" } const encrypted = key.encrypt(toenc, 'base64'); console.log('encrypted: ', encrypted);
I was a little thrown off at first because what I got didn’t match what my browser was saying, but then I realized that this library actually produces a different output on every decryption.
Different results on every encryption
I took my request and replaced the encrypted blob from their version of the library and replaced it with mine, and got back a valid response.
We are now able to generate requests and decrypt the responses.
The offset and limit are also interesting, but I’ll leave that as an exercise for the reader.
Conclusion
Blind is encrypting their requests and responses locally. While not a good solution to network sniffing and interception by any means, this isn’t as dumb as it initially looks - it prevents anyone who is only
looking at their API route from being able to decrypt it.
It also prevents any automated tools from harvesting the data; you’d need to do a fairly deep analysis of their libraries and keys to figure out how it was encrypted. Additionally, by encrypting the requests with the public key, you couldn’t decrypt them unless you had the corresponding private key. This is less true for the AES key (but probably makes sense based on relative sizes of the requests - public/private key encryption is much more computationally expensive than AES, and the requests seem to be a few orders of magnitude smaller than the responses).
Overall a pretty fun weekend afternoon!
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)