##################################################################
##| __ \#/ __ \#| __ \#| |#| \#| |##| |#| |#/ __ \#/ __ \#| __ \##
##| || |#| || |#| || /#| |#| \| |##| |#| |#| || |#| || |#| || |##
##| /#| || |#| __ \#| |#| |##| _ |#| || |#| || |#| || |##
##| |\ \#| || |#| || |#| |#| |\ |##| |#| |#| || |#| || |#| || |##
##|_|#\_\\____/#|____/#|_|#|_|#\_|##|_|#|_|#\____/#\____/#|____/##
##################################################################
#≫≫-ON-STEALING-SECRETS-FROM-THE-RICH-TO-DISTRIBUTE-TO-THE-POOR->#
##################################################################
≫≫--[1 Introduction]--------------------------------------------->
This is the first time I’m raising my voice. The RobinHoodHacker is not a name I chose myself, it was given to me.
Robin Hood was from a dark age when wealth was produced entirely by a serf class, but subsequently relinquished to feudal lords whose only role in society was the expansion of their ownership over communal land and other people. Sound familiar?
A fossil fuel powered global marketplace governed by the corrupt has allowed this broken system to expand to a scale that Earth cannot accommodate.
Authority over the sustainability of life on earth should not be owned by the few.
Regular people - your kids' school teacher, your bus driver, the lady at the grocery store - are held powerless by lying officials and oppressive propaganda.
Capitalism is a cancer that has spread to every corner of the planet, and the only way to remove it is by delicate operation.
This is a record and guide on how to resist. If I can do it, you can do it too. For ethical, environmental and cyber reasons I choose not to use genAI. (more on the cyber reasons later)
We can have a future or we can have capitalism. Not both.
≫≫--[2 The target]----------------------------------------------->
I won’t name them. They’ve had enough publicity already. I’ll refer to them simply as ‘Prince John’ here. They are an international energy company based in the Netherlands.
They seem untouchable and destroy the planet for fun and for profit. Even with their dirty secrets exposed to the public there are no consequences. No justice. Sometimes exposing something isn't enough. They need to feel the sting.
The thing is, IT is so entwined with business operations today that it’s hard to run your organization without IT. It gets worse when your organization is doing something in the physical world. Like Prince John, operating a power plant.
I wanted to show that even with all their profits and greed, they can’t secure their own backyard. While their executives reap bonuses in the millions, their overworked IT staff lives in fear of being replaced with AI.
≫≫--[3 Safety first]--------------------------------------------->
Before you run an operation, make sure you are safe. OPSEC cannot be overestimated.
I won’t cover the basics as others have done that before me, with better words than mine.
I don’t trust VPN services nor Tor. For this operation, I used a bulletproof VPS that I paid in crypto.
Attribution is interesting. This operation didn’t require me to create custom malware or C2 frameworks. Open-Source is your friend.
AI-driven operations are imprecise. AI adds complexity. Complexity makes it hard to control and predict your operation. Complexity makes your OPSEC fail. AI will leave forensic footprints that I can avoid. AI might take actions that I don’t want it to take.
I can’t afford unintended consequences or mistakes if my freedom is at stake.
≫≫--[4 The actual hack]------------------------------------------>
Let’s walk through the hacking process against Prince John, step by step. I’m sharing this to be a call to action for all of you out there who feel powerless, abused and exploited.
The power to rebel is a few keystrokes away.
≫≫--[4.1 Reconnaissance]---------------------------------------->
Reconnaissance is maybe the most important step during an operation. If I hit a brick wall at some point, I go back to doing more reconnaissance until I discover new opportunities.
I mapped the attack surface of Prince John including their domains, IP ranges, web applications as well as social exposure of their employees. It is incredible how easy spear phishing is today with social media, especially Instagram and LinkedIn, the latter providing rich information on internal hierarchies through job titles and role descriptions.
Big corporations rely on a network of suppliers. Google reverse image search for Prince John’s logo yielded some of their more prominent suppliers.
I used traditional tooling for my reconnaissance here:
- nmap
- dirb
- web browsing
- nikto
- OSINT
≫≫--[4.2 Initial access]----------------------------------------->
As always, I have the access trifecta to choose from:
Do I use a technical exploit against an edge device, buy access from an access broker or use social engineering?
Technical exploits are useful for hard targets. But they can also be fickle, unstable and noisy. I don’t like to use them unless I really have to.
Access brokers are everywhere. But I don’t like paying real criminals, fuelling the ecosystem that eventually hurts the vulnerable in society.
That left me with my favorite, social engineering. Prince John is a big organization and doesn’t seem to be very security-minded. I’m sure they got a standard, once-a-year security awareness training that people zone out to when they try to race through it.
Using Prince John’s logo in reverse Google image searches, I identified a security supplier of theirs.
SEToolkit created a clone of the supplier’s website. I registered a look-a-like domain, based on the original supplier domain.
I created a new Meterpreter payload using port 53 as the reverse callback port (DNS is always open …) and made it FUD with MSFVenom. There are just so many ways to circumvent endpoint controls these days.
I crafted a fake IT support email and attached my implant disguised as an IT update.
I identified a few soft human targets in my reconnaissance phase. Before sending them the spear phish, I needed to create a level of trust and make my narrative sound more plausible. I won’t bore you with the details. Go and read Mitnick (RIP), his skills in this are still unbeaten.
Call the human, establish trust, send them the phishing email with my implant attached. In short order I had my Meterpreter shell calling back to my VPS. Meterpreter can be a surprisingly stable C2 channel if you know how to use screen properly.
≫≫--[4.3 Lateral movement]--------------------------------------->
I had landed on a secretary’s machine. Not terribly privileged but let’s see what post-exploitation can get us.
I used a few of Meterpreter’s post-exploit modules:
Migrate got me onto a more stable process. Screen_spy let me actually see what the user was doing. I was hoping to see them open sensitive documents but had no luck there. I dropped into the filesystem to rummage around, hunting for sensitive data or anything that can get me closer to exposing Prince John’s skeletons in the closet.
I chanced upon a shared drive that contained a passwords.txt file. Unencrypted. It gave me a treasure trove of credentials but nothing to keep pivoting from the secretary’s device.
I had come across an internet-facing web application during my technical reconnaissance phase that looked like an ICS front-end. One of the credentials I got from the passwords.txt worked on that web application. I was surprised that there was no MFA enabled. But then again, I wasn’t.
It turned out that this was a production ICS interface. For a power plant. Connected directly to the internet. Purdue wasn’t a French philosopher, you know?
I just hit the crown jewels.
≫≫--[4.4 Action on target]--------------------------------------->
This is where things got interesting. The web application gave me a wide range of access to the power plant’s control system. I found an RDP-over-HTTPS tunnel and remote’d directly into the underlying Windows server.
I decided to let them feel the price of their negligence and the price that choosing profit over humanity has.
I hit the firedrill function. Shortly after that, the whole system, including the plant, went offline. I don’t know if the fire drill caused that directly or if they had discovered me and decided to cut the system off from the internet while attempting a clean up operation.
≫≫--[5 Bonus action]--------------------------------------------->
While the impact on their power plant was more than I had planned for, I still hadn’t acquired any sensitive data. I decided to take another route.
I needed to go straight to the source of the problem. Their CEO.
I’ve seen enough custom security rules in place for execs to know that they are often well-monitored for phishing emails. More often than not, a PA is taking care of their emails, which makes it harder to get to the actual exec’s machine and mailbox.
No, I needed to get an implant directly onto his machine and couldn’t gamble my implant getting lost or wasted onto someone else’s computer.
A carefully prepared USB keyboard was delivered to Prince John’s headquarters, addressed to the CEO directly. I had installed a USB keystroke injector in it (if it walks like a duck and talks like a duck it probably is … a USB keyboard). The embedded script entered keystrokes to download my fresh Meterpreter implant from one of my C2 servers.
Once I had my reverse shell open, I decided to run this as a smash-and-grab operation. I didn’t know how long my access would last.
I dropped into Meterpreter and quickly explored the file system, looking for Outlook archives or other troves of sensitive documents. I found a recent Outlook PST file and downloaded it through my Meterpreter session.
Job done.
≫≫--[6 Conclusion]----------------------------------------------->
The RobinHoodHacker is not a name I chose myself, it was given to me.
It is not appropriate. I did not steal wealth. In fact I committed no moral crime of any kind, I merely exposed them.
As others said before me: My crime is that of outsmarting you, something that you will never forgive me for.
This was a record and guide on how to resist. If I can do it, you can do it too.