SOC and blue team
CyberChef for Beginners: Decode Data Like a SOC Analyst
Analysts constantly meet data that is encoded, compressed or obfuscated: a Base64 string in an alert, a hex blob in a log, a URL full of percent signs. CyberChef is a free web tool from GCHQ that decodes and transforms data by chaining small operations. It runs in your browser, and you can download it and use it offline, which is safer for sensitive data.
How It Works
Paste input on the right, drag operations from the list into the recipe, and the output updates at once. Each operation does one thing, and a recipe chains them. Search the operation list for the name you need.
Operations to Learn First
- From Base64 and To Base64.
- From Hex and To Hex.
- URL Decode.
- Extract IP addresses and Extract URLs, for pulling indicators out of a long report.
- Defang URL, which makes a malicious link safe to paste into a ticket.
- Magic, which guesses the encoding for you.
Worked Example: Encoded PowerShell
Attackers often run PowerShell with -EncodedCommand followed by a long string. That string is Base64 of text in UTF-16. In CyberChef, add From Base64, then Decode text and choose UTF-16LE. The command appears in plain text, and you can see what it downloads or runs. Seeing such a command in a Sysmon process-creation event is a common SOC task.
Safe Habits
- Decode only; do not run what you decode.
- Use the offline copy for company data.
- Save useful recipes in your notes so you can reuse them.
Where It Fits
CyberChef helps in phishing analysis, malware analysis and forensics. It supports the log and triage work in our SOC, Splunk, Wazuh and DFIR course.
Sources and Further Reading
Want to triage real encoded alerts in a supervised lab? Book free trial classes. Contact us or call +91 86868 92922.
Courses Mentioned in This Guide
More Guides
YARA Rules for Beginners: Examples and Cheat Sheet
YARA rules examples and cheat sheet: write a rule with strings and conditions, scan files and folders, tune false positives and hunt malware.
Read the guide →Incident Response Steps Explained: From Alert to Lessons Learned
The incident response lifecycle explained: preparation, detection and analysis, containment, eradication, recovery and lessons learned, plus DFIR evidence basics.
Read the guide →Sysmon for Beginners: Install, Config and Event IDs
Install Sysmon on a Windows lab VM, apply a config, and read the key events for process creation, network connections and DNS, with PowerShell commands.
Read the guide →What Is a SIEM? Explained for Beginners
What a SIEM does: collect logs, normalize, correlate and alert. Examples such as Splunk, Wazuh and Sentinel, use cases, limits and how to practice.
Read the guide →Start Your Cyber Security Career
Talk to a counselor, choose the right course for your goals, and get the fee, syllabus and next batch dates in writing.
- Call+91 86868 92922
Open 7 days: Mon to Fri 8:30 AM to 8:30 PM IST
Sat and Sun 10 AM to 6 PM IST - Emailinfo@hackingtrainer.com
- VisitGround Floor, G-3, Sri Venkatasai Nest, Kallu Compound Road, Nagarjuna Nagar Colony, Yella Reddy Guda, Ameerpet, Hyderabad – 500073
Open in Google Maps