• 0 Posts
  • 1.44K Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle
  • Yeah, I think there is a lot of potential for code analysis. There’s a limited cross section of ways malware can do interesting things, but many permutations of ways to do that.

    So look for the interesting things, like:

    • accessing other programs’ address spaces
    • reading/writing files
    • deleting/moving files
    • sending/receiving network traffic
    • os system calls and console commands
    • interacting with hardware
    • spawning new processes
    • displaying things on the screen
    • accessing timing information

    Obviously there’s legitimate uses for each of these, so that’s just the first step.

    Next, analyze the data that is being used for that:

    • what’s the source?
    • what’s the destination?
    • what kind of transformations are being applied to the data?

    Then you can watch out for things like:

    • is it systematically going through directories and doing some operation to all files? (Maybe ransomware, data scrubbing, or just maliciously deleting stuff?)
    • is it grabbing data from somewhere and sending it somewhere else on the internet? (Stealing data?)
    • is it using timing information to build data? (Timing attacks to figure out kernel data that should be hidden?)
    • is it changing OS settings/setup?

    Then generate a report of everything it is doing and see if it aligns with what the code is supposed to do. Or you could even build some kind of permissions system around that with more sophistication than the basic “can this app access files? How about the internet?”

    Computer programs can be complex, but are ultimately made up of a series of simple operations and it’s possible to build an interpreter that can do those operations and then follow everything through to see exactly what is included in the massive amount of data it sends over the network so that you can tell your file sharing program is also for some reason sending /etc/passwords to a random address or listening for something to access a sequence of closed ports and then will do x, y, z, if that ever happens. Back doors could be obvious with the right analysis tools, especially if it’s being built from source code (though I believe it’s still possible with binaries, just maybe a bit harder).


  • Buddahriffic@lemmy.worldto196@lemmy.blahaj.zoneAbuse is abuse rule
    link
    fedilink
    arrow-up
    5
    arrow-down
    5
    ·
    20 hours ago

    I’m skeptical that there exists any leftist mainstream place that isn’t actually a right-wing place disguised as leftist.

    I’m also skeptical that all of those loud but irrational voices are genuine. Especially given Russia’s MO for online trolling where they push both sides of any issue to extremes to sow division. Not to say that I believe everyone on the left is rational and reasonable. But why would the tone be so different between “mainstream” and “non-mainstream” left places if the position you’re talking about is as ubiquitous to the left as you claim it is?



  • There is a bit of a grass roots one, but part of the problem is that it’s entirely on the consumption side, as in people deciding to have less sugar. Even proposed legislation solutions involve controlling the consumption side, though at the final product production level.

    Which means that sugar producers are still trying to produce the maximum amount of sugar to make the most profit and the lowered demand just ends up driving the price down and makes it more attractive to others to add more sugar. If that lower price is still profitable, then sugar producers can continue full steam ahead.

    I’ve noticed something similar with plastics. Demand is lowered in some areas by legislation (like no plastic straws or single use bags), but plastic is still being produced at volume, so prices go down and other products switch from non-plastic packaging to plastic. I’ll call out Betty Crocker homestyle instant mashed potatoes specifically here, that went from a cardboard box containing two paper/metal pouches to a single plastic pouch, which also means it’s more of a pain to make only half the package and more likely to create more food waste in addition to plastic waste.



  • Also when it gets boring, sometimes it can be fun to see what happens if you cause something unusual to happen.

    Ok, dinosaurs were fun for a bit, but how do they fare against meteor strikes? Hmm, these small ones keep burning up in the atmosphere. Ok, I bet THIS one won’t burn up! It will probably shake things up quite a bit in this regio–oh shit, debris from the impact is escaping orbit, that probably means it’s going to rain hot rocks for quite some time all over the planet. Dammit, it was cool when all of the land was together in one mass but I’ve cracked that apart now and they are going to end up splitting up into smaller continents now. When’s my last save state? Dammit, it’s mid Triassic, the dinosaurs were so lame back then compared to these ones today. Guess I’ll save now. I mean, they dominate the entire planet, surely they’ll come out of this ok.


  • That’s pretty smart, using it for legal documents. If the accuracy is high, it might be nice to just copy paste any tos or whatever to get the highlights in plain language (which imo should be a legal requirement of contracts in general, but especially ones written by a team of bad faith lawyers intended for people they don’t expect to read it and deliberately written to discourage reading the whole thing).



  • If the comments are threaded (like they are here), I don’t get why any point can be considered to derail conversations. That’s just one branch. If you don’t care to discuss that branch, just scroll past or minimize it and find another branch or start your own. They can all be discussed in parallel.




  • I want to see some videos of salesmen trying to sell touchscreens like they are cars of the future and so great. Followed by the same salesman selling the return to tactile buttons as a big step forward because of how bad of an idea the touchscreens are.

    Most likely the first one will be older, but I bet there’s many that could be lead to do both in the same day by two different people showing interest in the same model but different year of a vehicle.