Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Possibly linux@lemmy.zip to Privacy@lemmy.mlEnglish · 2 years ago

Molly - a better signal

molly.im

external-link
message-square
131
fedilink
  • cross-posted to:
  • freesoftware@lemmy.zip
185
external-link

Molly - a better signal

molly.im

Possibly linux@lemmy.zip to Privacy@lemmy.mlEnglish · 2 years ago
message-square
131
fedilink
  • cross-posted to:
  • freesoftware@lemmy.zip
Molly
molly.im
external-link
Molly is an independent Signal fork for Android.
  • Chobbes@lemmy.world
    link
    fedilink
    arrow-up
    3
    ·
    2 years ago

    Okay, I got curious and looked into it… These are the relevant files for the “RAM shredding”

    • https://github.com/mollyim/mollyim-android/blob/d7997fceb68696582fea0cbf3f8dd0e0af64e8b2/app/src/main/java/org/thoughtcrime/securesms/service/WipeMemoryService.java#L102
    • https://github.com/mollyim/mollyim-android/blob/2f2b603faaa2f6db20cd9e654b5ac1635b9a9353/jni/utils/org_thoughtcrime_securesms_service_WipeMemoryService.c

    I’m not an Android dev, but at first glance it looks like all this does is try to allocate all of the free memory in the system, and walks through the pages and uses rand() to fill in all of the bytes. Technically it’s possible for the pages returned by malloc to contain old data, but only if it was allocated by your process in the first place (maybe that’s not the case on Android?)… So I guess the idea is that if Molly itself is compromised and an attacker is able to allocate memory in the Molly process they could conceivably get an old page from memory and that page might contain secrets from the Molly app itself… But at that point, surely you’re fucked anyway, and the attacker can presumably read all of the currently allocated memory which is certainly far more of a security concern anyway? I just don’t think it’s worth the cycles.

Privacy@lemmy.ml

privacy@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !privacy@lemmy.ml

A place to discuss privacy and freedom in the digital world.

Privacy has become a very important issue in modern society, with companies and governments constantly abusing their power, more and more people are waking up to the importance of digital privacy.

In this community everyone is welcome to post links and discuss topics related to privacy.

Some Rules

  • Posting a link to a website containing tracking isn’t great, if contents of the website are behind a paywall maybe copy them into the post
  • Don’t promote proprietary software
  • Try to keep things on topic
  • If you have a question, please try searching for previous discussions, maybe it has already been answered
  • Reposts are fine, but should have at least a couple of weeks in between so that the post can reach a new audience
  • Be nice :)

Related communities

  • Lemmy.ml libre_culture
  • Lemmy.ml privatelife
  • Lemmy.ml DeGoogle
  • Lemmy.ca privacy

much thanks to @gary_host_laptop for the logo design :)

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 536 users / day
  • 3.22K users / week
  • 6.45K users / month
  • 15.5K users / 6 months
  • 321 local subscribers
  • 37.7K subscribers
  • 3.59K Posts
  • 95.7K Comments
  • Modlog
  • mods:
  • k_o_t@lemmy.ml
  • tmpod@lemmy.pt
  • Yayannick@lemmy.ml
  • ranok@sopuli.xyz
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org