u/Remarkable-Bet9533

IaC security scanning caught something last week that 3 reviewers missed.

An assistant wrote a chunk of our Terraform. It read clean, been approved and it had a security group open to the world on a port that had no reason to be public. The diff looked fine, the person who prompted it did not clock the CIDR and neither did the reviewers.

Luckily, a pre apply scan caught it. The config was syntactically perfect and quietly wrong, which is the exact thing eyes slide over.

What are you gating on before apply, is it advisory, does it really block? Advisory did nothing for us until we made it a hard gate.

reddit.com
u/Remarkable-Bet9533 — 8 days ago

NPM supply chain attack round six and we are still yolo installing straight from the registry

The keyv and cacheable packages got popped this week, that is the Shai-Hulud worm going again, sixth time this year by my count. Same play every round, a maintainer token gets stolen, a malicious postinstall runs, it grabs more tokens and republishes itself further down the tree.

And surprisingly there’s little changes on our end between these. Most teams, mine included until recently, still run npm install in CI with postinstall scripts on, pulling packages fresh every build. One popular dependency upstream gets compromised and it is in our image before a human reads a changelog.

We pinned lockfiles and told ourselves that was supply chain security. It is not, infact it happily pins you to the compromised version. In your pipeline, what are you running that would have stopped this specific one?

reddit.com
u/Remarkable-Bet9533 — 12 days ago

Found free FIPS and STIG container images. Trying to work out the catch before I trust them in a boundary.

Doing the container side of a FedRAMP effort and someone dropped a link to a catalog of hardened images with FIPS and STIG tagged variants, free, no account. My first thought was that "free" and "FedRAMP-relevant" do not usually sit in the same sentence, so I am trying to figure out what I am not seeing.

The images pull fine. The STIG ones reference an OpenSCAP scan, the FIPS ones reference validated modules. On paper that is a pile of work I would otherwise be doing by hand off UBI, so naturally I do not trust it.

Though I can't judge from outside how it holds up once an assessor starts pulling threads. Does a free image with a FIPS tag carry the same evidence a paid one would or is the tag doing more work than the certificate behind it can support. And if the free tier is not on a guaranteed patch timeline, does that on its own turn into a finding down the line.

Anyone taken free-tier hardened images into an actual package and had a 3PAO accept them? Trying to tell whether this is a trap I will regret at assessment or an actual shortcut.

reddit.com
u/Remarkable-Bet9533 — 27 days ago

A lot of our cloud spend is on resources that aren't in any Terraform state

Doing an audit before a big refactor and what stopped me was how much is running that no module owns. Not drift exactly, more resources that got clickopsed during an incident years ago and quietly became load bearing, plus things left behind when a stack got partially destroyed and a few resources survived on dependencies.

Rough count is a few hundred. Some are obviously dead. plenty are ambiguous, an EBS volume thats detached but somebody might have been keeping it deliberately, that sort of thing, and the person who would know left 2-3 yrs ago.

Importing it all into state sounds sensible until you weigh the effort against just deleting things and finding out what breaks, which is not something I can propose to my manager with a straight face.

How are you handling the archaeology part of this. Mostly I want to know how you decided what was safe to remove, the tooling side I can work out myself.

reddit.com
u/Remarkable-Bet9533 — 1 month ago
▲ 14 r/Infosec

Hot take, click rate is a vanity metric and report rate is the only phishing-training number worth anything

I've run awareness programs for years and ive come round to thinking the click-rate number leadership loves is mostly noise. People learn the rhythm of your simulations so the rate drops over time, without anyone being one bit safer against a real targeted attempt built for them specifically.

Report rate earns its place, basically how fast the weird email reaches the SOC, because that buys you early warning when a campaign is hitting several people at once.

And I'd go further, for the really well-made stuff, a compromised supplier or a clean impersonation with no payload at all, training isnt even the right control. you cant train someone to distrust an email that looks completely normal, thats a detection job, not something more awareness training is going to fix.

reddit.com
u/Remarkable-Bet9533 — 2 months ago