Hello and happy new year! Today in this short blogpost we will be looking at a very simple but effective attack called HTML Smuggling. Briefly put this technique abuses HTML5 and JavaScript functions to infilitrate or exfiltrate data across and out of the network. This would also be classified as more of a phishing attack as it would rely on human interaction if you were looking for initial access or something similar.
To get the base64 of our target PE we need to simply run the command below:
Once we have initialized that variable with our base64 output our HTML file is ready to be hosted on a webserver and sent to our victim as an HTML link. Also you will need to have the executable file you encoded in the same directory as the HTML file you are hosting on the server.
To start up a simple HTTP server to host locally use the following command:
Once the victim browsers to the server the file will automatically be downloaded to the victims machine as seen in the picture below:
:LINKS:
https://www.ired.team/offensive-security/defense-evasion/file-smuggling-with-html-and-javascript
Gemini Security - Understanding HTML Smuggling (VIDEO)
https://micahbabinski.medium.com/html-smuggling-detection-5adefebb6841

No comments:
Post a Comment