nicolodev
nicolodev on Hacker News
there have been a few links here on hn about content protection based on Markov’s chain. It might be interesting for Cloudflare to add damage for the scraper that tries to query the page, and not just blocking them.
Posted by
nicolodev on Thursday September 10, 2026 @05:16AM
from the youtube.com dept.
It’s astonishing how nobody hasn’t mentioned abstract interpretation yet. Under classical static analysis, if you can “prove” that a variable does not have values in some unsound zones, you can e.g. “prove” soundness or apply further optimizations.
The interval abstract domain works under interval analysis with an algebra that’s the same of this calculator. It’s funny to implement something like that on source/binary level :)
Posted by
nicolodev on Tuesday April 14, 2026 @02:53PM
from the youtube.com dept.
Posted by
nicolodev on Monday March 16, 2026 @01:23PM
from the youtube.com dept.
Hi! OP here, thanks for submitting it to hacker news, if anyone have any questions, feel free to write here!
yeah I agree, and while everyone is suggesting tools which are really good but I designed mine to get rid of the flags and CLI interface. Good for tech people that keeps remembering flags, I'm not :(
> mutool clean -d in.pdf out. pdf
My tool can do exactly the same (viewing internal structure, exporting objects, and see the uncompressed raw content for stream) with a graphical interface and without all this kind of flags (which one of the reasons I started to design this project with egui), but thanks for posting yours too.
Thanks! Immediate paradigm might be a little bit scary if you used to play with Qt, but looks easy to manage and it's really interactive
argh, that's too bad, feel free to open an issue, what's happening in the console? It's panicking, isn't it? Feel free to contact me via email if you prefer
Nice! My tool should be runnable in the browser thanks to wasm compatibility with Rust + egui :) Btw I've just tried it, and it's a little bit buggy in Safari with a 504kb PDF (lots of objects though). Apart from that, is there a way to export the raw stream? Is there any reason of do you print all the raw streams as a text?
:D Well, I'm sure that half of reverse engineering community needs to thank you, and Zynamics for the important contribution for tools of static analysis. I just take the occasion to thank you for being an inspiration with such awesome tools like in BinNavi, BinDiff, and ultimately PDF dissector. When I was reading that it got discontinued, I just had that idea and started to reason about something focused on analysis, and applying some approaches we've already seen for the binary analysis tools.
Thanks for the list, the idea behind my tool was to try to code something that might fit an analyst that would take a fast look at the PDF. I'm also trying to figure out some fast heuristics to mark/highlight some peculiar stuff on the file itself.
Now regarding the tools you mentioned, I haven't checked out all of them, but part of them are interesting (and more mature, speaking of testing and compatibility). However some (at least the ones I was trying) are very basic, and they don't allow the "Save object as.." or uncompress it. I like the feature of displaying the PDF for preview :)
I'd suggest you to code something along popular libraries for PDF manipulation. I've used pdf-rs for the tool.
Thanks, it seems a great product too :) Do you have any particular feature that you share that product for?
Posted by
nicolodev on Wednesday August 28, 2024 @06:22AM
from the show-hn dept.
I’m writing a little tool for analysing a pdf and its internals, if author is interested or anyone else, just let me know :)
Posted by
nicolodev on Thursday July 25, 2024 @05:32PM
from the github.com dept.
Posted by
nicolodev on Monday July 15, 2024 @04:39PM
from the cloud.google.com dept.
Posted by
nicolodev on Wednesday June 26, 2024 @01:24PM
from the github.com dept.
Neat, although some of them are actually helpful for specific articles. One thing that I actually seen as a pattern is over engineering the blog so much that features need maintenance.
Posted by
nicolodev on Friday May 17, 2024 @05:06PM
from the nicolo.dev dept.
Hi! I just wanted to post this project into HN and collect some feedbacks. Don't feel bad to just say "lol your approach won't work" because static analysis has always limits (e.g. obfuscated software) and many more.
The main goal was to build (another) software that given a PE executable in input, parse it and outputs some indicators of the similarity of it across the ransomware I studied (the classic ones). Naturally most of the advanced ransomware employed nowadays is able to circumvent it, only with a little bit of modifications. TL;DR: "a more advanced" pattern matching.
The description is here as follows:
MicroSCOPE is a software program developed through the Go programming language that allows for the detection of a precise category of malicious software. The program is designed specifically for a class of malicious programs called ransomware whose operation consists of data encryption and ransom demand in order to gain access to the content again.
In particular, MicroSCOPE was developed to be able to support two of the mainly used formats: the PE (Portable Executable) format for Windows platforms and ELF (Executable and Linking Format) for Unix-based platforms. Through the application of certain heuristics, MicroSCOPE is able to assign a score that corresponds to the level of dangerousness of the file being analyzed. The higher the score, the more similar characteristics the software will exhibit to ransomware that has already been studied. The heuristics have been extrapolated from numerous case studies and will be improved over time.
Posted by
nicolodev on Tuesday April 23, 2024 @12:30PM
from the show-hn dept.
Posted by
nicolodev on Sunday November 19, 2023 @04:56AM
from the lambrospetrou.com dept.
Posted by
nicolodev on Sunday November 19, 2023 @04:55AM
from the nicolo.dev dept.
Posted by
nicolodev on Sunday November 19, 2023 @04:55AM
from the theartofdoingstuff.com dept.
Posted by
nicolodev on Wednesday November 01, 2023 @04:40AM
from the zenaassaad.com dept.
Posted by
nicolodev on Wednesday November 01, 2023 @04:40AM
from the togelius.blogspot.com dept.