Information Gathering
Information Gathering
Web Servers
Web servers are software applications that accept and process requests according to the HTTP
protocol.
Generic Web Servers: These are multi-purpose applications that serve files that exist in a certain
folder on the operating system. Two most popular generic web servers are Nginx and Apache.
Custom Web Servers: These are typically programs that are purpose-built to serve a particular site.
Something like NodeJS falls into this custom category.
Reverse Proxy
In computer networks, a reverse proxy is a type of proxy server that retrieves resources on behalf of a
client from one or more servers. These resources are then returned to the client, appearing as if they
originated from the reverse proxy server itself. It is mainly used to balance load.
Load Balancing Detection
● Load Balancing Detector (lbd) [Pre-Installed on Kali]
Web Application Firewall (WAF)
A web application firewall is a specific form of application firewall that filters, monitors, and blocks
HTTP traffic to and from a web service, e.g. FortiWeb, F5, Imperva, Cloudflare, AbrArvan, Securi, etc.
Web Application Firewall (WAF) Detection
● WafW00f
● WhatWaf
Web Application Firewall (WAF) Bypass Scoring System
https://github.com/nemesida-waf/waf-bypass
Cloud Computing
Cloud refers to a network of remote servers hosted on the internet to store, manage, and process data,
rather than a local server or a personal computer. Cloud computing offers various services and resources
on-demand over the internet, allowing users to access and utilize computing resources without the need
for owning or managing physical hardware.
Cloud Service Providers
Amazon Web Services (AWS): AWS is one of the largest and most widely used cloud computing platforms, offering a
comprehensive suite of infrastructure services, platform services, and software-as-a-service offerings.
Microsoft Azure: Azure is Microsoft's cloud computing platform, providing a wide range of services, including virtual
computing, storage, databases, analytics, machine learning, and more. It's particularly popular among enterprises already
using Microsoft technologies.
Google Cloud Platform (GCP): GCP offers cloud computing services similar to AWS and Azure, including computing, storage,
machine learning, big data analytics, and more. Google's expertise in data processing and machine learning makes GCP
particularly attractive for data-intensive applications.
IBM Cloud: IBM offers a range of cloud computing services under the IBM Cloud brand, including infrastructure services,
platform services, and software-as-a-service offerings. IBM Cloud also emphasizes hybrid and multi-cloud capabilities,
allowing businesses to integrate their on-premises infrastructure with cloud environments.
Alibaba Cloud: Alibaba Cloud, also known as Aliyun, is the cloud computing arm of Alibaba Group. It offers a wide range of
cloud services, including computing, storage, networking, databases, big data analytics, and artificial intelligence. Alibaba
Cloud is particularly popular in Asia but has been expanding globally.
Cloud Computing Categories
SaaS (Software as a Service), IaaS (Infrastructure as a Service), and PaaS (Platform as a Service) are
three categories of cloud computing services that offer different levels of abstraction and management
responsibilities. Each service model provides specific advantages and is suited for different use cases.
Software as a Service (SaaS)
SaaS delivers software applications over the internet on a subscription basis. Users access the software
through a web browser, and the service provider manages all aspects of the application, including
maintenance, updates, and security.
Key Characteristics:
● No need for users to install, manage, or maintain the software locally.
● Multi-tenant architecture, where multiple customers share the same instance of the application.
● Automatic updates and patches are handled by the service provider.
● Users typically pay a subscription fee based on usage.
Platform as a Service (PaaS)
PaaS provides a platform that includes infrastructure, development tools, and services to facilitate the
development, deployment, and management of applications. Developers focus on building and deploying
applications without dealing with the underlying infrastructure.
Examples: Heroku, Microsoft Azure App Service, Google App Engine, and AWS Elastic Beanstalk.
Key Characteristics:
● Abstracts infrastructure management, allowing developers to focus on application development.
● Provides tools and services for application hosting, development, and database management.
● Offers scalability and flexibility, as the platform can automatically handle resource provisioning.
● Developers have control over application code and configurations.
Infrastructure as a Service (IaaS)
IaaS provides virtualized computing resources over the internet. It offers the fundamental building blocks for IT
infrastructure, including virtual machines, storage, and networking. Users have more control over the
infrastructure but are responsible for managing operating systems, middleware, and applications.
Examples: Amazon EC2, Microsoft Azure Virtual Machines, Google Compute Engine, and DigitalOcean.
Key Characteristics:
● Amazon CloudFront
○ Content delivery network (CDN) service that securely delivers data, videos, applications, and APIs to
customers globally with low latency and high transfer speeds.
● http://s3.amazonaws.com/[bucket_name]
● http://[bucket_name].s3.amazonaws.com
On-Premises: https://github.com/sa7mon/S3Scanner
AWS CLI
sudo apt install awscli
● Passive Reconnaissance
● Active Reconnaissance
Passive .vs. Active
● Passive Recon
● Active Recon
Vertical: Vertical Correlation — The process of finding subdomains from a root domain.
https://github.com/OWASP/Amass/blob/master/doc/user_guide.md
https://github.com/OWASP/Amass/blob/master/doc/tutorial.md
What is Robots exclusion standard?
● The robots exclusion standard, also known as the robots exclusion protocol or simply
robots.txt, is a standard used by websites to communicate with web crawlers and other web
robots. The standard specifies how to inform the web robot about which areas of the website
should not be processed or scanned.
● In a nutshell, A robots. txt file tells search engine crawlers which pages or files the crawler can
or can't request from your site. This is used mainly to avoid overloading your site with
requests; it is not a mechanism for keeping a web page out of Google.
Simple Example of Robots.txt
https://digi.ninja/projects/zonetransferme.php
21st Century Technologies
<script>
// Define an AngularJS module
var app = angular.module('myApp', []);
They are used to display your original JavaScript while debugging, which is
a lot easier to look at than minified production code. In a sense, source
maps are the decoder ring to your secret (minified) code.
Jenkins Prometheus
What is Memcached?
port:9200 guest/guest
What is Kibana?
port:5601
What is MongoDB?
port:27017
What is Redis?
port:6379
What is Graphite?
Port: 8080
inurl:/api/datasources/proxy admin/admin
/api/datasources/proxy/1
What is Traefik?
Traefik is an open-source Edge Router that makes publishing your services a
fun and easy experience. It receives requests on behalf of your system and
finds out which components are responsible for handling them.
Port: 8080
inurl:8080/dashboard traefik
What is Jenkins?
Port: 8080
intitle:9091/metrics
intitle:9100/metrics