Horizontal scanning.Who is probing our network.

Part B · The dark side

Horizontal scanning.
Who is probing our network.

New groups of external sources keep contacting large portions of the Politecnico address space. Some divide the targets with very little overlap. An analysis of the scanning infrastructures observed during the PHP2SHELL emergency.

Follow the arrival of scanners

Authors

  • Marco Mellia1,2,3
  • Kai Huang1,2

1Department of Control and Computer Engineering

2SmartaData@PoliTO

3ISIAD

How are the sources exploring the network organised? The observations reveal recurring horizontal scanning, sometimes consistent with a division of work across multiple external addresses.

There is no clear increase attributable to the new vulnerability. The analysis describes connection attempts and target distribution; it does not identify application-level exploitation of PHP2SHELL.

2,186 IPsnewly observed sources, each contacting at least 50 internal addresses
30 cohortsfirst-appearance groups examined in detail: 1,332 sources
≈34k IPsdestination address space used as the coverage reference

From services to sources.

Part A describes the effects on services. Here we follow external clients and the internal addresses they attempt to reach.

The vantage point

Count the attempts that fail, too.

A scan may contact thousands of addresses without finding an active service. Reconstructing it requires both completed connections and attempts that do not complete TCP connection establishment.

Across the four days, the data contain approximately 67.7 million connections and attempts, from approximately 3.56 million external addresses. The data considered concern TCP port 443.

The selected population

New here, within the observation period.

Each of the 2,186 selected sources contacts at least 50 distinct internal IPs over the entire period and was not observed before the chosen time boundary.

“New” does not mean new to the Internet, or never previously seen at Politecnico: the available history starts on 20 October. Selection measures target breadth, not byte volume.

The actual selection window. In the available results, selection starts at 15:00 on 20 October on the Tstat clock: one hour before the unofficial disclosure marker. The official disclosure is marked at 15:00 on 21 October. These results therefore also include the 24 hours preceding the official marker.

New sources arrive in waves.

Alongside isolated arrivals, groups of IPs begin contacting the network within the same interval. Some disappear quickly; others persist or reappear.

First observations and persistence · 2,186 sourcesOpen full-size chart ↗
Activity of 2,186 external IPs ordered by first observation, from 20 to 23 October. Groups of rows start together and show different durations.
Each row is an external source. A point indicates at least one attempt in a 15-minute interval, regardless of the number of connections. Sources are ordered by first observation, from bottom to top. Vertical patterns reveal closely timed arrivals; horizontal patterns show persistence. Markers follow the Tstat clock.

Groups appear before and after the official disclosure, and continue emerging throughout the observation period. The raster describes presence and persistence: it does not measure traffic volume or establish that the sources belong to the same operator.

How large are the waves shown?Open full-size chart ↗
Number of first observations in the 30 analysed cohorts. The largest cohort comprises 297 IPs at 20:15 on 20 October.
The chart shows only the 30 cohorts selected for detailed analysis, totalling 1,332 IPs out of 2,186. Each point counts first observations within the same 15-minute interval. Other cohorts are omitted: the absence of a point does not mean that no new scanners appeared.

Many /24s can belong to a single AS.

IP counts, address blocks and origin networks describe different aspects of the same population.

A group may spread its sources across many /24 prefixes while remaining entirely within a single Autonomous System. Another may use many adjacent addresses in the same block. Address dispersion must therefore be considered alongside AS concentration.

The 30 cohorts: sources, prefixes and ASesOpen full-size chart ↗
Log-scale comparison: source IP count on the horizontal axis and /24 count on the vertical axis. Bubble size represents AS count; colour represents destination coverage.
Horizontal axis: source IPs. Vertical axis: source /24 prefixes. The diagonal represents approximately one IP per /24; lower points indicate IPs concentrated in fewer blocks. Bubble size represents the number of ASes; colour represents campus coverage, not target orthogonality. Numbers identify the cohorts in the final table.

92 sources, 91 /24s, a single AS.

Cohort 4, first observed at 02:45 on 23 October, is widely dispersed across prefixes but concentrated in one origin network, identified in the cache as DigitalOcean.

133 sources, just four /24s.

Cohort 2, first observed at 11:30 on 23 October, is also concentrated in address space: 129 sources share the same /24 and the dominant AS, identified in the cache as Datacamp.

The AS identifies the addresses’ origin network, not the provider’s customer or whoever controls the scan. Mappings reflect information available at lookup time, not a historical routing reconstruction.

Do they divide the addresses to scan?

Some cohorts reach almost the entire reference address space with minimal overlap. Others contact the same targets from multiple sources.

The following three cases show different arrangements. When closely timed activity, infrastructure concentration and complementary targets agree, they provide evidence consistent with coordinated distributed scanning.

92 IPs · many /24s

Nearly disjoint targets, sources in the same AS.

The group first observed at 02:45 on 23 October comprises 92 sources across 91 /24s, all within the same AS. Together they contact 31,534 internal addresses, approximately 92.1% of the reference space, with efficiency close to 1. This is one of the clearest cases of complementary targets.

Cohort 4
92Source IPs91/24 prefixes1Origin ASes92.1%coverage1.000efficiency
Cohort 4 · full profileOpen full-size chart ↗
Cohort 4 profile: target similarity, distribution across /24s and ASes, coverage and temporal activity.
The Jaccard matrix is almost entirely dark off the diagonal; aggregate efficiency is close to 1. Together with closely timed arrivals and a single origin AS, this is consistent with work being divided among sources. The original figure can be enlarged and viewed at native resolution.
133 IPs · few /24s

Almost the whole campus, from concentrated infrastructure.

The group first observed at 11:30 on 23 October comprises 133 sources across four /24s and four ASes. Of these, 129 are concentrated in the same /24 and dominant AS. Coverage reaches 34,242 destinations and efficiency is 0.985: overall overlap is very low.

Cohort 2
133Source IPs4/24 prefixes4Origin ASes100.0%coverage0.985efficiency
Cohort 2 · full profileOpen full-size chart ↗
Cohort 2 profile: target similarity, distribution across /24s and ASes, coverage and temporal activity.
Such broad coverage does not require sources spread across many networks. The group combines concentrated external addresses with complementary internal destinations. The time-based cohort also includes four sources outside the dominant /24. The original figure can be enlarged and viewed at native resolution.
297 IPs · overlapping targets

The largest group is not the most orthogonal.

The cohort first observed at 20:15 on 20 October contains 297 sources across 237 /24s and three ASes. It contacts 33,950 destinations, approximately 99.1% of the reference space. Efficiency falls to 0.323: each target is contacted by about 3.1 different sources on average.

Cohort 1
297Source IPs237/24 prefixes3Origin ASes99.1%coverage0.323efficiency
Cohort 1 · full profileOpen full-size chart ↗
Cohort 1 profile: target similarity, distribution across /24s and ASes, coverage and temporal activity.
Low similarity between many source pairs does not imply an absence of redundancy across the group. Aggregate efficiency reveals overlap and leaves open the possibility of multiple scanning components within the same cohort. The original figure can be enlarged and viewed at native resolution.
How do we measure overlap and orthogonality?

For each source IP, we build the set of internal addresses contacted during the observation period. A destination is counted once per source, even if that source contacts it repeatedly.

Efficiency = distinct destinations of the group ÷ sum of each source’s distinct destinations

A value of 1 indicates disjoint sets. The reciprocal of efficiency is the mean number of sources contacting a destination.

Jaccard similarity compares two sources at a time: the intersection of their targets divided by their union. Low values may also occur for small sets drawn from a large space. They must therefore be interpreted alongside aggregate efficiency and the temporal profile, rather than treated as automatic proof of coordination.

Broad, recurring exploration of the network.

01

The sources keep changing.

New groups appear throughout the observation period. Their targets cover large portions, and in several cases almost all, of the reference address space.

02

Some groups divide the targets.

Cohorts with minimal overlap show an arrangement consistent with distributed work. Dispersion across many /24s can coexist with strong concentration in a few ASes.

03

A link to PHP2SHELL has not been established.

The time markers provide context. They are insufficient to link the campaigns to the vulnerability, and the available data do not show a specific response clearly attributable to disclosure.

The observed behaviour is predominantly horizontal scanning on port 443: many internal addresses are explored, with no evidence here of a focus exclusively on PHP servers.

This analysis does not identify targeted, or “vertical”, application-level attacks against PHP2SHELL. Nor does it establish their absence: the data describe connections and targets, and many attempts do not reach the application layer.

Before and after the unofficial disclosure

The initial analysis compares two 16-hour windows around the unofficial marker at 16:00 on 20 October. Using a threshold of at least 10 destination IPs or 10 SNIs, the proportion of high-fanout sources changes from 1.55% to 1.17%.

1.55%11,231 sources out of 722,651 · preceding 16 hours
1.17%9,816 sources out of 840,894 · following 16 hours

This metric does not support a general increase in this comparison. It uses a different threshold and population from the detailed analysis of 2,186 sources with at least 50 destinations. The windows have equal duration but cover different times of day: this is not a byte-volume measure or a test around the official disclosure.

A recurring presence.
An organisation to characterise.

The most defensible interpretation is recurring background scanning, with some groups showing strongly complementary targets. Common ownership, intent and exploitation of the vulnerability remain separate from what these data establish.

Comparing the thirty cohorts.

Cohorts group sources first observed within the same 15-minute interval. Their numbers match the bubbles and the three cases shown.

Dates and times follow the Tstat clock.

Analysed cohorts · TCP port 443 · observation period 20–23 October 2026
CohortFirst observationSource IPs/24ASDestinationsCoverageEfficiency
129723733395099.1%0.323
21334434242100.0%0.985
312911952624676.6%0.611
4929113153492.1%1.000
5837522705079.0%0.993
6676534251100.0%0.288
76457134251100.0%0.333
8626041752251.2%0.775
9525434249100.0%0.572
10383021394240.7%0.824
113529161769651.7%0.952
122726202976686.9%0.561
13236334250100.0%0.873
1422441604046.8%0.940
15201921727750.4%0.869
161911634250100.0%0.466
1718421373340.1%0.972
18159734251100.0%0.765
19145434251100.0%0.340
2014101406111.9%0.968
211414414174.1%0.986
2213543164392.4%0.613
2313432655977.5%0.983
241010734250100.0%0.321
25101032049459.8%0.927
261010334251100.0%0.338
2710223087290.1%0.987
28102234243100.0%0.997
299819032.6%0.983
309743419999.9%0.974

Coverage = distinct destinations divided by 34,250 reference addresses. A value of 100.0% is rounded; some groups have 34,251 observed destinations. Efficiency and coverage retain the precision of the saved outputs. The 30 cohorts shown are not all possible cohorts in the selected population.

Sources and limitations of the analysis

The data source is Tstat, a passive monitoring tool that reconstructs flows and collects traffic statistics on the Politecnico di Torino network. Completed and incomplete connections from external to internal IPs on TCP port 443 are considered. For these attempts, fanout is the number of distinct destinations, not the number of requests or bytes transferred.

The intended capture window runs from 00:00 on 20 October 2026 to 00:00 on 24 October, excluding the final boundary. The last recorded first observation falls at approximately 22:48 on 23 October: the empty tail should not be interpreted as proven absence of scanning. “New” is relative to the available history starting on 20 October.

The actual selection boundary is 15:00 on 20 October on the Tstat clock. The unofficial marker is at 16:00 on 20 October; the official marker is at 15:00 on 21 October. Times retain the alignment already used in the analysis and have not been converted again.

Groups are defined by the 15-minute interval of first observation; proximity at this resolution does not by itself establish a common campaign. For each group, coverage and efficiency use all sources and their activity across the entire observation period. Similarity and temporal matrices can show up to 300 sources per cohort; all 30 cohorts reported here are below this limit.

IP enrichment combines RIPEstat and Team Cymru, preferring the latter where available. The cache contains 2,186 IPs and 2,184 single-AS mappings; comparisons between the services identified three ASN conflicts and three prefix conflicts. ASes reflect routing information available at lookup time and do not identify the campaign operator. Countries shown in the figures are registration information, not verified physical locations.

The figures come from the analysis results; the numerical arrivals chart represents only the 30 cohorts with available summary values. Observed results have been retained without retrospectively restricting the population to another time window. The data cannot attribute these scans to PHP2SHELL or rule out targeted application-level activity.

References on Tstat

  1. M. Mellia, R. Lo Cigno, F. Neri, Measuring IP and TCP behavior on edge nodes with Tstat, Computer Networks, 47(1), 1–21, 2005.
  2. A. Finamore, M. Mellia, M. Meo, M. M. Munafò, D. Rossi, Experiences of Internet Traffic Monitoring with Tstat, IEEE Network, 25(3), 8–14, 2011.