Hello and welcome to Command Line
Basics. This video we're to learn
Windows that commands three.
I'm Chris Helen.
And let's begin.
So we're learning objectives for
this video. We're going to learn the
next that command, understand the
FTP Command and lendee
command reassessment.
You need to access the command line
for another terminal.
What is the best command for this
sub? A Telnet B,
ftp, c.
S, A, C or D
net?
The answer is C ss h.
As we learned in the links videos,
the SS H is the secure shell
and it will automatically encrypt
access to a terminal.
And this is what we need to use if
we are accessing a terminal
over the wire over the network.
So automatically encrypted
and it will not allow anybody to
just listen to the section so they
can't hear everything that's going
on. The TELMA command is insecure
by default and it should not be used
on production systems.
FTP is insecure
by default as well, but it
is not even access to the command
line. It is a file transfer
protocol so we can transfer files
back and forth.
And the net command is used for
a whole slew of different windows
commands, but not necessarily
command line for another terminal.
The next step, this is network
statistics, very similar
to the Linux stack, where
it will display all the active
connections on the machine.
And with that it can be
used to effectively identify
malware as well.
Where if we have a specific
connection to some crazy
Chinese IP address that
overreport that we've never used,
that's usually a very strong
indication that there may be some
malware on the machine and
it would be worth investigation.
So let's go over to my command
prompt and I'm going to type in
that step.
And I wouldn't be too alarmed if you
see a whole slew of
connections, because it's not
uncommon for
a lot of programs to be talking
on a lot of different addresses.
As we can see out of one foreign
address coming across is using the
TCP protocol.
And this is my local machine.
This is the port, the high
number, some real port and
is going to this fifty to one forty
one to seventeen one twenty five
IP address over
which is port four for three.
We see it is established so it is up
and running.
We have the FTP protocol
and this is used to list
download, upload files from the
command line and it's very useful to
transfer these files between two
separate machines over the network
and it is worth noting that is
insecure by default.
So if you do need to
run FTP and transfer files
over the command line, I highly,
highly recommend using either FTP
for secure file transfer protocol
or tunneled the FTP.
That way it stays protected
and nobody can just kind of
sniff the packets from
the wire and steal the information
that you're transferring.
Let's go in my command prompt.
I have my shift workstation
up and I have
a FTP and NH
server. Right.
So I'm going to go up until I find
this and we're going to do FTP
and for the user to do
sans forensics
and then the password
and we can see it, we are logged in
and then we've got the FTP command
prompt some type help to see what
kind of different information we can
do and wait to see what
is available.
We have the LS Command, so that's
the Linux list and then
we can either put or get
files from the server.
And what it does is it will put
files from your local machine
onto the remote server and
get we'll get the remote
files from the remote server and
put them on your local machine.
So if I do this really quick, you
can see I have all these different
files on this remote machine
that I can use, but I
just want to quit.
And we're going to learn about the
age from the Windows command line as
well.
So SSA secure Schill,
same exact protocol.
As for Linux, it
is just used to securely access
a terminal across
the network.
It is using encrypted communications
and it does have certificates for
these very strong types of
encryption to protect any kind
of network access.
So it is worth mentioning that
you should use as a sage and then
the username that you're going to
connect as with the ET and
then the IP address or the computer
name that you're connecting to.
So let's go back to my command
prompt and I'm going
to use S.H.
Sans Forensic's at the
IP address of my shift workstation
hit Enter. It's going to ask me for
my password.
You already know my password from
the. Previous videos as well,
and I am SASE
into this machine,
so I can do less and we can see
all of the information from my
Linux machine that I'm connected to
right now and we can do
just like anything else we are
doing.
Do you name
all the information about the
system? And it's
almost exactly like if we were
sitting directly there at the
command prompt at that physical
machine.
All right, post assessment, what
does FTP stand for, a
free trade protocol, B,
file transfer protocol, C,
field, take Proctor or D,
file trading protocol.
The answer is B, file transfer
protocol. FTP is a very useful
protocol to transfer these
files across a network between two
machines and is something
you should be familiar with and
should be exposed to.
It is not free trade protocol field
take propter or file trading
protocol is simply the file
transfer protocol.
Or so in this video we learned the
nets that come in and how we can use
it to identify any processes
that should not be speaking
across the network, understood the
FTP command and how we can use to
transfer information and
we learned the SS age come in and
how similar it is to the Linux
command and how we can use it from
the Windows command line.
And I hope to see you in the next
video.