Thursday 5 October 2023

[Solved] 0x64C(1612) : The installation source for this product is not available. Verify that the source exists and that you can access it.

When attempting an upgrade to newer version, uninstalling or repair, you may receive an error with an exit code of 1603, 1612,  0x8024002D (-2145124307), 0X80240022 (-2145124318).

The error code 1612 is the most useful in determining the underlying reason. When you run CMTrace.exe, it will deliver the results of an error lookup. "The installation source for this product is not available. Verify that the source exists and that you can access it."

Wednesday 4 October 2023

Free Microsoft Azure Courses - Udemy

Here is a collection of free Microsoft azure courses on Udemy:
  1. AZ-900 Microsoft Azure Fundamentals - Udemy Course Link
    • Microsoft Azure is one of the best cloud and currently leading in the market. This course is first step to get familiar with Microsoft Azure Cloud for everyone.
    • If you are willing to learn Microsoft Azure Cloud and want to learn it with step be step hands on, then this course is for you.

Friday 29 September 2023

Learn Jenkins | For Beginners | DevOps | Software Developers


Jenkins is an open-source automation server. It facilitates in the automation of software development components such as building, testing, and deploying, enabling for continuous integration and delivery. It is a server-side programme that runs on servlet containers such as Apache Tomcat. Below are some of the free training videos to learn and share:

Learn
Learn and Practice
  1. Jenkins Tutorial – How to Deploy a Test Server with Docker + Linux (Full Course)
  2. Live DevOps Project for Resume - Jenkins CICD with GitHub Integration
  3. JENKINS PIPELINE FROM SCRATCH | Declerative | Checkout and Build | REAL-TIME
  4. CICD Pipeline Using Git-Hub, Jenkins, Docker and Kubernetes on AWS and GCP
  5. CICD pipeline for Java application to deploy on kubernetes cluster using Jenkins | Devops Project
  6. CI CD Pipeline Using Jenkins | Continuous Integration and Deployment | Intellipaat
  7. Mega Real-time End to End DevOps CI/CD Project | Git | Jenkins | Nexus | SonarQube | HandsOn Lab - I
  8. DevOps Project Part-1 | Setting up CI-CD Pipeline for an E-Commerce App | DevOps Training | Edureka
  9. DevOps Project Part-2 | Setting up CI-CD Pipeline for an E-Commerce App | DevOps Training | Edureka
  10. Jenkins CI/CD Workflow Implementation with Real-time Project Part 1
  11. DevOps-Projects - YouTube Playlist

Learn and share with your friends!

Thursday 28 September 2023

2023 October - Free Cybersecurity Trainings

Free Cybersecurity Courses
  1. Certified in Cybersecurity℠ - CC by ICS2: https://www.isc2.org/Certifications/CC
  2. Cybersecurity Essentials by Cisco Academy: https://www.netacad.com/courses/cybersecurity/cybersecurity-essentials
  3. Networking Essentials by Cisco Academy: https://www.netacad.com/courses/networking/networking-essentials
  4. Intro to Information Security by Udacity: https://www.udacity.com/course/intro-to-information-security--ud459
  5. Network Security by Udacity: https://www.udacity.com/course/network-security--ud199
  6. NSE 1,2 & 3 by Fortinet: https://training.fortinet.com/
  7. Information Security by OpenLearn: https://www.open.edu/openlearn/science-maths-technology/information-security
  8. Network Security by OpenLearn: https://www.open.edu/openlearn/digital-computing/network-security
  9. Risk Management by Open Learn: https://www.open.edu/openlearn/money-business/risk-management
  10. Introduction to Cybersecurity by Cisco Academy: https://www.netacad.com/courses/cybersecurity/introduction-cybersecurity
  11. CCNA Security Courses by various platforms: https://digitaldefynd.com/best-network-security-courses/?redirccnasecurity/
  12. Network Defense Essentials (NDE) by EC Council: https://codered.eccouncil.org/course/network-defense-essentials
  13. Ethical Hacking Essentials (EHE) by EC Council: https://codered.eccouncil.org/course/ethical-hacking-essentials
  14. Digital Forensics Essentials (DFE) by EC Council: https://codered.eccouncil.org/course/digital-forensics-essentials
  15. Dark Web, Anonymity, and Cryptocurrency by EC Council: https://codered.eccouncil.org/course/introduction-to-dark-web-anonymity-and-cryptocurrency
  16. Digital Forensics by Open Learn: https://www.open.edu/openlearn/science-maths-technology/digital-forensics
  17. AWS Cloud Certifications (Cybersecurity) : https://explore.skillbuilder.aws/learn/signin
  18. Microsoft Learn for Azure: https://learn.microsoft.com/en-us/training/azure/
  19. Google Cloud Training: https://cloud.google.com/learn/training
  20. Android Bug Bounty Hunting: Hunt Like a Rat: https://codered.eccouncil.org/course/android-bug-bounty-hunting-hunt-like-a-rat
  21. Vulnerability Management: https://www.qualys.com/training/
  22. Software Security: https://www.classcentral.com/course/software-security-1728
  23. Developing Secure Software: https://training.linuxfoundation.org/training/developing-secure-software-lfd121/
  24. PortSwigger Web Hacking: https://portswigger.net/web-security
  25. RedTeaming: https://taggartinstitute.org/p/responsible-red-teaming
  26. Splunk: https://www.splunk.com/en_us/training/free-courses/overview.html
  27. Secure Software Development: https://training.linuxfoundation.org/training/developing-secure-software-lfd121/
  28. Maryland Software Security: Free Course: Software Security from University of Maryland, College Park | Class Central
  29. Stanford Cyber Resiliency: https://www.classcentral.com/classroom/youtube-stanford-seminar-engineering-cyber-resiliency-a-pragmatic-approach-110018
  30. Cyber Threat Intelligience: Cyber Threat Intelligence 101 Course (arcx.io)

Wednesday 20 September 2023

[Solved] Add-WindowsCapability failed. Error code = 0x800f0954

In this post, we'll look at how to fix the 0x800f0954 error that may appear when installing optional Windows features such as RSAT tools, Language pack features, or any other Windows features.

Errors:

1. PowerShell Add-WindowsCapability Error:

  Add-WindowsCapability : Add-WindowsCapability failed. Error code = 0x800f0954
  At line:6 char:13
  + Add-WindowsCapability -Online -Name $langFeature
  + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      + CategoryInfo : NotSpecified: (:) [Add-WindowsCapability], COMException
      + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsCapabilityCommand


2. DISM Package Manager Error:

DISM Package Manager: PID=2628 TID=4325 Error in operation: (null) (CBS HRESULT=0x800f0954) - CCbsConUIHandler::Error 
DISM DISM Package Manager: PID=2628 TID=4561 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0954) 
DISM Package Manager: PID=2628 TID=4561 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f0954) 
DISM Package Manager: PID=2628 TID=4561 Failed to install capability. - CPackageManagerCLIHandler::ProcessCmdLine_AddCapability(hr:0x800f0954) 
DISM Package Manager: PID=2628 TID=4561 Failed while processing command add-capability. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0954) 2
DISM Package Manager processed the command line but failed. HRESULT=800F0954


Solution:

To fix 0x800f0954 error, please follow one below solutions and retry the installation.

Method 1: Local Group Policy
  • Right click on start and click Run then type gpedit.msc and hit enter.
  • Navigate to Computer Configuration > Administrative Templates > System.
  • Scroll down to find "Specify settings for optional component installation and component repair" and open the settings.
  • And select Enabled and also check the checkbox "Download repair content and optional features directly from Windows Updates instead of Windows Server Updates Services (WSUS)".
  • Go back to the PowerShell or Command Prompt window and run gpupdate /force
  • Finally rerun the Add-WindowsCapability in PowerShell or DISM command again to install the feature.


Method 2: Registry

Change WSUServer registry value to 0 and then run windows capability or DISM to directly download the components from internet. Use the following PowerShell script or use Registry GUI to do the change:


Set-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" -Name "UseWUServer" -Value 0
Restart-Service "Windows Update" -ErrorAction SilentlyContinue



Hopefully you have been able to fix the Add-WindowsCapability or DISM command failed 0x800f0954 error that so many of us have been running into.


Tuesday 19 September 2023

Cybersecurity Technologies and Projects


Cybersecurity is the activity of defending a business's data or information against online criminals. Attackers are giving up the conventional or outdated techniques of getting data from customers as the world adjusts to the new reality. They are adjusting to new technologies and techniques that can be used to steal data electronically. Cyber attackers try to get into the network and launch an attack, while cyber defenders try to block or stop the attackers from accessing their data. This is a game of cat and mouse in the world of cyber security. But instead of using physical weapons, these conflicts make use of a variety of the greatest cyber security tools. The same tool can be used in both positive and bad ways.

The significance of cybersecurity can be understood through Mimecast's study. According to the research, there has been a 26% increase in ransomware, an 88% increase in email-based spoofing, and a 67% increase in impersonation fraud.

The following is a list of cybersecurity technologies and projects that could help in resolving modern security issues:

1. NETWORK ANALYSIS
  1. Wireshark: https://www.wireshark.org
  2. pfSense: https://www.pfsense.org
  3. Arkime: https://arkime.com
  4. Snort: https://www.snort.org
  5. Suricata: https://suricata.io/

2. OS ANALYSIS
  1. Helk: https://github.com/Cyb3rWard0g/HELK
  2. Volatility: https://github.com/volatilityfoundation/volatility/
  3. RegRipper: https://github.com/keydet89/RegRipper3.0
  4. OSSEC: https://www.ossec.net
  5. osquery: https://osquery.io

3. INCIDENT MANAGEMENT
  1. TheHive: https://thehive-project.org/
  2. GRR Rapid Response: https://github.com/google/grr

4. HONEYPOTS
  1. Kippo: https://github.com/desaster/kippo
  2. Cowrie: https://github.com/cowrie/cowrie
  3. Dockpot: https://github.com/eg-cert/dockpot
  4. HonSSH: https://github.com/tnich/honssh

5. THREAT INTELLIGENCE
  1. Misp: https://www.misp-project.org/
  2. MSTICPy: https://github.com/microsoft/msticpy
  3. Threatpost: https://threatpost.com/
  4. Dark Reading: https://www.darkreading.com/
6. EDR
  1. Cortex XDR: https://www.paloaltonetworks.es/resources/datasheets/cortex-xdr
  2. Cynet 360: https://www.cynet.com/platform/
  3. FortiEDR: https://www.fortinet.com/lat/products/endpoint-security/fortiedr
  4. Xcitium: https://www.xcitium.com/free-edr/
7. SIEM
  1. OSSIM: https://cybersecurity.att.com/products/ossim
  2. Splunk: https://www.splunk.com
  3. LogRhythm: https://logrhythm.com
  4. Wazuh: https://wazuh.com
  5. Qradar: https://www.ibm.com/community/qradar/ce/

Friday 15 September 2023

PowerShell - Special Folders (System Folders)

In VBscript, there existed a concept known as Special Folders, for example, My Documents which could be accessed using the Shell. Application object and passing in a constant that applied to a certain folder. This is also possible using PowerShell.



$a = New-Object -ComObject Shell.Application
Get-ChildItem $a.NameSpace(0x21).Self.Path

The prior two lines of code can also be written as follows: 

Get-ChildItem ((New-Object -ComObject Shell.Application).Namespace(0x21).Self.Path)

Below is the list of special folders and its hex number, please do comment on this post if any of them is/are wrong:

Hex Number Folder Name
0x1 Internet Explorer
0x2 Programs
0x3 Control Panel
0x4 Printers and Faxes
0x5 My Documents
0x6 Favorites
0x7 Startup
0x8 My Recent Documents
0x9 SendTo
0xa Recycle Bin
0xb Start Menu
0xd My Music
0xe My Videos
0x10 Desktop
0x11 My Computer
0x12 My Network Places
0x13 NetHood
0x14 Fonts
0x15 Templates
0x16 All Users Start Menu
0x17 All Users Programs
0x18 All Users Startup
0x18 All Users Startup
0x19 All Users Desktop
0x1a Application Data
0x1b PrintHood
0x1c Local Settings Application Data
0x20 Local Settings Temporary Internet Files
0x21 Cookies
0x22 Local Settings History
0x23 All Users Application Data
0x24 Windows
0x25 System32
0x26 Program Files
0x27 My Pictures
0x28 User Profile
0x2b Common Files
0x2e All Users Templates
0x2f Administrative Tools
0x31 Network Connections


You can also use the .NET way in PowerShell: 

[System.Environment]::GetFolderPath("<SpecialFolder>")
  • Desktop
  • Programs
  • Personal
  • MyDocuments
  • Favorites
  • Startup
  • Recent
  • SendTo
  • StartMenu
  • MyMusic
  • DesktopDirectory
  • MyComputer
  • Templates
  • ApplicationData
  • LocalApplicationData
  • InternetCache
  • Cookies
  • History
  • CommonApplicationData
  • System
  • ProgramFiles
  • MyPictures
  • CommonProgramFiles

Between the following are the possible Enumeration values and their associated numeric values, the VBScript version appears to have more alternatives than the .NET version:
  •  0  Desktop 
  •  2  Programs 
  •  5  Personal 
  •  6  Favourites 
  •  7  Startup 
  •  8  Recent 
  •  9  SendTo 
  •  11 StartMenu 
  •  13 MyMusic 
  •  16 DesktopDirectory 
  •  17 MyComputer 
  •  21 Templates 
  •  26 ApplicationData 
  •  28 LocalApplicationData 
  •  32 InternetCache 
  •  33 Cookies 
  •  34 History 
  •  35 CommonApplicationData 
  •  37 System 
  •  38 ProgramFiles 
  •  39 MyPictures 
  •  43 CommonProgramFiles

Various types of SQL Databases

Data Engineers work with numerous types of SQL databases. Today, I'd like to give some information about the various categories and their real-world uses.

Types of Databases


Relational Databases (RDBMS):

They excel in structured data management, which makes them an excellent choice for transactional systems such as e-commerce platforms. Examples are SQL Server, MySQL, PostgreSQL, OracleDB.

NoSQL Databases:

They are used in power applications such as social media platforms and IoT systems, and are ideal for managing enormous volumes of unstructured or semi-structured data. Examples are MongoDB, Cassandra, DynamoDB

Columnar Databases:

Columnar databases expertise is in performing analytical queries on massive datasets. They are an essential component of data warehousing for analytics-driven organisations. Examples are Amazon Redshift, Google BigQuery

Graph Databases:

Ideal for complicated relationship scenarios such as social networks, recommendation engines, and fraud detection systems. Examples are Neo4j, Amazon Neptune


Remember that SQL is the foundation of data-driven decision-making, and comprehending these database types offers up a world of data possibilities.

FREE Cybersecurity Certifications

Here's 15 FREE courses provided by the Qualys. The cybersecurity firm Qualys focuses on providing cloud-based security and compliance so...