7 hours 6 minutes
Hey, everyone, welcome back to the course. So in this video, we're to talk about Trojans, so we'll go over briefly what Trojans are. We also talk about how attacker might use Trojans.
We'll talk about the difference between droppers and rappers who will cover that at a very high level. And then we'll talk about some of the different types of Trojans as well.
So what is a Trojan?
Well, essentially, this is just malicious code that's wrapped inside of a program that looks pretty harmless, right? So if we think about the city of Troy and the Trojan horse where the soldiers hit hit inside of this giant wooden horse that looked harmless and the outside but on the inside there was that malicious code or the soldiers.
So this is all a Trojan is. It's just that malicious code that's hidden inside some kind of program that doesn't look like it's malicious.
Usually, a Trojan requires some kind of a user action to actually install it, so that could be having Joe and Accounting open that file. That invoice that you sent him via phishing email
could be having them download some software from a website telling them. It's like a security update, for example. But usually there's some kind of user action involved in that
and think that might indicate a Trojan being installed on the system. Just abnormal activity of the system. Abnormal network activity. So things like the host machine getting the anti virus or anti Mauer solution disabled
could be. Every time you go thio, try to go to your favor. Thai restaurant website. It redirects you to some other page so these aren't necessarily a Trojan, but they are an indicator that there might be a Trojan infection on the device.
Now the Trojan essentially creates a covert communication channel between that target machine and the attacker. And so that way, the attacker can exfiltrate sensitive data or install malware or escalate privileges, or do any number of objectives that they may have on their end.
So how could an attacker actually like use a Trojan like What can they do with it? Well, they might do things like deleting or replacing the operating system. Critical files. They may generate fake traffic to create a down Nile service attack. They might record screenshots of the victim or audio or video of the victim and then try to
either sell that or exploit that victim and say, Oh, I caught you doing these things
that you don't want your family to know about, So you better send me $10,000 in Bitcoin.
They could use it to spend. They basically take over the victim machine and send spam email messages so it looks like it came from that target machine and not from the actual attacker.
They could install a number of other malware things, so they install spyware at where or just other malicious files that install Ransomware. For example, they could disable the anti virus. They could disable firewalls on the host machine. They can create back doors to keep that remote access open.
They could also use the victims machine as a proxy server, so doing replay attacks,
they can use it as part of a botnet to perform DDOS attacks. They can also steal information, right, so data theft things like credit card information or your user name and password for your bank, where security codes if you're typing in, and they do this by installing those key loggers that we talked about earlier in the course,
so What is the dropper and what is a rapper? Well, the main difference here is the dropper is
what's installing that malicious code. So you think of it like a raindrop. So when the malware is installed, it's dropping like little raindrops and installing malicious code on your device,
and it's often disguised as a trusted application, and then it drops.
Female are on your device. Now the rapper
what wraps up the innocents looking software with the malicious software, right? So, for example, it could be like a game file. So you think you're installing a game so it looks like an innocent gaming file. Instead, though, the Trojan itself is wrapped with that innocent looking game file,
and now you've got an infection on your machine
because you've installed that file on your device.
So think of rappers basically like glue, right? Or like a candy wrapper. So let's say that the
the candy wrapper itself
the game software, right? So it looks regular, looks friendly. It's candy, right? Everyone loves candy, but on the inside
it's malware. It's malicious, right? And if we if we take a little health nut
kind of you on this thing, right, sugar, A lot of people say is bad, especially processed sugar, which I do agree with, but
that's not important here. What's important here is that that would be considered malware, something malicious for your body, right, even though candy makes us feel good and all that stuff. But the rapper of the Candy is that rapper that we're talking about here. It's given us that illusion that there it's a good thing. And then on the inside, though, is that little
starburst of death, right? For lack of better words, since we're using a picture of Starburst here,
Starburst of Death, which is full of that process sugar, that if we eat too much of it, it can cause different health problems.
So that's the main difference between a dropper and a rapper. So just think of candy. When you think of those, they're not a sweetest candy. They're not delicious like candy. But think of Candy and the aspect of the rapper of the Candy is the rapper that we're talking about here that's binding that malicious file with
something that we think is not malicious and then inside of that is that malicious stuff that sugar that processed sugar, which is our dropper. That's actually installing the malicious code on the device.
So where does some of the different types of Trojans will we ever command? Shell Trojans. He's basically give remote control of a command shell to the attacker. Basically, they put this command shell on the victim machine, and it opens into port back to the attacker so the attacker can connect to that port and install additional malware or just
steal data from that victim.
Then we have defacement trojans, and so resource senators allow your typical user to view edit, extract, etcetera, icons or logos or strings from Windows programs So the Attackers exploit this. And essentially, they're able to view and edit almost
any aspect of that compiled Windows program. And so again, it's just attacking that program itself to make it where the user can't use that particular application, for example, like the calculator on Windows.
Then we have our botnet trojans, and he's basically infect a large number computers across the large geographical area, hence the name but net on these air controlled, usually through command, control center, server or infrastructure on these can be launched thio. These could be used to launch many attacks. So things like denial of service or DDOS attacks
spanning attacks, click fraud, Bitcoin related attacks, Cryptocurrency mining attacks, just a lot of different types of attacks that they could be used for. One notable one from several years ago is called Chewbacca, which was stealing payment card information. We have proxy server Trojan, So basically,
infecting the victim machine and then starting a hidden proxy server on the victim's computer. And so that allows the attacker to be obfuscated in their their riel.
I p address the rial information. They're able to use that that victims device for things like details attacks right there ableto Come on, dear that infrastructure and use it to launch an attack. So it looks like it came from the victim and not the actual attacker.
We have FTP Trojans, which basically just installed on FTP server on the victim's machine, and then it opens FTP Fort Sports for the attacker, and basically the attacker connects to the victim machine using that port, and they can download any files that are on that target computer.
We have the N C. Trojans, which basically just allow the attacker to connect to the victim using any V NC viewer software. And a lot of times, anti virus may not detect this because V N. C. Is considered a utility. It's considered something that is legitimate and should be running. So it may be difficult for your antivirus solution to detect thes.
We have our http or https trojans basically these with https that's encrypted so they could go past the firewall. And essentially, what they're doing is the effect the victim machine, and then the traffic is coming from the inside. So your firewall assumes that this is a legitimate user traffic that's going out to the Internet.
And this allows the attacker to
come contact back on the command control server to send additional instructions to the victim machine or have the user machine connect to a malicious website to download additional malware. But as far as a firewall is concerned, it's legitimate traffic because it was opened on the victim machine, going out to
the Internet and not from the Internet to the victim machine,
and then we have our remote access trojans. These basically allow the attacker to get remote, gooey access to the remote system. And there's many of these out there, like the pro rat the Hell Raiser rat from years ago, Punisher Rat Pandora, rat health by rat, etcetera, etcetera. So just a quick, quick question here for you.
Skynet is an example of which type of Trojan
It's a botnet, FTP or proxy. So it's an example of botnets. So again, some of the bottle and ones of Chewbacca, Skynet as, well, a cyber gate. So in this video, we just talked about what Trojans are. We also talked about how an attacker might use a Trojan. We briefly talked about the difference between droppers and rappers. Again, Think of Candy. So think of the candy wrapper as the rapper,
and it's wrapping. That malicious software was something that looks legitimate.
And then inside of that is the dropper, which installs the malware. So that's that sugary candy on the inside, which, depending on who you talk to, could be malicious and may cause a lot of health problems.
And then we also talked about some of the different types of trojans