Security Threats and Vulnerabilities

Learn about malware, attacks to the network, social engineering attacks from scratch.

Malware

Malware can be very problematic that can lock access of files and demand money to pay. It happened to many police office. They had to pay Money to the malware software created to get back the access of the data.

Reference: https://www.youtube.com/playlist?list=PL0bbor_qrUHjy81QzEs0n63duuhQUdr8W

3 Main areas of Malware are:

  • Nuisance Adds, Spyware and Marketing
  • Remote Access / Keyloggers : Get in to our system and steal password
  • Remote Attacks / DDos: Use our machine as a botnet and do remote attack against some 3rd party application

Adware

Malware that is installed on an infected machine to deliver ads. Use Malwarebytes Anti-Malware software to prevent Adware.

Virus

Malicious code that require user interaction to install and replicate.

Spyware

Malicious software that capture user activity and reports back. ( keystrokes, web browsing activity etc.)

Trojan

Seemingly friendly software that contains hidden malicious software. Normally, it comes from Remote Access Tools (RAT).

Rootkits

Malicious code that install itself at the OS or Kernel level to avoid detection. They load before OS load while bootup. So anti-virus can not detect it. Kasper Sky Lab TDSSKiller it can scan boot sector, services and drivers. It is free.

Backdoor

Software that installs for the purpose of opening ports and installing additional software. Backdoor can steal passwords. Full access to the system.

Logic Bomb

Malicious code that triggers after a period of time based on some date or specific activity. Normally in backup files or codes they hide. An employee who wants to destroy company by installing logic bomb that triggers after he gets fired.

Botnet

Malicious code that infects large numbers of hosts for the purpose of launching large scale attacks on specific targets.

A botnet refers to a group of computers which have been infected by malware and have come under the control of a malicious actor.

Command and Control (C&C) servers can control thousands of bots( zombies ) for massive DDoS attacks.

They can target Military, Google, Amazon, Yahoo etc.

Ransomware

Malicious applications that scare or scam users into taking some type of action. Typically paying the creator for removal.

Polymorphic Malware

Malware that changes on each install to avoid detection like changing ports, destination IP addresses etc.

Armored Virus

Malicious code that is designed to avoid, detection and analysis ( Encryption, obfuscation, additional useless code, etc. )

Types of Attacks to the Network

4 Categories of attacks:

  • Denial of Service: DDoS
  • Traffic Capture: Sniffers
  • Password Crack: Brute force
  • DNS & Host File: Website Spoofing

Here is the list of all attacks:

  • Man-in-The-Middle
  • Replay
  • DDoS
  • DoS
  • Smurf Attack: Broad-cast ping request from victim machine to large number of pcs.
  • Spoofing: Masquerading as another using their IP address used in DDoS
  • Spam: using DDoS attacks spam email server
  • Phishing: Email contains malicious links looks like original ebay or amazon.
  • Spim: SPAM over instant messaging

  • Vishing: Voice Phishing

  • Spear Phishing: Targeted & Focused phishing campaign
  • Xmas Attack: Scan of a host to determine what type of system it is. NMap initiates Xmas Attack and creates xmas flags.

    NMap software if u give ip address of router then it will give all details of your machine.

  • Pharming: Redirecting a website’s traffic somewhere else.
    If attacker modify DNS Server to redirect the site to Hacker server. Also called as DNS Poising and ARP Poising

    If attacker modify Client PC to redirect the site to Hacker server.

  • DNS Poisoning and ARP Poisoning
  • Privilege Escalation: Obtaining elevated privileges
  • Malicious Insider Threat: Hard to guard this one. Threats from internal employees. They can do logic bomb etc.
  • Transitive Access: Hard to guard this one. Granted by virtue of being granted access to intermediatory component. If A trusts B and B trusts C then A trusts C by nature of transitivity.

  • Client-Side attacks: Attack initiated by client machine. Firewall can not guard against this attack. Layered defences can only save us from client-side attacks. Something like WAF web application firewall on the PC and stop this attack.

  • Password attacks: Attempting to crack password.

    • Brute Force: keep trying the password till you crack.
    • Dictionary Attacks: use tools like Crack to get possible password.
    • Hybrid: brute force attack combined with dictionary attack.
    • Birthday Attacks: Try all combination of alphanumeric value to get the hash value that match with user’s password hash value.

    • Rainbow Tables: Precomputed cryptographic hash that gives you large list of hashes to try.
    • Typo Squatting/URL Hijacking: Hackers register domain names with wrong spelling and fool user. Example: Google, Googel, Googgle etc. They just get tons of traffic and they can route them to other site and earn money from them.
    • Watering Hole Attack: Attackers plant malware on the Less secure website where user of targeted company frequently go.

Man In Middle

Hacker can use Packet sniffing software (WIRESHARK) to intrude the connection. Get the sender and receiver server information. He can get access to the website as Alice or Bob.

{: .full}

Replay

Sniffing the wired network. Capture packet and put them back in the connection in the network. If you don’t get packet on sequence or delay then it is an alert for replay or man in middle attack.

DDoS

Large scale attack against a target. Botnet is Army of a Zombie

DoS

Similar type of attack but on much smaller scale.

DDoS attack from China to USA

Social Engineering Attacks (Important Topic)

  • Shoulder surfing: A person sitting side to you and get your pin
  • Dumpster diving: Stealing personal info from dustbin
  • Tailgating:
  • Impersonating:
  • Hoaxes: An email looks genuine on click install virus.
  • Whaling: A fake company that can steal your money
  • Vishing: A phone call take your personal/company information.

Reasons for Social Engineering Attacks

  • Intimidation
  • Consensus or Social proof
  • Familiarity/Liking
  • Trust
  • Scarcity or Urgency

Wifi Scams

  • Rogue access points: Hacker put their WAP and do malicious activity.

  • War Driving

  • Bluejacking: Sending vCard to someone’s phone.
  • Bluesnarfing: Get data from someone’s phone
  • IV attacks: Initialization Vector Attacks. Hackers can easily cracked encryptions WEP 24 bit encryption data.
  • Packet Sniffing: Someone can use tools (like WIRESHARK) to read data from the network’s packets. You can look source, destination, protocol, and the actual query, data etc.

  • NFC (Near Field Communication): Allow to communicate between 2 phone with 2-3 inch near.

  • WPS (Wifi Protected Setup) attack: Router pin is compromised.

  • WEP/WPA attacks

Application Attacks

  • Cross-site scripting (XSS): technique to hijack sessions. Browser will run the malicious code because it was served from the server it trust.

  • Cross-site Request Forgery (XSRF)

Hacker can manipulate the header of the packet. Here server will run the malicious code because it trust the client. You can use VPN or SSL/TLS to prevent XSRF attack.

  • XSS vs XSRF

  • SQL injection

Add malicious sql code into the data stream that is running on SQL server. Throw error to crash app, or get info about tables in SQL.

  • LDAP injection

LDAP is used to authenticate users. Pass a malicious LDAP query to the webserver that will execute in LDAP server and return additional data.

Therefore, sanitize the input value coming from client in webserver before executing to protect this attack.

  • XML injection

Inject xml query to alter the path or query of resource. Make a $harmless query in the .ini file present in the server.

Fuzzing used by application to detect security holes.

  • Directory traversal/command injection

Inject ./ or ../ to navigate to other directories.

  • Buffer overflow

  • Integer overflow

  • Zero-day

    This are the virus that are not yet fixed by antivirus softwares. Zero-day attack can’t be stopped by anti-virus. Stuxnet attack was using 4 zero-day attack. Google, Microsoft, big private companies, government companies, hackers company they all buy and horde zero-day exploits.

  • Cookies and attachments EverCookies don’t delete ever and they track user’s browsing habits.

  • LSO (locally shared objects)

Flash Cookies don’t delete ever and they track user’s browsing habits.

  • Flash Cookies

  • Malicious add-ons

  • Session hijacking

  • Header manipulation

  • Arbitrary code execution/remote code execution

Monitoring and Hardening servers and applications

You want to maintain CIA Triad. Your system is secure, users can access to the data they need and make sure that access is secure.

  • Monitoring System Logs

    • Event Logs
    • Audit Logs
    • Security Logs
    • Access Logs
  • Hardening servers and applications

    • Disabling unnecessary services
    • Protecting management interfaces and applications
    • Password protection
    • Disabling unnecessary accounts
  • Network Security

    • MAC limiting and filtering
    • 802.1x
    • Disabling unused interfaces and unused application service ports
    • Rogue machine detection
  • Security Posture

    • Initial baseline configuration
    • Continuos security monitoring
    • Remediation
  • Reporting

    • Alarms
    • Alerts
    • Trends
  • Detection controls vs Prevention controls

    • IDS ( Intrusion Detection Systems ) vs IPS (Intrusion Prevention Systems)
    • Camera vs. guard

Network Security

Defending the perimeter of our network!

Security Posture

Reporting

Reporting is required to avoid the false alarms.

Detection controls vs Prevention controls

  • IDS: Log alerts, events, analyze it is reactive.
  • IPS: New platform, enable prevention, automatically shut down the port.

Discovering Security Threats and Vulnerabilities

  • Security Assessment Tools
  • Risk Assessment Tools
  • Assessment Types
  • Assessment Techniques

Security Assessment Tools

All of the tools produce lot of results. How to interpreted the data produced by these tools.

  • Protocol Analyzer
  • Vulnerability Scanner
  • Honeypots
  • Honeynets
  • Port Scanner
  • Passive vs. Active Tools
  • Banner Grabbing

Protocol Analyzer

It is known as packet sniffer. It can get layer-2,3 information. Capture package you can save it or analyze it.

  • Wireshark
  • Netmon (Microsoft)
  • Retina

Vulnerability Scanner

Scan entire network, segment of network or specific host.

  • Nmap
  • Nessus
  • Retina
  • SAINT

Honeypots & Honeynets

You create a trap for hacker and let them do their business. Meanwhile you can identify them learn hacker’s techniques, tools etc.

Port Scanner

NMap is a port scanner tool, it can search for open ports. There are 65,536 ports available. Common ports are:

  • HTTP = 80
  • FTP = 21 and 22
  • SMTP = 58
  • SMTP = 25
  • DNS = 53
  • SSL = 443

Telnet and Netcat are used to know what services are running on the specific ports. Hacker can crack that specific service or application.

Passive vs. Active Tools

Passive Tools: Don’t interact directly with host, just monitor traffic and see what host is doing. Active Tools: It is visible to the host and admin. Here you interact with host and get info out of the host. ( Honeypots/honeynets, Port scanner, banner grabbing, penetration testing)

Risk Assessment Tools

Threat vs Likelihood. Business owner has to find out the risk of tolerance.

  • AV = Asset Value
  • EF = Exposure Factor
  • ALE ( Annual Loss Expectancy ) : How much monitory loss u can expect in a year. ALE = SLE x ARO
  • SLE ( Single Loss Expectancy ) : How much monitory loss u can expect at anytime. SLE = AV x EF
  • ARO ( Annualized Rate of Occurrence ) : Probability of the server failure during the year.

Example: If your business Annual Loss = 121K , Fixing cost = 500K Would you do fix or bear loss? For Amazon they will fix it because they are obsessed of customer and you care for them and don’t let your business down that will impact your customer.

Assessment Types

  • Risk
  • Threat
  • Vulnerability

Assessment Technique

  • Baseline reporting
  • Code review
  • Determine attack surface
  • Review Architecture
  • Review Design

Determine attack surface

Attack Surface Reduction (ASR) has the goal of mitigating risk.

Penetration testing vs Vulnerability Scanning

Penetration Testing (Pen Testing): Attacking a computer system with the intention of finding it’s weaknesses and security vulnerability. This is a intrusive test. So business has to sign off for penetration testing. It could bring servers down and business may be impacted.

Penetration testing

  • Bypass security control
    • XSS attacks
    • IP or MAC Spoofing : Check switch are only allowing few IP’s.
    • MiTM attacks
    • Protocol Analyzer or Packet Sniffers
  • Actively Test security controls
    • This is a intrusive test. So business has to sign off for this test. It could bring servers down and business may be impacted.
  • Exploiting Vulnerabilities
    • Nessus and Metasploit tool can be used to find missing patches and security misconfigurations.

Vulnerability Scanning

It is a non-intrusive testing and it does not impact business.

Intrusive vs Non-intrusive Security Testing

Different Types of Testing

  • False Positive
  • Black Box
    • tester has no prior knowledge of network or environment.
      • use fuzzing technique
      • use injection attack
  • White Box
    • full knowledge of network or environment
    • done by internal employee
  • Grey Box
    • some knowledge, no access of documents, but they know where to go and test

Things to Remember

  • Take Business consent for Vulnerability or Penetrating Testing
  • Review company guidelines and rules of engagement
  • Make sure You have skills and background to do Pen testing. This is very expensive test. If you make mistake and did detail testing or deep scan it will shut down network and environment.

Thanks for reading my article till end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.

💖 Say 👋 to me!
Rupesh Tiwari
Founder of Fullstack Master
Email: rupesh.tiwari.info@gmail.com
Website: RupeshTiwari.com

Recent Posts

Mandatory Algorithms for Coding Interview

3 minute read

Basic algorithms that you must know if you want to crack your coding interview. In case you are starting to prepare for coding practice then make sure you...

How to improve Reliability in the cloud?

9 minute read

Did you get a phone call from your customer saying they want to improve their application reliability while you move their workload to the cloud? If yes t...

What is EBIT and EBITDA in Finance?

4 minute read

EBITDA and EBIT is a very fundamental financial term that is nowadays mostly considered during the cloud adoption phase for IT companies. If your company ...

Introduction to CAP Theorem

5 minute read

Are you planning to design your next advanced distributed architecture? Make sure you are aware of the concepts such as high availability, consistency and...

What is Azure Virtual Machine Scale Sets

3 minute read

Now a days distributed architecture is common. We deploy our services into many different servers to scale them up and meet our demand. However, managing ...

Introduction of Managed Identities

3 minute read

Do you have situations where a process is trying to use your virtual machine in the cloud and you want to protect and control the access? Do you want to u...

Introduction to MSAL

1 minute read

If you have any project that you want to integrate with Azure Active Directory and secure your app. Then you must try using Microsoft Authentication Libra...

Site Recovery Strategy in Azure

2 minute read

Learn the failover and failback stages in Site Recovery on Azure. Learn Business Continuity and Disaster Recovery (BCDR) strategy in Azure.

Azure Active Directory Basics

3 minute read

Securing your workload and datacenter over the cloud is very challenging. You want your resources to be protected by both machines and users. Azure Active...

Where to Store Application Data in Azure

4 minute read

Data is very essential and now a days data is everything. So you have application in cloud and want to explore which type of data where to store in Azure....

What to use to Run applications in Azure

12 minute read

Learn what service from Azure you should use while creating your application in Azure. This article has quick short answer for when to use what in Azure s...

Virtualization Basics with VMware

9 minute read

Virtualization is the single concept that now-a-days cloud service providers are using at massive scale and delivering IT technologies such as storage, co...

Azure Network Watcher Basics

3 minute read

Azure Network Watcher is a monitoring service with lots of other important services for network. Most network diagnostics issues can be detected and analy...

Symmetric and Asymmetric Encryption Basics

1 minute read

Why do you care about encryption strategies? Well if you are planning to become system administrator or solution architect then you must know how you woul...

Getting Started with Monorepo with Nx Nrwl

31 minute read

Do you have a lot of JavaScript projects using GitHub repositories? How are you managing dependencies among those projects? Developers might be struggling...

Learn how to secure your Network

1 minute read

If you want to become Cloud Security Architect you must have basics of Networking. This article will discuss all fundamental concepts of networking. Learn...

Azure Storage Account Basics

5 minute read

When you want to move your business to cloud the major thing to consider is storage. What kind of data you can store? What is the pricing? How can you opt...

Azure Monitoring Basics

3 minute read

Azure Monitor is the central service that can help you to improve performance of your application and dependencies. In this article I will go through the ...

Definitions that you should know

15 minute read

When I started learning Azure being a webdev and software architect background. I came across many IT lingo, jargons, abbrebiations that I did know about ...

Configuring Azure Blob Storage

5 minute read

Blob Storage is helpful to upload images, videos, documents, pdfs etc. over the Azure cloud. In order to create new Azure Blob Storage. You must need to c...

Azure Routing and Peering Basics

4 minute read

Azure architects must aware of fundamentals of routing and peering. In this article we will see fundamentals as well as we will see some examples of routi...

Creating Azure Storage Account

7 minute read

Azure Storage account is a resource in Azure. Storage Account will give your group of services like Blob Service, File Service, Table Service, Queue Servi...

Azure VNet Basics

3 minute read

Azure VNet is the fundamental unit of networking in Azure Cloud. You must know the basics of VNet. In this article we will explore Azure VNet.

Azure Storage Replications Basics

less than 1 minute read

LRS (locally redundant storage) ZRS (zone redundant storage) GRS (geographically redundant storage) RA GRS (read-access geographically redundant storage) GZR...

Monitoring Containers with Azure Monitor

4 minute read

Did you know you can containerize your asp.net MVC with docker application and upload to Azure Container Registry and host them using Azure Kubernetes Clu...

TCP vs Http difference

2 minute read

TCP: is a transport-layer protocol, and HTTP is an application-layer protocol that runs over TCP.

Visualize Azure Monitor Logs and Metrics

2 minute read

Azure portal is great while visualizing Azure log and metrics. You can see the pie chart, graph for resources like VMs etc. You can also create your custo...

Creating ngShow directive in Angular 11

1 minute read

Are you wondering how to use ng-show in Angular 11? There is a way to achieve it by using [hidden]= “false”. However, if you are migrating large angularjs...

Azure Cost Management & Billing Basics

2 minute read

For entire azure resources even across subscriptions if you want to know about your billing, invoice, budget, alerts, recommendations then you must go to ...

Azure Advisor Basics

2 minute read

Azure Advisor collects recommendations from all of the services within your subscription and display them in a single page. Example you can see recommenda...

Azure Security Center Basics

3 minute read

Azure Security Center is the base infrastructure service to collect logs analyze them and generate tailored recommendations. Learn how can you review and ...

Configuring Azure Diagnostics Log

4 minute read

​This article will teach you t​he how to configure and implement diagnostics log for Azure resources. This article will help you to prepare for az-303: Mi...

Webhook for Beginners

4 minute read

Webbooks are basically user defined HTTP callbacks which are triggered by specific events. Whenever that trigger event occurs in the source site, the webh...

Topologies Azure Service Bus

7 minute read

Azure Service Bus is a transport layer comprises of messaging entities. Learn what is Topology in messaging world and how N-Service bus makes life easy by...

How to Install Scoop on windows

3 minute read

Do you love open-source? Do you want to make your PowerShell really powerful? Consider installing scoop and make your life simple! 😄 Learn how can scoop h...

How to Install Scoop on windows

3 minute read

Do you love open-source? Do you want to make your PowerShell really powerful? Consider installing scoop and make your life simple! 😄 Learn how can scoop h...

Binary Search Concept

5 minute read

Do you want to understand binary search? Read this article, I have discussed binary search problems in JavaScript.

Discuss Azure Fundamental Concepts

5 minute read

Did you know your company can take advantage of using many Azure cloud computing which will help your company to reduce its overall computing costs? Did y...

Caching Dependencies on GitHub Workflows

5 minute read

While building/compiling angular or node application on Local Build Machine or Azure Pipelines or GitHub Workflows or Netflix or Heroku. The main issue we...

Azure Information Protection Strategy

2 minute read

Azure Information Protection (AIP) is a cloud-based solution that enables organizations to classify and protect documents and emails by applying labels.

Azure Load Balancer Basics

3 minute read

Azure Load Balancer evenly distributes incoming network traffic load among backend resources or servers. It works at layer 4 (Transport Layer) of OSI (Ope...

Azure Information Protection Strategy

2 minute read

Azure Information Protection (AIP) is a cloud-based solution that enables organizations to classify and protect documents and emails by applying labels.

Azure Developer Associate Exam Basics

2 minute read

In order to become Azure Developer Associate you must pass AZ-204 exam. If you want to become Cloud Solution Architect then consider giving Microsoft AZ-2...

Introduction to Azure Fundamentals

12 minute read

Can you describe basic concepts of cloud computing? Is Azure right solution for your business needs? How can you create your Azure subscription today? I w...

PowerShell Random Notes for You!

4 minute read

Learn some important built-in very helpful methods in Powershell. It could be a quick note for you so don’t forget to bookmark this article! 🥇

Hosting N-Service Bus in Azure Functions

5 minute read

Have you tried to host NServiceBus within Azure Functions? In this article I will teach you how can you host your first NServiceBus project within Azure F...

What is Subnet and Why Subnet is Required?

5 minute read

When I was learning Azure Infrastructure, I had big question in my mind what is subnet and why do I need Subnet in my network? If you share my question th...

What is Subnet and Why Subnet is Required?

3 minute read

When I was learning Azure Infrastructure, I had big question in my mind what is subnet and why do I need Subnet in my network? If you share my question th...

CRUD with Cosmos DB using Dotnet Core SDK

9 minute read

Do you want to create dotnet csharp console app and write CRUD ( Create, Read, Update and Delete ) operations over Azure Cosmos DB noSQL data? Read this a...

What is Azure Resource Manager or ARM?

5 minute read

Did you know you can create and deploy Azure resources using JSON template? Did you also know that you can enforce business compliances on your resources?...

Make Your PowerShell Posh & Colorful

3 minute read

Do you want to make your PowerShell prompt colorful? Please read this article to make your PowerShell Terminal colorful and Git supported. I will use oh-m...

What is Azure Resource Manager or ARM?

5 minute read

Did you know you can create and deploy Azure resources using JSON template? Did you also know that you can enforce business compliances on your resources?...

Azure Sandbox Free Account for Learning

2 minute read

Do you want to learn Azure and afraid of being charged your credit card or getting big bills? Learn this article where I will explain how you can get free...

Isolated Process Models for Workers

1 minute read

.Net running on-process till .Net Core 3.1 & .Net isolated workers are coming on .Net 6 onwards & you can deploy Azure Function Apps in production...

Azure Functions Basics

9 minute read

Are you beginner on Azure Functions and want to learn the basics of Azure Functions? Did you know you can create Azure Functions and publish to Azure usin...

Azure Compute Resources

2 minute read

Do You want to start IT Business and you don’t have equipments? Don’t worry Azure is the solution for your business. By using Azure Compute Resources you ...

Azure Cosmos DB Basics

12 minute read

Are you beginner on Azure Cosmos DB and want to know what exactly is Cosmos DB? Then read this article. Azure Cosmos DB is a fully managed NoSQL database ...

Azure Update Domain vs Fault Domain

5 minute read

Do you know in Azure Data Center you can protect your server against regular server software maintenance outages? You can also protect your VMs on Azure a...

Angular Service as PubSub Message Handler

4 minute read

Convert Angular service to a Message Handler. Do you want to organize your Angular code base as Service Oriented Architecture (SOA) way. And you want to c...

Introduction of Azure Data Center

5 minute read

Did you know how your servers are placed in Azure Data-Center? Do you understand how Azure Data Center protects your servers against software or hardware ...

Azure DevOps Server 2020 Do’s & Don’t

4 minute read

Did you know Azure DevOps Services and Azure DevOps Server are different entities? I have learned lessons while working on Azure DevOps Server 2020 on-pre...

Scheduling Jekyll Post on GitHub Pages

2 minute read

Do you want to schedule your Jekyll blog post to be published on GitHub Pages on future date time? Then read this article. Introduction Jekyll static s...

Authenticating GIT on Development Box

1 minute read

Are you using windows machine for local development? Do you have Azure DevOp’s server git repo and want to connect from local box? Then read this article....

Running Angular 10 in Internet Explorer 11

2 minute read

Are you worried that new angular 10 project is not running in “IE11” even though you enable the given polyfills by angular team? Then please read this art...

Integrating CkEditor In Nx Monorepo

12 minute read

So you want to learn how you will integrate CkEditor v5 in Nx Monorepo. Do you also want to learn how to create custom plugin inside CkEditor v5? Then I w...

Updating Azure CI Pipeline Build Number

1 minute read

Did you have requirement to update your Angular CI build number as your new Package.json version number and Branch name? Well this is a good practice to d...

Publishing Nx Monorepo Angular App to NPM

3 minute read

Do you want to publish your nx monorepo app to npmjs.org? In this article, I will explain how can u publish your app to npmjs.org. Introduction In my m...

Creating New App with Nx Console

3 minute read

Do you want to create a new application on my nx monorepo work-space? Also do want to make sure that you should be able to build and test your application...

Branch protection in Azure DevOps

6 minute read

Protecting Master Branch from Bad Pull Requests is big challenge now a days while working in a team. You are working on git with distributed architecture. Wh...

Caching Azure CI Pipeline Artifacts

3 minute read

If you are following agile then continuous integration is must. I have setup CI/CD in Azure DevOps and I personally found my Angular build is taking lot of t...

Introduction to YAML

2 minute read

Yaml files are used in Azure Pipelines for build and release definition. Yaml files are also used in GitHub build and release. Yaml is designed to be clean a...

Type of Authentication - JWT Authentication

less than 1 minute read

As we already discussed rest of the authentication types in our previous video tutorials, JWT based authentication is best among all. It is world famous and ...

Use case vs user story

1 minute read

What is User Story A User Story is a note that captures what a user does or needs to do as part of her work. Each User Story consists of a short descripti...

Given When Then in Angular

1 minute read

In this video session Given When Then | Angular | BDD, we will teach you how to write unit tests in more readable fashion. Like Given When Then Style using J...

Add Item To Cart Use case – RxJS

1 minute read

In our previous demo session Creating Store Using RxJS | Angular | Demo we have written base code for our Cart Store. Now we will add methods to it, based on...

Creating Store Using RxJS in Angular - Demo

1 minute read

In this video session Creating Store Using RxJS | Angular | Demo we will create our Cart store and it is nothing but just a wrapper on top of state, so it be...

Handling Server Side HTTP Error

1 minute read

As we discussed in our previous video session Designing Shopping Page Using Angular Material Grid And Card | 0009-26, our web app is now growing as we are ad...

how to create mock object in jasmine

less than 1 minute read

While writing test in jasmine you will encounter a situation where you want to create a mock object & also you want to spy it's property. Jasmine cre...

Saving User data in MongoDB - Demo

1 minute read

In this video session Saving User To MongoDB | Mongoose | Demo | 0009-22 we will explain how to save user data in mongo db and how to validate user at server...

Up coming Full Stack Master Courses

less than 1 minute read

[advanced_iframe securitykey=”” src=”https://gumroad.com/fullstackmaster/p/up-coming-full-stack-master-courses” id=”” name=”” width=”100%” height=”1500px” m...

Integrating Restful API in Angular App - Demo

less than 1 minute read

In our previous demos session we have created our server and restful API and tested API with postman also. Next we will try to integrate this Restful API in ...

Products page & Lazy Loaded Module - Demo

less than 1 minute read

In continuity of our demo session Creating Products Module | Lazy loaded module | Angular | 0009-09 we will see how to create Products page for our app keepi...

Introduction to angular material - Demo

1 minute read

As you begin learning of coding basics, one important thing which makes your learning process easier and practical is availability of code. Most of the onlin...

An Introduction to MEAN Stack

1 minute read

MEAN is an acronym for MongoDB, ExpressJS, AngularJS and Node.js. From client to server to database, MEAN is full stack JavaScript framework, ideal for build...

This Keyword - Essential JavaScript Concepts

1 minute read

‘This’ keyword is widely used in almost all programming languages. Like in some programming languages This variable points to instance of an object or class....

Use Existing provider practical example

1 minute read

As we know UseExisting provider configures the Injector to return a value of another UseExisting token. Through this provider, we can use already existing in...

What is multi True provider in angular?

1 minute read

Multi: true means that one provider token provides an array of elements. Using multi: true we tell Angular that the provider is a multi provider. This is use...

Types of Providers -UseFactory Provider

1 minute read

UseFactory provider configures the Injector to return a value by invoking a UseFactory function. It is basically a function which follows factory design patt...

Types of Providers -UseValue Provider

1 minute read

UseValue provider configures the Injector to return a value for a token. It comes in that category of providers where we do not have unique thing to identify...

Types of Providers -UseExisting Provider

1 minute read

UseExisting provider configures the Injector to return a value of another UseExisting token. Through this provider, we can use already existing instance or o...

Types of Providers -UseClass Provider

1 minute read

Class Provider configures the Injector to return an instance of useClass for a token. It is similar to type provider but it has different way of providing co...

What’s new in Angular 8.0?

2 minute read

Angular 8.0.0 is here! Is there any breaking changes in Angular 8? No, Angular 8 is released now! As Angular team had promised they have not introduced break...

Unit Testing RxJS with Marble Diagrams

1 minute read

Unit Testing RxJS with Marble Diagrams Welcome to Unit Testing RxJS with Marble Diagrams course excercise material portal. Please watch Uni...

What is the Scope of Dependency in Angular?

1 minute read

Scope of Dependency in Angular is very important concept to understand for a full stack developer. This is primarily asked question by interviewer in many di...

How Injectors are inherited in angular?

less than 1 minute read

As we know, one must configure an injector with a provider, or it won't know how to create the dependency. The most obvious way for an injector to create an ...

What is Injection Token and Where to use it?

less than 1 minute read

We cannot simply ignore the shortcomings like Interface, Array (bunch of objects) cannot be used as DI Token in angular. There can be possibility where we ne...

What is DI Token

1 minute read

When we think of learning Dependency Injection in Angular, couple of questions arises like How this DI concept works in Angular? What are all the important ...

Benefits of Components based application

less than 1 minute read

Due to its component based architecture, angular has capability to protect our code for future. It is basically making our code future ready as each componen...

Component based Architecture in Angular

less than 1 minute read

One of the main architectural principles in Angular is that an application should be composed of well encapsulated, loosely coupled components. In this sessi...

Angular Hierarchical Dependency Injection

less than 1 minute read

In 0008-7- angular: Hierarchical Dependency Injection video session, you will see how Angular hierarchical dependency injection system works. You will discov...

Working of Dependency Injector or Container

less than 1 minute read

Dependency Injection Container or Injector is basically a static or global thing which is being used throughout the app to inject dependencies or objects. It...

Dependency Injection Types

less than 1 minute read

Basically there are three types of dependency injection, Depending on the context we can choose any type which is being supported by that framework. Three ty...

What is Dependency Injection?

1 minute read

Wikipedia Definition: Dependency injection is a technique whereby one object (or static method) supplies the dependencies of another object. A dependency is ...

Get started with Angular

1 minute read

Are you preparing for Angular interview? Not sure from where to start? Well we do have answers to all your angular related queries. We will help you to list ...

Tricks to build Interview-winning Resume

1 minute read

Along with choosing right template, best resume format, putting educational qualifications etc, the most important component required in an interview-winning...

How to do Html Form Validation using RxJS

1 minute read

Did you know you can use RxJS simple operators and do html form validation re-actively? Well I learn RxJS operators by implementing them in real world proje...

Why Express.JS with Typescript

2 minute read

I love Typescript the way it helps development speed and accuracy. I wanted to work with Typescript, Webpack and Express.JS finally came up with a project w...

Model in Domain Driven Design

2 minute read

Model in Domain Driven Design is a system of abstraction that eliminates things which are not required. Domain Model allows us to think about a particular do...

Webpack assets run time dependency injection

less than 1 minute read

How to Inject Base Assets path URL dependency to webpack CSS bundle? In your JavaScript project build by webpack, if you have requirement where at the build ...

Dependency Injection in React Core

2 minute read

Dependency Injection In Software Engineering Dependency Injection is a technique where one object injects or passes the dependency object to other object at ...

Decorators in Typescript and Angular

5 minute read

Decorator is a concept in Typescript that can be used to annotate a class or it's members. Decorator also enables meta programming where one can collect as ...

Creating Typescript Library using Webpack

4 minute read

Loading... In this article we will see how can you create your own typescript library that you can easily consume in your another typescript project. ...

RxJS Marble Diagrams

4 minute read

RxJS Marble Diagrams are made to visualize the values emitted from the RxJS Observable over timeline.</p> Hi in this article I will explain why we need...

Establishing Goals

5 minute read

In this article we are going to talk about. What goals are ? How to set Goals ? What makes really good goal ? Organize your life goal Sort out your lif...

Understanding JavaScript Scope

2 minute read

What is Scope in JavaScript Imagine Scope as a boundary within that things can be isolated. Like in your colony there are certain areas which has stuffs that...

Create Barrel for Typescript Project

2 minute read

When you create your own Typescript  library then you need a barrel file where you put all of your files that you want to expose to the outside world kind of...

Domain Driven Design Philosophy

3 minute read

Eric Even wrote Domain Driven Design (DDD) book. Eric says DDD is the Philosophy of software design that helps projects dealing with complex problem. I ...

Integrate GitHub-Pages in Angular 6 App

2 minute read

What is GhPages Do you want to save time to create post or article while writing software code ? Or do you want to see your angular app live running in the i...

My Pluralsight Course

less than 1 minute read

Hi everyone, I am very excited to announce that I became an author in Pluralsight.com and my first course on Unit Testing with RxJS Marble Diagram is going t...

My YouTube Channel

less than 1 minute read

Hi everyone, I started my FullstackMaster YouTube channel where I want to put some technical learning stuffs. I started putting RxJS videos over there. I hop...

Introduction to Multi Cloud and Strategy

8 minute read

Cloud itself is complex so why are customers bothering about multi-cloud at all? Why not just take google cloud and deploy all of your workload and be hap...

JavaScript Module Pattern

less than 1 minute read

I recently wrote one article on JavaScript Module pattern in Code project. Please visit this website and suggest me your thoughts on it... Javascript Module ...

How to use VLOOKUP in Microsoft Excel

3 minute read

Today, I learned about one Excel Sheet Formula "VLOOKUP". It is very useful formula that gives us the power to search a value in a particular column.   ...

Knockout Getting Started

7 minute read

I came through an open source JavaScript named as “Knockout.js”. After learning this javascript functionality and features. I found it very powerful, wh...

Basics of jQuery

less than 1 minute read

I took session on jQuery. It was nice experience to talk in front of my colleagues. First time I took session where some of my colleagues joined on phone als...

Restoring Scroll Position

1 minute read

Suppose you are searching for a product in a shopping website and you got a big set of results. It normally comes in a grid view with a long scroll bar. Some...

Assembly Binding Log Viewer

2 minute read

My Friend was looking for one error that he was continuously getting when he was trying to setup my old version 1.0 .net code. The error message was: Th...

Dynamically Adding UserControls

6 minute read

From last 4 days, I have been struggling on how I should load the UserControl dynamically in my default page. I know in today’s world where .Net 4.0 came up...

Dependency Injection Patterns

6 minute read

In order to make the application more loosely coupled we should use interfaces. In Dependency injection pattern there exist a class called as asse...

Microsoft contributions to jQuery Plugins

4 minute read

Almost 3 years ago Scottgu announced that Microsoft would begin offering product support for jQuery. Now Microsoft is playing a great role on contri...

Menu Widget

1 minute read

I was trying to make my own menu widget using jQuery and  I came with this below Widget. [sourcecode language="javascript"] //Menu Widget created by Rup...

Local Alias pattern

2 minute read

In any jQuery Plugin there JavaScript local alias pattern is being used as a best practice. They have localized the global jQuery object as an alias $. ...

Internet Explorer 8 - new features

2 minute read

Hi all,</p> I recently installed Internet Explorer 8 in my laptop and wondering many new features about the IE8. I was enjoying the good and...

jTip: jQuery Custom Tool Tip

1 minute read

Plethora of times it is required to show complex tool tip. Complex, I mean the tool tip that can contain images, links , text decoration etc...To show the cu...

Creating Custom jQuery Widget

less than 1 minute read

Hi I just came across a greate website http://bililite.com/blog/understanding-jquery-ui-widgets-a-tutorial/ There I learned how to create custom jQuery widge...

Prototypal Inheritance in JavaScript

4 minute read

There is a great article written by Douglas Crockford. I recommend everybody to read this article. By using Prototypal inheritance technique, we can create t...