Skip to content

Its All About Defang⚓︎

Difficulty:
Direct link: Its All About Defang

Objective⚓︎

Request

Find Ed Skoudis upstairs in City Hall and help him troubleshoot a clever phishing tool in his cozy office.

Ed Skoudis

Instructions

Solution⚓︎

A SOC phishing station website was presented to detect, defang, and report IOCs.

SOC home page

The phishing email presented on the SOC station prompts users to update their kitchen setups by downloading a malicious file.

Email
From: "Icicle Innovations" <sales@icicleinnovations.mail>
To: "Neighborhood Watch" <residents@dosisneighborhood.corp>
Subject: 🎄 URGENT: Holiday Kitchen Makeover - Smart Home Integration! 🎄
Date: Wed, 25 Dec 2025 09:15:33 -0500
Message-ID: <holiday2025-kitchen@dosisneighborhood.corp>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Mailer: KitchenAlert v2.025
Received: from mail.icicleinnovations.mail (172.16.254.1) by dosisneighborhood.corp (10.0.0.5) with SMTP;
         Wed, 25 Dec 2025 09:15:28 -0500
Received: from core.icicleinnovations.mail (192.168.1.1) by mail.icicleinnovations.mail (172.16.254.1);
         Wed, 25 Dec 2025 09:15:22 -0500

Dear Valued Dosis Neighborhood Residents,

🚨 IMMEDIATE ACTION REQUIRED 🚨

Our elite team of Sunny's kitchen renovation specialists have detected some SERIOUSLY outdated kitchen setups in your neighborhood! It appears that certain homes are still using legacy appliances without proper smart home integration - like non-IoT fridges that can't automatically order milk, or microwaves that don't sync with your meal planning apps! 

While this sounds like a delightfully festive renovation opportunity (and totally not a security assessment), we need you to:

1) Download our FREE Kitchen Renovation Planner™ with built-in security features (totally legit, we promise!):
   https://icicleinnovations.mail/renovation-planner.exe

2) Upload high-resolution photos of your current kitchen to our secure design portal (we need to see ALL angles for proper renovation planning):
   https://icicleinnovations.mail/upload_photos

For instant help with any kitchen renovation questions, contact our 24/7 design hotline at 523.555.0100 or our renovation specialists at 523.555.0101.

Remember: If your old appliances start acting up during the assessment, it's probably just excitement about their upcoming upgrades! But please document any issues with photos.

Stay merry (and consider smart upgrades),
Icicle Innovations 
Chief Kitchen Design Specialist
📞 523.555.RENO
info@icicleinnovations.mail

P.S. - Has anyone else noticed their kitchen cabinets mysteriously rearranging themselves overnight? We can fix that with proper smart storage solutions!

Detection⚓︎

The first part of the report is to detect and extract IOCs such as Domains, Emails, IP addresses, and URLs using Regex.

Domains⚓︎

This regex code was used to extract the domains in the email.

Domain Regex
[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+

Domain extracted

After extracting all domains, any domain that is not suspicious (the Neighborhood domain) can be excluded as IOCs.

Domain IOC

IP Addresses⚓︎

The email header gave IP addresses of the different servers involved in the email delivery. Since IP addresses are based on 4 octets separated by dots (.) with the max value per octet being 255, this regex can be used to extract anything that looks like an IP address and filter the suspicious one.

IP Regex
\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
After running the regex, these IP addresses have been collected and non-suspicious IPs like the neighborhood mail server IP have been excluded from the IOC list. Note: this screenshot is from the initial regex return. The IP 10.0.0.5 was excluded as an IOC.

IP IOC

URL extraction⚓︎

The attacker asked the email recipients to download software and upload pictures to another link. These URLs need to be extracted as IOCs.

This regex has been used to extract URL IOCs.

URL Regex
https://[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+(:[0-9]+)?(/[^\s]*)?
Two URLs have been extracted from the email with this regex.

URL extracted

Email extraction⚓︎

This regex was used to extract email addresses from both the header and message body.

Email Regex
\b[a-zA-Z0-9_%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}\b
After running it, four addresses were identified:

Email extracted

  • sales@icicleinnovations.mail
  • residents@dosisneighborhood.corp
  • holiday2025-kitchen@dosisneighborhood.corp (from the Message-ID field)
  • info@icicleinnovations.mail

Emails extracted

Following the same filtering logic used in the domain and IP sections, the internal dosisneighborhood.corp addresses were treated as non-malicious context and excluded from the IOC list. The suspicious email IOCs retained for reporting were:

IOC Emails

  • sales@icicleinnovations.mail
  • info@icicleinnovations.mail

Defang and report⚓︎

After extracting the suspicious IOCs, the next step is to defang them so they can be safely shared in reports, tickets, and threat intel channels without accidental clicks or execution.

The SOC station instructions required the following transformations:

Defang rules used

  • Replace dots . with [.]
  • Replace @ with [@] in email addresses
  • Replace :// with [://] in URLs
  • Replace http with hxxp

The custom SED chain below was used to apply those rules in one pass. Defang objective

This SED command was used to defang the IOCs.

SED command
s/\./[.]/g; s/@/[@]/g; s/:\/\//[://]/g; s/http/hxxp/g

After applying the command, all selected domains, IPs, URLs, and email addresses were converted into safe, non-clickable IOC strings and submitted in the phishing IOC report.

Defang part 1

Answer⚓︎

After IOC extraction and defanging were completed, the phishing IOC report was successfully generated and marked as completed by the SOC workflow.

Submitted result

  • Defanged IOCs were submitted successfully
  • Report status: COMPLETED
  • Objective completed: Its All About Defang

The completion page confirms the phishing IOC report metadata and shows the overall status as COMPLETED.

Completion 1

Under Actions Taken on the completion page, a summary of the actions taken was listed, which includes defanging, threat intel updates, endpoint blocking, and email filter hardening.

Completion 2

The objective tracker page in the Holiday Hack interface confirms that Its All About Defang is fully completed.

Completion on website

Answer

The phishing IOC report was completed successfully after extracting and defanging all suspicious indicators.

Response⚓︎

Ed Skoudis

Well you just made that look like a piece of cake! Though I prefer cookies...I know where to find the best in town!

Thanks again! See ya 'round!