Monday, January 27, 2020

FTP file uploading using a Macbook and an AWS EC2 Windows Server

Here I show how to use a Macbook to transfer files via FTP in the cloud between virtual windows machines running on AWS EC2 instances. We will also use a remote desktop connection to control our Windows VM.

You need to setup a few things to get this to work:

1. Instantiate an AWS EC2 Windows Server.

2. Next we install and configure Microsoft Remote Desktop ("MRD") which is the portal we use on our Mac to access our remote instance of Windows on the AWS cloud.

3. Once we are in the AWS EC2 cloud instance of Windows we install Filezilla and log in with the hostname, username and password of our FTP server.

Once we are in logged into our Filezilla FTP client in the cloud the file transfer process becomes very straightforward. On the left is the folder with files and sub-folders that we have access to from our Filezilla FTP server. On the right bottom window we have our remote Windows FTP client. As you see once we double click on trees.jpg and click "send" we then see it on the right and get a confirmation message that our file arrived successfully at our FTP server.


Here we have additional confirmation of receipt of our file to the FTP server. The FTP files are being sent to a folder called "FTP" on the Local Disk (C:). Below you can see the file below was indeed sent through as a clean .jpg when we check our FTP folder. This method can be used to send any type of file and we can setup Filezilla on our local machine or in the cloud as in this example.

No comments:

Post a Comment

Automated Exploitation of a Bluetooth vulnerability that leads to 0-click code execution

This blog post covers an interesting vulnerability that was just discovered earlier this year and an open source free tool that was created ...