Downloads, Fingerprinting, Hacking Tools, HTTP, IDS, Obfuscation, Skyhook, vanilla

Skyhook – A Round-Trip Obfuscated HTTP File Transfer Setup Built To Bypass IDS Detections

Skyhook is a REST-driven utility used to smuggle files into and out of networks defended by IDS implementations. It comes with a pre-packaged web client that uses a blend of React, vanilla JS, and web assembly to manage file transfers.

  • Round trip file content obfuscation
  • User-configurable obfuscation chaining
  • Self-signed and Lets Encrypt certificate procurement methods
  • Embedded web applications for both configuration and file transfers.
  • Server fingerprinting resiliency techniques:
    • Encrypted loaders capable of dynamically encrypting interface files as the file transfer interface is rendered
    • API and web resource path randomization

Note: See the user documentation for more thorough discussion of Skyhook and how it functions.

Skyhook’s file transfer server seamlessly obfuscates file content with a user-configured series of obfuscation algorithms prior to writing the content to response bodies. Clients, which are configred with the same obfuscation algorithms, deobfuscate the file content prior to saving the file to disk. A file streaming technique is used to manage the HTTP transactions in a chunked manner, thus facilitating large file transfers.

<div class="js-render-enrichment-target" data-json="{"data":"flowchart\n\nsubgraph sg-cloudfront[Cloudfront CDN]\n cf-listener(443/tls)\nend\n\nsubgraph sg-vps[VPS]\n subgraph sg-skyhook[Skyhook Servers]\n admin-listener(Admin Server&lt;br&gt;45000/tls)\n transfer-listener(Transfer Server&lt;br&gt;45001/tls)\n end\n \n config-file(Config File&lt;br&gt;/var/skyroot/config.yml)\n\n admin-listener -..-&gt;|Reads &amp;&lt;br&gt;Manages| config-file\n \n webroot(Webroot&lt;br&gt;/var/skyhook/webroot)\n transfer-listener -..-&gt;|Serves From &amp;&lt;br&gt;Writes Cleartext&lt;br&gt;Files To| webroot\nend\n\n\n op-browser(Operator&lt;br&gt;Web Browser) –&gt;|Administration&lt;br&gt;Traffic| admin-listener\n op-browser &lt;–&gt;|Obfuscated&lt;br&gt;Data| transfer-listener\n\nsubgraph sg-corp[Corporate Environment]\n subgraph sg-compro mised[Beachhead Host]\n comp-browser(Web Browser) –&gt;|Reads &amp;&lt;br&gt;Writes| cleartext-file(Cleartext Files)\n end\nend\n\ncomp-browser &lt;–&gt;|Obfuscated&lt;br&gt;Data| cf-listener &lt;–&gt;|Obfuscated&lt;br&gt;Data| transfer-listener\n"}" data-plain="flowchart subgraph sg-cloudfront[Cloudfront CDN] cf-listener(443/tls) end subgraph sg-vps[VPS] subgraph sg-skyhook[Skyhook Servers] admin-listener(Admin Server
45000/tls) transfer-listener(Transfer Server
45001/tls) end config-file(Config File
/var/skyroot/config.yml) admin-listener -..->|Reads &
Manages| config-file webroot(Webroot
/var/skyhook/webroot) transfer-listener -..->|Serves From &
Writes Cleartext
Files To| webroot end op-browser(Operator
Web Browser) –>|Administration
Traffic| admin-listener op-browser |Obfuscated
Data| transfer-listener subgraph sg-corp[Corporate Environment] subgraph sg-compromised[Beachhead Host] comp-browser(Web Browser) –>|Reads &
Writes| cleartext-file(Cleartext Files) end end comp-browser |Obfuscated
Data| cf-listener |Obfuscated
Data| transfer-listener ” dir=”auto”>

flowchart

subgraph sg-cloudfront[Cloudfront CDN]
cf-listener(443/tls)
end

subgraph sg-vps[VPS]
subgraph sg-skyhook[Skyhook Servers]
admin-listener(Admin Server<br>45000/tls)
transfer-listener(Transfer Server<br>45001/tls)
end

config-file(Config File<br>/var/skyroot/config.yml)

admin-listener -..->|Reads &<br>Manages| config-file

webroot(Webroot<br>/var/skyhook/webroot)
transfer-listener -..->|Serves From &<br>Writes Cleartext<br>Files To| webroot
end

op-browser(Operator<br>Web Browser) -->|Administration<br>Traffic| admin-listener
op-browser <-->|Obfuscated<br>Data| transfer-listener

subgraph sg-corp[Corporate Environment]
subgraph sg-compromised[Beachhead Host]
comp-browser(Web Browser) -->|Reads &<b r>Writes| cleartext-file(Cleartext Files)
end
end

comp-browser <-->|Obfuscated<br>Data| cf-listener <-->|Obfuscated<br>Data| transfer-listener

For example, here is a working obfuscation configuration:

And here is the file transfer interface. Clicking “Download” results in the file being retrieved in chunks that are encrypted with the chain of obfuscation methods configured above.

JavaScript deobfuscates the file before prompting the user to save it to disk.

Below is a request stemming from a download being inspected with Burp. Key elements of the transaction are encrypted to evade detection.

Source : KitPloit – PenTest Tools!

Previous ArticleNext Article
Send this to a friend