Back to Course

CompTIA Security+ SY0-601 Course

0% Complete
0/0 Steps
  1. About the course and exam
    About the course and certification
  2. About the course author
  3. Pre-requisites
  4. Tools and tips to help you study more efficiently
  5. Study techniques that will help you pass
  6. What surprised me the most about the exam
  7. Domain 1: Threats, Attacks, and Vulnerabilities
    About threats, attacks, and vulnerabilities
  8. 1.1: Compare and contrast social engineering techniques
    What is social engineering?
  9. Principles
  10. Spam
  11. Blocking and Managing Spam
  12. Phishing
  13. Smishing
  14. Vishing
  15. Spear Phishing
  16. Whaling
  17. Impersonation
  18. Dumpster diving
  19. Shoulder surfing
  20. Pharming
  21. Tailgating
  22. Eliciting information
  23. Prepending
  24. Identity fraud
  25. Invoice scams
  26. Credentials harvesting
  27. Reconnaissance
  28. Hoax
  29. Watering hole attack
  30. Typo squatting and URL hijacking
  31. Influence campaigns
  32. Hybrid warfare
  33. Practical knowledge check
  34. 1.2: Analyze potential indicators to determine the type of attack
    What is malware?
  35. Malware classification
  36. Virus
  37. Worms
  38. Backdoor
  39. Trojans
  40. Remote Access Trojan (RAT)
  41. Ransomware and Crypto Malware
  42. How does ransomware work?
  43. Potentially unwanted programs (PUPs)
  44. Spyware
  45. Adware and Malvertising
  46. Keyloggers
  47. Fileless malware
  48. Logic bombs
  49. Rootkit
  50. Bots and Botnets
  51. Command and control
  52. What are password attacks?
  53. Plaintext, encrypted, and hashed passwords
  54. Brute force
  55. Dictionary attacks
  56. Spraying attacks
  57. Rainbow and hash tables
  58. Credential stuffing
  59. What are physical attacks?
  60. Malicious universal serial bus (USB) cable
  61. Malicious flash drive
  62. Card cloning
  63. Skimming
  64. What is adversarial AI and tainted training for ML?
  65. Supply-chain attacks
  66. Cloud-based vs. on-premises attacks
  67. Cryptography concepts
  68. Cryptographic attacks
  69. Quiz: 1.2
    3 Quizzes
  70. 1.3: Analyze potential indicators associated with application attacks
    Privilege escalation
  71. Improper input handling
  72. Improper error handling
  73. Cross-Site Scripting (XSS)
  74. Structured Query Language (SQL) injections
  75. Dynamic Link Library (DLL) Injections
  76. Lightweight directory access protocol (LDAP) Injections
  77. Extensible Markup Language (XML) and XPATH Injections
  78. XXE Injections
  79. Directory traversal
  80. Request forgeries (server-side, client-side, and cross-site)
  81. Application Programming Interface (API) attacks
  82. Secure Sockets Layer (SSL) stripping
  83. Replay attacks (session replays)
  84. Pass the hash
  85. Race conditions (time of check and time of use)
  86. Resource exhaustion
  87. Memory leak
  88. Pointer/object dereference
  89. Integer overflow
  90. Buffer overflows
  91. Driver manipulation (shimming and refactoring)
  92. Quiz 1.3
    2 Quizzes
  93. 1.4: Analyze potential indicators of network attacks
    What are wireless attacks?
  94. Distributed Denial of Service (DDoS)
  95. Rogue access point and Evil Twin
  96. Bluesnarfing and Bluejacking
  97. Disassociation and Jamming
  98. Radio Frequency Identifier (RFID) attacks
  99. Near Field Communication (NFC)
  100. Initialization Vector (IV)
  101. Man in the middle (on-path)
  102. Man in the browser (on-path browser)
  103. What are layer 2 attacks?
  104. Address resolution protocol (ARP)
  105. Media access control (MAC) flooding
  106. MAC cloning
  107. What are Domain Name System (DNS) attacks and defenses?
  108. Domain hijacking
  109. DNS poisoning
  110. Universal resource locator (URL) redirection
  111. Domain reputation
  112. Quiz 1.4
    1 Quiz
  113. 1.5: Explain threat actors, vectors, and intelligence sources
    What are actors and threats?
  114. Attributes of actors
  115. Vectors
  116. Insider threats
  117. State actors
  118. Hacktivists
  119. Script kiddies
  120. Hackers (white hat, black hat, gray hat)
  121. Criminal syndicates
  122. Advanced persistent threats (APTs)
  123. Shadow IT
  124. Competitors
  125. Threat intelligence sources (OSINT and others)
  126. Using threat intelligence
  127. Research sources
  128. Quiz 1.5
    1 Quiz
  129. 1.6: Security concerns associated with various vulnerabilities
    Cloud-based vs. on-premises vulnerabilities
  130. Zero-day vulnerabilities
  131. Weak configurations
  132. Weak encryption, hashing, and digital signatures
  133. Third-party risks
  134. Improper or weak patch management
  135. Legacy platforms
  136. Impacts
  137. Quiz 1.6
    1 Quiz
  138. 1.7: Summarizing techniques used in security assessments
    Threat hunting
  139. Vulnerability scans
  140. Security information and event management (SIEM) and Syslog
  141. Security orchestration, automation, and response (SOAR)
  142. Quiz 1.7
    1 Quiz
  143. 1.8: Explaining techniques used in penetration testing
    Important pentesting concepts
  144. Bug bounties
  145. Exercise types (red, blue, white, and purple teams)
  146. Passive and active reconnaissance
  147. Quiz 1.8
    1 Quiz
  148. Domain 2: Architecture and Design
    About architecture and design
  149. 2.1: Explaining the importance of security concepts in an enterprise environment
    Configuration management
  150. Data sovereignty
  151. Data protection
  152. Hardware security module (HSM) and Trusted Platform Module (TPM)
  153. Geographical considerations
  154. Cloud access security broker (CASB)
  155. Response and recovery controls
  156. Secure Sockets Layer (SSL) and Transport Layer Security (TLS) inspection
  157. Hashing
  158. API considerations
  159. Site resiliency
  160. Deception and disruption
  161. Quiz 2.1
    1 Quiz
  162. 2.2: Virtualization and cloud computing concepts
    Comparing cloud models
  163. Cloud service providers
  164. Virtualization
  165. Containers
  166. Microservices and APIs
  167. Serverless architecture
  168. MSPs and MSSPs
  169. On-premises vs. off-premises
  170. Edge computing
  171. Fog computing
  172. Thin client
  173. Infrastructure as Code
  174. Services integration
  175. Resource policies
  176. Transit gateway
  177. Quiz 2.2
    1 Quiz
  178. 2.3: Secure application development, deployment, and automation concepts
    Understanding development environments
  179. Automation and scripting
  180. Version control
  181. Secure coding techniques
  182. Open Web Application Security Project (OWASP)
  183. Integrity measurement
  184. Software diversity
  185. Provisioning and deprovisioning
  186. Elasticity
  187. Scalability
  188. Quiz 2.3
    1 Quiz
  189. 2.4: Authentication and authorization design concepts
    Important authentication and authorization concepts
  190. Multifactor authentication (MFA) factors and attributes
  191. Quiz: MFA factors and attributes
    1 Quiz
  192. Authentication technologies
  193. Biometrics techniques and concepts
  194. Authentication, authorization, and accounting (AAA)
  195. Cloud vs. on-premises requirements
  196. Quiz 2.4
    1 Quiz
  197. 2.5: Implementing cybersecurity resilience
    What is redundancy?
  198. Disk redundancy (RAID levels)
  199. Network redundancy
  200. Power redundancy
  201. Replication
  202. Backup types (full, incremental, differential, and snapshot)
  203. Backup types practice scenarios
  204. Backup devices and strategies
  205. Quiz: Backup types, devices, and strategies
    1 Quiz
  206. Non-persistence
  207. Restoration order
  208. Diversity
  209. Quiz 2.5
    1 Quiz
  210. 2.6: Security implications of embedded and specialized systems
    What are embedded systems?
  211. System on a Chip (SoC)
  212. SCADA and ICS
  213. Internet of Things (IoT)
  214. Specialized systems
  215. VoIP, HVAC, Drones/AVs, MFP, RTOS, Surveillance systems
  216. Communication considerations
  217. Important constraints
  218. 2.7: Importance of physical security controls
    Bollards/barricades, Mantraps, Badges, Alarms, Signage
  219. Lighting and fencing
  220. Cameras and Closed-circuit television (CCTV)
  221. Industrial camouflage
  222. Personnel, robots, drones/UAVs
  223. Locks
  224. Different sensors
  225. Fire suppression
  226. Protected cable distribution (PCD)
  227. Secure areas (air gap, faraday cages, DMZ, etc…)
  228. Hot and cold aisles
  229. Secure data destruction
  230. USB data blocker
  231. Quiz 2.7
    1 Quiz
  232. 2.8: Basics of cryptography
    Common use cases
  233. Key length
  234. Key stretching
  235. Salting, hashing, digital signatures
  236. Perfect forward secrecy
  237. Elliptic curve cryptography
  238. Ephemeral
  239. Symmetric vs. asymmetric encryption
  240. Key exchange
  241. Cipher suites
  242. Modes of operation
  243. Lightweight cryptography and Homomorphic encryption
  244. Steganography
  245. Blockchain
  246. Quantum and post-quantum
  247. Limitations
  248. Quizzes 2.8
    2 Quizzes
  249. Domain 3: Implementation
    About implementation
  250. 3.1: Implement Secure Protocols
    Important protocols to know and use cases
  251. Important email secure protocols
  252. IPsec and VPN
  253. FTPS, SFTP, SCP
  254. DNSSEC
  255. SRTP and NTPsec
  256. DHCP
  257. SNMP and SNMPv3
  258. 3.2: Implement host or application security solutions
    Endpoint protection
  259. Self-encrypting drive (SED), full disk encryption (FDE), and file-level encryption
  260. Boot integrity
  261. Database and data security
  262. Application security
  263. Hardening hosts
  264. Sandboxing
  265. 3.3: Implement secure network designs
    DNS
  266. Load balancing
  267. Network segmentation
  268. East-West and North-South
  269. Jump servers (bastion hosts)
  270. Network Address Translation (NAT) Gateway
  271. Proxy servers
  272. Out-of-band management
  273. Virtual Private Networks (VPNs) and IPsec
  274. Network Access Control (NAC)
  275. Port security
  276. Network-based intrusion detection system (NIDS) and network-based intrusion prevention system (NIPS)
  277. Firewalls
  278. Next-Generation Firewalls
  279. Access Control List (ACL) and Security Groups (SGs)
  280. Quality of Service (QoS)
  281. Implications of IPv6
  282. Port scanning and port mirroring
  283. File integrity monitors
  284. 3.4: Install and configure wireless security settings
    Cryptographic protocols
  285. Methods
  286. Authentication protocols
  287. Installation considerations
  288. 3.5: Implement secure mobile solutions
    Connection methods and receivers
  289. Mobile deployment models
  290. Mobile device management (MDM)
  291. Mobile devices
  292. Enforcement and monitoring
  293. 3.6: Apply cybersecurity solutions to the cloud
    Cloud security controls
  294. Secure cloud storage
  295. Secure cloud networking
  296. Secure cloud compute resources
  297. Secure cloud solutions
  298. 3.7: Implement identity and account management controls
    Understanding identity
  299. Account types to consider
  300. Account policies to consider
  301. 3.8: Implement authentication and authorization solutions
    Authentication management
  302. Authentication protocols and considerations
  303. Extensible Authentication Protocol (EAP)
  304. RADIUS and TACACS+
  305. Kerberos, LDAP, and NTLM
  306. Federated Identities
  307. Access control schemes
  308. Recap notes from this section
  309. 3.9: Implement public key infrastructure
    What is public key infrastructure?
  310. Types of certificates
  311. Certificate formats
  312. Important concepts
  313. 4.0: Operations and Incident Response
    About operations and incident response
  314. 4.1: Use the appropriate tools to assess organizational security
    Network reconnaissance and discovery part 1
  315. Network reconnaissance and discovery part 2
  316. File manipulation
  317. Shell and script environments
  318. Packet capture and replay
  319. Forensics tools
  320. Exploitation frameworks
  321. Password crackers
  322. Data sanitization
  323. 4.2: Policies, processes, and procedures for incident response
    Incident response plans
  324. Incident response process
  325. Important exercises
  326. Important attack frameworks
  327. BCP, COOP, and DRP
  328. Incident response team and stakeholder management
  329. Retention policies
  330. 4.3: Using appropriate data sources to support investigations after an incident
    Vulnerability scan outputs
  331. SIEM dashboards
  332. Log files
  333. Syslog, rsyslog, syslog-ng
  334. Journald and journalctl
  335. NXLog
  336. Bandwidth and network monitors
  337. Important and useful metadata
  338. 4.4: Applying mitigation techniques or controls to secure environments during an incident
    Reconfiguring endpoint security solutions
  339. Configuration changes
  340. Isolation, containment, and segmentation
  341. Secure Orchestration, Automation, and Response (SOAR)
  342. 4.5: Key aspects of digital forensics
    Documentation and evidence
  343. E-discovery, data recovery, and non-repudiation
  344. Integrity and preservation of information
  345. Acquisition
  346. On-premises vs. cloud
  347. Strategic intelligence and counterintelligence
  348. Domain 5: Governance, Risk, and Compliance
    About governance, risk and compliance
  349. 5.1: Compare and contrast various types of controls
    Categories
  350. Control types
  351. 5.2: Applicable regulations, standards, or frameworks that impact organizational security posture
    Regulations, standards, and legislation
  352. Key frameworks to know about
  353. Benchmarks and secure configuration guides
  354. 5.3: Importance of policies to organizational security
    Personnel
  355. User training
  356. Third-party risk management
  357. Data
  358. Credential policies
  359. Organizational policies
  360. 5.4 Risk management processes and concepts
    Types of risks
  361. Risk management strategies
  362. Risk analysis
  363. Disasters
  364. Business impact analysis
  365. 5.5: Privacy and sensitive data concepts in relation to security
    Organizational consequences of privacy breaches
  366. Notifications of breaches
  367. Data types
  368. Privacy enhancing technologies
  369. Roles and responsibilities
  370. Course Recap and Next Steps
    Looking for the practice exams?
  371. Receiving your Certificate of Completion
Lesson 39 of 371
In Progress

Trojans

Christophe November 29, 2021

If you’ve ever heard the story of the Trojan War, the Trojan Horse was a wooden horse used by the Greeks to enter the city of Troy and win the war.

It is said that the city of Troy was so well defended, that the Greeks simply couldn’t penetrate its walls. As a last-ditch effort, the Greek army came up with a clever trick. They were going to build a large wooden horse as a supposed peace gift, and then pretend to have retreated via their ships. When the Trojans saw the horse and saw that the Greeks had left, they brought the horse within their walls and had a long night of celebrations.

After most of the city fell asleep, Greek soldiers hidden and stuffed within the wooden horse broke out, opened the city gates, and signaled to the rest of the hidden Greek army. Within hours, the Greek army had control of the city.

It turns out that this is a mythical story, but the meaning of the Trojan Horse has extended far beyond this story.

In cybersecurity, it’s used to describe a form of malware that pretends to be something harmless, when in reality, it’s designed to take over control of your devices.

Examples of trojan horses

For example, an attacker could build a trojan horse to look like an image file or video file. The unsuspecting victim, thinking they were receiving a legitimate image, would open the file, which would trigger the hidden malware to execute.

Trojan horses don’t always have to be completely fake, however. For example, someone may be offering a premium application for free that you can download via torrents. Also known as a cracked application. Someone goes to download that application, and when they open the application, maybe it functions properly. However, they may not realize that a piece of malware also executed and silently took control of their device.

This could also happen with fake video downloads of movies, online courses, or even “PDF downloads” of books, to name just a few examples.

Impact of trojan horses

This type of malware is typically designed to:

  • Steal information from a device (ie: harvest credentials)
  • Monitor what gets typed on your keyboard
  • Take over control of your peripherals, such as your keyboard, mouse, webcam, etc…
  • Install additional malware, such as ransomware
  • and more, which we’ll explore in other lessons

So trojan malware is typically used to gain access to a device through deception, and only then do something else.

Important concepts

In fact, important concepts to keep in mind with Trojans are:

  1. A Trojan is a form of malware that disguises itself
  2. Trojans are usually “door openers” — meaning that they give an attacker access to the device in order to then do something else
  3. Trojans are not considered viruses, because they do not self-replicate

Defenses against trojans

What are effective defenses? They’re similar to what we’ve already mentioned:

  • Ensure you have up-to-date defensive software — for example, make sure you keep Windows Defender updated
  • Don’t blindly open files from complete strangers — especially if the file extension looks odd (for example, if an image file has a .exe file extension)
  • Be very careful what you download from the Internet in general
  • Be on the lookout for social engineering attacks that we covered in the prior section, and which will oftentimes be used to try and get you to download and open trojans

Case studies

As we wrap up this lesson, let’s a quick look at some examples of real-world trojans.

Qbot

According to RedCanary.com, Qbot is one of the top-most seen trojans currently in the wild, and it is considered a banking trojan that focuses on stealing user data and banking credentials. So at its core, it’s a credentials harvester. But, over time, additional functionality has been added.

It now also adds something called command and control (aka C2 or C&C) which we will talk about later. It’s also added anti-analysis features. It has the ability to move laterally within an environment in order to spread further, and it’s now also added the ability to execute ransomware.

The most common way that this trojan gains initial entry is through phishing.

If you’re interested, this article also outlines detection opportunities, although this gets a little bit more technical and is beyond the scope of this course, so I’ll leave that up to you.

Emotet

One more example we’ll look at is the Emotet trojan. Despite having what I think is a pretty cool name, it’s actually a really nasty piece of software. Emotet is primarily known for delivering follow-on payloads. What I mean by that is Emotet is designed to function as a downloader or dropper of other malware. Once it’s been executed on a device, it will then download, or “drop” additional malicious software onto that device, including (but not limited to) that Qbot trojan we talked about previously, TrickBot (which is another trojan), or even the famous Ryuk ransomware.

Conclusion

As you can see, some of the most common trojans nowadays focus on harvesting credentials, enabling the attacker to deploy ransomware, or even on turning devices into bots.

The credentials can then be used to steal funds from bank or crypto accounts, they can be sold on the dark web, or they can be used to further exploit a corporate network.

Whereas ransomware is designed to prevent organizations from accessing their data and systems, and then demanding a monetary reward.

Bots, as we’ll talk about in an upcoming lesson, can then be controlled by the attacker.

Either way, trojans have been around for a long time, and they’ll continue to be around, because they are effective ways of spreading additional malware.

Responses

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.