←
Nofix163 posts
Nofix avatar

Nofix

@N0Fix

interested in rust, malware, hypervisors and deobfuscation ioc.exchange/@nofix

◷ Joined September 2018▧ 15 Photos and videos
Nofix avatar
Nofix@N0Fix·9 May 2025

Hello twitter, made an IDA script/plugin to comment your decompiled Rust code with... Rust source code ! It fetches panic information and reads fetch the associated source code to print it to you in the form of a comment. github.com/N0fix/IDA_rust_me…

Post attachment
eversinc33 🤍🔪 avatar
⟳ Nofix retweeted
eversinc33 🤍🔪@eversinc33·Apr 29

Made a little experiment of lifting IDA microcode to z3 to automatically resolve opaque predicates. It works quite well on a few malware families I tested on. In the gif you can see Lumma stealer's opaque predicates being solved automatically:

Gynvael Coldwind avatar
⟳ Nofix retweeted
Gynvael Coldwind@gynvael·Mar 24

This 1-pager from Xusheng Li on GDB internals of how watchpoints are implemented is a delight to read! (especially that double-write behaviour false positive - I did not know about that)

Post attachment
Tamery avatar
⟳ Nofix retweeted
Tamery@tamery_app·Feb 16

We probably need to start transitioning to the new name...

Post attachment
ghizmo avatar
⟳ Nofix retweeted
ghizmo@Ghizmofficiel·Jan 28

I'm glad to announce the release of my VS Code Extension: Multi-Search 🔍 If you find it useful, don't hesitate to share it with your colleagues or friends 🙏 - github.com/Ghizmoo/multi-sea… - marketplace.visualstudio.com…

Andrej Karpathy avatar
⟳ Nofix retweeted
Andrej Karpathy@karpathy·9 Dec 2025

In today's episode of programming horror... In the Python docs of random.seed() def, we're told "If a is an int, it is used directly." [1] But if you seed with 3 or -3, you actually get the exact same rng object, producing the same streams. (TIL). In nanochat I was using the sign as a (what I thought was) clever way to get different rng sequences for train/test splits. Hence gnarly bug because now train=test. I found the CPython code responsible in cpython/Modules/_randommodule.c [2], where on line 321 we see in a comment: "This algorithm relies on the number being unsigned. So: if the arg is a PyLong, use its absolute value." followed by n = PyNumber_Absolute(arg); which explicitly calls abs() on your seed to make it positive, discarding the sign bit. But this comment is actually wrong/misleading too. Under the hood, Python calls the Mersenne Twister MT19937 algorithm, which in the general case has 19937 (non-zero) bits state. Python takes your int (or other objects) and "spreads out" that information across these bits. In principle, the sign bit could have been used to augment the state bits. There is nothing about the algorithm that "relies on the number being unsigned". A decision was made to not incorporate the sign bit (which imo was a mistake). One trivial example could have been to map n -> 2*abs(n) + int(n < 0). Finally this leads us to the contract of Python's random, which is also not fully spelled out in the docs. The contract that is mentioned is that: same seed => same sequence. But no guarantee is made that different seeds produce different sequences. So in principle, Python makes no promises that e.g. seed(5) and seed(6) are different rng streams. (Though this quite commonly implicitly assumed in many applications.) Indeed, we see that seed(5) and seed(-5) are identical streams. And you should probably not use them to separate your train/test behaviors in machine learning. One of the more amusing programming horror footguns I've encountered recently. We'll see you in the next episode. [1] docs.python.org/3/library/ra… [2] github.com/python/cpython/bl…

Post attachment
Synacktiv avatar
⟳ Nofix retweeted
Synacktiv@Synacktiv·22 Oct 2025

Impressive work from our team today at #Pwn2Own! Mehdi and Matthieu just pulled off an exploit on the Philips Hue Bridge without laying a finger on the device! Great demonstration of Synacktiv’s offensive expertise 👏 Come on 🔥

Post attachment
Nofix avatar
Nofix@N0Fix·3 Oct 2025

What's a good reason to put relevant information of your file format at the end of the file ? It makes it so hard to find if anything goes wrong or if the file gets concatenated somehow

HeroCTF avatar
⟳ Nofix retweeted
HeroCTF@HeroCTF·31 Aug 2025

🔥HeroCTF v7 is back at the end of November! 🚩You can now register your team on CTFtime 🔗 ctftime.org/event/2869 More information to come soon.