Workshop · T
Triage toolkit
Small questions that come up in every case: what does this blob decode to, is this address ours, is that domain pretending to be us, what is in this token.
Written for Mutant v2.6.1. Every program and output on this page is that release’s own file.
Preview. This module is not published yet: it opens once every builtin it uses has cleared review at the pinned release.
beginner
Decode and classify
Peel encodings off a payload, then sort addresses into internal and external.
Decode a payload
Currentexamples/workshop/decode_payload.mut // Workshop extra - Decode an obfuscated payload//// Malware hides commands behind layers of encoding. Peel them off with builtins.// Encoders return a string; decoders return (bytes, err). Input: none. putln("=== Decode payload ==="); // Imagine you found this base64 blob inside a script.let command = "Invoke-Mimikatz -DumpCreds";let blob = base64_encode(command);putln("found (base64):", blob); let revealed, err = base64_decode(blob);putln("decoded :", to_string(revealed)); // Every encoder/decoder composes the same way - hex, url, gzip, zlib.putln("hex('hi') :", hex_encode("hi"));let back, e2 = hex_decode("6869");putln("hex decode :", to_string(back));Output · recorded at Mutant v2.6.1 Step 1 of 4 · lines 1–4 One rule worth remembering: encoders return a string; decoders return a value and an error, because input can be malformed.
Step through to the end to continue.
Build it
LockedFinish or skip the stage above to open this one.
What a /29 is
LockedFinish or skip the stage above to open this one.
Triage addresses
LockedFinish or skip the stage above to open this one.
Check yourself
LockedFinish or skip the stage above to open this one.
intermediate
Look-alikes and tokens
Score domains for how close they are to a brand, and read a JWT without trusting it.
Spot look-alike domains
LockedFinish or skip the stage above to open this one.
Read a JWT
LockedFinish or skip the stage above to open this one.
Check yourself
LockedFinish or skip the stage above to open this one.
Run them yourself
LockedFinish or skip the stage above to open this one.