Resources
- Technology :
- Offensive :
Commands
- Recon
- Ports
nmap -Pn --disable-arp-ping -A --source-port 53 -iL hosts.txt -oN nmap.txt -T4 -p- --version-all --stats-every 5m - Pages
feroxbuster -u http://10.29.41.30:7001/ -w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt -x jsp,do,action,portal,war -t 50 -d 3 --filter-status 404,403 --smart -o weblogic_ferox_scan.txt
- Ports
Notes
WebLogic Server Environment Architecture
- Servers: A single instance of WebLogic running inside its own JVM. This is the core engine executing the Java application.
- Machines: The logical representation of the physical/virtual computer hosting the servers. Used by Node Manager for remote startup/shutdown and for planning hardware failovers.
- Clusters: A group of Servers acting as a single, highly-available unit to ensure seamless uptime if one server crashes.
- Coherence Clusters: A distributed, ultra-fast caching system that acts as shared memory (RAM) across all servers so they don’t have to constantly query a database.
- Migratable Targets: A unique service or background job strictly limited to running on exactly one server at a time. It automatically moves (migrates) to another server if its host crashes.
- Virtual Hosts: Routing rules that map specific domain names (e.g.,
store.company.com) to specific applications running on the same IP address.- Work Managers: The “traffic cops” that set priority rules and thread constraints, deciding how much CPU/memory different tasks are allowed to consume.
- Concurrent Templates: Safe, container-managed rules that allow Java applications to spawn background threads without accidentally consuming all server resources.
- Server Templates: Configuration blueprints used to instantly spin up multiple identically configured servers.
- Startup and Shutdown Classes: Custom Java scripts you write that automatically execute the moment a server boots up or gracefully shuts down.
WebLogic Server Services
- Data Sources: Manages database connection pooling to keep database access fast and efficient.
- JTA (Transactions): Guarantees “all-or-nothing” database operations (ACID properties). If a multi-step database update fails midway, everything is rolled back to prevent data corruption.
- Persistent Stores: A physical hard drive file or database used to permanently save unfinished system tasks so they survive server crashes.
- Messaging (JMS): An enterprise queuing system for background tasks and messages, guaranteeing delivery even during hardware failures.
- Mail Sessions: Pre-configured SMTP/IMAP connections that apps use to send/receive emails without writing low-level network code.
- Foreign JNDI: Allows the server to look up and use remote Java objects hosted on completely separate (foreign) servers.
- Work Contexts: Automatically passes metadata (like transaction IDs) across a chain of remote server requests.
- XML Registries & Caches: Speeds up XML processing by locally caching remote internet schemas, allowing offline validation.
- OSGi Frameworks: A modular runtime that allows specific Java components to be updated or hot-swapped without rebooting the server.
WebLogic Security Realms
- Security Realm: The master container for all authentication (logins) and authorization (permissions) rules protecting WebLogic resources.
- What it contains: Users, Groups, Security Roles (job functions), Security Policies (access rules), and Security Providers (the actual identity databases, like Active Directory/LDAP).
- Default Realm (
myrealm): A domain can have multiple realms, but exactly one must be designated as the “Default.” The default realm strictly controls who has administrative access to manage the WebLogic domain itself.- Lock & Edit: A safety mechanism in the Change Center. Administrators must “Lock” the configuration before making changes to prevent simultaneous edits from other admins from corrupting the system.
WebLogic & Tuxedo Interoperability
- Oracle Tuxedo: A highly robust, legacy transaction processing server used by enterprises to run mission-critical C, C++, and COBOL applications.
- WTC (WebLogic Tuxedo Connector): A bidirectional bridge. It allows modern Java apps in WebLogic to invoke legacy Tuxedo services, and allows Tuxedo clients to invoke modern Java apps in WebLogic.
- Jolt Connection Pools: A connection pool (similar to a database pool) that allows WebLogic to act as a modern HTTP web front-end for older Tuxedo backend services. WebLogic uses Jolt to instantly translate web browser requests into native Tuxedo commands.
WebLogic Diagnostics Framework (WLDF)
- Log Files: Individual server diaries, rolled up into one master Domain log by the Admin Server.
- Archives: The physical file or database where historical diagnostic metrics are permanently stored.
- Diagnostic Modules (Custom & Built-in): Sensors (set to Low, Medium, or High detail) that actively monitor server health and Java application performance.
- Diagnostic Images: A “Black Box” snapshot. Captures the exact state of the server’s memory and configuration right before a crash for post-mortem analysis.
- Context: Injects a unique “tracking ID” into a user’s request, allowing admins to trace that exact request as it bounces across multiple servers.
- Request Performance: Real-time monitoring to identify slow-running Java methods and code bottlenecks.
- SNMP: Sends standard instant alerts (traps) to central corporate IT monitoring dashboards (like Splunk or SolarWinds) when critical errors occur.
- Interceptors: Hooks used by the elasticity framework to safely manage system wiring when WebLogic automatically scales up (adds new servers) during traffic spikes.
