Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Azure Function as a Reverse Proxy (for C2 ;) )

Using this project as a template for setting up C2 redirector as an Azure Function.

The folder azurefunction contains the code for the Azure Function.

Configuration settings are in the beginning of function_app.py as Python vars.

Local testing (running from ./azurefunction folder) with the func command, what is part of the Azure Functions Core Tools suite:

func start

Pushing it to prod (function app should be created as ):

func azure functionapp publish <appname>

Then the app can be accessed at [.]azurewebsites[.]net.

At target https[:]//TARGETHOST[:]TARGETPORT running an Nginx as local redirector is recommended.

Here is a compatible nginx config provided in this repo: nginx/redirector.conf.

The configured secret key restricts access of the C2 servers only from the Azure Function endpoint.

About

Azure Function as a Reverse Proxy (e.g. for C2 ;) )

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages