HNHacker News
TopNewBestAskShowJobs

farmdve

265 karma · joined July 29, 2014

submissionscomments
farmdve··on PiFex: JTAG Hacking with a Raspberry Pi
This is fine for devices that expose a true JTAG interface. But imagine something like Hitachi's User Debug Interface that exposes only boundary scan. The rest of the protocol is undocumented unless you have specific NDA clearance.

In which case a methodology is needed to reverse engineer this protocol, treating the device like a black box.

I really liked how a solution to this was found for x86 processors and hidden instructions

https://github.com/xoreaxeaxeax/sandsifter

farmdve··on Deep Dive into XZ Utils Backdoor [video]
Satoshi disappeared one day before Gavin went to the CIA for a Bitcoin presentation. He left the CAlert key and disappeared.

I learned about Bitcoin either days prior or days later. As a newbie I did not care who created Bitcoin, but now I regret not knowing and speaking with him directly.

farmdve··on The man who killed Google Search?
15 years ago I could search and get relevant results.

There is so much information from older forums and obscure blogs that will never get reached now. I use whatever method I can, Google, Bing, Copilot and ChatGPT to fill in the blanks.

farmdve··on Don't require people to change 'source code' to configure your programs
I thought most software authors have this particular stance, which of course they are in their right to have, that they are offering free software and thus have no obligation to help anyone with anything, and they can always do it by themselves.

In the past I've seen links here on HN where certain OSS authors were pressured into helping, fixing, adding features by users who 'demanded' it and the authors were feeling very bad about all this. It wasn't just one post.

farmdve··on The Bulgarian Computer's Global Reach: On Victor Petrov's "Balkan Cyberia"
Food imports AND exports. Bulgarian farmers also heavily rely on subsidies. I know a few of them. Some drive very expensive cars, others 25 year old beaters. I cannot explain the discrepancy.

However I can also say that because of climate change, certain regions are now experiencing drought, I can specifically mention the far South-East near the border to Turkey. Rural villages are dying, but also lacking water, there is almost no water underground and it rains less and less, and the winters are no longer even winters. Wells fill up only once during winter and are emptied out within a few weeks before the crops even grow and produce fruit.

farmdve··on The Bulgarian Computer's Global Reach: On Victor Petrov's "Balkan Cyberia"
Before the 90s, Bulgaria was manufacturing almost everything, it had its problems, but it functioned from what we've been told. Afterwards every single factory was shuttered, sold to individuals for the equivalent of a dollar. After the borders were opened up, we experienced a huge outflow and all the smart people left.

We are now a fast shrinking country, poor and even today the political scene is a joke.

farmdve··on What we know about the xz Utils backdoor that almost infected the world
Which to me is a very carefully orchestrated thing. You don't just spend 2 years of your life doing that. No loner would pre-plan this to such an extent and create sockpuppet accounts for all this.
farmdve··on What we know about the xz Utils backdoor that almost infected the world
Exactly.

Also remember this

>> odd valgrind complaint in automated testing of postgres

I would imagine compiling a list of odd complaints may yield something , or nothing at all.

farmdve··on Inside the failed attempt to backdoor SSH globally that got caught by chance
I would imagine quite a few. It would be prudent to start paying attention to the tools that were created to catch some of the issues(like how people ignore Valgrind errors) as well as commits made to OSS that disables some feature, because it breaks a 3rd party library.

>> odd valgrind complaint in automated testing of postgres

This implies these kinds of complaints are routinely ignored.

farmdve··on XZ Backdoor: Times, damned times, and scams
They will likely now optimize the code to not trigger high latency and also ensure no Valgrind will find any issues.
farmdve··on XZ Backdoor: Times, damned times, and scams
To me this is false. They usually like quick profits. Look no further than Ethereum and defi chains like Optimism,Polygon etc. It is so easy to write a malicious contract that even I with more than 12 years in the cryptocurrency space got had and lost 1k.
farmdve··on What we know about the xz Utils backdoor that almost infected the world
And I think people should now look at all oddities with Valgrind. Since that is how the issue got discovered. And then look at the problematic library and look for similar outliers of fake personas taking over a project.

It seems it is common practice for people to ignore these errors.

farmdve··on Backdoor in upstream xz/liblzma leading to SSH server compromise
I mean, he was right at least. Jia Tan did have a bigger role.
farmdve··on ChatGPT 4 is worse than 3.5
And currently chat.openai.com is down for me. At least the actual API.
farmdve··on Ask HN: If you've used GPT-4-Turbo and Claude Opus, which do you prefer?
Not available in Eastern Europe.
farmdve··on Earth Received a Message Laser-Beamed from 10M Miles Away in NASA Test
It will. It always will, no technology on Earth now or likely in the future allow this to change. The only thing that will change is bandwidth or how much data can be sent at once.
farmdve··on TikTok Is Destroying Itself from the Inside Out
I did and it was too addicting. I was scrolling for hours on end. At one point it was 12AM in the next it was 3:30AM and I was still scrolling.

After deleting it, I felt better and my battery life improved too.

farmdve··on A man has been swatted 47 times for making a joke about Norm Macdonald
How exactly do these criminals get access to personal information and addresses exactly?

If you are in an online game using some pseudonym, your IP address is hidden, how do you find a city/street address? Secondly unless the victim was giving out the address willy-nilly, most IPs don't point to actual locations/addresses just general vicinity and if you use a mobile carrier, even very very far away.

farmdve··on TikTok Is Destroying Itself from the Inside Out
Sorry, English is not my first language so it's not always apparent to me that something I've written is not correct.
farmdve··on TikTok Is Destroying Itself from the Inside Out
Let it, it was a scourge on the world. Like every other simiar app it preyed on people's attention span, disintegrating it in the process, getting them addicted to just scrolling for that dopamine rush.
farmdve··on Farscape and Henson’s Lasting Legacy (2011)
Funny thing about Farscape, it was my favorite TV show as a child. Fond memories. The only thing that doesn't hold up is Rygel, maybe back then it was ok, but it's pretty horrific to see it now in all of it's Animatronic glory.
farmdve··on Nasopharyngeal Lymphatics Found to Be Crucial for Cerebrospinal Fluid Outflow
How would that work for people with chronic stuffy nose due to stay a prior Staph infection and/or allergic reactions.
farmdve··on Google search drops cache link from search results
So this is why I couldn't find it...bummer. Which means another downgrade.
farmdve··on Breaking SecuROM 7 – A Dissection
I was going to play around with Denuvo years ago, like in 2015 or 2016, but I quickly lost interest. There were no games I wanted to play. And this is still true today.
farmdve··on Breaking SecuROM 7 – A Dissection
It's called an Obfuscation Virtual Machine running custom opcodes. These opcodes were decoded in a special way and a single x86 instruction like

mov imm, reg

would get translated in 20-30 instructions most of them junk, but they were not laid out contiguously, you would execute one junk instruction and then return to the dispatcher to get to the next one, if I remember correctly. This made the VM and tracing dog slow. Additionally it used a small 256 or 1024 byte scratch buffer for the virtual registers that held data. I've forgotten now how it was exactly.

The entire VM used only jmp instructions which was how you would spot it.

farmdve··on Breaking SecuROM 7 – A Dissection
Ah yes, right up my alley. Sort of. I spent many months reverse engineering a SC8 executable for fun, yep purely for fun. 10 years ago now.

I have more experience with SecuROM 8. Did you guys know there is a hidden flag that is parsed on executable running that initializes a separate application which generates a file you can send to the authors of SecuROM that holds the version of SecuROM and quite a lot of other details?

Opaque predicates, VM, simple code integrity checks(int 3), xchg used as control flow obfuscation? It was all there. It took me a while to get the program running under a debugger. Once I did there were a bunch of threads running which would detect tampering or pausing of the threads and kill the process. After suspending those I could do whatever I want.

The DRM used a lot of control flow methods, especially hardware breakpoints and UD2 instruction.

At the time of Unicorn engine's popularity I made a custom plugin to emulate the zlib code embedded inside to search for hidden API calls, unfortunately due to the way QEMU emitted some instructions for the helpers some instructon hooks were called a few times more e.g those with a rep prefix severely skewing instruction counting.

Anyway, VM hunting was difficult. The VM had quite a few single-threaded VM contexts so it could run a lot of programs. From then on it was a matter of reverse engineering the opcodes. at the time I used Olly to trace and log the instruction handlers and opcodes and then using Notepad++ magic I could clean it up from the control flow in a single coherent picture.

Honestly I've forgotten most of it now.

But a few years ago I did write my own Control flow graph generator in Java just to find the 20 or 30 thousand code integrity checks and trace them statically and then was going to use it on the VM.

The most unusual thing is, I often communicated with one of the devs of SecuROM on IRC, of course I did not ask him anything nor did he reveal anything, that is of course illegal. I remember asking him about the little "Cut my life into pieces" tidbit he left just after VMEnter.

Needless to say it is thanks to SecuROM that I gained an interest in RE. Yes I was a novice and dived deep down into a commercial DRM. Thanks to it I learned a lot and is helping me even today, yep as I type this I am working on a SH2 architecture firmware.

But back in the day SecuROM inspired me to write this little ugly thing https://github.com/farmdve/TextVM

farmdve··on Something peculiar in my 2yo's bedroom led me to a revelation about our universe
I think we should really limit links where we need an account or to pay to read articles.
farmdve··on I regret selling my startup
I never understood selling of the company unless you've been working in it for 20 years. Like isn't the idea to be your own boss?

And why sell it, if you don't have the next idea for the next business up and running? I don't know any tech startup entrepreneurs, but I do have relatives who started their own businesses but always had backup plans and diversity.

farmdve··on Compression Attached Memory Modules may make upgradable laptops a thing again
I still dread the fact that 15 inch laptops are the norm and not the exception for a 17 inch one.
farmdve··on 'It hasn't delivered': the failure of self-checkout technology
Almost my sentiment. Quite often pre-packaged items that need to weight a certain amount are slightly more or slightly less resulting in the terminal err-ing out.

The self checkouts over here are regularly supervised by employees and regularly they need to intervene especially for alcohol.

← PreviousPage 2 of 4Next →