Security called me at 6:12 AM today.
"Patch every PHP server immediately."
I asked what happened.
"Two critical vulnerabilities. Remote code execution. No authentication required."
Cool.
How many PHP servers do we have?
According to inventory: 12
According to reality:
Nobody knows.
We found one running WordPress.
Three running old internal tools.
One under someone's desk.
Two inside vendor appliances.
A forgotten employee directory from 2016.
And a server named:
PHP-OLD-DO-NOT-TOUCH
Naturally, that one runs payroll exports.
Then we found a PHP 5.6 box.
I asked who owned it.
The documentation said:
BRIAN.
Brian left in 2019.
We called Brian.
He said:
"Oh wow, that's still running?"
Excellent.
By 8 AM, leadership joined the incident call.
CEO:
"Can hackers actually get in?"
Security:
"Potentially yes."
CEO:
"Without a password?"
Security:
"Yes."
CEO:
"Then why do WE need passwords?"
Not the lesson.
Finance asked if we could wait until the weekend to patch because downtime affects revenue.
Security explained that the alternative was letting strangers execute code on our servers.
Finance asked for a cost comparison.
At 9:17, someone suggested temporarily taking the vulnerable websites offline.
Marketing refused.
"Our campaign is live."
So for the next hour, the company officially decided maintaining a landing page for 20% off webinar registration was more important than preventing remote server takeover.
We finally patched everything we could find.
Then our scanner discovered another PHP server.
Hostname:
TEMP-PHP-2014
Uptime:
4,512 days.
Nobody knows what it does.
Nobody owns it.
Nobody can shut it down.
But every time we block network access, the warehouse stops printing shipping labels.
Security has classified it as critical infrastructure.
It is running PHP 5.4.
The vulnerability has existed longer than half our employees.
The emergency patch took four hours.
Finding out what PHP actually runs took eleven.
The internet isn't held together with code.
It's held together with servers everyone is afraid to turn off.
So many of my fans will be in Las Vegas for #STLV and #DEFCON this week. I wish I had @SuzuLabs on speed dial during that business with insipid grok lying to me. N3rds, go see them at #IoTVillage before YOUR AI tries to lie to you.😑
Want to see the true potential impact of ignoring social distancing? Through a partnership with @xmodesocial, we analyzed secondary locations of anonymized mobile devices that were active at a single Ft. Lauderdale beach during spring break. This is where they went across the US:
My hats off to @TrustedSec for releasing their SOW, language, MSA language and "get out of jail" letter to help consultants protect themselves from situations like what recently happened to the 2 Coalfire pentesters in Iowa recently: https://t.co/bcGHqcf4ir.
Amid an uptick in phishing and malware attacks against IT outsourcing firms and cloud solution providers (CSPs), Microsoft says it will soon force all CSPs to use multi-factor authentication in managing Office365 accounts for customers. https://t.co/vfRBiUaEnq Defaults matter.
Gonna be at #SWBOS19 tomorrow. Please come by to TBG’s booth 502. Also on a panel discussion Thursday. Looking forward to seeing old friends and making some new ones.
@CatBailey ...and externally speaking: google is your friend and learn some good Dorking techniques we find so much stuff that way it’s really the most versatile of tools.
@CatBailey We still pop the internal network 75% of the time with Responder and hashcat alone. The number of companies that are detecting llmnr poisoning attacks are up however, as is the number of EDR solutions that pick up on it. When that happens you go low and slow with nmap :-)