View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003771 | Kali Linux | New Tool Requests | public | 2016-12-13 01:17 | 2020-02-11 16:18 |
Reporter | TryCatchHCF | Assigned To | g0tmi1k | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | won't fix | ||
Summary | 0003771: CloakifyFactory | ||||
Description | Hi Kali Team, For your consideration: https://github.com/TryCatchHCF/Cloakify I created CloakifyFactory to share an old technique of mine with the community. There's a gap in infiltration/exfiltration tools, particularly when secure networks are involved (data blacklisting and whitelisting controls). This toolset bypasses those restrictions and other DLP alerting/blocking schemes. I wrote CloakifyFactory to be as straightforward and reliable as possible. After cloaking/decloaking, the payload is an exact hash-match of the original. I also wanted to make it a little fun. Thanks for your time and efforts. Cheers, -TryCatchHCF | ||||
Additional Information | From the GitHub Overview: CloakifyFactory transforms any filetype (e.g. .zip, .exe, .xls, etc.) into a list of harmless-looking strings. This lets you hide the file in plain sight, and transfer the file without triggering alerts. The fancy term for this is "text-based steganography", hiding data by making it look like other data. For example, you can transform a .zip file into a list of Pokemon creatures or Top 100 Websites. You then transfer the cloaked file however you choose, and then decloak the exfiltrated file back into its original form. With your payload cloaked, you can transfer data across a secure network’s perimeter without triggering alerts. You can also defeat data whitelisting controls - is there a security device that only allows IP addresses to leave or enter a network? Turn your payload into IP addresses, problem solved. Additionally, you can derail the security analyst’s review via social engineering attacks against their workflows. And as a final bonus, cloaked files defeat signature-based malware detection tools. The pre-packaged ciphers are designed to appear like harmless / ignorable lists, though some (like MD5 password hashes) are specifically meant as distracting bait. CloakifyFactory is also a great way to introduce people to crypto and steganography concepts. It's simple to use, guides the user through the process, and according to our kids is also fun! Prepackaged ciphers include lists of:
Prepackaged scripts for adding noise / entropy to your cloaked payloads:
| ||||
To help speed up the process of evaluating the tool, please make sure to include the following information (the more information you include, the more beneficial it will for us):
|
|
(Realized I'd made those replies private, reposting so others on team can view)
CloakifyFactory transforms any filetype (e.g. .zip, .exe, .xls, etc.) into a list of harmless-looking strings. This lets you hide the file in plain sight, and transfer the file without triggering alerts. For example, you can transform a .zip file into a list of Pokemon creatures or Top 100 Websites. You then transfer the cloaked file however you choose, and then decloak the exfiltrated file back into its original form. My favorite combination is to use the 'pokemonGo' cipher, then Add Noise 'prependLatLonCoords'. Move it around your DLP-protected networks. Get a copy into the SOC's hands and see what the analysts do with it. Adds color to the pentest / Red Team engagement report afterwards. With your payload cloaked, you can transfer data across a secure network’s perimeter without triggering alerts. You can also defeat data whitelisting controls - is there a security device that only allows IP addresses to leave or enter a network? Turn your payload into IP addresses, problem solved. Additionaly, you can derail the security analyst’s review via social engineering attacks against their workflows. And as a final bonus, cloaked files defeat signature-based malware detection tools. The pre-packaged ciphers are designed to appear like harmless / ignorable lists, though some (like MD5 password hashes) are specifically meant as distracting bait. CloakifyFactory is a menu-driven tool that leverages the Cloakify Toolset scripts. When you choose to Cloakify a file, the scripts first Base64-encode the payload, then apply a cipher to generate a list of strings that encodes the Base64 payload. You then transfer the file however you wish to its desired destination. Once exfiltrated, choose Decloakify with the same cipher to decode the payload. NOTE: Cloakify is not a secure encryption scheme. It's vulnerable to frequency analysis attacks. Use the 'Add Noise' option to add entropy when cloaking a payload to help degrade frequency analysis attacks. Be sure to encrypt the file prior to cloaking if secrecy is needed. The supporting scripts (cloakify.py and decloakify.py) can be used as standalone scripts. Very small, simple, clean, portable. For scenarios where infiltrating the full toolset is impractical, you can quickly type the standalone script into a target’s local shell, generate a cipher in place, and cloakify -> exfiltrate.
$ ./cloakifyFactory.py You can check the resulting cloaked files with any text editor for curiosity. Cloakify Factory will also give you the option of displaying the first 20 lines of any cloaked file (to check your results without exiting the tool or requiring a second shell). The supporting scripts can be used individually as stand-alone as well, but there aren't many operational scenarios where that would be preferable. Please let me know if you want more info, I'll get back with it ASAP. Thanks! Cheers, -TryCatchHCF |
|
This looks like its python 2 - which is EOL |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2016-12-13 01:17 | TryCatchHCF | New Issue | |
2018-01-29 14:46 | g0tmi1k | Note Added: 0008368 | |
2018-02-14 05:10 | TryCatchHCF | Note Added: 0008673 | |
2020-02-11 16:18 | g0tmi1k | Note Added: 0012244 | |
2020-02-11 16:18 | g0tmi1k | Assigned To | => g0tmi1k |
2020-02-11 16:18 | g0tmi1k | Status | new => closed |
2020-02-11 16:18 | g0tmi1k | Resolution | open => won't fix |