Blog Archive

Tuesday, December 1, 2026

NPRC JOURNAL OF CYBER SECURITY (Volume-3)

 Volume-3  System, Application, and Cloud Security.

System Security 

  • Operating system security concepts.
  • Authentication and authorization mechanisms.
  • Access control models (DAC, MAC, RBAC).
  • Secure boot and trusted computing.
Application Security
  • Secure software development lifecycle (SSDLC).
  • OWASP Top 10 Vulnerabilities.
  • Code injection and buffer overflow attacks.
  • Secure coding practices.
Cloud Security
  • Cloud security challenges and threats.
  • Cloud service models and security(Iaas, Paas, Saas ).
  • IoT security issues and countermeasures.

System Security:

Operating System Security Concepts:
-Operating System Security Concepts refers to the technique and principles used to protect an Operating System (Such as Windows, Linux, and MacOS) from unauthorized access, attacks, and data loss. The goal is to ensure that the system remains secure, reliable, and trustworthy.
-OS security ensures confidentiality, integrity, and availability.
-Key concepts:
  • user authentication
  • Process isolation
  • Memory protection
  • File system security
-Example : Windows/Linux permission system prevents unauthorized access.

Authentication and Authorization :
Authentication: 
-Authentication is the process of verifying the identity of a user or system (password, biometrics).
-It answers: "Who are you?"
Authorization:
-Authorization is the process of determining what an authenticated user is allowed to do.
-Grant access rights.
-It answers: "What can you do?"
Types:
-Single-factor
-Multi-factor (MFA)
Example: Login with passwords +OTP

Access Control Models:
DAC (Discretionary Access Models):
-DAC is an access control model where the owner of a resource (like a file or folder) decides who can access it.
-Owner controls access.
-Example: 
  • In an operating system.
  • You create a file
  • You decide who can read, write, or edit it.
  • Like sharing a google Drive file with specific people.
MAC(Mandatory Access Control):
- MAC is a secret access control model where a central authority/system decides access rights.
-Example : 
  • Military or government systems.
  • A user with "Confidential" clearance cannot access "Top Secret" data.
  • Access is enforced by the system, not the user.
RBAC (Role Based Access Control):
-RBAC assigns access permission based on user roles.
-Example:
  • In a company system:
  • Admin --> Full access
  • Manager --> Limited control
  • Employee --> Basic access
Secured Boot and Trusted Computing:
-Secure boot is a security features that ensures a system boots only with trusted and verified software.
-It only protects the system from malicious code during startup.
-How it works:
  • When you turn on your computer, the firmware checks each components of the boot process.
  • Only digitally signed (trusted) software is allowed to run 
  • If something is untrusted -----> it is blocked
-Example:
  • In system running Windows and Linux:
  • Bootloader must be signed
  • If a hacker installs a rootkit ----> Secure Boot prevents it from loading.

Application Security:

SSDLC integrates security in development phases:
  • Planning
  • Design
  • Development 
  • Testing
  • Deployment
Goal : Build secure software from the beginning. 

OWASPO Top 10 Vulnerabilities:
  1. A01:2025 - Broken Access Control
  2. A02:2025 - Security Misconfiguration
  3. A03:2025 - Software Supply Chain Failures
  4. A04:2025 - Cryptographic Failures
  5. A05:2025 - Injection
  6. A06:2025 - Insure Design
  7. A07:2025 - Authentication Failures
  8. A08:2025 - Software or Data Integrity Failures
  9. A09:2025 - Security Logging and Alerting Failures
  10. A10:2025 - Mishandling of Exceptional Conditions



Code Injection and Buffer overflow:
Code Injection : Malicious code inserted into program.
Buffer Overflow: Exceeding memory limits.
Example:
  • SQL Injection
  • Stack overflow attack
Secure Coding Practices:
- Secure Coding Practices are guidelines and techniques used by developers to write software that is protected from vulnerabilities and attacks. The goal is to prevent security issues during development, not after deployment.
- Best practices:
  • Input validation
  • Error Handling
  • Use secure libraries
  • Avoid Hardcoded Passwords
  • Goal: Reduce Vulnerabilities

Cloud Security:

-Cloud Security is the set of technologies, policies, control, and practices designed to protect data, applications, and infrastructure that are hosted in cloud environments.
-In simple words, Cloud security means keeping your data and systems safe when they are stored and accessed over stored and accessed over the internet (cloud) instead of your own computer or server.
-Challenges:
  • Data breaches
  • Data loss
  • Misconfiguration
  • Insecure APIs
  • Account Hijacking
  • Denial of Service (DoS) Attacks
  • Insider Threats
Cloud Service Model:
-IaaS: Infrastructure (VMs)
-PaaS: Platform (Development tools)
-SaaS: Software (app like gmail)
Security responsibility differs in each model.

IoT Securities Issues and Countermeasures:
-IoT security issues are the risks and vulnerabilities that affects smart devices connected to the internet (like smart TVs, cameras, sensors, smart homes), making them targets for cyberattacks.
-Major IoT Security issues:
  • Weak Passwords and Authentication
  • Lack of updates
  • Lack of Encryption
  • Data privacy risks
  • Insecure Network Services
-Countermeasures:
  • Strong Authentication and Passwords
  • Data Encryption
  • Regular software updates
  • Device Authentication and Authorization
  • Secure firmware
  • Network Security

Sunday, November 29, 2026

NPRC JOURNAL OF CYBERSECURITY (VOLUME 2)

 Volume : 2 Cyber Threats and Attack Technique

  • Malware:viruses, worms, trojans, spyware, ransomware 
  • Phishing, spear phishing ,whaling attacks
  • Password attacks: bruise force, dictionary, rainbow tables
  • Social Engineering attacks
  • Web-based attacks: SQL injection, XSS,CSRF
  • Denial od Service(DoS) and Distributed DoS(DDoS) attacks
  • Insider threats.
  • Man-in-the-Middle (MITM) Attacks
Introduction to Malware:
-Definition: Short for "Malicious software". Code designed to infiltrate, damage, or disable computers and networks.
-Types:
  • Viruses: Attaches to a clean file and spreads when the file is opened needs human actions.
  • Worms: Self-replicating. The spread across networks without needing to attach to a file or human intervention.
  • Trojans: Disguised as legitimate software. Once installed, they create "backdoors" for attackers.
  • Spyware: Secretly monitors user activity(keystrokes,browising) to steal data.
  • Ransomware: Encrypts user files and demands payment (usually in crypto) for decryption key.
Phishing and Identity Deception:
-Phishing: Bulk emails sent to thousands, hoping a few "bite" by clicking a malicious link or entering credentials.
-Spearm phishing : A targeted attack on a specific individual or department using personal details to build trust.
-Whaling: A high-level spear phishing attack targeting "big-fish" CEOs, CFOs, or senior executives.

Password Attacks:
-Brute force: A trial-and-error method where the attackers tries every possible combination of characters until they hit the right one.
-Dictionary Attack: Used a pre-defined list of common words and leaked passwords instead of random characters.
-Rainbow Tables: A more sophisticated attack using pre-computed "hashes" of passwords to crack them instantly.

Social Engineering Attacks:
-The "Human Hack." Manipulating people into giving up confidential information.
-Common Tactics:
-Pretexting: Leaving a malware-infected USB drive in a public place(parking lot, lobby)
-Tailgating: Following an authorised person into a secure physical building.

Web based Attacks:
-SQL injection(SQLi): Inserting malicious SQL code into an input field to manipulate a database(e.g., bypassing login screens)
 SELECT* FROM users WHERE username='ram' AND password='123'
-Cross-Site Scripting(XSS):  Injection malicious scripts into trusted websites that then run in. theviction's browser.
<script>alert('Hacked')</scripts>
When another user  opens that page, the script runs in their browser.
-Cross-site Request Forgery(CSRF):In CSRF, the attackers tricks the user into performing an unwanted action using their login sessions.It papers as if the user perform the action themselves , but in reality the attacker caused it.
-Simple example
You are logged into a bank websites.
The attacker sent a link like:
http://bank.com/transfer?amount=1000&to=hacker
If you click on it , money gets transferred from your account because you were already logged in.


Denial of Service(DoS & DDoS):
-DoS(Denial of Service): An attack from a single source intended top overwhelm a server with traffic, making it crash.
-DDoS(Distributed Denial of Service ): An attack from multiple compromised devices(a Botnet) attacking a single target simultaneously.
-Analog:Think of DoS as one person yelling at a shopkeeper; a DDoS is a crowd of 10,000 people flooding the store so no real customers can enter.


Insider Threats:
-The "Enemy Within": Threats originating from employees, contractors, or business partners,
-Categories:
  • Malicious Insider: Purposefully steals data for profit or revenge.
  • Negligent Insider: Causes a breach by mistake(e.g., losing a laptop, clicking a phishing link).
  • Compromised Insider: An innocent user whose credentials were stolen by an outside attacker.

Man-in-the-Middle(MITM) Attacks:
MITM attacks intercept communications between two parties, allowing the attackers to eavesdrop, modify, or even still data.



Author:  Saurabh Adhikari