Skip to content
RCE Write-up Advanced

One Web Vulnerability. One Pivot. The Entire Domain

A command injection in an internet-facing web application let the attacker run operating-system commands and gain a shell on the underlying Linux server. From that server the attacker pivoted into an internal network, enumerated Active Directory and chained an excessive privilege relationship to reach domain-level access.

Suyash Follow

Published on medium.com

During a controlled security assessment, I found a command injection in an internet-facing web application.

Suyash, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 5 min read.

Context

This write-up describes a controlled security assessment of an internet-facing web application. The application passed user-controlled input into an operating-system command without proper handling, which gave the researcher command execution on the underlying Linux server, referred to throughout as WEB01.

The web vulnerability was only the entry point. The assessment moved from the web application to the internal network, then to a Windows environment and Active Directory, and ended at a domain controller (DC01). All organisation names, hostnames, IP addresses, usernames, passwords, endpoints and other sensitive details in the account have been changed or sanitised.

Setup

The attacking machine could not reach the internal subnet directly. The foothold was a shell on WEB01, a Linux host that was reachable from the internet through the vulnerable web application and that also had connectivity to an internal subnet.

Two pivoting tools are described:

  • An SSH dynamic SOCKS proxy, for hosts with SSH access.
  • Ligolo-ng, used where more flexible routing was needed.

For the Active Directory phase the researcher used native Windows commands and, for deeper work, PowerView and BloodHound.

Finding it

The researcher found a command injection in the web application: user-controlled input was passed into an operating-system command without proper handling. After confirming command execution, the result was a shell on WEB01.

Rather than spending more time on the application itself, the researcher asked a simpler question: what can this server reach? WEB01 had connectivity to an internal subnet that was not reachable directly from the attacking machine, which made the server more interesting than the web application.

Text
Attacker   |   ▼Web Application   |   ▼ WEB01   |   ▼Internal Network

Exploitation

Step 1: Pivot through WEB01 with SSH

For a Linux host with SSH access, one simple option is an SSH dynamic SOCKS proxy:

Bash
ssh -N -D 1080 user@WEB01

This opens a SOCKS proxy on port 1080 on the attacking machine, with traffic tunnelled through WEB01. Tools that support SOCKS can then be routed through it, for example:

Bash
proxychains nmap -sT -Pn 10.10.x.0/24

Here proxychains wraps the scan so that it goes through the SOCKS proxy, -sT performs a TCP connect scan (which works through a proxy, unlike raw-packet scans) and -Pn skips host discovery, so every address in the range is probed directly.

Step 2: Pivot with Ligolo-ng where more flexibility was needed

In environments where more flexible routing was needed, the researcher used Ligolo-ng instead. The important difference is that Ligolo can provide a tunnel interface and route traffic through the compromised host, rather than requiring every individual tool to be configured for SOCKS.

Text
Attacker   |   | Tunnel   ▼ WEB01   |   ▼10.10.x.0/24   |   +---- DEV01   +---- FILE01   +---- APP01

This changed the researcher's network position completely: the environment was no longer being viewed from the internet, but from inside.

Step 3: Enumerate the internal network

The internal network contained Linux and Windows systems, internal applications, file servers, databases and eventually Active Directory. The aim was not to compromise everything but to understand the relationships: which hosts were reachable, which services were exposed, which systems were domain joined, and where the identities were.

The rough path was:

Text
WEB01  ↓Internal Network  ↓Internal Systems  ↓Windows Environment  ↓Active Directory

At this point the assessment had effectively moved from an external web test into an internal assessment.

Step 4: Enumerate Active Directory

Once access to the Windows environment was established, domain enumeration began. Some native commands are useful for quickly understanding where you are:

Text
whoami /userwhoami /groupsecho %USERDOMAIN%echo %LOGONSERVER%

whoami /user shows the current user and SID, whoami /groups lists the groups the current token belongs to, and the two echo commands print the domain name and the logon server. For basic domain information:

Text
net user /domainnet group "Domain Admins" /domain

These list domain users and the members of the Domain Admins group. They are not enough for serious AD enumeration, but they quickly reveal the current identity and some important domain groups.

For deeper enumeration, tools such as PowerView can expose relationships between users, groups, computers and permissions, and BloodHound is particularly useful for visualising attack paths. The goal is not to collect hundreds of objects but to answer questions such as:

  • Who has administrative access?
  • Which accounts are privileged?
  • What computers can a user access?
  • Which service accounts exist?
  • Are there unusual group memberships?
  • Are there delegated permissions or ACLs creating an escalation path?

This is where the assessment became less about vulnerabilities and more about identity relationships.

Step 5: Find the privilege path

Eventually the researcher found an excessive privilege relationship: an account had more access than it needed, and that access provided another step toward higher privileges. There was no single magic exploit; it was a chain:

Text
Low-Privileged Access        ↓Internal System        ↓Credential / Identity Discovery        ↓Excessive Permission        ↓Higher Privilege        ↓Domain-Level Access        ↓DC01

The domain controller itself did not need to be vulnerable. The surrounding infrastructure had already created a path toward it.

Step 6: The complete attack chain

Put together, the assessment looked like this:

Text
Command Injection       ↓WEB01       ↓SSH / Ligolo Pivot       ↓Internal Network       ↓Internal Enumeration       ↓Credential / Identity Discovery       ↓AD Privilege Escalation       ↓Domain-Level Access       ↓DC01

The command injection was the initial vulnerability, but it was not the entire compromise. The compromise came from chaining multiple weaknesses: a web server with too much network reach, credentials and service relationships that provided additional access, and Active Directory privilege relationships that allowed that access to grow. None of these findings alone necessarily meant domain compromise; together, they did.

Root cause

The initial flaw was that the web application passed user-controlled input into an operating-system command without proper handling, which allowed command execution on WEB01. The wider compromise was enabled by weaknesses around it: the web server had too much network reach, credentials and service relationships provided additional access, and Active Directory contained privilege relationships that allowed that access to grow. The domain controller did not need to be vulnerable for the chain to reach it.

Impact

Under the conditions described, an attacker who obtains command execution on the internet-facing web server can use it as a pivot into an internal subnet that is not directly reachable from outside. From there, enumeration of internal systems and Active Directory, combined with credential and identity discovery and an excessive privilege relationship, allowed privilege escalation to domain-level access and DC01. The researcher is explicit that none of the individual findings alone necessarily meant domain compromise; the impact came from the chain. The impact of a vulnerability therefore depends heavily on where the compromised system sits in the network.

Fix

The report lists the opportunities that would have broken the chain:

  • Fix the command injection.
  • Restrict the web server's access to internal networks.
  • Properly segment sensitive systems.
  • Limit service-account permissions.
  • Review credentials and where they can be used.
  • Regularly audit AD groups, ACLs and delegated permissions.
  • Monitor unusual authentication and lateral-movement activity from internet-facing servers.

The report does not say which of these were actually implemented.

Variants to test

Written with AI from the full original report and checked against it passage by passage; anything it could not back up was removed or toned down. The original is the record. 19 min read.

What happened, in plain words

A security researcher was carrying out a controlled security assessment of a website that a company runs on the internet. During that test he found a serious flaw in the website itself. But the interesting part of his story is not the flaw. It is what the server behind the website could reach once he was inside it.

Think of it like this. A company has a front door on a busy street (the website). Behind the front door is a small hallway (the web server). And behind the hallway is the rest of the building (the company's internal network), which nobody on the street can see or walk into directly. The researcher found a way to slip through the front door and stand in the hallway. From there he could walk into rooms that were never meant to be reachable from the street, and eventually he reached the room where the keys to the whole building are kept.

This write-up walks through that journey step by step. It starts with a single flaw in a web page, moves through the server, into an internal network, into a Windows environment, and finally into Active Directory, which is the system companies use to manage who can log in to what. The end point was a domain controller, the most important server in that kind of setup.

All organisation names, hostnames, IP addresses, usernames, passwords, endpoints and other sensitive details in the account have been changed or sanitised. So the names you see, like WEB01 and DC01, are stand-ins, not the real ones.

The starting point: a website that runs commands

Before we go further, a few words about what a web application actually is, because everything here depends on it.

A web application is a program that runs on a server (a computer owned by the company) and answers requests from your browser. When you type an address or click a button, your browser sends a request over the internet to that server, and the server sends back a page. The server is the computer doing the work; your browser is just the screen you look at.

Many web applications need to ask the underlying operating system (the software that runs the computer, such as Linux or Windows) to do things: read a file, look up a name, run a small helper program. They do this by handing a command to the operating system. A command is simply an instruction written in text, like ls to list files or ping to check whether another computer answers.

A command injection is a vulnerability (a weakness) that appears when a web application takes text that a user typed and passes it into an operating system command without cleaning it up first. If the application does not check the text carefully, the user can sneak extra commands into it. The server then runs those extra commands as if the company itself had typed them. It is like a form at a hotel reception that says "write your name here", and someone writes "John, and also give me the master key". If the receptionist reads the whole line literally, the guest gets the key.

That is what the researcher found: the application was passing user-controlled input into an operating-system command without proper handling. Once he confirmed that his injected commands actually ran, he had what security people call a shell: a way to type commands on the server and see the answers, as if he were sitting at its keyboard. The server he landed on is called WEB01 throughout the write-up. It was a Linux machine.

At this point a lot of testers would keep digging into the website itself, looking for more bugs in the same place. The researcher chose not to. He asked a simpler question instead: what can this server reach?

That question matters because a web server is rarely alone. It usually sits in a company network and can talk to many other machines. If you control the web server, you inherit all of its connections.

The pivot: using the server as a stepping stone

WEB01 could reach an internal subnet that the researcher's own machine could not reach directly. A subnet is a range of network addresses that belong together, like a street of houses. An internal subnet is one that is only used inside the company and is not exposed to the internet. From his laptop on the internet, the researcher had no road to that street. From WEB01, he did.

That made the server more interesting than the website. The website was just the way in; the server was the doorway to everything else.

The diagram in the report shows the layout:

Text
Attacker   |   ▼Web Application   |   ▼ WEB01   |   ▼Internal Network

Read it left to right. The attacker (the researcher, sitting at his own machine somewhere on the internet) reaches the web application. The web application runs on WEB01. And WEB01 can reach the internal network. Each arrow is a hop: one computer talking to the next. The attacker cannot make the last hop himself; only WEB01 can.

To make use of that, the researcher needed WEB01 to act as a pivot. A pivot is a compromised machine that you use as a relay: your traffic goes to it, and it forwards the traffic onward into places you cannot reach yourself. Think of a friend who works inside a building you are not allowed into. You cannot walk in, but your friend can carry messages in and out for you.

Pivot option one: an SSH tunnel

One simple way to pivot through a Linux host is an SSH dynamic SOCKS proxy. Let us unpack those words.

SSH (Secure Shell) is a standard way to log in to another computer over a network and run commands on it. It is encrypted, so nobody in between can read what you type. It is normally used by administrators to manage servers.

A proxy is a middleman. Instead of your program talking directly to a destination, it talks to the proxy, and the proxy talks to the destination on your behalf. A SOCKS proxy is a particular kind of proxy that many programs know how to use: you tell the program "send everything through this proxy" and it does.

The command the researcher used was:

Bash
ssh -N -D 1080 user@WEB01

Line by line:

  • ssh is the program that opens the secure connection.
  • -N tells SSH not to run any command on the remote side. We are not logging in to type; we only want the connection itself, kept open.
  • -D 1080 tells SSH to act as a dynamic SOCKS proxy and to listen on port 1080 on the researcher's own machine. A port is a numbered channel on a computer, like an extension number on a phone line; 1080 is simply the number chosen here.
  • user@WEB01 says which account to log in as (user) and on which machine (WEB01).

So the effect is: the researcher's machine now has a local doorway on port 1080. Anything sent through that doorway is carried over the encrypted SSH connection to WEB01, and WEB01 then sends it onward into the internal network. The researcher's own machine never needs a direct route to the internal subnet; WEB01 provides it.

Once that doorway exists, tools that know how to use a SOCKS proxy can be pointed at it. For example:

Bash
proxychains nmap -sT -Pn 10.10.x.0/24

Line by line:

  • proxychains is a small wrapper program. It takes whatever command follows and forces that command's network traffic through a SOCKS proxy (the one we just opened). Without it, the tool would try to reach the internal addresses directly and fail.
  • nmap is a well-known tool for checking which computers are alive on a network and which services they offer. It is the standard first step when exploring a network.
  • -sT tells nmap to use a "TCP connect" scan. A TCP connection is the normal way two computers start a conversation on the internet. This scan type works through a proxy because it is an ordinary connection, unlike some other scan types that need to craft raw network packets, which a proxy cannot carry.
  • -Pn tells nmap to skip the usual "is this host up?" check and just probe every address directly. This is useful when the network blocks the usual discovery messages.
  • 10.10.x.0/24 is the range of addresses to scan. The x is a placeholder for a number that was removed before publication. The /24 is a shorthand meaning "this block of 256 addresses".

So the whole line means: scan every address in that internal block, sending all the traffic through the SSH tunnel to WEB01, and let WEB01 do the actual probing.

Pivot option two: Ligolo-ng

In some environments the researcher needed more flexible routing, so he used Ligolo-ng instead. Ligolo-ng is a tool that creates a tunnel interface on the attacker's machine. An interface is what a computer uses to send traffic out, like a network card. With Ligolo, the attacker's machine behaves as if it had a network card plugged directly into the internal network, with WEB01 quietly forwarding everything. The important difference from the SSH approach is that you do not have to configure each individual tool to use a SOCKS proxy. The routing happens at the operating-system level, so every program benefits automatically.

The report shows the idea:

Text
Attacker   |   | Tunnel   ▼ WEB01   |   ▼10.10.x.0/24   |   +---- DEV01   +---- FILE01   +---- APP01

Read it left to right again. The attacker has a tunnel to WEB01. Through WEB01, the attacker can reach the 10.10.x.0/24 subnet. Inside that subnet are several machines: DEV01, FILE01 and APP01. The +---- marks are just a way of drawing branches, like a family tree.

Either way, the effect was the same: the researcher's network position changed completely. He was no longer looking at the environment from the internet. He was looking at it from inside.

Exploring the internal network

The internal network contained Linux and Windows systems, internal applications, file servers, databases and eventually Active Directory. Active Directory (often shortened to AD) is Microsoft's system for managing users, computers and permissions across a Windows network. It is the company's central directory: who exists, what groups they belong to, and what they are allowed to do.

The researcher was not trying to compromise everything. He was trying to understand the relationships. That is a key mindset shift. Instead of asking "what can I break here?", he asked "how are these machines connected, and who trusts whom?".

He wanted to know:

  • Which hosts were reachable? A host is simply a computer on the network.
  • Which services were exposed? A service is a program listening for connections, such as a web server, a file share or a database.
  • Which systems were domain joined? Domain joined means the computer is registered with Active Directory and follows its rules for logins and permissions.
  • And where were the identities? An identity is a user account or a machine account: something that can log in and be granted permissions.

The rough path he followed was:

Text
WEB01  ↓Internal Network  ↓Internal Systems  ↓Windows Environment  ↓Active Directory

Read it top to bottom. From WEB01, into the internal network, then into the individual internal systems, then into the Windows environment, and finally into Active Directory. Each arrow is a step deeper. At this point the assessment had effectively moved from an external web test into an internal assessment. In other words, the job had changed from "test this website" to "explore this company's internal network".

Getting into Active Directory

Once he had access to the Windows environment, he started enumerating the domain. Enumeration means listing things out systematically: users, groups, computers, shares. It is the equivalent of walking through a building with a clipboard and writing down every door and every nameplate.

Some native Windows commands are surprisingly useful for quickly understanding where you are. "Native" means they are built into Windows and need no extra tools, which matters because installing tools on a compromised machine can attract attention.

Text
whoami /userwhoami /groupsecho %USERDOMAIN%echo %LOGONSERVER%

This block is four commands run one after another. They are shown joined together here, but each one is separate:

  • whoami /user asks Windows: which user am I right now, and what is my unique identifier? The identifier is called a SID (Security Identifier), a long number that Windows uses internally to tell accounts apart, even if two accounts have the same name.
  • whoami /groups lists the groups the current login belongs to. A group is a bundle of permissions given a name, so administrators do not have to grant rights one person at a time. If you are in a powerful group, you inherit its power.
  • echo %USERDOMAIN% prints the name of the Windows domain the current user belongs to. A domain here is the collection of machines and accounts managed together by Active Directory. The %...% syntax means "look up this named value and print it".
  • echo %LOGONSERVER% prints the name of the server that authenticated the current login. That tells you which machine checked the password and handed out the permissions.

For basic domain information, he used two more commands:

Text
net user /domainnet group "Domain Admins" /domain

Again, two separate commands:

  • net user /domain lists the user accounts in the domain. It is a quick way to see who exists.
  • net group "Domain Admins" /domain lists the members of the group called Domain Admins. Domain Admins is a highly privileged group in a typical Windows domain: its members can administer the whole domain, including the domain controller.

These commands are not enough for serious AD enumeration, but they quickly tell you about the current identity and some important domain groups. In other words, they answer the first question any intruder asks: who am I, and who are the powerful people around here?

For deeper enumeration, tools such as PowerView can expose relationships between users, groups, computers and permissions. PowerView is a collection of scripts that query Active Directory in detail, showing not just who is in which group but also who has been granted special rights over what.

And for visualising attack paths, BloodHound is particularly useful. BloodHound collects the same kind of information and draws it as a graph: nodes are users and computers, and arrows are permissions. It is like a map of the building showing every door and every key, so you can see at a glance how to get from where you are to where you want to be.

The goal is not simply to collect hundreds of objects. It is to answer questions like:

  • Who has administrative access?
  • Which accounts are privileged?
  • What computers can a user access?
  • Which service accounts exist? A service account is an account used by a program rather than a person, often with broad rights so the program can do its job.
  • Are there unusual group memberships?
  • Are there delegated permissions or ACLs creating an escalation path? Delegated permissions are rights one account has been given over another, for example the right to reset someone's password. An ACL (Access Control List) is the list attached to an object saying exactly who may do what to it. An escalation path is a chain of small permissions that, added together, lets a low-level account climb to a high-level one.

This is where the assessment became less about vulnerabilities and more about identity relationships. In plain terms: the question stopped being "is this software broken?" and became "who is allowed to do what, and does that add up to too much?".

Finding the path

Eventually the researcher found an excessive privilege relationship. That means an account had more access than it needed, and that access provided another step toward higher privileges. It is like an employee who was given a key to the server room just to water the plants, and who can now walk in whenever they like.

There was no single magic exploit. It was a chain:

Text
Low-Privileged Access        ↓Internal System        ↓Credential / Identity Discovery        ↓Excessive Permission        ↓Higher Privilege        ↓Domain-Level Access        ↓DC01

Read it top to bottom. It starts with low-privileged access: an account with very few rights, the kind almost anyone has. From there, the researcher reached an internal system. On that system he did credential and identity discovery: finding account details and credentials. A credential is anything that proves who you are, usually a username and password. Those credentials gave him an excessive permission: a right that was broader than it should have been. That permission led to higher privilege, a more powerful account. That in turn led to domain-level access, the ability to act across the whole Windows domain. And finally to DC01, the domain controller.

A domain controller is the server that holds the master copy of Active Directory: the accounts, the passwords and the permissions. If you control the domain controller, you control the domain.

The interesting part was that the domain controller itself did not need to be vulnerable. The surrounding infrastructure had already created a path toward it. In other words, the most important server in the building was locked properly, but the corridors around it were arranged so that someone could walk right up to its door.

The complete attack chain

When the researcher put the assessment together, it looked like this:

Text
Command Injection       ↓WEB01       ↓SSH / Ligolo Pivot       ↓Internal Network       ↓Internal Enumeration       ↓Credential / Identity Discovery       ↓AD Privilege Escalation       ↓Domain-Level Access       ↓DC01

Read it top to bottom, one step at a time:

  1. Command injection: the flaw in the website that let him run commands on the server.
  2. WEB01: the server he landed on.
  3. SSH / Ligolo pivot: the tunnel that let him use WEB01 as a stepping stone.
  4. Internal network: the private part of the company network.
  5. Internal enumeration: listing the machines and services inside.
  6. Credential / identity discovery: finding passwords and account details.
  7. AD privilege escalation: using excessive permissions to climb to a more powerful account.
  8. Domain-level access: the ability to act across the whole domain.
  9. DC01: the domain controller, the final destination.

The command injection was the initial vulnerability. It was not the entire compromise. The compromise came from chaining multiple weaknesses together:

  • A web server had too much network reach. It could talk to machines it had no business talking to.
  • Credentials and service relationships provided additional access. Passwords and the way programs were configured to trust each other opened more doors.
  • Active Directory contained privilege relationships that allowed that access to grow. Small permissions stacked up into large ones.

None of these findings alone necessarily meant domain compromise. Together, they did. That is the central lesson of the whole story: a single weakness is often not enough on its own, but weaknesses that line up become a path.

What would have stopped it?

There were multiple opportunities to break the chain. Each one is a place where the company could have cut the path and stopped the climb:

  • Fix the command injection. If the website had cleaned up user input properly, the researcher would never have had a shell on WEB01 in the first place.
  • Restrict the web server's access to internal networks. A web server that faces the internet should only be able to talk to the few machines it genuinely needs.
  • Properly segment sensitive systems. Segmentation means dividing the network into separate zones with controlled doors between them, so that being in one zone does not automatically give you access to another.
  • Limit service-account permissions. Service accounts should have only the rights their program needs, nothing more.
  • Review credentials and where they can be used. Passwords stored on one machine should not unlock another.
  • Regularly audit AD groups, ACLs and delegated permissions. An audit here means a scheduled review: checking who is in which group and who has been granted what, and removing anything that is no longer justified.
  • Monitor unusual authentication and lateral-movement activity from internet-facing servers. Authentication is the act of logging in. Lateral movement is an attacker moving from one machine to another inside a network. If a web server suddenly starts logging in to many internal machines, that is a signal worth alerting on.

The bigger lesson for the researcher was not simply that the web application was vulnerable. It was that the impact of a vulnerability depends heavily on where the compromised system sits in the network. A broken lock in an empty shed matters far less than the same broken lock in a bank vault.

So the question should not only be:

"Can someone compromise our web server?"

It should also be:

"If they do, where can they go from there?"

In this case, the answer was: all the way to the domain.

Glossary

  • ACL (Access Control List): the list attached to an object saying exactly which accounts may do what to it.
  • Active Directory (AD): Microsoft's system for managing users, computers and permissions across a Windows network.
  • Attacker: the person trying to break in; here, the researcher doing the assessment.
  • Audit: a scheduled review of who has which rights, to remove anything no longer justified.
  • Authentication: the act of proving who you are, usually by logging in.
  • BloodHound: a tool that draws Active Directory permissions as a graph, so attack paths become visible.
  • Command: an instruction written in text and given to an operating system.
  • Command injection: a flaw where a web application passes user-typed text into an operating system command without cleaning it, letting the user sneak in extra commands.
  • Credential: anything that proves identity, usually a username and password.
  • DC01: the name used in this write-up for the domain controller.
  • Delegated permission: a right one account has been given over another, such as resetting a password.
  • Domain: the collection of machines and accounts managed together by Active Directory.
  • Domain Admins: a highly privileged group in a typical Windows domain; its members can administer the whole domain.
  • Domain controller: the server holding the master copy of Active Directory accounts, passwords and permissions.
  • Domain joined: a computer registered with Active Directory and following its rules for logins and permissions.
  • Domain-level access: the ability to act across the whole Windows domain.
  • Enumeration: listing things out systematically, such as users, groups, computers and shares.
  • Escalation path: a chain of small permissions that, added together, lets a low-level account climb to a high-level one.
  • Excessive privilege relationship: an account with more access than it needs, which can be used as a step toward higher privileges.
  • Group: a bundle of permissions given a name, so rights can be granted to many accounts at once.
  • Host: a computer on a network.
  • Identity: a user account or machine account that can log in and be granted permissions.
  • Internal subnet: a range of network addresses used only inside a company and not exposed to the internet.
  • Lateral movement: an attacker moving from one machine to another inside a network.
  • Ligolo-ng: a tool that creates a tunnel interface on the attacker's machine, routing all traffic through a compromised host without per-tool configuration.
  • Low-privileged access: an account with very few rights, the kind almost anyone has.
  • Native command: a command built into the operating system, needing no extra tools.
  • nmap: a tool for checking which computers are alive on a network and which services they offer.
  • Pivot: a compromised machine used as a relay to reach places the attacker cannot reach directly.
  • Port: a numbered channel on a computer, like an extension number on a phone line.
  • PowerView: a collection of scripts that query Active Directory in detail, showing users, groups, computers and permissions.
  • Proxy: a middleman that forwards traffic on your behalf.
  • proxychains: a wrapper program that forces another program's traffic through a SOCKS proxy.
  • Segmentation: dividing a network into separate zones with controlled doors between them.
  • Service: a program listening for connections, such as a web server, file share or database.
  • Service account: an account used by a program rather than a person, often with broad rights.
  • Shell: a way to type commands on a computer and see the answers, as if sitting at its keyboard.
  • SID (Security Identifier): a long number Windows uses internally to tell accounts apart.
  • SOCKS proxy: a particular kind of proxy that many programs know how to use.
  • SSH (Secure Shell): an encrypted way to log in to another computer over a network and run commands on it.
  • Subnet: a range of network addresses that belong together, like a street of houses.
  • TCP connection: the normal way two computers start a conversation on the internet.
  • Tunnel interface: a virtual network card that sends traffic through another machine.
  • Vulnerability: a weakness in software or configuration that can be abused.
  • Web application: a program running on a server that answers requests from your browser.
  • WEB01: the name used in this write-up for the compromised Linux web server.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.