Simone Margaritelli (@evilsocket) header
Simone Margaritelli (@evilsocket) profile picture

Co-founder & CTO @ @MilgramAI • Author of bettercap, pwnagotchi, opensnitch, bleah, legba and a few other things.

Joined January 2009
Photo by Simone Margaritelli (@evilsocket)Photo by Simone Margaritelli (@evilsocket)Photo by Simone Margaritelli (@evilsocket)Photo by Simone Margaritelli (@evilsocket)Photo by Simone Margaritelli (@evilsocket)Photo by Simone Margaritelli (@evilsocket)Photo by Simone Margaritelli (@evilsocket)Photo by Simone Margaritelli (@evilsocket)Photo by Simone Margaritelli (@evilsocket)Photo by Simone Margaritelli (@evilsocket)
A year ago, we saw where cyber was heading - it was pretty clear to us so we got to work. Offensive capabilities were getting cheaper for anyone who wanted to run an attack. We wanted to buy defenders time, so we got to work. We're impact driven. Our strategy, go to market, and everything else is derived from our mission to help humans use super intelligence safely. Today we’re making that work public with three releases. 1. Nam-Shub v2.0, our frontier AI Safety Model. We trained it from scratch to give developers an independent set of guardrails for the AI they deploy. If an agent reading a document encounters a hidden instruction to send private data elsewhere, Nam-Shub can flag it before the data leaves. Across five public attack datasets, it averaged 99.04% detection. It costs $0.021 per million input tokens, with free output. BENCHMARKS: docs.milgram.dev/benchmarks-… 2. Medusa, our defense against autonomous attackers. Attackers choose the guardrails on their own models. We built Medusa so defenders get a say in what those agents find. It creates decoys that look like part of your infrastructure. In our test, an autonomous attacker found credentials we’d planted, tried to use them, and followed false leads until it exhausted its inference budget. We got to see exactly what it did along the way. 3. The Medusa Threat Intelligence Feed, free for everyone. At launch, we’re sharing 1,887 IP addresses from which Medusa observed suspicious activity on our own infrastructure. That traffic had already made it through our firewall and blocklists. The feed updates every hour. You can check it against your logs today. Get the feed We’ve spent a year building this in private. Today it’s yours to put to work. GET THE FEED milgram.dev/medusa-feed.csv
We’re coming out of stealth today! Introducing Nam-Shub v2.0, our frontier AI Safety Model, and Medusa, a network of adaptive honeypots that look like part of your infrastructure. Watch the launch video below and explore our releases via the links in the first comment.
11
25
2
133
9,792
Simone Margaritelli retweeted
73
759
45
10,791
197,050
pretty big releases coming for bettercap and opensnitch in the following weeks
4
1
54
2,863
bettercap wise, insane cross platform goals and feature parity reached, think BLE & WIFI attacks on macOS and Windows with no VM. Fully AI integrated. While OpenSnitch has been rewritten from scratch in Rust, much more powerful, TUI perfectly integrated in Desktop, plugins, tiny footprint, monitors & can block incoming & outgoing connections and process executions, headless mode (you authorize what happens on your servers and IoT from a single machine), and a lot more!
3
348
“So the guy who couldn't share details at 10pm had a product pitch released in the morning.”
BTC went from $59k to $52k overnight. I spent the morning piecing together what actually happened and... Bitcoin is fine. 1. The sequence of events Wednesday the NSA told operators of national security systems to speed up the move to post-quantum cryptography, citing discoveries that AI labs had disclosed to them. Big Tech co-signed, no mention of Bitcoin. BTC sat at ~$59k. Then Cloudflare's CEO got on Twitter late Wednesday night and vagueposted: - ~10:25pm ET: says Cloudflare was briefed on something big, can't share details, don't ignore it - Someone asks what's affected: "Assume anything that uses RSA or Elliptic Curve cryptography." - Someone asks if RSA-2048 got cracked: "There are things worse than that." - 1:52am ET: deleted that last comment, and there's a new post saying we're not doomed & we have time ~3.5 hours between cryptography doom statement and retraction. By then BTC was $55k and the liquidation cascade was already running. $52k by morning. 2. Incentives There is a notable alignment of incentives for the Cloudflare CEO. - Mid-thread, he teased that Cloudflare would publish its status, plans & timeline in the morning - Today, the blog post is out. It repeats the government line that there's no immediate threat, moves Cloudflare's own deadline from 2029 to 2027, and has a section on how to use Cloudflare products to make the transition - In other words, Cloudflare sells the fix for enterprises that have an urgent need to migrate infrastructure to address these concerns So the guy who couldn't share details at 10pm had a product pitch released in the morning. Perhaps they just didn't consider the possibility of cryptocurrency market carnage when they decided to stir up attention? That would be the simplest, very human explanation. 3. What the government actually said on Wednesday - The discoveries "do not present an immediate and widespread threat" - No algorithm named as broken, no new deadline. Existing migration timelines run out to 2030+ The urgency is mostly about "store now, decrypt later." Adversaries are scooping up encrypted traffic today so they can crack it in 5 or 10 years. If you're guarding state secrets, that clock started a while ago. Bitcoin doesn't have that problem. Nothing on the ledger is secret, so there's nothing to harvest. A signature scheme only has to hold up until coins move to a better one, and Bitcoin can make that move whenever it needs to. 4. What Bitcoin runs on SHA-256 for mining & addresses (nobody is questioning it) and secp256k1 for signatures. secp256k1 is an oddball. It came out of an industry group (Certicom's SECG), and hardly anyone used it before Satoshi picked it. The mainstream choice was the NIST curve, P-256, which is built on a seed value the NSA supplied and never explained. But Satoshi didn't choose that one... he chose the one that the NSA didn't have a hand in creating. He chose the one that was pure in its mathematical simplicity. The NSA has been leaning on public cryptography since the 1970s, when it got IBM to shorten the DES key. In 2013 it was exposed for backdooring a NIST standard (Dual_EC_DRBG). secp256k1's parameters are about as plain as they come (y² = x³ + 7). There isn't much room in there to hide anything. 5. Speculation about what's going on with cryptography A (plausible) theory going around: AI didn't find a way to break elliptic curves in general. It found weaknesses in particular curves... ones that may have been put there on purpose as backdoors by the NSA. Now with the sudden capabilities of AI to find vulnerabilities, those backdoors may be identified and exploited. Perhaps this connects to the strange run of infrastructure outages in November, which officials explained away as unrelated one-offs. If cryptography with NSA backdoors is now being exploited, that could explain the urgency from the NSA to encourage infrastructure to shift to different cryptography implementations. The irony here would be that Satoshi may have sidestepped all of this by not trusting a curve built on NSA-supplied constants. Or perhaps his distrust was simply of unexplained parameters - "trusted third parties are security holes" and "don't trust, verify." If any of that is right, the elliptic curve cryptography implementation that Satoshi deliberately chose... might be the one that is unaffected because it is pure math, unadulterated. 6. Bitcoin is anti-fragile anyway Say secp256k1 does weaken someday. Bitcoin's security has never depended on one piece of math. It depends on economic consensus (nodes, miners, exchanges, holders), and that consensus can swap out a signature scheme. BIP-360 is already drafted and under review. It adds an address type that keeps your public key off-chain until you spend, and sets things up for post-quantum signatures to be added on top. It's a soft fork, so it's opt-in & doesn't split the chain. And ~64% of supply already sits behind keys that have never been exposed. In many ways, Bitcoin already had its AI-related security freak out over the summer, with the Bitcoin Red Team forming to proactively use cutting-edge AI tools to hack open-source Bitcoin project codebases, identify vulnerabilities, and responsibly disclose them to the dev teams. This is how Bitcoin hardens. As a protocol and as an ecosystem. AI tools will be applied to identify threats before they materialize, patch and improve. Bitcoin is anti-fragile because the incentives make it so (we all want it to remain safe, and we can take action to keep it so). 7. Zoom out - this might just be the 4-year-cycle bottom This climactic overnight crash dropped BTC below its Realized Price for the first time in almost 4 years. Every prior cycle bottom happened below realized price. Prior bear markets bottomed 12-13 months after the peak. We're at ~14. Mainstream sentiment feels like Bitcoin just died. Same as in late 2018 when $6k gave way and we bottomed at $3k. Same as when FTX collapsed in 2022 and we bottomed at $16k. My read: - The sell-off came from vague posts hitting a leveraged, illiquid market. Nothing in Bitcoin broke - The threat the NSA is worried about is years out and mostly about secrets. Bitcoin can upgrade well before then - This scare sets the stage for possible upgrades that were already contemplated to solve these future concerns (BIP-360 or similar) - Bear markets end with a panic and a reason to believe it's over for good. This looks like that to me
1
8
1,304
Simone Margaritelli retweeted
CLOUDFLARE’S CRYPTOGRAPHIC SCARE ENDS WITH A PRODUCT PITCH Hours after Cloudflare CEO Matthew Prince warned that anything using RSA or elliptic curve cryptography should be assumed to be affected by recent discoveries, the company published its highly anticipated update. The announcement contained no new technical details demonstrating a cryptographic breakthrough. Instead, Cloudflare: - Accelerated its own post-quantum migration deadline from 2029 to 2027. - Reiterated the government’s assessment that recent advances do not present an immediate and widespread threat. - Acknowledged that replacing cryptographic systems across the internet could take years. - Promoted its own enterprise networking, security and authentication products as solutions. The announcement is drawing scrutiny over Cloudflare’s commercial incentives. The company helps develop cryptographic standards, participates in federal research, lobbies on encryption policy, advocates for mandatory post-quantum procurement requirements, and sells the very infrastructure needed to comply. Meanwhile, Bitcoin fell sharply following Prince’s cryptic warnings, with hundreds of millions of dollars in crypto liquidations. Nearly nine hours after sounding the alarm, Cloudflare has provided no new evidence that Bitcoin’s cryptography has been compromised.
Cloudflare spent almost a decade helping push the industry to post-quantum cryptography. Now that AI-accelerated research has made the move to post-quantum even more urgent we’ve moved our deadline to be fully post-quantum from 2029 to 2027. cfl.re/4lsp4Qs
50
90
36
466
35,855
Simone Margaritelli retweeted
you guys baited us for years with responsible disclosure, and shamed us if we'd by accident disclose something Not Following The Process - and now people are just happily tweeting out rumors of 0-days every other day, gg!
15
38
9
742
121,367
Simone Margaritelli retweeted
Put them in JAIL
1. Spread fear 2. “Buy my product” Every. Single. Time.
58
257
26
2,977
33,059
Simone Margaritelli retweeted
So after 8 hours of "Do not ignore this. Yes, we were briefed on something. Assume anything that uses RSA or Elliptic Curve cryptography" and $580M in crypto liquidations... ​The big reveal is pulling an internal PQC authentication roadmap from 2029 to the end of 2027 (with Q1/Q2 2027 milestones for WebPKI certs, JWTs, and SSH). ​No emergency CVE. No broken RSA-2048. Just a standard enterprise migration timeline wrapped in 3 AM apocalypse marketing.
Cloudflare spent almost a decade helping push the industry to post-quantum cryptography. Now that AI-accelerated research has made the move to post-quantum even more urgent we’ve moved our deadline to be fully post-quantum from 2029 to 2027. cfl.re/4lsp4Qs
195
817
119
9,693
657,226
Simone Margaritelli retweeted
I never trusted Alice and Bob.
151
1,140
132
7,899
327,380
Simone Margaritelli retweeted
if you have a practical attack break some public curve challenges or shut the fuck up
3
10
106
5,123
Simone Margaritelli retweeted
Laravel Rust is super fast, but it's not in a language we're familiar with So I'm porting Laravel Rust to PHP Introducing Laravel Rust PHP 🎉
117
136
61
1,988
92,436
Simone Margaritelli retweeted
Laravel Rust is here. Everything you love about Laravel. Everything you love about Rust. Routing, models, queues, and auth. All designed to work together, compiled into one binary. Oh, and it’s really, really fast: 18x the throughput of Laravel PHP.
396
1,746
1,181
10,444
1,449,135
software that is meant to be operated by AI is the new shit
1
2
1
17
1,891
Simone Margaritelli retweeted
Decrypting an iOS app used to mean a jailbroken phone. Now it's one command on an Apple Silicon Mac or a Linux box: `ipsw download ipa --decrypt com.example.app` Free App Store apps. Linux uses an authorization you export once from the Mac. blacktop.github.io/ipsw/docs…
16
104
998
78,911
Simone Margaritelli retweeted
Rumors are swirling that the labs have made a significant breakthrough on your mom. Experts are quoted as saying she was “surprisingly easy in retrospect”
13
106
5
1,752
71,249
I miss writing and reading this kind of stuff. Playing with unions and structure alignments, and spending hours optimizing hot-path arithmetic with bitwise hacks. ....
1
3
20
2,470
Simone Margaritelli retweeted
The Higgs Boson ("God particle") was confirmed 14 years ago. Scientists literally wept, and it was hailed as a new era. In reality: Virtually zero direct everyday impact. AI "solving math" may be the same.
239
112
32
4,023
332,722
Simone Margaritelli retweeted
REMINDER P versus NP is fundamental to the theoretical foundations of computational cryptography, but resolving it alone does not determine the practical security of deployed systems. For a concrete hypothetical, consider RSA-2048, which uses a 2048-bit modulus. Suppose someone proves P=NP and produces a factoring algorithm that takes n^100 operations for an n-bit input. Factoring that modulus would take: 2048^100 = 2^1100 operations. That algorithm is polynomial time, but completely impractical.
14
39
4
315
23,829