6 ms·
An Analysis of WeChat’s Realtime Image Filtering in Chats
- whoevercares 7y agoI’m saddened by the fact many brightest mind might be working behind this
- s09dfhks 7y agoMoneys still green after all (Or whatever color RMB is associated with)
- colordrops 7y agoRed
- deleted 7y ago[deleted]
- dymk 7y agoIt’s a legal directive, not a monetary incentive
- apengwin 7y agoTell the physics department to open more faculty positions.
- j7ake 7y agoThey would love to if they had funding for faculty positions.
- luminati 7y agoConsidering the choice of hash function of md5, not so bright I guess..
- saagarjha 7y agoWhy is MD5 a poor choice in this context?
- deleted 7y ago[deleted]
- luminati 7y agoSee my above comment: https://news.ycombinator.com/item?id=20508786 https://news.ycombinator.com/item?id=20508786
- bhl 7y agoWhat’s wrong with the application of MD5 to this process?
- eliseumds 7y agoThis is not cryptography. MD5 is a very popular choice for hashing static assets.
- varenc 7y agoBut this is an adversarial use case. You're not trying to cause md5 hash collisions in your own static assets, but WeChat users might benefit from that. See my other comment above.
- swinglock 7y agoBig whoop. The hash collisions of MD5 allows an "attacker" to prevent himself from posting his own image. A simpler and cheaper way to perform the same "attack" would be to just not post the image in the first place as the outcome is the same.
- chrismsnz 7y agoIgnoring MD5/image format-specific collision realities, theoretically an attacker could submit a contraband image that collides with a valid, allowed image they may want to remove. When action is taken on the first image, the collided image could also be censored.
- xxxpupugo 7y agoThis is probably not that a tricky system to implement, from this study. So from description, it seems that they have a 2 layer system, one synchronous one and an asynchronous one. The sync one filters images based on purely the md5 hashes, so basically a lookup-table check. Then the image goes to the async OCR service to have the text extracted, if being decided against the censorship, it will be write back to the front layer hash table. Indeed, this is not very different from Facebook's auto face recognition/tagging features that has been enabled like forever. Just the volume of the system is pretty significant.
- ehsankia 7y agoSo all you would need is an app that very slightly modifies one bit in every image you send at random, and it'll never be caught by the synchronous system? Does the async update retroactively delete older posted images? And if so, how long would it take for that to happen?
- xxxpupugo 7y agoProbably, an app that applies some random distortion to your source image, just like your own recaptcha. Also Adverisal Patch is a thing, so that could be applied to specifically distorted the system in a human invisible way to misguide the machine learning models. Whether it will be retroactively deleted, it think there is a possibility. If WeChat periodically scan your image and find your image violating the censorship, it will probably delete it and report to the authority. Again, some encryption needs to apply in this case. Just like in the old days.
- Yetanfou 7y agoTechnical measures like these don't have to be watertight to be effective with the 'right' laws in place, this has been demonstrated by the restrictions on bypassing 'content protection measures' in the DMCA. Those found out to be using means to bypass image censoring will eventually see their 'social credit score' plummet and be kicked off WeChat and/or the 'net.
- 7y ago
- fourier_mode 7y ago> Internet platform companies operating in China are required by law to control content on their platforms or face penalties I recently learned that Signal[0] works in China, are they forced to do the same? [0]: https://en.wikipedia.org/wiki/Signal_Messenger https://en.wikipedia.org/wiki/Signal_Messenger
- tuxxy 7y agoYou cited the actual Signal app, but provided no citation that Signal works in China. Can you please provide evidence of that? Furthermore, just because it works in China doesn't mean that it won't cause your encrypted traffic to get flagged. This is why the threat model for a sophisticated network adversary, like the Chinese government, is difficult to model against.
- fourier_mode 7y agohttps://en.wikipedia.org/wiki/Signal_(software)#/media/File:Countries_where_Signal_provides_domain_fronting.svg https://en.wikipedia.org/wiki/Signal_(software)#/media/File:...
- solstice 7y agoSignal works in Shanghai, albeit with occasional delays and hickups.
- oppositelock 7y agoChina manipulates data pretty much anywhere imaginable. See the Google Maps link [1] and corresponding Baidu Maps [2] locations. Notice how the Google Maps data has huge disagreement between the road network and satellite imagery? It's because if you do mapping in China, the government hands you a perturbation function to apply to each data layer. You have to warp your data per their function, and they can audit it. Baidu doesn't have to do this. However, both Google and Baidu maps are WAY off on GPS locations, 100+ meters off, everybody has to do that unless yo have an accurate mapping license. I realize this is a little off topic, but since I work on something which has a big China presence, I'm always running into their BS, and censorship is just one little piece of it. VPN connectivity to your non-China offices is also problematic, running TLS over the Chinese internet is also problematic, unless you use officially provided certs and keys, etc. [1] https://www.google.com/maps/place/Beijing,+China/@39.7616007,116.3928139,1130m/data=!3m1!1e3!4m5!3m4!1s0x35f05296e7142cb9:0xb9625620af0fa98a!8m2!3d39.9041999!4d116.4073963 https://www.google.com/maps/place/Beijing,+China/@39.7616007... [2] https://map.baidu.com/@12957558.390456071,4804287.368277797,17.04z/maptype%3DB_EARTH_MAP%26latlng%3D39.7616007%252C116.3928139%26title%3D%25E6%25A0%2587%25E9%25A2%2598%26content%3D%25E5%2586%2585%25E5%25AE%25B9%26autoOpen%3Dtrue https://map.baidu.com/@12957558.390456071,4804287.368277797,...
- Causality1 7y agoThis kind of thing reminds you of the fact that the reason we don't do business and trade with North Korea is because they're a geopolitical threat, not because they abuse their citizens. So long as a country like China's evil stops at the border the rest of the world could not give less of a shit.
- anbop 7y agoChina could easily go beyond its border without consequence. Look at how easily Russia took Crimea.
- deogeo 7y agoOr how easily China took Tibet.
- hobs 7y agoOr the current claims in the South China Sea https://twitter.com/indopac_info/status/1102650429458931713 https://twitter.com/indopac_info/status/1102650429458931713
- kccqzy 7y agoChina taking Tibet is about the same as the U.S. taking the land of the Native American peoples and made them Indian reservations. The whites historically maltreated the Indians just as the Han people of China maltreated the Tibetans.
- shane369 7y agoIt is actually the Mongolians took Tibet, then the Chinese ruler simply inherited it
- chillacy 7y agoThe moral stuff is just the justification, the rest is just realpolitik.
- whytaka 7y agoWhile the crisis with fake news certainly warrants suspicion of the citizenry's ability to make informed decisions, how do pro-government citizens of countries without even the cultural ideal of free speech attempt to claim objective soundness for their political positions?
- svachalek 7y agoThere's only one political position that anyone can speak, why would you need to justify it?
- hkai 7y agoWould you also be open to question the existence of a "fake news crisis" itself, or were you convinced by the news reports that it exists?
- whytaka 7y agoHaving seen its proliferation first-hand, I don’t think I need much convincing.
- word-reader 7y agoIt looks like something similar is going to be legally required in the EU [1]. For encrypted chat apps like WhatsApp, the content filtering database can simply be baked into the client application [2]. [1] https://torrentfreak.com/eu-members-approve-upload-filters-for-terrorist-content-181214/ https://torrentfreak.com/eu-members-approve-upload-filters-f... [2] https://www.bloomberg.com/opinion/articles/2019-01-25/how-to-stop-misinformation https://www.bloomberg.com/opinion/articles/2019-01-25/how-to...
- TazeTSchnitzel 7y agoI'm really hoping it gets watered down by the European Court of Justice, but that would take a long time.
- deleted 7y ago[deleted]
- bin0 7y agoI'm not sure e2e-encrypted applications can be reasonably expected to handle this. The bytes they are transmitting are effectively not copywritten, and cannot be deciphered into copywritten information without something which the company does not have. I could also see a huge increase in client-side processing requirements due to this, meaning this could translate to substantial financial loss and an undue burden.
- netsec_burn 7y agoFascinating analysis given such limited information. It's amazing how much can be inferred.
- perlwle 7y agoA tricky thing WeChat does on the UX is that censored image looks like sent successfully from the chat history. But the other side really didn't receive it. It's like a black hole eating your messages without telling you.
- whytaka 7y agoThe Memory Hole [https://en.wikipedia.org/wiki/Memory_hole https://en.wikipedia.org/wiki/Memory_hole]
- NKCSS 7y ago> We found that the use of client re-encoding can make the image filtering more powerful in that it effectively results in an image’s hash representing all images with identical pixel values as opposed to merely a specific image encoding. The process of re-encoding extends the generalizability of hash-based filtering because any image containing the same pixel contents will be encoded to the same file and thus have an identical hash (see Figure 3). When this happens, any changes to the original image’s encoding or to its metadata will be ineffective at evading filtering, and some change to the image’s pixel values, if even a small one, will be required to change the resultant hash. When the client does not re-encode, then any change to an image’s file encoding, including to its metadata, is sufficient to change its hash. So, just add a random off-color pixel in your image and the system will fail.
- ComodoHacker 7y agoI doubt it's that simple. Perhaps they have an AI part that analyzes new images and adds their hashes to the blacklist.
- elaus 7y agoNo, according to the article this will only evade the hash-based lookup. All images that aren't in the hash database are then analyzed by some other, computational more expensive system (OCR, …).
- Macuyiko 7y agoInteresting fragment: > Moreover, we found that new accounts required approval from a second account that must have existed for over six months, be in good standing, and have not already approved any other accounts in the past month. Because of these requirements, we found that creating new WeChat accounts was prohibitively difficult. I've noticed WeChat tightening up their accounts as well over the past months. I have been "lucky" to have created an account years ago, with a wallet still working as well (as a non-Chinese, that is) without having to link a Chinese bank account/card. Friends of mine who visited recently were no longer able to do so for their account.